Skip to content

[7.x] [Flights] Delay Bucket - Error notification on opening sample visualization (#66028)#66151

Merged
alexwizp merged 1 commit intoelastic:7.xfrom
alexwizp:backport/7.x/pr-66028
May 12, 2020
Merged

[7.x] [Flights] Delay Bucket - Error notification on opening sample visualization (#66028)#66151
alexwizp merged 1 commit intoelastic:7.xfrom
alexwizp:backport/7.x/pr-66028

Conversation

@alexwizp
Copy link
Contributor

Backports the following commits to 7.x:

@alexwizp alexwizp added the backport This PR is a backport of another PR label May 12, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/_async_dashboard·ts.dashboard sample data dashboard "after all" hook for "toggle from Discover to Dashboard attempt 2"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:07:22]           └-: sample data dashboard
[00:07:22]             └-> "before all" hook
[00:07:22]             └-> "before all" hook
[00:07:22]               │ debg ... sleep(5000) start
[00:07:27]               │ debg ... sleep(5000) end
[00:07:27]               │ debg navigateToUrl http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:07:28]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589272002714#/home/tutorial_directory/sampleData 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:07:28]               │
[00:07:28]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:28]               │ debg currentUrl = http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:07:28]               │          appUrl = http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:07:28]               │ debg TestSubjects.find(kibanaChrome)
[00:07:28]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:32]               │ debg isGlobalLoadingIndicatorVisible
[00:07:32]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:32]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:32]               │ debg browser[INFO] http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-12T08:26:46Z
[00:07:32]               │        Adding connection to http://localhost:6181/elasticsearch
[00:07:32]               │
[00:07:32]               │      "
[00:07:32]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:32]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:33]               │ debg TestSubjects.exists(addSampleDataSetflights)
[00:07:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=2500
[00:07:33]               │ debg TestSubjects.click(addSampleDataSetflights)
[00:07:33]               │ debg Find.clickByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=10000
[00:07:33]               │ debg Find.findByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=10000
[00:07:33]               │ debg TestSubjects.find(sampleDataSetCardflights)
[00:07:33]               │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardflights"]') with timeout=10000
[00:07:33]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] applying create index request using v1 templates []
[00:07:33]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] [kibana_sample_data_flights] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:33]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] updating number_of_replicas to [0] for indices [kibana_sample_data_flights]
[00:07:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] [.kibana_2/frZye4drTLuWMW_nWqhA1w] update_mapping [_doc]
[00:07:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] [.kibana_2/frZye4drTLuWMW_nWqhA1w] update_mapping [_doc]
[00:07:39]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] [.kibana_2/frZye4drTLuWMW_nWqhA1w] update_mapping [_doc]
[00:07:39]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] [.kibana_2/frZye4drTLuWMW_nWqhA1w] update_mapping [_doc]
[00:07:41]               │ debg TestSubjects.exists(addSampleDataSetflights)
[00:07:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=2500
[00:07:43]               │ debg --- retry.tryForTime error: [data-test-subj="addSampleDataSetflights"] is not displayed
[00:07:44]               │ debg applying update to kibana config: {"timepicker:quickRanges":"[\n        {\n          \"from\": \"now-30d\",\n          \"to\": \"now+40d\",\n          \"display\": \"sample data range\"\n        },\n        {\n          \"from\": \"now/d\",\n          \"to\": \"now/d\",\n          \"display\": \"Today\"\n        },\n        {\n          \"from\": \"now/w\",\n          \"to\": \"now/w\",\n          \"display\": \"This week\"\n        },\n        {\n          \"from\": \"now-15m\",\n          \"to\": \"now\",\n          \"display\": \"Last 15 minutes\"\n        },\n        {\n          \"from\": \"now-30m\",\n          \"to\": \"now\",\n          \"display\": \"Last 30 minutes\"\n        },\n        {\n          \"from\": \"now-1h\",\n          \"to\": \"now\",\n          \"display\": \"Last 1 hour\"\n        },\n        {\n          \"from\": \"now-24h\",\n          \"to\": \"now\",\n          \"display\": \"Last 24 hours\"\n        },\n        {\n          \"from\": \"now-7d\",\n          \"to\": \"now\",\n          \"display\": \"Last 7 days\"\n        },\n        {\n          \"from\": \"now-30d\",\n          \"to\": \"now\",\n          \"display\": \"Last 30 days\"\n        },\n        {\n          \"from\": \"now-90d\",\n          \"to\": \"now\",\n          \"display\": \"Last 90 days\"\n        },\n        {\n          \"from\": \"now-1y\",\n          \"to\": \"now\",\n          \"display\": \"Last 1 year\"\n        }\n      ]"}
[00:07:44]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] [.kibana_2/frZye4drTLuWMW_nWqhA1w] update_mapping [_doc]
[00:07:45]               │ debg isGlobalLoadingIndicatorVisible
[00:07:45]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:45]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589272002714#/home/tutorial_directory/sampleData 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:07:45]               │
[00:07:45]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:47]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:47]               │ debg browser[INFO] http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-12T08:27:02Z
[00:07:47]               │        Adding connection to http://localhost:6181/elasticsearch
[00:07:47]               │
[00:07:47]               │      "
[00:07:47]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:47]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:48]               │ debg click "Discover" app link
[00:07:48]               │ debg TestSubjects.exists(collapsibleNav)
[00:07:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:07:51]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:07:51]               │ debg TestSubjects.click(toggleNavButton)
[00:07:51]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:51]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:51]               │ debg TestSubjects.find(collapsibleNav)
[00:07:51]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:07:52]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:07:52]               │ debg browser[INFO] http://localhost:6181/app/kibana#/discover 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:07:52]               │
[00:07:52]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:54]               │ debg TestSubjects.click(indexPattern-switch-link)
[00:07:54]               │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:07:54]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:07:56]               │ debg browser[INFO] http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-12T08:27:09Z
[00:07:56]               │        Adding connection to http://localhost:6181/elasticsearch
[00:07:56]               │
[00:07:56]               │      "
[00:07:56]               │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="kibana_sample_data_flights"]') with timeout=10000
[00:07:56]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="kibana_sample_data_flights"]') with timeout=10000
[00:07:57]               │ debg isGlobalLoadingIndicatorVisible
[00:07:57]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:57]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:57]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:57]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:57]               │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:07:57]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:07:57]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:07:57]               │ debg TestSubjects.click(superDatePickerCommonlyUsed_sample_data range)
[00:07:57]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_sample_data range"]') with timeout=10000
[00:07:57]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_sample_data range"]') with timeout=10000
[00:07:58]               │ debg isGlobalLoadingIndicatorVisible
[00:07:58]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:58]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:58]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:59]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:07:59]               │ debg TestSubjects.find(discoverQueryHits)
[00:07:59]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:07:59]             └-> should launch sample flights data set dashboard
[00:07:59]               └-> "before each" hook: global before each
[00:07:59]               │ debg click "Dashboard" app link
[00:07:59]               │ debg TestSubjects.exists(collapsibleNav)
[00:07:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:01]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:02]               │ debg TestSubjects.click(toggleNavButton)
[00:08:02]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:02]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:03]               │ debg TestSubjects.find(collapsibleNav)
[00:08:03]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:03]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:06]               │ debg Load Saved Dashboard [Flights] Global Flight Dashboard
[00:08:06]               │ debg gotoDashboardLandingPage
[00:08:06]               │ debg onDashboardLandingPage
[00:08:06]               │ debg TestSubjects.exists(dashboardLandingPage)
[00:08:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:08:06]               │ debg searchForItemWithName: [Flights] Global Flight Dashboard
[00:08:06]               │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:08:06]               │ debg isGlobalLoadingIndicatorVisible
[00:08:06]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:07]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:07]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:07]               │ debg TestSubjects.click(dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard)
[00:08:07]               │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard"]') with timeout=10000
[00:08:07]               │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard"]') with timeout=10000
[00:08:07]               │ debg isGlobalLoadingIndicatorVisible
[00:08:07]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:07]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:07]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:07]               │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:08:07]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:08:08]               │ debg browser[WARNING] http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 20:69562 "Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
[00:08:08]               │      Arguments: 
[00:08:08]               │      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-24h, _f: undefined, _strict: undefined, _locale: [object Object]
[00:08:08]               │      Error
[00:08:08]               │          at Function.createFromInputFallback (http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:69970)
[00:08:08]               │          at http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:89720
[00:08:08]               │          at http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:89771
[00:08:08]               │          at Mt (http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90065)
[00:08:08]               │          at Ct (http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90442)
[00:08:08]               │          at St (http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90524)
[00:08:08]               │          at r (http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:66808)
[00:08:08]               │          at Function.convertTimeToUTCString (http://localhost:6181/31706/bundles/plugin/dashboard/dashboard.plugin.js:27:22213)
[00:08:08]               │          at Function.areTimesEqual (http://localhost:6181/31706/bundles/plugin/dashboard/dashboard.plugin.js:27:22401)
[00:08:08]               │          at DashboardStateManager.getTimeChanged (http://localhost:6181/31706/bundles/plugin/dashboard/dashboard.plugin.js:82:103161)"
[00:08:08]               │ debg isGlobalLoadingIndicatorVisible
[00:08:08]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:11]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:11]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:16]               │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:08:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:08:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:08:17]               │ debg TestSubjects.click(superDatePickerCommonlyUsed_sample_data range)
[00:08:17]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_sample_data range"]') with timeout=10000
[00:08:17]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_sample_data range"]') with timeout=10000
[00:08:19]               │ debg browser[INFO] http://localhost:6181/31706/bundles/plugin/visTypeVega/0.plugin.js 0:13090 "%cWelcome to Kibana Vega Plugin!" "font-size: 16px; font-weight: bold;"
[00:08:19]               │ debg browser[INFO] http://localhost:6181/31706/bundles/plugin/visTypeVega/0.plugin.js 0:13176 "You can access the Vega view with VEGA_DEBUG. Learn more at https://vega.github.io/vega/docs/api/debugging/."
[00:08:20]               │ debg isGlobalLoadingIndicatorVisible
[00:08:20]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:25]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:25]               │ debg Renderable.waitForRender for 1 elements
[00:08:25]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:08:25]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:08:25]               │ debg --- retry.try error: 2 elements still loading contents
[00:08:25]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:08:25]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:08:26]               │ debg Checking pie charts rendered
[00:08:26]               │ debg PieChart.expectPieSliceCount(4)
[00:08:26]               │ debg PieChart.getPieSliceCount
[00:08:26]               │ debg Find.allByCssSelector('svg > g > g.arcs > path.slice') with timeout=2500
[00:08:27]               │ debg click "Discover" app link
[00:08:27]               │ debg TestSubjects.exists(collapsibleNav)
[00:08:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:29]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:30]               │ debg TestSubjects.click(toggleNavButton)
[00:08:30]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:30]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:30]               │ debg TestSubjects.find(collapsibleNav)
[00:08:30]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:34]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:36]               │ debg isGlobalLoadingIndicatorVisible
[00:08:36]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:36]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:38]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:39]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:39]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:39]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:08:39]               │ debg TestSubjects.find(discoverQueryHits)
[00:08:39]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:08:39]               │ debg click "Dashboard" app link
[00:08:39]               │ debg TestSubjects.exists(collapsibleNav)
[00:08:39]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:41]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:42]               │ debg TestSubjects.click(toggleNavButton)
[00:08:42]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:42]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [.kibana-event-log-7.9.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [.kibana-event-log-7.9.0-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [.kibana-event-log-7.9.0-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [.kibana-event-log-7.9.0-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ debg TestSubjects.find(collapsibleNav)
[00:08:42]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [.kibana-event-log-7.9.0-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [ilm-history-ilm-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [.kibana-event-log-7.9.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [kibana-event-log-policy]
[00:08:42]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1589269035709062806] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:08:43]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:43]               │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:08:43]               │ debg isGlobalLoadingIndicatorVisible
[00:08:43]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:43]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:43]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:43]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:50]               │ debg Renderable.waitForRender for 1 elements
[00:08:50]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:08:50]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:08:50]               │ debg --- retry.try error: 1 elements still loading contents
[00:08:51]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:08:51]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:08:52]               │ debg Checking pie charts rendered
[00:08:52]               │ debg PieChart.expectPieSliceCount(4)
[00:08:52]               │ debg PieChart.getPieSliceCount
[00:08:52]               │ debg Find.allByCssSelector('svg > g > g.arcs > path.slice') with timeout=2500
[00:08:52]               └- ✓ pass  (52.7s) "dashboard sample data dashboard should launch sample flights data set dashboard"
[00:08:52]             └-> toggle from Discover to Dashboard attempt 1
[00:08:52]               └-> "before each" hook: global before each
[00:08:52]               │ debg click "Discover" app link
[00:08:52]               │ debg TestSubjects.exists(collapsibleNav)
[00:08:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:54]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:55]               │ debg TestSubjects.click(toggleNavButton)
[00:08:55]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:55]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:56]               │ debg TestSubjects.find(collapsibleNav)
[00:08:56]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:56]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:59]               │ debg isGlobalLoadingIndicatorVisible
[00:08:59]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:00]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:01]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:01]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:01]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:01]               │ debg click "Dashboard" app link
[00:09:01]               │ debg TestSubjects.exists(collapsibleNav)
[00:09:01]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:09:03]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:09:04]               │ debg TestSubjects.click(toggleNavButton)
[00:09:04]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:09:04]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:09:05]               │ debg TestSubjects.find(collapsibleNav)
[00:09:05]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:09:05]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:09:05]               │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:09:05]               │ debg isGlobalLoadingIndicatorVisible
[00:09:05]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:05]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:06]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:06]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:12]               │ debg Renderable.waitForRender for 1 elements
[00:09:12]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:09:12]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:09:12]               │ debg --- retry.try error: 1 elements still loading contents
[00:09:12]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:09:12]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:09:13]               │ debg Checking pie charts rendered
[00:09:13]               │ debg PieChart.expectPieSliceCount(4)
[00:09:13]               │ debg PieChart.getPieSliceCount
[00:09:13]               │ debg Find.allByCssSelector('svg > g > g.arcs > path.slice') with timeout=2500
[00:09:13]               └- ✓ pass  (21.7s) "dashboard sample data dashboard toggle from Discover to Dashboard attempt 1"
[00:09:13]             └-> toggle from Discover to Dashboard attempt 2
[00:09:13]               └-> "before each" hook: global before each
[00:09:13]               │ debg click "Discover" app link
[00:09:13]               │ debg TestSubjects.exists(collapsibleNav)
[00:09:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:09:16]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:09:16]               │ debg TestSubjects.click(toggleNavButton)
[00:09:16]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:09:16]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:09:17]               │ debg TestSubjects.find(collapsibleNav)
[00:09:17]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:09:20]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:09:23]               │ debg isGlobalLoadingIndicatorVisible
[00:09:23]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:24]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:25]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:25]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:25]               │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:25]               │ debg TestSubjects.find(discoverQueryHits)
[00:09:25]               │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:25]               │ debg click "Dashboard" app link
[00:09:25]               │ debg TestSubjects.exists(collapsibleNav)
[00:09:25]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:09:27]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:09:28]               │ debg TestSubjects.click(toggleNavButton)
[00:09:28]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:09:28]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:09:28]               │ debg TestSubjects.find(collapsibleNav)
[00:09:28]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:09:28]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:09:28]               │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:09:28]               │ debg isGlobalLoadingIndicatorVisible
[00:09:28]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:29]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:30]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:30]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:36]               │ debg Renderable.waitForRender for 1 elements
[00:09:36]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:09:36]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:09:37]               │ debg Checking pie charts rendered
[00:09:37]               │ debg PieChart.expectPieSliceCount(4)
[00:09:37]               │ debg PieChart.getPieSliceCount
[00:09:37]               │ debg Find.allByCssSelector('svg > g > g.arcs > path.slice') with timeout=2500
[00:09:37]               │ debg Checking area, bar and heatmap charts rendered
[00:09:37]               │ debg DashboardExpect.seriesElementCount(15)
[00:09:37]               │ debg Find.allByCssSelector('.series') with timeout=2500
[00:09:37]               │ debg Checking saved searches rendered
[00:09:37]               │ debg DashboardExpect.savedSearchRowCount(50)
[00:09:37]               │ debg TestSubjects.findAll(docTableExpandToggleColumn)
[00:09:37]               │ debg Find.allByCssSelector('[data-test-subj="docTableExpandToggleColumn"]') with timeout=2500
[00:09:38]               │ debg Checking input controls rendered
[00:09:38]               │ debg DashboardExpect.inputControlItemCount(3)
[00:09:38]               │ debg TestSubjects.findAll(inputControlItem)
[00:09:38]               │ debg Find.allByCssSelector('[data-test-subj="inputControlItem"]') with timeout=10000
[00:09:38]               │ debg Checking tag cloud rendered
[00:09:38]               │ debg DashboardExpect.tagCloudWithValuesFound(Sunny,Rain,Clear,Cloudy,Hail)
[00:09:38]               │ debg TestSubjects.findAll(tagCloudVisualization)
[00:09:38]               │ debg Find.allByCssSelector('[data-test-subj="tagCloudVisualization"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.descendantExists(Sunny)
[00:09:38]               │ debg Find.descendantExistsByCssSelector('[data-test-subj="Sunny"]') with timeout=2500
[00:09:38]               │ debg TestSubjects.descendantExists(Rain)
[00:09:38]               │ debg Find.descendantExistsByCssSelector('[data-test-subj="Rain"]') with timeout=2500
[00:09:38]               │ debg TestSubjects.descendantExists(Clear)
[00:09:38]               │ debg Find.descendantExistsByCssSelector('[data-test-subj="Clear"]') with timeout=2500
[00:09:38]               │ debg TestSubjects.descendantExists(Cloudy)
[00:09:38]               │ debg Find.descendantExistsByCssSelector('[data-test-subj="Cloudy"]') with timeout=2500
[00:09:38]               │ debg TestSubjects.descendantExists(Hail)
[00:09:38]               │ debg Find.descendantExistsByCssSelector('[data-test-subj="Hail"]') with timeout=2500
[00:09:38]               │ debg Checking vega chart rendered
[00:09:38]               │ debg Find.existsByCssSelector('.vgaVis__view') with timeout=2500
[00:09:38]               └- ✓ pass  (25.1s) "dashboard sample data dashboard toggle from Discover to Dashboard attempt 2"
[00:09:38]             └-> "after all" hook
[00:09:38]               │ debg navigateToUrl http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:09:39]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589272133731#/home/tutorial_directory/sampleData 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:09:39]               │
[00:09:39]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:39]               │ debg currentUrl = http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:09:39]               │          appUrl = http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:09:39]               │ debg TestSubjects.find(kibanaChrome)
[00:09:39]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:43]               │ debg isGlobalLoadingIndicatorVisible
[00:09:43]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:43]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:43]               │ debg browser[INFO] http://localhost:6181/31706/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-12T08:28:56Z
[00:09:43]               │        Adding connection to http://localhost:6181/elasticsearch
[00:09:43]               │
[00:09:43]               │      "
[00:09:43]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:43]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:44]               │ debg TestSubjects.click(removeSampleDataSetflights)
[00:09:44]               │ debg Find.clickByCssSelector('[data-test-subj="removeSampleDataSetflights"]') with timeout=10000
[00:09:44]               │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetflights"]') with timeout=10000
[00:09:44]               │ debg TestSubjects.find(sampleDataSetCardflights)
[00:09:44]               │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardflights"]') with timeout=10000
[00:09:45]               │ debg TestSubjects.exists(addSampleDataSetflights)
[00:09:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=2500
[00:09:48]               │ debg --- retry.tryForTime error: [data-test-subj="addSampleDataSetflights"] is not displayed
[00:09:48]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/dashboard sample data dashboard _after all_ hook.png"
[00:09:49]               │ info Current URL is: http://localhost:6181/app/kibana#/home/tutorial_directory/sampleData
[00:09:49]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/dashboard sample data dashboard _after all_ hook.html
[00:09:49]               └- ✖ fail: "dashboard sample data dashboard "after all" hook for "toggle from Discover to Dashboard attempt 2""
[00:09:49]               │

Stack Trace

Error: expected true to equal false
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:69:22)
    at Context.after (test/functional/apps/dashboard/_async_dashboard.ts:114:30)

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

@alexwizp alexwizp merged commit 19520cb into elastic:7.x May 12, 2020
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