Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Data frame analytics: Adds functionality to map view #83710

Merged
merged 6 commits into from
Nov 20, 2020

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Nov 18, 2020

Summary

Meta issue with screenshots: #75295
Please add any feedback to the meta issue. Thank you!

This PR is a follow up to #81666.
This PR addresses the following items in the meta issue:

  • switch 'inference model' node type to 'trained model'
  • add modelId in url params to start map from model
  • (Create map from) inferenceModelId
  • select index pattern node to show all jobs created from it
  • Highlight source node (coming from job/model)
  • add new endpoints to apidoc.json

image

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87 alvarezmelissa87 self-assigned this Nov 18, 2020
@@ -28,11 +28,20 @@
display: 'inline-block';
}

.mlJobMapLegend__inferenceModel {
.mlJobMapLegend__trainedModel {
height: $euiSizeM;
width: $euiSizeM;
background-color: '#FFFFFF';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I lack the full context here, but if you'd like this to remain always white you can use the $euiColorGhost variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion - updated in 0e95f8993b8184dfdf3f02eaad3b476eda9ac79a

height: $euiSizeM;
width: $euiSizeM;
background-color: $euiColorLightShade;
border: 1px solid $euiColorMediumShade;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to border: $euiBorderThin which brings with it the width, style, and color.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 0e95f8993b8184dfdf3f02eaad3b476eda9ac79a

width: $euiSizeM;
background-color: $euiColorLightShade;
border: 1px solid $euiColorMediumShade;
border-radius: 50%;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, lacking context, this might be replaceable with an $euiBorderRadius unless you are going for some rounder effect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 0e95f8993b8184dfdf3f02eaad3b476eda9ac79a

analyticsId?: string;
modelId?: string;
}): Promise<AnalyticsMapReturnType> {
const result: any = { elements: [], details: {}, error: null };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great if we could get rid of the any here since it's also the data being returned from the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call - updated the type in 0e95f8993b8184dfdf3f02eaad3b476eda9ac79a

@alvarezmelissa87
Copy link
Contributor Author

Thanks for taking a look! This has been updated and is ready for another look when you get a chance 🙏
cc @walterra, @peteharverson, @qn895, @ryankeairns

@ryankeairns ryankeairns self-requested a review November 19, 2020 18:18
Copy link
Contributor

@ryankeairns ryankeairns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the changes.

@qn895
Copy link
Member

qn895 commented Nov 19, 2020

Changes LGTM 🎉

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/drilldowns/dashboard_to_url_drilldown·ts.dashboard drilldowns Dashboard to URL drilldown should create dashboard to URL drilldown and use it to navigate to discover

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 2 times on tracked branches: https://github.com/elastic/kibana/issues/83875

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:11:00]           └-: drilldowns
[00:11:00]             └-> "before all" hook
[00:11:00]             └-> "before all" hook
[00:11:00]               │ info [logstash_functional] Loading "mappings.json"
[00:11:00]               │ info [logstash_functional] Loading "data.json.gz"
[00:11:00]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:11:00]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:11:00]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:11:01]               │ info [dashboard/drilldowns] Loading "mappings.json"
[00:11:01]               │ info [dashboard/drilldowns] Loading "data.json"
[00:11:01]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2/0xg4JpvYTaGqmKNN4TO6KA] deleting index
[00:11:01]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_1/hGmT7H9qTcWeWgUUkjmcZQ] deleting index
[00:11:01]               │ info [dashboard/drilldowns] Deleted existing index [".kibana_2",".kibana_1"]
[00:11:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:11:01]               │ info [dashboard/drilldowns] Created index ".kibana"
[00:11:01]               │ debg [dashboard/drilldowns] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana/FTtFQoHmQMCWWc0DfBqQBQ] update_mapping [_doc]
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana/FTtFQoHmQMCWWc0DfBqQBQ] update_mapping [_doc]
[00:11:01]               │ info [dashboard/drilldowns] Indexed 12 docs into ".kibana"
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana/FTtFQoHmQMCWWc0DfBqQBQ] update_mapping [_doc]
[00:11:01]               │ debg Migrating saved objects
[00:11:01]               │ proc [kibana]   log   [22:52:10.305] [info][savedobjects-service] Creating index .kibana_2.
[00:11:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:11:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] updating number_of_replicas to [0] for indices [.kibana_2]
[00:11:01]               │ proc [kibana]   log   [22:52:10.368] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:11:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:11:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] updating number_of_replicas to [0] for indices [.kibana_1]
[00:11:01]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] 15515 finished with response BulkByScrollResponse[took=23.1ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:01]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana/FTtFQoHmQMCWWc0DfBqQBQ] deleting index
[00:11:01]               │ proc [kibana]   log   [22:52:10.703] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2/BWSuIkYjThilwNd7094x8g] update_mapping [_doc]
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2/BWSuIkYjThilwNd7094x8g] update_mapping [_doc]
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2/BWSuIkYjThilwNd7094x8g] update_mapping [_doc]
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2/BWSuIkYjThilwNd7094x8g] update_mapping [_doc]
[00:11:02]               │ proc [kibana]   log   [22:52:10.946] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:11:02]               │ proc [kibana]   log   [22:52:10.982] [info][savedobjects-service] Finished in 678ms.
[00:11:02]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:11:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605823821412836550] [.kibana_2/BWSuIkYjThilwNd7094x8g] update_mapping [_doc]
[00:11:03]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:13:04]             └-: Dashboard to URL drilldown
[00:13:04]               └-> "before all" hook
[00:13:04]               └-> "before all" hook
[00:13:04]                 │ debg Dashboard to URL:initTests
[00:13:04]                 │ debg navigating to dashboard url: http://localhost:61171/app/dashboards#/list
[00:13:04]                 │ debg navigate to: http://localhost:61171/app/dashboards#/list
[00:13:04]                 │ debg browser[INFO] http://localhost:61171/app/dashboards?_t=1605826453759#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:04]                 │
[00:13:04]                 │ debg browser[INFO] http://localhost:61171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:04]                 │ debg ... sleep(700) start
[00:13:05]                 │ debg ... sleep(700) end
[00:13:05]                 │ debg returned from get, calling refresh
[00:13:06]                 │ERROR browser[SEVERE] http://localhost:61171/38238/bundles/core/core.entry.js 12:192870 TypeError: Failed to fetch
[00:13:06]                 │          at _callee3$ (http://localhost:61171/38238/bundles/core/core.entry.js:6:43940)
[00:13:06]                 │          at l (http://localhost:61171/38238/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751406)
[00:13:06]                 │          at Generator._invoke (http://localhost:61171/38238/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751159)
[00:13:06]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61171/38238/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751763)
[00:13:06]                 │          at fetch_asyncGeneratorStep (http://localhost:61171/38238/bundles/core/core.entry.js:6:38998)
[00:13:06]                 │          at _throw (http://localhost:61171/38238/bundles/core/core.entry.js:6:39406)
[00:13:06]                 │ debg browser[INFO] http://localhost:61171/app/dashboards?_t=1605826453759#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:06]                 │
[00:13:06]                 │ debg browser[INFO] http://localhost:61171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:06]                 │ debg currentUrl = http://localhost:61171/app/dashboards#/list
[00:13:06]                 │          appUrl = http://localhost:61171/app/dashboards#/list
[00:13:06]                 │ debg TestSubjects.find(kibanaChrome)
[00:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:07]                 │ debg ... sleep(501) start
[00:13:07]                 │ debg ... sleep(501) end
[00:13:07]                 │ debg in navigateTo url = http://localhost:61171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:07]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:08]                 │ debg ... sleep(501) start
[00:13:08]                 │ debg ... sleep(501) end
[00:13:08]                 │ debg in navigateTo url = http://localhost:61171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:08]                 │ debg TestSubjects.exists(statusPageContainer)
[00:13:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:11]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:12]                 │ debg isGlobalLoadingIndicatorVisible
[00:13:12]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:12]                 │ debg browser[INFO] http://localhost:61171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:12]                 │
[00:13:12]                 │ debg browser[INFO] http://localhost:61171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:13]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:14]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:14]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:14]               └-> should create dashboard to URL drilldown and use it to navigate to discover
[00:13:14]                 └-> "before each" hook: global before each
[00:13:14]                 │ debg Load Saved Dashboard Dashboard With Area Chart
[00:13:14]                 │ debg gotoDashboardLandingPage
[00:13:14]                 │ debg onDashboardLandingPage
[00:13:14]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:13:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:13:14]                 │ debg searchForItemWithName: Dashboard With Area Chart
[00:13:14]                 │ debg TestSubjects.find(tableListSearchBox)
[00:13:14]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:13:14]                 │ debg isGlobalLoadingIndicatorVisible
[00:13:14]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:16]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:16]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:16]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:16]                 │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-With-Area-Chart)
[00:13:16]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-With-Area-Chart"]') with timeout=10000
[00:13:16]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-With-Area-Chart"]') with timeout=10000
[00:13:16]                 │ debg isGlobalLoadingIndicatorVisible
[00:13:16]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:18]                 │ERROR browser[SEVERE] http://localhost:61171/38238/bundles/plugin/visualizations/visualizations.plugin.js 5:95865 Error: Saved field "@timestamp" of index pattern "logstash-*" is invalid for use with the "Date Histogram" aggregation. Please select a new field.
[00:13:18]                 │          at FieldParamType.deserialize (http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:615592)
[00:13:18]                 │          at http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:404023
[00:13:18]                 │          at Array.forEach (<anonymous>)
[00:13:18]                 │          at AggConfig.setParams (http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:403447)
[00:13:18]                 │          at AggConfig.set type [as type] (http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:409226)
[00:13:18]                 │          at AggConfig.setType (http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:409326)
[00:13:18]                 │          at new AggConfig (http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:403245)
[00:13:18]                 │          at agg_configs_AggConfigs.createAggConfig (http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:185451)
[00:13:18]                 │          at http://localhost:61171/38238/bundles/plugin/data/data.plugin.js:1:185803
[00:13:18]                 │          at Array.forEach (<anonymous>)
[00:13:18]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:18]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:18]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:18]                 │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:13:18]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:13:19]                 │ debg Switching to edit mode
[00:13:19]                 │ debg TestSubjects.click(dashboardEditMode)
[00:13:19]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:13:19]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:13:19]                 │ debg Waiting up to 20000ms for in edit mode...
[00:13:19]                 │ debg TestSubjects.findAll(embeddablePanel)
[00:13:19]                 │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:13:19]                 │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:13:19]                 │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:13:19]                 │ debg openContextMenu(undefined
[00:13:19]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:13:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:13:21]                 │ debg --- retry.tryForTime error: [data-test-subj="embeddablePanelContextMenuOpen"] is not displayed
[00:13:22]                 │ debg toggleContextMenu
[00:13:22]                 │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:13:22]                 │ debg TestSubjects.find(dashboardPanelTitle)
[00:13:22]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:13:22]                 │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:13:22]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:13:22]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:13:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:13:22]                 │ debg expectExistsCreateDrilldownAction
[00:13:22]                 │ debg TestSubjects.exists(embeddablePanelAction-OPEN_FLYOUT_ADD_DRILLDOWN)
[00:13:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelAction-OPEN_FLYOUT_ADD_DRILLDOWN"]') with timeout=120000
[00:13:25]                 │ debg --- retry.tryForTime error: [data-test-subj="embeddablePanelAction-OPEN_FLYOUT_ADD_DRILLDOWN"] is not displayed
[00:13:28]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:31]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:34]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:37]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:40]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:43]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:46]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:49]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:52]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:55]                 │ debg --- retry.tryForTime failed again with the same message...
[00:13:58]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:01]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:04]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:07]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:10]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:17]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:20]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:23]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:26]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:29]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:32]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:35]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:50]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:56]                 │ debg --- retry.tryForTime failed again with the same message...
[00:14:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:05]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:08]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:11]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:17]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:21]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:24]                 │ debg --- retry.tryForTime failed again with the same message...
[00:15:24]                 │ info Taking screenshot "/dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/screenshots/failure/dashboard drilldowns Dashboard to URL drilldown should create dashboard to URL drilldown and use it to navigate to discover.png"
[00:15:24]                 │ info Current URL is: http://localhost:61171/app/dashboards#/view/24f3f950-69d9-11ea-a14d-e341629a29e6?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T17:34:10.297Z%27,to:%272015-09-23T00:09:17.180Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(enhancements:(dynamicActions:(events:!((action:(config:(dashboardId:%2741e77910-69d9-11ea-a14d-e341629a29e6%27,useCurrentDateRange:!t,useCurrentFilters:!t),factoryId:DASHBOARD_TO_DASHBOARD_DRILLDOWN,name:%27Go%20to%20pie%20chart%20dashboard%27),eventId:ffd3e4dc-cb1a-419f-afeb-03e8c7742bbf,triggers:!(VALUE_CLICK_TRIGGER,SELECT_RANGE_TRIGGER)))))),gridData:(h:15,i:e637d5f0-a7e6-4635-81ed-39f2b1aac6f4,w:24,x:0,y:0),id:Visualization%E6%BC%A2%E5%AD%97-AreaChart,panelIndex:e637d5f0-a7e6-4635-81ed-39f2b1aac6f4,type:visualization,version:%278.0.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!t,title:%27Dashboard%20With%20Area%20Chart%27,viewMode:edit)
[00:15:24]                 │ info Saving page source to: /dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/failure_debug/html/dashboard drilldowns Dashboard to URL drilldown should create dashboard to URL drilldown and use it to navigate to discover.html
[00:15:24]                 └- ✖ fail: dashboard drilldowns Dashboard to URL drilldown should create dashboard to URL drilldown and use it to navigate to discover
[00:15:24]                 │      Error: expected testSubject(embeddablePanelAction-OPEN_FLYOUT_ADD_DRILLDOWN) to exist
[00:15:24]                 │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/17/kibana/test/functional/services/common/test_subjects.ts:62:15)
[00:15:24]                 │       at DashboardDrilldownPanelActions.expectExistsCreateDrilldownAction (test/functional/services/dashboard/panel_drilldown_actions.ts:20:7)
[00:15:24]                 │       at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_url_drilldown.ts:35:7)
[00:15:24]                 │       at Object.apply (/dev/shm/workspace/parallel/17/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:24]                 │ 
[00:15:24]                 │ 

Stack Trace

Error: expected testSubject(embeddablePanelAction-OPEN_FLYOUT_ADD_DRILLDOWN) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/17/kibana/test/functional/services/common/test_subjects.ts:62:15)
    at DashboardDrilldownPanelActions.expectExistsCreateDrilldownAction (test/functional/services/dashboard/panel_drilldown_actions.ts:20:7)
    at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_url_drilldown.ts:35:7)
    at Object.apply (/dev/shm/workspace/parallel/17/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 5.2MB 5.2MB +3.3KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
ml 67.7KB 67.7KB +52.0B

History

  • 💚 Build #89074 succeeded fcd1e2f24be40dcd770ccae37559bf461a69a3f4
  • 💔 Build #89019 failed 0e95f8993b8184dfdf3f02eaad3b476eda9ac79a
  • 💔 Build #88722 failed 5d81a55a9d5466c1576f1497c872e2f25625afb3
  • 💔 Build #88713 failed 2243e515ffc7e729d85aaa9f408a1e1ee448e23d

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@peteharverson peteharverson added the release_note:skip Skip the PR/issue when compiling release notes label Nov 20, 2020
Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM

@alvarezmelissa87 alvarezmelissa87 merged commit 00e5951 into elastic:master Nov 20, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Nov 20, 2020
* master: (38 commits)
  [ML] Data frame analytics: Adds functionality to map view (elastic#83710)
  Add usage collection for savedObject tagging (elastic#83160)
  [SECURITY_SOLUTION] 145: Advanced Policy Tests (elastic#82898)
  [APM] Service overview transactions table (elastic#83429)
  [ML] Fix Single Metric Viewer not loading if job is metric with no partition (elastic#83880)
  do not export types from 3rd party modules as 'type' (elastic#83803)
  [Fleet] Allow to send SETTINGS action (elastic#83707)
  Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/details·ts - Actions and Triggers app Alert Details Alert Instances renders the active alert instances (elastic#83478)
  [Uptime]Reduce chart height on monitor detail page (elastic#83777)
  [APM] Prefer `APIReturnType` over `PromiseReturnType` (elastic#83843)
  [Observability] Fix telemetry for Observability Overview (elastic#83847)
  [Alerting] Adds generic UI for the definition of conditions for Action Groups (elastic#83278)
  ensure workload agg doesnt run until next interval when it fails (elastic#83632)
  [ILM] Policy form should not throw away data (elastic#83077)
  [Monitoring] Stop collecting Kibana Usage in bulkUploader (elastic#83546)
  [TSVB] fix wrong imports (elastic#83798)
  [APM] Correlations UI POC (elastic#82256)
  list all the refs in  tsconfig.json (elastic#83678)
  Bump jest (and related packages) to v26.6.3 (elastic#83724)
  Functional tests - stabilize reporting tests for cloud execution (elastic#83787)
  ...
alvarezmelissa87 added a commit that referenced this pull request Nov 20, 2020
…83926)

* get all jobs from index node

* create map from modelId and enable url share

* highlight source node

* add map endpoint to api doc

* use variables in css.fix types.ensure map tab is shown

* fix translations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants