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

[wip] Create factories via plugin start contract, allow overriding #60591

Conversation

stacey-gammon
Copy link
Contributor

No description provided.

@stacey-gammon stacey-gammon force-pushed the 2020-03-18-embed-factory-create branch 2 times, most recently from 556dc5b to 0b2a0d9 Compare March 19, 2020 02:38
@stacey-gammon stacey-gammon force-pushed the 2020-03-18-embed-factory-create branch from 0b2a0d9 to 6d105b5 Compare March 19, 2020 03:43
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-oss-agent / Accessibility Tests.test/accessibility/apps/dashboard·ts.Dashboard add a visualization

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:03:23]         └-: Dashboard
[00:03:23]           └-> "before all" hook
[00:03:23]           └-> "before all" hook
[00:03:23]             │ debg Navigate to: http://localhost:61131/app/kibana#/home/tutorial_directory/sampleData
[00:03:23]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1584590913891#/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:03:23]             │
[00:03:23]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:23]             │ debg currentUrl = http://localhost:61131/app/kibana#/home/tutorial_directory/sampleData
[00:03:23]             │          appUrl = http://localhost:61131/app/kibana#/home/tutorial_directory/sampleData
[00:03:23]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:27]             │ debg TestSubjects.exists(addSampleDataSetflights)
[00:03:27]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=2500
[00:03:27]             │ debg browser[INFO] http://localhost:61131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:08:36Z
[00:03:27]             │        Adding connection to http://localhost:61131/elasticsearch
[00:03:27]             │
[00:03:27]             │      "
[00:03:28]             │ debg TestSubjects.click(addSampleDataSetflights)
[00:03:28]             │ debg Find.clickByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=10000
[00:03:28]             │ debg Find.findByCssSelector('[data-test-subj="addSampleDataSetflights"]') with timeout=10000
[00:03:28]             │ debg TestSubjects.find(sampleDataSetCardflights)
[00:03:28]             │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardflights"]') with timeout=10000
[00:03:28]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [kibana_sample_data_flights] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:03:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [kibana_sample_data_flights]
[00:03:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_flights][0]]]).
[00:03:32]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/c0n_svT0TXaCAj___xHnNw] update_mapping [_doc]
[00:03:32]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/c0n_svT0TXaCAj___xHnNw] update_mapping [_doc]
[00:03:33]           └-> dashboard
[00:03:33]             └-> "before each" hook: global before each
[00:03:33]             │ debg navigating to dashboard url: http://localhost:61131/app/kibana#/dashboards
[00:03:33]             │ debg Navigate to: http://localhost:61131/app/kibana#/dashboards
[00:03:33]             │ debg ... sleep(700) start
[00:03:33]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1584590923816#/dashboards 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:03:33]             │
[00:03:33]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:34]             │ debg ... sleep(700) end
[00:03:34]             │ debg returned from get, calling refresh
[00:03:35]             │ debg browser[INFO] http://localhost:61131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:08:45Z
[00:03:35]             │        Adding connection to http://localhost:61131/elasticsearch
[00:03:35]             │
[00:03:35]             │      "
[00:03:35]             │ERROR browser[SEVERE] http://localhost:61131/bundles/commons.bundle.js 0:1392560 TypeError: Failed to fetch
[00:03:35]             │          at Fetch._callee3$ (http://localhost:61131/bundles/commons.bundle.js:1:1419717)
[00:03:35]             │          at l (http://localhost:61131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1041918)
[00:03:35]             │          at Generator._invoke (http://localhost:61131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1041671)
[00:03:35]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1042275)
[00:03:35]             │          at asyncGeneratorStep (http://localhost:61131/bundles/commons.bundle.js:1:1414214)
[00:03:35]             │          at _throw (http://localhost:61131/bundles/commons.bundle.js:1:1414611)
[00:03:35]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1584590923816#/dashboards 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:03:35]             │
[00:03:35]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:35]             │ debg currentUrl = http://localhost:61131/app/kibana#/dashboards
[00:03:35]             │          appUrl = http://localhost:61131/app/kibana#/dashboards
[00:03:35]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:36]             │ debg TestSubjects.find(kibanaChrome)
[00:03:36]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:03:36]             │ debg browser[INFO] http://localhost:61131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:08:46Z
[00:03:36]             │        Adding connection to http://localhost:61131/elasticsearch
[00:03:36]             │
[00:03:36]             │      "
[00:03:37]             │ debg ... sleep(501) start
[00:03:37]             │ debg ... sleep(501) end
[00:03:37]             │ debg in navigateTo url = http://localhost:61131/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:03:37]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:03:38]             │ debg ... sleep(501) start
[00:03:38]             │ debg ... sleep(501) end
[00:03:38]             │ debg in navigateTo url = http://localhost:61131/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:03:38]             │ debg TestSubjects.exists(statusPageContainer)
[00:03:38]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:41]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:42]             └- ✓ pass  (8.3s) "Dashboard dashboard"
[00:03:42]           └-> create dashboard button
[00:03:42]             └-> "before each" hook: global before each
[00:03:42]             │ debg TestSubjects.exists(newItemButton)
[00:03:42]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:03:42]             │ debg TestSubjects.click(newItemButton)
[00:03:42]             │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:03:42]             │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:03:42]             └- ✓ pass  (704ms) "Dashboard create dashboard button"
[00:03:42]           └-> save empty dashboard
[00:03:42]             └-> "before each" hook: global before each
[00:03:42]             │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:03:42]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:03:42]             │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:03:42]             │ debg TestSubjects.find(savedObjectSaveModal)
[00:03:42]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:03:42]             │ debg entering new title
[00:03:42]             │ debg TestSubjects.setValue(savedObjectTitle, Dashboard Listing A11y)
[00:03:42]             │ debg TestSubjects.click(savedObjectTitle)
[00:03:42]             │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:03:42]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:03:43]             │ debg DashboardPage.clickSave
[00:03:43]             │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:03:43]             │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:03:43]             │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:03:43]             │ debg Find.waitForElementStale with timeout=10000
[00:03:43]             │ debg TestSubjects.exists(saveDashboardSuccess)
[00:03:43]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveDashboardSuccess"]') with timeout=120000
[00:03:43]             │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:03:43]             │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:03:43]             │ debg Toast title: Dashboard 'Dashboard Listing A11y' was saved
[00:03:43]             │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:03:43]             │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:03:44]             │ debg isGlobalLoadingIndicatorVisible
[00:03:44]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:03:44]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:03:45]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:03:46]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:03:46]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:03:46]             │ debg Waiting for save modal to close
[00:03:46]             │ debg TestSubjects.exists(savedObjectSaveModal)
[00:03:46]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:03:48]             │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:03:49]             └- ✓ pass  (6.7s) "Dashboard save empty dashboard"
[00:03:49]           └-> Open Edit mode
[00:03:49]             └-> "before each" hook: global before each
[00:03:49]             │ debg Switching to edit mode
[00:03:49]             │ debg TestSubjects.click(dashboardEditMode)
[00:03:49]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:49]             │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:49]             │ debg Waiting up to 20000ms for in edit mode...
[00:03:49]             │ debg TestSubjects.findAll(embeddablePanel)
[00:03:49]             │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:03:52]             │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:03:52]             │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:03:54]             └- ✓ pass  (5.3s) "Dashboard Open Edit mode"
[00:03:54]           └-> Open add panel
[00:03:54]             └-> "before each" hook: global before each
[00:03:54]             │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:54]             │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:54]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:54]             │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:54]             │ debg ... sleep(500) start
[00:03:55]             │ERROR browser[SEVERE] http://localhost:61131/api/saved_objects/_find?default_search_operator=AND&fields=title&page=1&per_page=1000&search_fields=title%5E3&search_fields=description& - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:03:55]             │ debg browser[INFO] http://localhost:61131/bundles/commons.bundle.js 0:1393562 "Detected an unhandled Promise rejection.
[00:03:55]             │      Error: Bad Request"
[00:03:55]             │ERROR browser[SEVERE] http://localhost:61131/bundles/commons.bundle.js 0:1426402 
[00:03:55]             │ debg ... sleep(500) end
[00:03:55]             └- ✓ pass  (957ms) "Dashboard Open add panel"
[00:03:55]           └-> add a visualization
[00:03:55]             └-> "before each" hook: global before each
[00:03:55]             │ debg TestSubjects.click(savedObjectTitle[Flights]-Delay-Buckets)
[00:03:55]             │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:03:55]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:04:05]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:04:05]             │      Wait timed out after 10045ms
[00:04:06]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:04:16]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:04:16]             │      Wait timed out after 10009ms
[00:04:16]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:04:26]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:04:26]             │      Wait timed out after 10025ms
[00:04:27]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:04:37]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:04:37]             │      Wait timed out after 10050ms
[00:04:37]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:04:47]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:04:47]             │      Wait timed out after 10021ms
[00:04:48]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:04:58]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:04:58]             │      Wait timed out after 10004ms
[00:04:58]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:05:08]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:05:08]             │      Wait timed out after 10031ms
[00:05:09]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:05:19]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:05:19]             │      Wait timed out after 10043ms
[00:05:20]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:05:30]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:05:30]             │      Wait timed out after 10021ms
[00:05:30]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:05:40]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:05:40]             │      Wait timed out after 10026ms
[00:05:41]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:05:51]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:05:51]             │      Wait timed out after 10004ms
[00:05:51]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"]') with timeout=10000
[00:06:01]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
[00:06:01]             │      Wait timed out after 10057ms
[00:06:02]             │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/Dashboard add a visualization.png"
[00:06:02]             │ info Current URL is: http://localhost:61131/app/kibana#/dashboard/5867fe90-6997-11ea-91b9-eba3380c0609?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27Dashboard%20Listing%20A11y%27,viewMode:edit)
[00:06:02]             │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/Dashboard add a visualization.html
[00:06:02]             └- ✖ fail: "Dashboard add a visualization"
[00:06:02]             │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectTitle[Flights]-Delay-Buckets"])
Wait timed out after 10057ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_time_picker·js.dashboard app using legacy data dashboard time picker Visualization updated when time picker changes

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using legacy data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadLogstash
[00:00:00]               │ info [logstash_functional] Loading "mappings.json"
[00:00:00]               │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]               │ info progress: 7824
[00:00:14]               │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:14]               │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:14]               │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:15]             └-: dashboard time picker
[00:00:15]               └-> "before all" hook
[00:00:15]               └-> "before all" hook
[00:00:15]                 │ debg load kibana index with visualizations and log data
[00:00:15]                 │ info [dashboard/legacy] Loading "mappings.json"
[00:00:15]                 │ info [dashboard/legacy] Loading "data.json.gz"
[00:00:15]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_1/0FRMK2POSk-nBNuZg7rGDQ] deleting index
[00:00:15]                 │ info [dashboard/legacy] Deleted existing index [".kibana_1"]
[00:00:15]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:15]                 │ info [dashboard/legacy] Created index ".kibana"
[00:00:15]                 │ debg [dashboard/legacy] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:15]                 │ info [dashboard/legacy] Indexed 9 docs into ".kibana"
[00:00:15]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana/EEuDxx4RSpyh4DYwjPmMrw] update_mapping [_doc]
[00:00:15]                 │ debg Migrating saved objects
[00:00:15]                 │ proc [kibana]   log   [04:04:50.423] [info][savedobjects-service] Creating index .kibana_2.
[00:00:15]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:15]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:15]                 │ proc [kibana]   log   [04:04:50.520] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:15]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:15]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:15]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:15]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [.tasks]
[00:00:15]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] 842 finished with response BulkByScrollResponse[took=98.5ms,timed_out=false,sliceId=null,updated=0,created=9,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:16]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana/EEuDxx4RSpyh4DYwjPmMrw] deleting index
[00:00:16]                 │ proc [kibana]   log   [04:04:50.960] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:16]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/2JeypQE8RUOqTolaps0Dzw] update_mapping [_doc]
[00:00:16]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/2JeypQE8RUOqTolaps0Dzw] update_mapping [_doc]
[00:00:16]                 │ proc [kibana]   log   [04:04:51.109] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:16]                 │ proc [kibana]   log   [04:04:51.159] [info][savedobjects-service] Finished in 738ms.
[00:00:16]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:16]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/2JeypQE8RUOqTolaps0Dzw] update_mapping [_doc]
[00:00:17]                 │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:17]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/2JeypQE8RUOqTolaps0Dzw] update_mapping [_doc]
[00:00:18]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:00:18]                 │ debg Navigate to: http://localhost:6141/app/kibana#/dashboards
[00:00:18]                 │ debg ... sleep(700) start
[00:00:18]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1584590693584#/dashboards 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:00:18]                 │
[00:00:18]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:19]                 │ debg ... sleep(700) end
[00:00:19]                 │ debg returned from get, calling refresh
[00:00:20]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1584590693584#/dashboards 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:00:20]                 │
[00:00:20]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:20]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:00:20]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:00:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:24]                 │ debg browser[INFO] http://localhost:6141/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:04:58Z
[00:00:24]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:00:24]                 │
[00:00:24]                 │      "
[00:00:24]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:24]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:24]                 │ debg ... sleep(501) start
[00:00:24]                 │ debg ... sleep(501) end
[00:00:24]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:00:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:27]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:28]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:28]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:28]                 │ debg browser[INFO] http://localhost:6141/app/kibana#/dashboards?_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:00:28]                 │
[00:00:28]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]                 │ debg browser[INFO] http://localhost:6141/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:05:04Z
[00:00:29]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:00:29]                 │
[00:00:29]                 │      "
[00:00:29]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:30]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:30]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:30]               └-> Visualization updated when time picker changes
[00:00:30]                 └-> "before each" hook: global before each
[00:00:30]                 │ debg TestSubjects.exists(newItemButton)
[00:00:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:00:32]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:00:33]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:00:33]                 │ debg DashboardAddPanel.addVisualizations
[00:00:33]                 │ debg DashboardAddPanel.addEmbeddable, name: Visualization PieChart, type: visualization
[00:00:33]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:00:33]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:00:33]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:00:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:00:36]                 │ERROR browser[SEVERE] http://localhost:6141/api/saved_objects/index-pattern/logstash-* - Failed to load resource: the server responded with a status of 409 (Conflict)
[00:00:36]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:00:36]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:00:36]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:00:36]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:00:36]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:00:36]                 │ debg ... sleep(500) start
[00:00:37]                 │ERROR browser[SEVERE] http://localhost:6141/api/saved_objects/_find?default_search_operator=AND&fields=title&page=1&per_page=1000&search_fields=title%5E3&search_fields=description& - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:00:37]                 │ debg browser[INFO] http://localhost:6141/bundles/commons.bundle.js 0:1393562 "Detected an unhandled Promise rejection.
[00:00:37]                 │      Error: Bad Request"
[00:00:37]                 │ERROR browser[SEVERE] http://localhost:6141/bundles/commons.bundle.js 0:1426402 
[00:00:37]                 │ debg ... sleep(500) end
[00:00:37]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:00:37]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:00:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:00:37]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:00:37]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:00:47]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using legacy data dashboard time picker Visualization updated when time picker changes.png"
[00:00:47]                 │ info Current URL is: http://localhost:6141/app/kibana#/dashboard?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:00:47]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using legacy data dashboard time picker Visualization updated when time picker changes.html
[00:00:47]                 └- ✖ fail: "dashboard app using legacy data dashboard time picker Visualization updated when time picker changes"
[00:00:47]                 │

Stack Trace

{ TimeoutError: The element [data-test-subj="savedObjectFinderLoadingIndicator"] was still present when it should have disappeared.
Wait timed out after 10091ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_time_picker·js.dashboard app using legacy data dashboard time picker Visualization updated when time picker changes

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using legacy data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadLogstash
[00:00:00]               │ info [logstash_functional] Loading "mappings.json"
[00:00:00]               │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]               │ info progress: 12040
[00:00:11]               │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:11]               │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:11]               │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:11]             └-: dashboard time picker
[00:00:11]               └-> "before all" hook
[00:00:11]               └-> "before all" hook
[00:00:11]                 │ debg load kibana index with visualizations and log data
[00:00:11]                 │ info [dashboard/legacy] Loading "mappings.json"
[00:00:11]                 │ info [dashboard/legacy] Loading "data.json.gz"
[00:00:11]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_1/xPn2JCFST1aytfPkWATTUA] deleting index
[00:00:11]                 │ info [dashboard/legacy] Deleted existing index [".kibana_1"]
[00:00:11]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:11]                 │ info [dashboard/legacy] Created index ".kibana"
[00:00:11]                 │ debg [dashboard/legacy] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:11]                 │ info [dashboard/legacy] Indexed 9 docs into ".kibana"
[00:00:11]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana/IbixvvwmQ2eGiEdFRHxi3g] update_mapping [_doc]
[00:00:11]                 │ debg Migrating saved objects
[00:00:11]                 │ proc [kibana]   log   [04:02:19.945] [info][savedobjects-service] Creating index .kibana_2.
[00:00:11]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:11]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:11]                 │ proc [kibana]   log   [04:02:20.007] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:11]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:11]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:12]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:12]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] updating number_of_replicas to [0] for indices [.tasks]
[00:00:12]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] 843 finished with response BulkByScrollResponse[took=68.5ms,timed_out=false,sliceId=null,updated=0,created=9,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:12]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana/IbixvvwmQ2eGiEdFRHxi3g] deleting index
[00:00:12]                 │ proc [kibana]   log   [04:02:20.377] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/Xrxl6OzmR1Gv_b_AgWZ89g] update_mapping [_doc]
[00:00:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/Xrxl6OzmR1Gv_b_AgWZ89g] update_mapping [_doc]
[00:00:12]                 │ proc [kibana]   log   [04:02:20.472] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:12]                 │ proc [kibana]   log   [04:02:20.507] [info][savedobjects-service] Finished in 564ms.
[00:00:12]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/Xrxl6OzmR1Gv_b_AgWZ89g] update_mapping [_doc]
[00:00:13]                 │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:14]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1584589437310167574] [.kibana_2/Xrxl6OzmR1Gv_b_AgWZ89g] update_mapping [_doc]
[00:00:14]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:00:15]                 │ debg Navigate to: http://localhost:6141/app/kibana#/dashboards
[00:00:15]                 │ debg ... sleep(700) start
[00:00:15]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1584590543024#/dashboards 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:00:15]                 │
[00:00:15]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15]                 │ debg ... sleep(700) end
[00:00:15]                 │ debg returned from get, calling refresh
[00:00:16]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1584590543024#/dashboards 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:00:16]                 │
[00:00:16]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:16]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:00:16]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:18]                 │ debg browser[INFO] http://localhost:6141/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:02:26Z
[00:00:18]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:00:18]                 │
[00:00:18]                 │      "
[00:00:19]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:19]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:19]                 │ debg ... sleep(501) start
[00:00:19]                 │ debg ... sleep(501) end
[00:00:19]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:00:19]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:20]                 │ debg ... sleep(501) start
[00:00:20]                 │ debg ... sleep(501) end
[00:00:20]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:00:20]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:23]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:24]                 │ debg browser[INFO] http://localhost:6141/app/kibana#/dashboards?_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:00:24]                 │
[00:00:24]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:26]                 │ debg browser[INFO] http://localhost:6141/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-19T04:02:33Z
[00:00:26]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:00:26]                 │
[00:00:26]                 │      "
[00:00:26]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:26]               └-> Visualization updated when time picker changes
[00:00:26]                 └-> "before each" hook: global before each
[00:00:26]                 │ debg TestSubjects.exists(newItemButton)
[00:00:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:00:29]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:00:29]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:00:29]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:00:29]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:00:30]                 │ debg DashboardAddPanel.addVisualizations
[00:00:30]                 │ debg DashboardAddPanel.addEmbeddable, name: Visualization PieChart, type: visualization
[00:00:30]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:00:30]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:00:30]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:00:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:00:32]                 │ERROR browser[SEVERE] http://localhost:6141/api/saved_objects/index-pattern/logstash-* - Failed to load resource: the server responded with a status of 409 (Conflict)
[00:00:32]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:00:33]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:00:33]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:00:33]                 │ debg ... sleep(500) start
[00:00:33]                 │ERROR browser[SEVERE] http://localhost:6141/api/saved_objects/_find?default_search_operator=AND&fields=title&page=1&per_page=1000&search_fields=title%5E3&search_fields=description& - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:00:33]                 │ debg browser[INFO] http://localhost:6141/bundles/commons.bundle.js 0:1393562 "Detected an unhandled Promise rejection.
[00:00:33]                 │      Error: Bad Request"
[00:00:33]                 │ERROR browser[SEVERE] http://localhost:6141/bundles/commons.bundle.js 0:1426402 
[00:00:34]                 │ debg ... sleep(500) end
[00:00:34]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:00:34]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:00:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:00:34]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:00:34]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:00:44]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using legacy data dashboard time picker Visualization updated when time picker changes.png"
[00:00:44]                 │ info Current URL is: http://localhost:6141/app/kibana#/dashboard?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:00:44]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using legacy data dashboard time picker Visualization updated when time picker changes.html
[00:00:44]                 └- ✖ fail: "dashboard app using legacy data dashboard time picker Visualization updated when time picker changes"
[00:00:44]                 │

Stack Trace

{ TimeoutError: The element [data-test-subj="savedObjectFinderLoadingIndicator"] was still present when it should have disappeared.
Wait timed out after 10004ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

and 13 more failures, only showing the first 3.

History

  • 💔 Build #34406 failed 0b2a0d980fe033984d329e2b5b83f06196416547

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

@thomasneirynck thomasneirynck added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 19, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@timroes timroes added Team:AppArch and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@stacey-gammon
Copy link
Contributor Author

Close infavor of #61165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants