Skip to content

Conversation

@cnasikas
Copy link
Member

Backports the following commits to 7.x:

@cnasikas cnasikas added the backport This PR is a backport of another PR label Nov 19, 2020
@cnasikas
Copy link
Member Author

@elasticmachine merge upstream

@cnasikas
Copy link
Member Author

@elasticmachine merge upstream

@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_dashboard_drilldown·ts.dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:10:48]           └-: drilldowns
[00:10:48]             └-> "before all" hook
[00:10:48]             └-> "before all" hook
[00:10:48]               │ info [logstash_functional] Loading "mappings.json"
[00:10:48]               │ info [logstash_functional] Loading "data.json.gz"
[00:10:48]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:10:48]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:10:48]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:10:49]               │ info [dashboard/drilldowns] Loading "mappings.json"
[00:10:49]               │ info [dashboard/drilldowns] Loading "data.json"
[00:10:49]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2/CUTtTDGuTRa-XkbR4-PgGw] deleting index
[00:10:49]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_1/c1Q0-qSbRCSPW2IXipfTWQ] deleting index
[00:10:49]               │ info [dashboard/drilldowns] Deleted existing index [".kibana_2",".kibana_1"]
[00:10:49]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:10:49]               │ info [dashboard/drilldowns] Created index ".kibana"
[00:10:49]               │ debg [dashboard/drilldowns] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:10:49]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana/IiYqykz6QJeBYk6dKqKOgA] update_mapping [_doc]
[00:10:49]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana/IiYqykz6QJeBYk6dKqKOgA] update_mapping [_doc]
[00:10:49]               │ info [dashboard/drilldowns] Indexed 12 docs into ".kibana"
[00:10:49]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana/IiYqykz6QJeBYk6dKqKOgA] update_mapping [_doc]
[00:10:49]               │ debg Migrating saved objects
[00:10:49]               │ proc [kibana]   log   [18:32:53.207] [info][savedobjects-service] Creating index .kibana_2.
[00:10:49]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:10:49]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] updating number_of_replicas to [0] for indices [.kibana_2]
[00:10:50]               │ proc [kibana]   log   [18:32:53.268] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:10:50]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:10:50]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] updating number_of_replicas to [0] for indices [.kibana_1]
[00:10:50]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] 13557 finished with response BulkByScrollResponse[took=21ms,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:10:50]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana/IiYqykz6QJeBYk6dKqKOgA] deleting index
[00:10:50]               │ proc [kibana]   log   [18:32:53.611] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:10:50]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2/bM5gXUAcTeejuwZ32PlZ1g] update_mapping [_doc]
[00:10:50]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2/bM5gXUAcTeejuwZ32PlZ1g] update_mapping [_doc]
[00:10:50]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2/bM5gXUAcTeejuwZ32PlZ1g] update_mapping [_doc]
[00:10:50]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2/bM5gXUAcTeejuwZ32PlZ1g] update_mapping [_doc]
[00:10:50]               │ proc [kibana]   log   [18:32:53.827] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:10:50]               │ proc [kibana]   log   [18:32:53.859] [info][savedobjects-service] Finished in 654ms.
[00:10:50]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:10:50]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1605808317479569874] [.kibana_2/bM5gXUAcTeejuwZ32PlZ1g] update_mapping [_doc]
[00:10:52]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:10:53]             └-: Dashboard to dashboard drilldown
[00:10:53]               └-> "before all" hook
[00:12:38]               └-: Copy to space
[00:12:38]                 └-> "before all" hook
[00:12:38]                 └-> "before all" hook
[00:12:38]                   │ debg creating space
[00:12:39]                   │ debg created space
[00:12:39]                   │ debg navigating to settings url: http://localhost:6131/app/management
[00:12:39]                   │ debg navigate to: http://localhost:6131/app/management
[00:12:39]                   │ERROR browser[SEVERE] http://localhost:6131/36656/bundles/plugin/visualizations/visualizations.plugin.js 5:96009 Error: Saved field "@timestamp" of index pattern "logstash-*" is invalid for use with the "Date Histogram" aggregation. Please select a new field.
[00:12:39]                   │          at FieldParamType.deserialize (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:616611)
[00:12:39]                   │          at http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:404023
[00:12:39]                   │          at Array.forEach (<anonymous>)
[00:12:39]                   │          at AggConfig.setParams (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:403447)
[00:12:39]                   │          at AggConfig.set type [as type] (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:409226)
[00:12:39]                   │          at AggConfig.setType (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:409326)
[00:12:39]                   │          at new AggConfig (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:403245)
[00:12:39]                   │          at agg_configs_AggConfigs.createAggConfig (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:185451)
[00:12:39]                   │          at http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:185803
[00:12:39]                   │          at Array.forEach (<anonymous>)
[00:12:39]                   │ debg browser[INFO] http://localhost:6131/app/management?_t=1605810882398 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:12:39]                   │
[00:12:39]                   │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:39]                   │ debg ... sleep(700) start
[00:12:40]                   │ debg ... sleep(700) end
[00:12:40]                   │ debg returned from get, calling refresh
[00:12:40]                   │ debg browser[INFO] http://localhost:6131/app/management?_t=1605810882398 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:12:40]                   │
[00:12:40]                   │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:40]                   │ debg currentUrl = http://localhost:6131/app/management
[00:12:40]                   │          appUrl = http://localhost:6131/app/management
[00:12:40]                   │ debg TestSubjects.find(kibanaChrome)
[00:12:40]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:41]                   │ debg ... sleep(501) start
[00:12:41]                   │ debg ... sleep(501) end
[00:12:41]                   │ debg in navigateTo url = http://localhost:6131/app/management
[00:12:41]                   │ debg TestSubjects.exists(statusPageContainer)
[00:12:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:44]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:44]                   │ debg TestSubjects.click(objects)
[00:12:44]                   │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:44]                   │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:44]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:45]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:45]                   │        (Session info: headless chrome=87.0.4280.66)
[00:12:52]                 └-> Dashboards linked by a drilldown are both copied to a space
[00:12:52]                   └-> "before each" hook: global before each
[00:12:52]                   │ debg TestSubjects.find(savedObjectSearchBar)
[00:12:52]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectSearchBar"]') with timeout=10000
[00:12:53]                   │ debg isGlobalLoadingIndicatorVisible
[00:12:53]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:12:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:12:54]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:12:55]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:55]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:55]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:56]                   │ debg ... sleep(1000) start
[00:12:57]                   │ debg ... sleep(1000) end
[00:12:57]                   │ debg TestSubjects.findAll(~savedObjectsTableRow)
[00:12:57]                   │ debg Find.allByCssSelector('[data-test-subj~="savedObjectsTableRow"]') with timeout=10000
[00:12:58]                   │ debg we found a context menu element for (Dashboard With Area Chart) so click it
[00:12:58]                   │ debg Find.findByCssSelector('.euiContextMenuPanel') with timeout=10000
[00:12:58]                   │ debg TestSubjects.exists(copy-to-space-flyout)
[00:12:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="copy-to-space-flyout"]') with timeout=120000
[00:12:58]                   │ debg TestSubjects.find(cts-copyModeControl-overwriteRadioGroup)
[00:12:58]                   │ debg Find.findByCssSelector('[data-test-subj="cts-copyModeControl-overwriteRadioGroup"]') with timeout=10000
[00:12:58]                   │ debg TestSubjects.click(cts-space-selector-row-custom_space)
[00:12:58]                   │ debg Find.clickByCssSelector('[data-test-subj="cts-space-selector-row-custom_space"]') with timeout=10000
[00:12:58]                   │ debg Find.findByCssSelector('[data-test-subj="cts-space-selector-row-custom_space"]') with timeout=10000
[00:12:58]                   │ debg TestSubjects.click(cts-initiate-button)
[00:12:58]                   │ debg Find.clickByCssSelector('[data-test-subj="cts-initiate-button"]') with timeout=10000
[00:12:58]                   │ debg Find.findByCssSelector('[data-test-subj="cts-initiate-button"]') with timeout=10000
[00:12:58]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="cts-summary-indicator-loading-custom_space"]') with timeout=10000
[00:12:59]                   │ debg TestSubjects.exists(cts-summary-indicator-success-custom_space)
[00:12:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="cts-summary-indicator-success-custom_space"]') with timeout=120000
[00:12:59]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:59]                   │        (Session info: headless chrome=87.0.4280.66)
[00:12:59]                   │ debg TestSubjects.getVisibleText(cts-summary-success-count)
[00:12:59]                   │ debg TestSubjects.find(cts-summary-success-count)
[00:12:59]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-success-count"]') with timeout=10000
[00:12:59]                   │ debg TestSubjects.getVisibleText(cts-summary-pending-count)
[00:12:59]                   │ debg TestSubjects.find(cts-summary-pending-count)
[00:12:59]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-pending-count"]') with timeout=10000
[00:12:59]                   │ debg TestSubjects.getVisibleText(cts-summary-skipped-count)
[00:12:59]                   │ debg TestSubjects.find(cts-summary-skipped-count)
[00:12:59]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-skipped-count"]') with timeout=10000
[00:12:59]                   │ debg TestSubjects.getVisibleText(cts-summary-error-count)
[00:12:59]                   │ debg TestSubjects.find(cts-summary-error-count)
[00:12:59]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-error-count"]') with timeout=10000
[00:12:59]                   │ debg TestSubjects.click(cts-finish-button)
[00:12:59]                   │ debg Find.clickByCssSelector('[data-test-subj="cts-finish-button"]') with timeout=10000
[00:12:59]                   │ debg Find.findByCssSelector('[data-test-subj="cts-finish-button"]') with timeout=10000
[00:13:00]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="copy-to-space-flyout"]') with timeout=10000
[00:13:00]                   │ debg navigating to dashboard url: http://localhost:6131/s/custom_space/app/dashboards#/list
[00:13:00]                   │ debg navigate to: http://localhost:6131/s/custom_space/app/dashboards#/list
[00:13:01]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/app/dashboards?_t=1605810903783#/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:01]                   │
[00:13:01]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:01]                   │ debg ... sleep(700) start
[00:13:02]                   │ debg ... sleep(700) end
[00:13:02]                   │ debg returned from get, calling refresh
[00:13:02]                   │ERROR browser[SEVERE] http://localhost:6131/36656/bundles/core/core.entry.js 12:193158 TypeError: Failed to fetch
[00:13:02]                   │          at _callee3$ (http://localhost:6131/36656/bundles/core/core.entry.js:6:43940)
[00:13:02]                   │          at l (http://localhost:6131/36656/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751406)
[00:13:02]                   │          at Generator._invoke (http://localhost:6131/36656/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751159)
[00:13:02]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6131/36656/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751763)
[00:13:02]                   │          at fetch_asyncGeneratorStep (http://localhost:6131/36656/bundles/core/core.entry.js:6:38998)
[00:13:02]                   │          at _throw (http://localhost:6131/36656/bundles/core/core.entry.js:6:39406)
[00:13:02]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/app/dashboards?_t=1605810903783#/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:02]                   │
[00:13:02]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:02]                   │ debg currentUrl = http://localhost:6131/s/custom_space/app/dashboards#/list
[00:13:02]                   │          appUrl = http://localhost:6131/s/custom_space/app/dashboards#/list
[00:13:02]                   │ debg TestSubjects.find(kibanaChrome)
[00:13:02]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:03]                   │ debg ... sleep(501) start
[00:13:03]                   │ debg ... sleep(501) end
[00:13:03]                   │ debg in navigateTo url = http://localhost:6131/s/custom_space/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:03]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:04]                   │ debg ... sleep(501) start
[00:13:04]                   │ debg ... sleep(501) end
[00:13:04]                   │ debg in navigateTo url = http://localhost:6131/s/custom_space/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:04]                   │ debg TestSubjects.exists(statusPageContainer)
[00:13:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:07]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:07]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:07]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:07]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/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:07]                   │
[00:13:07]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:09]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:09]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:09]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:09]                   │ debg Load Saved Dashboard Dashboard With Area Chart
[00:13:09]                   │ debg gotoDashboardLandingPage
[00:13:09]                   │ debg onDashboardLandingPage
[00:13:09]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:13:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:13:09]                   │ debg searchForItemWithName: Dashboard With Area Chart
[00:13:09]                   │ debg TestSubjects.find(tableListSearchBox)
[00:13:09]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:13:10]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:10]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:11]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:12]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:12]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:12]                   │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-With-Area-Chart)
[00:13:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-With-Area-Chart"]') with timeout=10000
[00:13:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-With-Area-Chart"]') with timeout=10000
[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:13]                   │ERROR browser[SEVERE] http://localhost:6131/36656/bundles/plugin/visualizations/visualizations.plugin.js 5:96009 Error: Saved field "@timestamp" of index pattern "logstash-*" is invalid for use with the "Date Histogram" aggregation. Please select a new field.
[00:13:13]                   │          at FieldParamType.deserialize (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:616611)
[00:13:13]                   │          at http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:404023
[00:13:13]                   │          at Array.forEach (<anonymous>)
[00:13:13]                   │          at AggConfig.setParams (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:403447)
[00:13:13]                   │          at AggConfig.set type [as type] (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:409226)
[00:13:13]                   │          at AggConfig.setType (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:409326)
[00:13:13]                   │          at new AggConfig (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:403245)
[00:13:13]                   │          at agg_configs_AggConfigs.createAggConfig (http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:185451)
[00:13:13]                   │          at http://localhost:6131/36656/bundles/plugin/data/data.plugin.js:1:185803
[00:13:13]                   │          at Array.forEach (<anonymous>)
[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]                   │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:13:14]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') 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:17]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:17]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:17]                   │ debg waitForRenderComplete
[00:13:17]                   │ debg in getSharedItemsCount
[00:13:17]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:13:17]                   │ debg Renderable.waitForRender for 1 elements
[00:13:17]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:13:27]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:13:37]                   │ debg --- retry.try error: 0 elements completed rendering, still waiting on a total of 1
[00:13:37]                   │                      specifically:
[00:13:37]                   │
[00:13:37]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:13:47]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:13:57]                   │ debg --- retry.try failed again with the same message...
[00:13:58]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:14:08]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:14:18]                   │ debg --- retry.try failed again with the same message...
[00:14:18]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:14:28]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:14:38]                   │ debg --- retry.try failed again with the same message...
[00:14:39]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:14:49]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:14:59]                   │ debg --- retry.try failed again with the same message...
[00:14:59]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:15:09]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:15:20]                   │ debg --- retry.try failed again with the same message...
[00:15:20]                   │ info Taking screenshot "/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/screenshots/failure/dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space.png"
[00:15:20]                   │ info Current URL is: http://localhost:6131/s/custom_space/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),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!t,title:%27Dashboard%20With%20Area%20Chart%27,viewMode:view)
[00:15:20]                   │ info Saving page source to: /dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/failure_debug/html/dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space.html
[00:15:20]                   └- ✖ fail: dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space
[00:15:20]                   │      retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
[00:15:20]                   │                 specifically:
[00:15:20]                   │ 
[00:15:20]                   │     at /dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:50:17
[00:15:20]                   │     at runMicrotasks (<anonymous>)
[00:15:20]                   │     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[00:15:20]                   │     at runAttempt (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:15:20]                   │     at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:15:20]                   │     at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:43:14)
[00:15:20]                   │     at Renderable.waitForRender (/dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:41:7)
[00:15:20]                   │     at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/3/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
[00:15:20]                   │     at Context.<anonymous> (/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
[00:15:20]                   │     at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:20]                   │   Error: retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
[00:15:20]                   │                   specifically:
[00:15:20]                   │   
[00:15:20]                   │       at /dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:50:17
[00:15:20]                   │       at runMicrotasks (<anonymous>)
[00:15:20]                   │       at processTicksAndRejections (internal/process/task_queues.js:97:5)
[00:15:20]                   │       at runAttempt (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:15:20]                   │       at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:15:20]                   │       at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:43:14)
[00:15:20]                   │       at Renderable.waitForRender (/dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:41:7)
[00:15:20]                   │       at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/3/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
[00:15:20]                   │       at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
[00:15:20]                   │       at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:20]                   │       at onFailure (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:15:20]                   │       at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:15:20]                   │       at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:43:14)
[00:15:20]                   │       at Renderable.waitForRender (/dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:41:7)
[00:15:20]                   │       at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/3/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
[00:15:20]                   │       at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
[00:15:20]                   │       at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:20]                   │ 
[00:15:20]                   │ 

Stack Trace

Error: retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
                specifically:

    at /dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:50:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at runAttempt (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:38:15)
    at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:77:21)
    at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:43:14)
    at Renderable.waitForRender (/dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:41:7)
    at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/3/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
    at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
    at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
    at onFailure (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:43:14)
    at Renderable.waitForRender (/dev/shm/workspace/parallel/3/kibana/test/functional/services/renderable.ts:41:7)
    at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/3/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
    at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
    at Object.apply (/dev/shm/workspace/parallel/3/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
securitySolution 7.9MB 7.9MB +41.0B

Page load bundle

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

id before after diff
triggersActionsUi 143.1KB 143.3KB +155.0B

History

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

@cnasikas cnasikas merged commit cf68393 into elastic:7.x Nov 19, 2020
@cnasikas cnasikas deleted the backport/7.x/pr-83722 branch November 19, 2020 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants