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

[Draft][wip] Adding storybook static site generation and percy storybook script #57628

Closed
wants to merge 4 commits into from

Conversation

poffdeluxe
Copy link
Contributor

Summary

  • Adds the ability to generate a storybook static site with the --site flag
  • Adds a percy-storybook integration that takes visual snapshots of each storybook story and uploads them to percy for visual comparision
    • You can run this by first exporting your PERCY_TOKEN and then running yarn percy-storybook which will run with whatever built site is in storybook-build and it runs the stories with two different screen widths (320 and 1280 pixels)

An example of the percy-storybook run can be found here running using Canvas stories: https://percy.io/elastic/kibana-canvas/builds/4154578

TODO

  • Work with ops + qa teams to iron out details of how/when something like this would get run
  • Figure out potential opt-in for percy-storybook integration since not every team might want to use this
  • Potentially find a better way to setup the storybook config when building the static site for percy storybook consumption (Right now, I'm checking for a PERCY_TOKEN to exist in the environment)
  • Potentially make the site output directory configurable

@poffdeluxe poffdeluxe requested a review from a team as a code owner February 13, 2020 21:54
});

// Line is only reached when building the static version
process.exit();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't love this. I went with it because I was having issues with this CLI tool continuing to run despite the storybook promise resolving (and I disabled the --watch on the sass watcher too). There's probably something I'm missing.

@@ -27,7 +27,7 @@ import { create } from '@storybook/theming';
if (process.env.NODE_ENV === 'test') {
// eslint-disable-next-line
require('babel-plugin-require-context-hook/register')();
} else {
} else if (!process.env.PERCY_TOKEN) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't love this either. We're deciding not to add all the storybook decorations if we have a PERCY_TOKEN defined in the environment. I couldn't find a great way to pass in flags to a storybook config but I'm def open to other suggestions

This was referenced Feb 19, 2020
@poffdeluxe
Copy link
Contributor Author

Going to re-open once #58050 is merged

@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-oss-agent / Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visual builder switch index patterns "before each" hook for "should be able to switch between index patterns"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:24:20]         └-: visualize app
[00:24:20]           └-> "before all" hook
[00:24:20]           └-> "before all" hook
[00:24:20]             │ debg Starting visualize before method
[00:24:20]             │ info [logstash_functional] Loading "mappings.json"
[00:24:20]             │ info [logstash_functional] Loading "data.json.gz"
[00:24:20]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:24:20]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:24:20]             │ 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:24:20]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:24:20]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:24:20]             │ 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:24:20]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:24:20]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:24:20]             │ 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:24:29]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:24:29]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:24:29]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:24:30]             │ info [long_window_logstash] Loading "mappings.json"
[00:24:30]             │ info [long_window_logstash] Loading "data.json.gz"
[00:24:30]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:24:30]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:24:30]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:24:40]             │ info progress: 13245
[00:24:40]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:24:41]             │ info [visualize] Loading "mappings.json"
[00:24:41]             │ info [visualize] Loading "data.json"
[00:24:41]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:24:41]             │ info [visualize] Created index ".kibana"
[00:24:41]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:24:41]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana/BcwtIqRvS02x5Jj_TA2KBQ] update_mapping [_doc]
[00:24:41]             │ info [visualize] Indexed 7 docs into ".kibana"
[00:24:41]             │ info Creating index .kibana_2.
[00:24:41]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:24:41]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] updating number_of_replicas to [0] for indices [.kibana_2]
[00:24:41]             │ info Reindexing .kibana to .kibana_1
[00:24:42]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:24:42]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] updating number_of_replicas to [0] for indices [.kibana_1]
[00:24:42]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] 18145 finished with response BulkByScrollResponse[took=28.2ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:24:42]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana/BcwtIqRvS02x5Jj_TA2KBQ] deleting index
[00:24:42]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:24:42]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:24:42]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana_2/_EdlwJcLSOe4VFLwMNyhPQ] update_mapping [_doc]
[00:24:42]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana_2/_EdlwJcLSOe4VFLwMNyhPQ] update_mapping [_doc]
[00:24:42]             │ info Pointing alias .kibana to .kibana_2.
[00:24:42]             │ info Finished in 441ms.
[00:24:42]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:24:42]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana_2/_EdlwJcLSOe4VFLwMNyhPQ] update_mapping [_doc]
[00:24:44]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:24:44]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [.kibana_2/_EdlwJcLSOe4VFLwMNyhPQ] update_mapping [_doc]
[00:32:41]           └-: 
[00:32:41]             └-> "before all" hook
[00:32:41]             └-: visual builder
[00:32:41]               └-> "before all" hook
[00:40:03]               └-: switch index patterns
[00:40:03]                 └-> "before all" hook
[00:40:03]                 └-> should be able to switch between index patterns
[00:40:03]                   └-> "before each" hook: global before each
[00:40:03]                   └-> "before each" hook
[00:40:03]                     │ debg navigating to visualize url: http://localhost:6111/app/kibana#/visualize
[00:40:03]                     │ debg Navigate to: http://localhost:6111/app/kibana#/visualize
[00:40:04]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:40:04]                     │ debg ... sleep(700) start
[00:40:04]                     │ debg ... sleep(700) end
[00:40:04]                     │ debg returned from get, calling refresh
[00:40:05]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:40:05]                     │ debg currentUrl = http://localhost:6111/app/kibana#/visualize
[00:40:05]                     │          appUrl = http://localhost:6111/app/kibana#/visualize
[00:40:05]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:40:31]                     │ debg browser[info] "INFO: 2020-02-19T21:41:34Z
[00:40:31]                     │        Adding connection to http://localhost:6111/elasticsearch
[00:40:31]                     │
[00:40:31]                     │      "
[00:40:45]                     │ debg TestSubjects.find(kibanaChrome)
[00:40:45]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:40:45]                     │ debg ... sleep(501) start
[00:40:46]                     │ debg ... sleep(501) end
[00:40:46]                     │ debg in navigateTo url = http://localhost:6111/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:40:46]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:40:46]                     │ debg ... sleep(501) start
[00:40:47]                     │ debg ... sleep(501) end
[00:40:47]                     │ debg in navigateTo url = http://localhost:6111/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:40:47]                     │ debg TestSubjects.exists(statusPageContainer)
[00:40:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:40:49]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:40:50]                     │ debg TestSubjects.exists(newItemButton)
[00:40:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:40:50]                     │ debg TestSubjects.click(newItemButton)
[00:40:50]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:40:50]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:40:50]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:40:50]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:40:50]                     │ debg TestSubjects.click(visType-metrics)
[00:40:50]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:40:50]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:40:50]                     │ debg isGlobalLoadingIndicatorVisible
[00:40:50]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:40:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:40:51]                     │ debg Firefox stdout: 1582148513951	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:40:51]                     │      bail@chrome://marionette/content/sync.js:237:64
[00:40:51]                     │
[00:40:52]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:40:53]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:40:53]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:40:53]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:40:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:40:53]                   └-> "before each" hook
[00:40:53]                     │ debg Load kibana_sample_data_flights data
[00:40:53]                     │ info [kibana_sample_data_flights] Loading "mappings.json"
[00:40:53]                     │ info [kibana_sample_data_flights] Loading "data.json.gz"
[00:40:53]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1582145008390372628] [kibana_sample_data_flights] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:40:53]                     │ info [kibana_sample_data_flights] Created index "kibana_sample_data_flights"
[00:40:53]                     │ debg [kibana_sample_data_flights] "kibana_sample_data_flights" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:40:55]                     │ info [kibana_sample_data_flights] Indexed 13059 docs into "kibana_sample_data_flights"
[00:40:55]                     │ debg Navigate to: http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:40:55]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:40:55]                     │ debg currentUrl = http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:40:55]                     │          appUrl = http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:40:55]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:41:10]                     │ debg browser[info] "INFO: 2020-02-19T21:42:13Z
[00:41:10]                     │        Adding connection to http://localhost:6111/elasticsearch
[00:41:10]                     │
[00:41:10]                     │      "
[00:41:35]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:41:35]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:41:35]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:41:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:41:35]                     │ debg browser[log] "Detected an unhandled Promise rejection.
[00:41:35]                     │      out of memory"
[00:41:35]                     │ debg browser[log] "Detected an unhandled Promise rejection.
[00:41:35]                     │      ChunkLoadError: Loading chunk 43 failed.
[00:41:35]                     │      (missing: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_timelion-js.js)"
[00:41:40]                     │ debg --- retry.tryForTime error: Failed to interpret value as array
[00:41:43]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:41:46]                     │ debg --- retry.tryForTime failed again with the same message...
[00:41:49]                     │ debg --- retry.tryForTime failed again with the same message...
[00:41:52]                     │ debg --- retry.tryForTime failed again with the same message...
[00:41:55]                     │ debg --- retry.tryForTime failed again with the same message...
[00:41:56]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:41:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:41:58]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:41:59]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:41:59]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:42:01]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerstartDatePopoverButton"] is not displayed
[00:42:02]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:42:02]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:42:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:42:12]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:42:12]                     │      Wait timed out after 10009ms
[00:42:12]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:42:22]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:42:22]                     │      Wait timed out after 10014ms
[00:42:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:42:33]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:42:33]                     │      Wait timed out after 10006ms
[00:42:33]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:42:43]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:42:43]                     │      Wait timed out after 10047ms
[00:42:44]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:43:55]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:43:55]                     │      Wait timed out after 70829ms
[00:43:55]                     │ debg browser[log] "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 49 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.apps-js.js)"
[00:43:55]                     │ debg browser[log] "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 194 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.logo_kibana-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 141 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.help-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 230 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.menuRight-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 35 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_recently_viewed-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 15 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_discover-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 47 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_visualize-js.js)"
[00:43:55]                     │ debg browser[log] "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 13 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_dashboard-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 14 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_devtools-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 27 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.app_management-js.js)"
[00:43:55]                     │      console.log: "Detected an unhandled Promise rejection.
[00:43:55]                     │      ChunkLoadError: Loading chunk 117 failed.
[00:43:55]                     │      (timeout: http://localhost:6111/bundles/kbn-ui-shared-deps/icon.email-js.js)"
[00:43:55]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:44:05]                     │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:44:05]                     │      Wait timed out after 10261ms
[00:44:06]                     │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  visual builder switch index patterns _before each_ hook.png"
[00:44:06]                     │ info Current URL is: http://localhost:6111/app/kibana#/visualize/create?type=metrics
[00:44:06]                     │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  visual builder switch index patterns _before each_ hook.html
[00:44:06]                     └- ✖ fail: "visualize app  visual builder switch index patterns "before each" hook for "should be able to switch between index patterns""
[00:44:06]                     │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
Wait timed out after 10261ms
    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-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/index_patterns/feature_controls/index_patterns_spaces·ts.Index Patterns feature controls spaces space with Index Patterns disabled redirects to Kibana home

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:18:48]         └-: Index Patterns
[00:18:48]           └-> "before all" hook
[00:18:48]           └-: feature controls
[00:18:48]             └-> "before all" hook
[00:20:54]             └-: spaces
[00:20:54]               └-> "before all" hook
[00:20:54]               └-> "before all" hook
[00:20:54]                 │ info [logstash_functional] Loading "mappings.json"
[00:20:54]                 │ info [logstash_functional] Loading "data.json.gz"
[00:20:54]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:20:54]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:20:54]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:22:12]               └-: space with Index Patterns disabled
[00:22:12]                 └-> "before all" hook
[00:22:12]                 └-> "before all" hook
[00:22:12]                   │ info [empty_kibana] Loading "mappings.json"
[00:22:12]                   │ info [empty_kibana] Loading "data.json.gz"
[00:22:12]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/-CZb3n81REa-ibxqIGZM7Q] deleting index
[00:22:12]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_1/kQ-nFa9gTvSQlhCIzUS9og] deleting index
[00:22:12]                   │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:22:12]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:12]                   │ info [empty_kibana] Created index ".kibana"
[00:22:12]                   │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:22:12]                   │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:22:13]                   │ info Creating index .kibana_2.
[00:22:13]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:13]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] updating number_of_replicas to [0] for indices [.kibana_2]
[00:22:13]                   │ info Reindexing .kibana to .kibana_1
[00:22:13]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:13]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] updating number_of_replicas to [0] for indices [.kibana_1]
[00:22:14]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] 25268 finished with response BulkByScrollResponse[took=43.6ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:22:14]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana/MAZjKJvqTfSTdGh3GfGyhw] deleting index
[00:22:14]                   │ info Migrating .kibana_1 saved objects to .kibana_2
[00:22:14]                   │ debg Migrating saved objects config:6.0.0-alpha1, space:default
[00:22:14]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/cYdMzZ7eS6OjKVscX-9xPw] update_mapping [_doc]
[00:22:14]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/cYdMzZ7eS6OjKVscX-9xPw] update_mapping [_doc]
[00:22:14]                   │ info Pointing alias .kibana to .kibana_2.
[00:22:14]                   │ info Finished in 712ms.
[00:22:14]                   │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:22:14]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/cYdMzZ7eS6OjKVscX-9xPw] update_mapping [_doc]
[00:22:15]                   │ debg creating space
[00:22:17]                   │ debg created space
[00:22:17]                 └-> redirects to Kibana home
[00:22:17]                   └-> "before each" hook: global before each
[00:22:17]                   │ debg navigateToActualUrl http://localhost:6131/s/custom_space/app/kibana#management/kibana/index_patterns
[00:22:18]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/app/kibana?_t=1582148884916#management/kibana/index_patterns 350 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:22:18]                   │
[00:22:18]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:18]                   │ debg TestSubjects.exists(homeApp)
[00:22:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="homeApp"]') with timeout=10000
[00:22:23]                   │ debg --- retry.tryForTime error: [data-test-subj="homeApp"] is not displayed
[00:22:28]                   │ debg browser[INFO] http://localhost:6131/s/custom_space/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:48:14Z
[00:22:28]                   │        Adding connection to http://localhost:6131/s/custom_space/elasticsearch
[00:22:28]                   │
[00:22:28]                   │      "
[00:22:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:22:28]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Index Patterns feature controls spaces space with Index Patterns disabled redirects to Kibana home.png"
[00:22:29]                   │ info Current URL is: http://localhost:6131/s/custom_space/app/kibana#/home
[00:22:29]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Index Patterns feature controls spaces space with Index Patterns disabled redirects to Kibana home.html
[00:22:29]                   └- ✖ fail: "Index Patterns feature controls spaces space with Index Patterns disabled redirects to Kibana home"
[00:22:29]                   │

Stack Trace

Error: expected testSubject(homeApp) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/advanced_settings/feature_controls/advanced_settings_security·ts.Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings; redirects to management home

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Advanced Settings
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: security feature controls
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook
[00:00:00]               │ info [empty_kibana] Loading "mappings.json"
[00:00:00]               │ info [empty_kibana] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_1/tAANg4T6Q_KUHZYGqCuKlQ] deleting index
[00:00:00]               │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:00]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:00]               │ info [empty_kibana] Created index ".kibana"
[00:00:00]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:00]               │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:00:47]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana/5CwPJNRRTle5ZhWOu4CF5g] update_mapping [_doc]
[00:00:50]               │ info Creating index .kibana_2.
[00:00:50]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:50]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:50]               │ info Reindexing .kibana to .kibana_1
[00:00:50]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:50]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:50]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:50]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] updating number_of_replicas to [0] for indices [.tasks]
[00:00:51]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] 812 finished with response BulkByScrollResponse[took=66.2ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:51]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana/5CwPJNRRTle5ZhWOu4CF5g] deleting index
[00:00:51]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:51]               │ debg Migrating saved objects config:6.0.0-alpha1, space:default, maps-telemetry:maps-telemetry, config:8.0.0-SNAPSHOT
[00:00:51]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/P6EVscVhSZKgPNw_9SbP8A] update_mapping [_doc]
[00:00:51]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/P6EVscVhSZKgPNw_9SbP8A] update_mapping [_doc]
[00:00:51]               │ info Pointing alias .kibana to .kibana_2.
[00:00:51]               │ info Finished in 1094ms.
[00:00:51]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:51]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] [.kibana_2/P6EVscVhSZKgPNw_9SbP8A] update_mapping [_doc]
[00:02:49]             └-: no advanced_settings privileges
[00:02:49]               └-> "before all" hook
[00:02:49]               └-> "before all" hook
[00:02:49]                 │ debg creating role no_advanced_settings_privileges_role
[00:02:49]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] added role [no_advanced_settings_privileges_role]
[00:02:49]                 │ debg created role no_advanced_settings_privileges_role
[00:02:49]                 │ debg creating user no_advanced_settings_privileges_user
[00:02:49]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-oraclelinux-tests-xl-1582145008390468242] added user [no_advanced_settings_privileges_user]
[00:02:49]                 │ debg created user no_advanced_settings_privileges_user
[00:02:49]                 │ debg navigating to login url: http://localhost:6131/login
[00:02:49]                 │ debg Navigate to: http://localhost:6131/login
[00:02:49]                 │ proc [kibana]   log   [21:22:34.272] [info][authentication][plugins][security] Authentication attempt failed: [security_exception] unable to authenticate user [global_advanced_settings_read_user] for REST request [/_security/_authenticate], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } }
[00:02:49]                 │ debg ... sleep(700) start
[00:02:49]                 │ERROR browser[SEVERE] http://localhost:6131/ - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:50]                 │ debg ... sleep(700) end
[00:02:50]                 │ debg returned from get, calling refresh
[00:02:50]                 │ debg browser[INFO] http://localhost:6131/login?next=%2F 350 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:02:50]                 │
[00:02:50]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:50]                 │ debg currentUrl = http://localhost:6131/login?next=%2F
[00:02:50]                 │          appUrl = http://localhost:6131/login
[00:02:50]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:56]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:22:39Z
[00:02:56]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:02:56]                 │
[00:02:56]                 │      "
[00:02:56]                 │ debg ... sleep(501) start
[00:02:56]                 │ debg ... sleep(501) end
[00:02:56]                 │ debg in navigateTo url = http://localhost:6131/login?next=%2F#/
[00:02:56]                 │ debg TestSubjects.exists(statusPageContainer)
[00:02:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:59]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:59]                 │ debg TestSubjects.setValue(loginUsername, no_advanced_settings_privileges_user)
[00:02:59]                 │ debg TestSubjects.click(loginUsername)
[00:02:59]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:59]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:03:00]                 │ debg TestSubjects.setValue(loginPassword, no_advanced_settings_privileges_user-password)
[00:03:00]                 │ debg TestSubjects.click(loginPassword)
[00:03:00]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:03:00]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:03:00]                 │ debg TestSubjects.click(loginSubmit)
[00:03:00]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:03:00]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:03:00]                 │ debg Waiting up to 20000ms for logout button visible...
[00:03:00]                 │ debg TestSubjects.exists(userMenuButton)
[00:03:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:03:04]                 │ debg browser[INFO] http://localhost:6131/app/kibana#/ 350 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:04]                 │
[00:03:04]                 │ debg browser[INFO] http://localhost:6131/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:04]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:03:05]                 │ debg TestSubjects.exists(userMenuButton)
[00:03:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:03:07]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:22:50Z
[00:03:07]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:03:07]                 │
[00:03:07]                 │      "
[00:03:07]                 │ debg TestSubjects.exists(userMenu)
[00:03:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:03:10]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:03:10]                 │ debg TestSubjects.click(userMenuButton)
[00:03:10]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:03:10]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:03:10]                 │ debg Waiting up to 20000ms for user menu opened...
[00:03:10]                 │ debg TestSubjects.exists(userMenu)
[00:03:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:03:10]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:03:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:03:10]               └-> shows Management navlink
[00:03:10]                 └-> "before each" hook: global before each
[00:03:10]                 │ debg TestSubjects.find(navDrawer)
[00:03:10]                 │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:03:10]                 └- ✓ pass  (27ms) "Advanced Settings security feature controls no advanced_settings privileges shows Management navlink"
[00:03:10]               └-> does not allow navigation to advanced settings; redirects to management home
[00:03:10]                 └-> "before each" hook: global before each
[00:03:10]                 │ debg navigateToActualUrl http://localhost:6131/app/kibana#management/kibana/settings
[00:03:11]                 │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1582147375654#management/kibana/settings 350 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:11]                 │
[00:03:11]                 │ debg browser[INFO] http://localhost:6131/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:11]                 │ debg TestSubjects.exists(managementHome)
[00:03:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="managementHome"]') with timeout=10000
[00:03:15]                 │ debg --- retry.tryForTime error: [data-test-subj="managementHome"] is not displayed
[00:03:15]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:23:00Z
[00:03:15]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:03:15]                 │
[00:03:15]                 │      "
[00:03:21]                 │ debg browser[INFO] http://localhost:6131/app/kibana#/management 350 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:21]                 │
[00:03:21]                 │ debg browser[INFO] http://localhost:6131/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:21]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:23:05Z
[00:03:21]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:03:21]                 │
[00:03:21]                 │      "
[00:03:21]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:21]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings_ redirects to management home.png"
[00:03:22]                 │ info Current URL is: http://localhost:6131/app/kibana#/management?_g=()
[00:03:23]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings_ redirects to management home.html
[00:03:23]                 └- ✖ fail: "Advanced Settings security feature controls no advanced_settings privileges does not allow navigation to advanced settings; redirects to management home"
[00:03:23]                 │

Stack Trace

Error: expected testSubject(managementHome) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)

and 1 more failures, only showing the first 3.

History

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

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.

3 participants