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

[7.7] [Discover] Fix flaky FT in field visualize (#62418) #62547

Closed
wants to merge 1 commit into from

Conversation

sulemanof
Copy link
Contributor

Backports the following commits to 7.7:

* Unskip

* Set only suite

* Add field search

* Use alternative flaky fix

* Remove extra actions

Co-authored-by: Elastic Machine <[email protected]>
@sulemanof sulemanof closed this Apr 4, 2020
@sulemanof sulemanof deleted the backport/7.7/pr-62418 branch April 4, 2020 14:44
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/discover/_field_visualize·ts.discover app discover field visualize button should visualize a field in area chart

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:40]         └-: discover app
[00:01:40]           └-> "before all" hook
[00:01:40]           └-> "before all" hook
[00:08:53]           └-: discover field visualize button
[00:08:53]             └-> "before all" hook
[00:08:53]             └-> "before all" hook
[00:08:53]               │ debg load kibana index with default index pattern
[00:08:53]               │ info [discover] Loading "mappings.json"
[00:08:53]               │ info [discover] Loading "data.json.gz"
[00:08:53]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:53]               │ info [discover] Created index ".kibana"
[00:08:53]               │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:53]               │ info [discover] Indexed 2 docs into ".kibana"
[00:08:53]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana/2rk0ILnfTxONnvtcld9OvA] update_mapping [_doc]
[00:08:53]               │ debg Migrating saved objects
[00:08:53]               │ proc [kibana]   log   [14:49:18.756] [info][savedobjects-service] Creating index .kibana_2.
[00:08:53]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:53]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:53]               │ proc [kibana]   log   [14:49:18.809] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:08:53]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:53]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.kibana_1]
[00:08:53]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] 8036 finished with response BulkByScrollResponse[took=26.2ms,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:08:53]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana/2rk0ILnfTxONnvtcld9OvA] deleting index
[00:08:53]               │ proc [kibana]   log   [14:49:19.148] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:53]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/js56xQRTSn238Pp-C2Oe1g] update_mapping [_doc]
[00:08:53]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/js56xQRTSn238Pp-C2Oe1g] update_mapping [_doc]
[00:08:53]               │ proc [kibana]   log   [14:49:19.216] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:08:53]               │ proc [kibana]   log   [14:49:19.252] [info][savedobjects-service] Finished in 498ms.
[00:08:53]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:08:54]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/js56xQRTSn238Pp-C2Oe1g] update_mapping [_doc]
[00:08:55]               │ info [logstash_functional] Loading "mappings.json"
[00:08:55]               │ info [logstash_functional] Loading "data.json.gz"
[00:08:55]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:08:55]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:08:55]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:08:56]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:08:56]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/js56xQRTSn238Pp-C2Oe1g] update_mapping [_doc]
[00:08:57]             └-> should visualize a field in area chart
[00:08:57]               └-> "before each" hook: global before each
[00:08:57]               └-> "before each" hook
[00:08:57]                 │ debg go to discover
[00:08:57]                 │ debg navigating to discover url: http://localhost:6161/app/kibana#/discover
[00:08:57]                 │ debg Navigate to: http://localhost:6161/app/kibana#/discover
[00:08:57]                 │ debg ... sleep(700) start
[00:08:57]                 │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1586011762830#/discover 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:57]                 │
[00:08:57]                 │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:58]                 │ debg ... sleep(700) end
[00:08:58]                 │ debg returned from get, calling refresh
[00:08:58]                 │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1586011762830#/discover 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:58]                 │
[00:08:58]                 │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:58]                 │ debg currentUrl = http://localhost:6161/app/kibana#/discover
[00:08:58]                 │          appUrl = http://localhost:6161/app/kibana#/discover
[00:08:58]                 │ debg TestSubjects.find(kibanaChrome)
[00:08:58]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:01]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:01]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:09:01]                 │ debg browser[INFO] http://localhost:6161/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:49:26Z
[00:09:01]                 │        Adding connection to http://localhost:6161/elasticsearch
[00:09:01]                 │
[00:09:01]                 │      "
[00:09:01]                 │ debg ... sleep(501) start
[00:09:01]                 │ debg ... sleep(501) end
[00:09:02]                 │ debg in navigateTo url = http://localhost:6161/app/kibana#/discover
[00:09:02]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:04]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:05]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:09:05]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:09:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:09:05]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:09:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:09:05]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:09:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:05]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:09:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:09:05]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:09:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:05]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:05]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:09:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:06]                 │ debg ... sleep(500) start
[00:09:06]                 │ debg ... sleep(500) end
[00:09:06]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:09:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:09:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:09:06]                 │ debg Find.waitForElementStale with timeout=10000
[00:09:06]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:06]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:07]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:09:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:07]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:09:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:09:10]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:09:10]                 │ debg TestSubjects.click(querySubmitButton)
[00:09:10]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:09:10]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:09:10]                 │ debg Find.waitForElementStale with timeout=10000
[00:09:11]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:11]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:12]               │ debg TestSubjects.find(fieldFilterSearchInput)
[00:09:12]               │ debg Find.findByCssSelector('[data-test-subj="fieldFilterSearchInput"]') with timeout=10000
[00:09:12]               │ debg visualize a phpmemory field
[00:09:12]               │ debg TestSubjects.find(field-phpmemory-showDetails)
[00:09:12]               │ debg Find.findByCssSelector('[data-test-subj="field-phpmemory-showDetails"]') with timeout=10000
[00:09:22]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app discover field visualize button should visualize a field in area chart.png"
[00:09:23]               │ info Current URL is: http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:23]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/discover app discover field visualize button should visualize a field in area chart.html
[00:09:23]               └- ✖ fail: "discover app discover field visualize button should visualize a field in area chart"
[00:09:23]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-phpmemory-showDetails"])
Wait timed out after 10023ms
    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/discover/_field_visualize·ts.discover app discover field visualize button should visualize a field in area chart

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:47]         └-: discover app
[00:01:47]           └-> "before all" hook
[00:01:47]           └-> "before all" hook
[00:09:23]           └-: discover field visualize button
[00:09:23]             └-> "before all" hook
[00:09:23]             └-> "before all" hook
[00:09:23]               │ debg load kibana index with default index pattern
[00:09:23]               │ info [discover] Loading "mappings.json"
[00:09:23]               │ info [discover] Loading "data.json.gz"
[00:09:23]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:23]               │ info [discover] Created index ".kibana"
[00:09:23]               │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:09:23]               │ info [discover] Indexed 2 docs into ".kibana"
[00:09:23]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana/JLXHPlStSKyS_M2CZwnAgg] update_mapping [_doc]
[00:09:23]               │ debg Migrating saved objects
[00:09:23]               │ proc [kibana]   log   [14:37:57.420] [info][savedobjects-service] Creating index .kibana_2.
[00:09:23]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:23]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.kibana_2]
[00:09:23]               │ proc [kibana]   log   [14:37:57.502] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:09:23]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:23]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.kibana_1]
[00:09:23]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] 8111 finished with response BulkByScrollResponse[took=37.9ms,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:09:24]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana/JLXHPlStSKyS_M2CZwnAgg] deleting index
[00:09:24]               │ proc [kibana]   log   [14:37:57.871] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:09:24]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/T6ArhSejTvW5WnQ4BRgnTQ] update_mapping [_doc]
[00:09:24]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/T6ArhSejTvW5WnQ4BRgnTQ] update_mapping [_doc]
[00:09:24]               │ proc [kibana]   log   [14:37:57.936] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:09:24]               │ proc [kibana]   log   [14:37:57.986] [info][savedobjects-service] Finished in 568ms.
[00:09:24]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:09:24]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/T6ArhSejTvW5WnQ4BRgnTQ] update_mapping [_doc]
[00:09:25]               │ info [logstash_functional] Loading "mappings.json"
[00:09:25]               │ info [logstash_functional] Loading "data.json.gz"
[00:09:25]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:09:25]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:09:25]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:09:27]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:09:27]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/T6ArhSejTvW5WnQ4BRgnTQ] update_mapping [_doc]
[00:09:27]             └-> should visualize a field in area chart
[00:09:27]               └-> "before each" hook: global before each
[00:09:27]               └-> "before each" hook
[00:09:27]                 │ debg go to discover
[00:09:27]                 │ debg navigating to discover url: http://localhost:6161/app/kibana#/discover
[00:09:27]                 │ debg Navigate to: http://localhost:6161/app/kibana#/discover
[00:09:28]                 │ debg ... sleep(700) start
[00:09:28]                 │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1586011081541#/discover 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:09:28]                 │
[00:09:28]                 │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:28]                 │ debg ... sleep(700) end
[00:09:28]                 │ debg returned from get, calling refresh
[00:09:29]                 │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1586011081541#/discover 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:09:29]                 │
[00:09:29]                 │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:29]                 │ debg currentUrl = http://localhost:6161/app/kibana#/discover
[00:09:29]                 │          appUrl = http://localhost:6161/app/kibana#/discover
[00:09:29]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:32]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:09:32]                 │ debg browser[INFO] http://localhost:6161/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:38:05Z
[00:09:32]                 │        Adding connection to http://localhost:6161/elasticsearch
[00:09:32]                 │
[00:09:32]                 │      "
[00:09:32]                 │ debg ... sleep(501) start
[00:09:32]                 │ debg ... sleep(501) end
[00:09:32]                 │ debg in navigateTo url = http://localhost:6161/app/kibana#/discover
[00:09:32]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:35]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:35]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:09:35]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:09:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:09:35]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:09:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:09:35]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:09:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:36]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:09:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:09:36]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:09:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:36]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:36]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:09:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:36]                 │ debg ... sleep(500) start
[00:09:37]                 │ debg ... sleep(500) end
[00:09:37]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:09:37]                 │ debg Find.waitForElementStale with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:38]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:09:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:38]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:09:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:09:41]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:09:41]                 │ debg TestSubjects.click(querySubmitButton)
[00:09:41]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:09:41]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:09:42]                 │ debg Find.waitForElementStale with timeout=10000
[00:09:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:43]               │ debg TestSubjects.find(fieldFilterSearchInput)
[00:09:43]               │ debg Find.findByCssSelector('[data-test-subj="fieldFilterSearchInput"]') with timeout=10000
[00:09:44]               │ debg visualize a phpmemory field
[00:09:44]               │ debg TestSubjects.find(field-phpmemory-showDetails)
[00:09:44]               │ debg Find.findByCssSelector('[data-test-subj="field-phpmemory-showDetails"]') with timeout=10000
[00:09:54]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app discover field visualize button should visualize a field in area chart.png"
[00:09:54]               │ info Current URL is: http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:54]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/discover app discover field visualize button should visualize a field in area chart.html
[00:09:54]               └- ✖ fail: "discover app discover field visualize button should visualize a field in area chart"
[00:09:54]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-phpmemory-showDetails"])
Wait timed out after 10032ms
    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/management/_scripted_fields·js.management scripted fields creating and using Painless numeric scripted fields should visualize scripted field in vertical bar chart

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: management
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [empty_kibana] Loading "mappings.json"
[00:00:01]             │ info [empty_kibana] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_1/BZw5_xiiS6O1rydGiNKy8g] deleting index
[00:00:01]             │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:01]             │ info [empty_kibana] Created index ".kibana"
[00:00:01]             │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:01]             │ info [empty_kibana] Indexed 1 docs into ".kibana"
[00:00:01]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana/M9ENePThRxq2d3L0hFCDMA] update_mapping [_doc]
[00:00:01]             │ debg Migrating saved objects
[00:00:01]             │ proc [kibana]   log   [14:28:57.202] [info][savedobjects-service] Creating index .kibana_2.
[00:00:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:02]             │ proc [kibana]   log   [14:28:57.345] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:02]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] 105 finished with response BulkByScrollResponse[took=98.9ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:02]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana/M9ENePThRxq2d3L0hFCDMA] deleting index
[00:00:02]             │ proc [kibana]   log   [14:28:57.894] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:02]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/jZ-zyVZVQYe7VsLRTtAw2A] update_mapping [_doc]
[00:00:02]             │ proc [kibana]   log   [14:28:57.982] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:02]             │ proc [kibana]   log   [14:28:58.070] [info][savedobjects-service] Finished in 871ms.
[00:00:02]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:02]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [.kibana_2/jZ-zyVZVQYe7VsLRTtAw2A] update_mapping [_doc]
[00:00:04]             │ info [makelogs] Loading "mappings.json"
[00:00:04]             │ info [makelogs] Loading "data.json.gz"
[00:00:04]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]]).
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.17" 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:04]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586009225994029362] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]]).
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.18" 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:05]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:05]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:06]           └-: 
[00:00:06]             └-> "before all" hook
[00:07:05]             └-: scripted fields
[00:07:05]               └-> "before all" hook
[00:07:05]               └-> "before all" hook
[00:07:06]                 │ debg replacing kibana config doc: {}
[00:07:06]                 │ debg navigating to settings url: http://localhost:6171/app/kibana#/management
[00:07:06]                 │ debg Navigate to: http://localhost:6171/app/kibana#/management
[00:07:07]                 │ debg ... sleep(700) start
[00:07:07]                 │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:36:02Z
[00:07:07]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:07:07]                 │
[00:07:07]                 │      "
[00:07:07]                 │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586010961799#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:07]                 │
[00:07:07]                 │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:08]                 │ debg ... sleep(700) end
[00:07:08]                 │ debg returned from get, calling refresh
[00:07:09]                 │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:36:04Z
[00:07:09]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:07:09]                 │
[00:07:09]                 │      "
[00:07:09]                 │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586010961799#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:09]                 │
[00:07:09]                 │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:09]                 │ debg currentUrl = http://localhost:6171/app/kibana#/management
[00:07:09]                 │          appUrl = http://localhost:6171/app/kibana#/management
[00:07:09]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:09]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:10]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:10]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:10]                 │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:36:05Z
[00:07:10]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:07:10]                 │
[00:07:10]                 │      "
[00:07:11]                 │ debg ... sleep(501) start
[00:07:11]                 │ debg ... sleep(501) end
[00:07:11]                 │ debg in navigateTo url = http://localhost:6171/app/kibana#/management?_g=()
[00:07:11]                 │ debg TestSubjects.exists(statusPageContainer)
[00:07:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:14]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:14]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:14]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:16]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:16]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:16]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:16]                 │ debg clickKibanaIndexPatterns link
[00:07:16]                 │ debg TestSubjects.click(index_patterns)
[00:07:16]                 │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:07:16]                 │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:07:16]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:16]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:18]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:18]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:18]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:18]                 │ debg Waiting up to 20000ms for index pattern info flyout...
[00:07:18]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:07:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:07:18]                 │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:07:18]                 │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:07:18]                 │ debg Find.findByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:07:19]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:07:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:07:21]                 │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:07:22]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:22]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:23]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:24]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:24]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:24]                 │ debg TestSubjects.isDisplayed(createIndexPatternButton)
[00:07:24]                 │ debg TestSubjects.find(createIndexPatternButton)
[00:07:24]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:07:24]                 │ debg TestSubjects.click(createIndexPatternButton)
[00:07:24]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:07:24]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:07:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:24]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:24]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:24]                 │ debg setIndexPatternField(logstash-)
[00:07:24]                 │ debg TestSubjects.find(createIndexPatternNameInput)
[00:07:24]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:07:26]                 │ debg setIndexPatternField set to logstash-*
[00:07:26]                 │ debg ... sleep(2000) start
[00:07:28]                 │ debg ... sleep(2000) end
[00:07:28]                 │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:07:28]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:07:28]                 │ debg ... sleep(2000) start
[00:07:30]                 │ debg ... sleep(2000) end
[00:07:30]                 │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:07:30]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:07:30]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:07:30]                 │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:07:30]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:07:30]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:07:30]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:30]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:31]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:32]                 │ debg selectTimeFieldOption(@timestamp)
[00:07:32]                 │ debg Find.displayedByCssSelector(option[value="@timestamp"])
[00:07:32]                 │ debg Find.findByCssSelector('option[value="@timestamp"]') with timeout=10000
[00:07:32]                 │ debg Wait for element become visible: option[value="@timestamp"] with timeout=10000
[00:07:32]                 │ debg TestSubjects.find(createIndexPatternButton)
[00:07:32]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:07:32]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:32]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:34]                 │ info currentUrl http://localhost:6171/app/kibana#/management/kibana/index_patterns/ab040e90-7681-11ea-8ed1-fbe4d5303304?_g=()
[00:07:34]                 │ debg Index pattern created: http://localhost:6171/app/kibana#/management/kibana/index_patterns/ab040e90-7681-11ea-8ed1-fbe4d5303304?_g=()
[00:07:34]                 │ debg index pattern ID:  ab040e90-7681-11ea-8ed1-fbe4d5303304?_g=()
[00:07:34]                 │ debg applying update to kibana config: {}
[00:07:35]               └-> should not allow saving of invalid scripts
[00:07:35]                 └-> "before each" hook: global before each
[00:07:35]                 │ debg navigating to settings url: http://localhost:6171/app/kibana#/management
[00:07:35]                 │ debg Navigate to: http://localhost:6171/app/kibana#/management
[00:07:35]                 │ debg ... sleep(700) start
[00:07:35]                 │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586010991039#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:35]                 │
[00:07:35]                 │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:36]                 │ debg ... sleep(700) end
[00:07:36]                 │ debg returned from get, calling refresh
[00:07:37]                 │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586010991039#/management 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:07:37]                 │
[00:07:37]                 │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:37]                 │ debg currentUrl = http://localhost:6171/app/kibana#/management
[00:07:37]                 │          appUrl = http://localhost:6171/app/kibana#/management
[00:07:37]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:39]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:39]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:39]                 │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:36:34Z
[00:07:39]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:07:39]                 │
[00:07:39]                 │      "
[00:07:39]                 │ debg ... sleep(501) start
[00:07:39]                 │ debg ... sleep(501) end
[00:07:39]                 │ debg in navigateTo url = http://localhost:6171/app/kibana#/management?_g=()
[00:07:39]                 │ debg TestSubjects.exists(statusPageContainer)
[00:07:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:42]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:42]                 │ debg clickKibanaIndexPatterns link
[00:07:42]                 │ debg TestSubjects.click(index_patterns)
[00:07:42]                 │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:07:42]                 │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:07:43]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:43]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:43]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:45]                 │ debg Waiting up to 20000ms for index pattern info flyout...
[00:07:45]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:07:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:07:48]                 │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:07:48]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:07:48]                 │ debg click Scripted Fields tab
[00:07:48]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:07:48]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:07:48]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:07:49]                 │ debg click Add Scripted Field
[00:07:49]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:07:49]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:07:49]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:07:49]                 │ debg set scripted field name = doomedScriptedField
[00:07:49]                 │ debg TestSubjects.find(editorFieldName)
[00:07:49]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:07:49]                 │ debg set scripted field script = i n v a l i d  s c r i p t
[00:07:49]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:07:49]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:07:55]                 │ debg click Save Scripted Field
[00:07:55]                 │ debg TestSubjects.click(fieldSaveButton)
[00:07:55]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:07:55]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:07:55]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:55]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:55]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:55]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:55]                 │ debg TestSubjects.exists(invalidScriptError)
[00:07:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="invalidScriptError"]') with timeout=2500
[00:07:55]                 └- ✓ pass  (20.3s) "management  scripted fields should not allow saving of invalid scripts"
[00:07:55]               └-: testing regression for issue #33251
[00:07:55]                 └-> "before all" hook
[00:08:20]               └-: creating and using Painless numeric scripted fields
[00:08:20]                 └-> "before all" hook
[00:08:20]                 └-> should create scripted field
[00:08:20]                   └-> "before each" hook: global before each
[00:08:20]                   │ debg navigating to settings url: http://localhost:6171/app/kibana#/management
[00:08:20]                   │ debg Navigate to: http://localhost:6171/app/kibana#/management
[00:08:20]                   │ debg ... sleep(700) start
[00:08:20]                   │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586011035642#/management 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:08:20]                   │
[00:08:20]                   │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:21]                   │ debg ... sleep(700) end
[00:08:21]                   │ debg returned from get, calling refresh
[00:08:21]                   │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586011035642#/management 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:08:21]                   │
[00:08:21]                   │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:22]                   │ debg currentUrl = http://localhost:6171/app/kibana#/management
[00:08:22]                   │          appUrl = http://localhost:6171/app/kibana#/management
[00:08:22]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:22]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:23]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:23]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:08:23]                   │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:37:18Z
[00:08:23]                   │        Adding connection to http://localhost:6171/elasticsearch
[00:08:23]                   │
[00:08:23]                   │      "
[00:08:23]                   │ debg ... sleep(501) start
[00:08:24]                   │ debg ... sleep(501) end
[00:08:24]                   │ debg in navigateTo url = http://localhost:6171/app/kibana#/management?_g=()
[00:08:24]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:26]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:27]                   │ debg clickKibanaIndexPatterns link
[00:08:27]                   │ debg TestSubjects.click(index_patterns)
[00:08:27]                   │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:08:27]                   │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:08:27]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:27]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:27]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:30]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:30]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:30]                   │ debg Waiting up to 20000ms for index pattern info flyout...
[00:08:30]                   │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:08:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:08:32]                   │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:08:33]                   │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:08:33]                   │ debg TestSubjects.getVisibleText(tab-count-scriptedFields)
[00:08:33]                   │ debg TestSubjects.find(tab-count-scriptedFields)
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="tab-count-scriptedFields"]') with timeout=10000
[00:08:33]                   │ debg click Scripted Fields tab
[00:08:33]                   │ debg TestSubjects.click(tab-scriptedFields)
[00:08:33]                   │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:33]                   │ debg add scripted field
[00:08:33]                   │ debg click Add Scripted Field
[00:08:33]                   │ debg TestSubjects.click(addScriptedFieldLink)
[00:08:33]                   │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:08:33]                   │ debg set scripted field name = ram_Pain1
[00:08:33]                   │ debg TestSubjects.find(editorFieldName)
[00:08:33]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:08:34]                   │ debg set scripted field language = painless
[00:08:34]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:08:34]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:08:34]                   │ debg set scripted field type = number
[00:08:34]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:08:34]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:08:34]                   │ debg set scripted field popularity = 1
[00:08:34]                   │ debg TestSubjects.find(editorFieldCount)
[00:08:34]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:08:34]                   │ debg set scripted field script = if (doc['machine.ram'].size() == 0) return -1;
[00:08:34]                   │                else return doc['machine.ram'].value / (1024 * 1024 * 1024);
[00:08:34]                   │              
[00:08:34]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:08:34]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:08:41]                   │ debg click Save Scripted Field
[00:08:41]                   │ debg TestSubjects.click(fieldSaveButton)
[00:08:41]                   │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:08:41]                   │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:08:41]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:41]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:41]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:41]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:42]                   │ debg TestSubjects.getVisibleText(tab-count-scriptedFields)
[00:08:42]                   │ debg TestSubjects.find(tab-count-scriptedFields)
[00:08:42]                   │ debg Find.findByCssSelector('[data-test-subj="tab-count-scriptedFields"]') with timeout=10000
[00:08:42]                   └- ✓ pass  (22.0s) "management  scripted fields creating and using Painless numeric scripted fields should create scripted field"
[00:08:42]                 └-> should see scripted field value in Discover
[00:08:42]                   └-> "before each" hook: global before each
[00:08:42]                   │ debg navigating to discover url: http://localhost:6171/app/kibana#/discover
[00:08:42]                   │ debg Navigate to: http://localhost:6171/app/kibana#/discover
[00:08:42]                   │ debg ... sleep(700) start
[00:08:42]                   │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586011057687#/discover 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:42]                   │
[00:08:42]                   │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:43]                   │ debg ... sleep(700) end
[00:08:43]                   │ debg returned from get, calling refresh
[00:08:44]                   │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:37:39Z
[00:08:44]                   │        Adding connection to http://localhost:6171/elasticsearch
[00:08:44]                   │
[00:08:44]                   │      "
[00:08:44]                   │ERROR browser[SEVERE] http://localhost:6171/bundles/commons.bundle.js 0:1391243 TypeError: Failed to fetch
[00:08:44]                   │          at Fetch._callee3$ (http://localhost:6171/bundles/commons.bundle.js:1:1418489)
[00:08:44]                   │          at l (http://localhost:6171/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1050197)
[00:08:44]                   │          at Generator._invoke (http://localhost:6171/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1049950)
[00:08:44]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6171/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1050554)
[00:08:44]                   │          at asyncGeneratorStep (http://localhost:6171/bundles/commons.bundle.js:1:1412986)
[00:08:44]                   │          at _throw (http://localhost:6171/bundles/commons.bundle.js:1:1413383)
[00:08:44]                   │ debg browser[INFO] http://localhost:6171/app/kibana?_t=1586011057687#/discover 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:44]                   │
[00:08:44]                   │ debg browser[INFO] http://localhost:6171/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:44]                   │ debg currentUrl = http://localhost:6171/app/kibana#/discover
[00:08:44]                   │          appUrl = http://localhost:6171/app/kibana#/discover
[00:08:44]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:44]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:46]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:46]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:08:46]                   │ debg browser[INFO] http://localhost:6171/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-04T14:37:40Z
[00:08:46]                   │        Adding connection to http://localhost:6171/elasticsearch
[00:08:46]                   │
[00:08:46]                   │      "
[00:08:46]                   │ debg ... sleep(501) start
[00:08:46]                   │ debg ... sleep(501) end
[00:08:46]                   │ debg in navigateTo url = http://localhost:6171/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:ab040e90-7681-11ea-8ed1-fbe4d5303304,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:46]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:08:47]                   │ debg ... sleep(501) start
[00:08:47]                   │ debg ... sleep(501) end
[00:08:47]                   │ debg in navigateTo url = http://localhost:6171/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:ab040e90-7681-11ea-8ed1-fbe4d5303304,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:47]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:50]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:50]                   │ debg Setting absolute range to Sep 17, 2015 @ 06:31:44.000 to Sep 18, 2015 @ 18:31:44.000
[00:08:50]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:08:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:08:50]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:08:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:08:50]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:08:50]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:08:50]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:08:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:08:50]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:08:50]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:51]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:08:51]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:08:51]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:08:51]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:08:51]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:08:51]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:51]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:51]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 18, 2015 @ 18:31:44.000)
[00:08:51]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:08:51]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:51]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:51]                   │ debg ... sleep(500) start
[00:08:52]                   │ debg ... sleep(500) end
[00:08:52]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:08:52]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:08:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:08:52]                   │ debg Find.waitForElementStale with timeout=10000
[00:08:52]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:08:52]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:08:52]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:08:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:08:52]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:08:52]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:52]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 17, 2015 @ 06:31:44.000)
[00:08:52]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:08:52]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:08:53]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:08:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:08:55]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:08:56]                   │ debg TestSubjects.click(querySubmitButton)
[00:08:56]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:08:56]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:08:56]                   │ debg Find.waitForElementStale with timeout=10000
[00:08:56]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:56]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:58]                   │ debg TestSubjects.click(field-ram_Pain1)
[00:08:58]                   │ debg Find.clickByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:58]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:59]                   │ debg TestSubjects.moveMouseTo(field-ram_Pain1)
[00:08:59]                   │ debg TestSubjects.find(field-ram_Pain1)
[00:08:59]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:59]                   │ debg TestSubjects.click(fieldToggle-ram_Pain1)
[00:08:59]                   │ debg Find.clickByCssSelector('[data-test-subj="fieldToggle-ram_Pain1"]') with timeout=10000
[00:08:59]                   │ debg Find.findByCssSelector('[data-test-subj="fieldToggle-ram_Pain1"]') with timeout=10000
[00:09:00]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:00]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:00]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:00]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:01]                   │ debg Find.findByCssSelector('tr.kbnDocTable__row:nth-child(1)') with timeout=10000
[00:09:01]                   └- ✓ pass  (19.0s) "management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover"
[00:09:01]                 └-> should filter by scripted field value in Discover
[00:09:01]                   └-> "before each" hook: global before each
[00:09:01]                   │ debg TestSubjects.click(field-ram_Pain1)
[00:09:01]                   │ debg Find.clickByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:09:01]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:09:01]                   │ debg filter by the first value (14) in the expanded scripted field list
[00:09:01]                   │ debg TestSubjects.click(plus-ram_Pain1-14)
[00:09:01]                   │ debg Find.clickByCssSelector('[data-test-subj="plus-ram_Pain1-14"]') with timeout=10000
[00:09:01]                   │ debg Find.findByCssSelector('[data-test-subj="plus-ram_Pain1-14"]') with timeout=10000
[00:09:01]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:01]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:01]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:01]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:02]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:02]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:04]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:04]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:04]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:04]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:04]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:06]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:06]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:06]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:06]                   │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:09:06]                   │ debg TestSubjects.find(discoverQueryHits)
[00:09:06]                   │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:09:06]                   └- ✓ pass  (5.4s) "management  scripted fields creating and using Painless numeric scripted fields should filter by scripted field value in Discover"
[00:09:06]                 └-> should visualize scripted field in vertical bar chart
[00:09:06]                   └-> "before each" hook: global before each
[00:09:06]                   │ debg TestSubjects.click(showFilterActions)
[00:09:06]                   │ debg Find.clickByCssSelector('[data-test-subj="showFilterActions"]') with timeout=10000
[00:09:06]                   │ debg Find.findByCssSelector('[data-test-subj="showFilterActions"]') with timeout=10000
[00:09:06]                   │ debg TestSubjects.click(removeAllFilters)
[00:09:06]                   │ debg Find.clickByCssSelector('[data-test-subj="removeAllFilters"]') with timeout=10000
[00:09:06]                   │ debg Find.findByCssSelector('[data-test-subj="removeAllFilters"]') with timeout=10000
[00:09:07]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:07]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:07]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:07]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:08]                   │ debg TestSubjects.find(field-ram_Pain1-showDetails)
[00:09:08]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1-showDetails"]') with timeout=10000
[00:09:18]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/management  scripted fields creating and using Painless numeric scripted fields should visualize scripted field in vertical bar chart.png"
[00:09:18]                   │ info Current URL is: http://localhost:6171/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-17T06:31:44.000Z%27,to:%272015-09-18T18:31:44.000Z%27))&_a=(columns:!(ram_Pain1),filters:!(),index:ab040e90-7681-11ea-8ed1-fbe4d5303304,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:18]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/management  scripted fields creating and using Painless numeric scripted fields should visualize scripted field in vertical bar chart.html
[00:09:18]                   └- ✖ fail: "management  scripted fields creating and using Painless numeric scripted fields should visualize scripted field in vertical bar chart"
[00:09:18]                   │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1-showDetails"])
Wait timed out after 10007ms
    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 1 more failures, only showing the first 3.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants