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

[test] Migrates discover esArchive to kbnArchiver #102827

Closed
wants to merge 1 commit into from

Conversation

tylersmalley
Copy link
Contributor

Part of #102552

@tylersmalley tylersmalley force-pushed the archive-discover branch 2 times, most recently from d1d81a2 to 405f828 Compare June 21, 2021 23:44
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 22, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_scripted_fields·js.management scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: management
[00:00:00]           └-> "before all" hook in "management"
[00:00:00]           └-> "before all" hook in "management"
[00:00:00]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Unloading indices from "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.ds-ilm-history-5-2021.06.22-000001] creating index, cause [initialize_data_stream], templates [ilm-history], shards [1]/[0]
[00:00:00]             │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] adding data stream [ilm-history-5] with write index [.ds-ilm-history-5-2021.06.22-000001] and backing indices []
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ds-ilm-history-5-2021.06.22-000001][0]]])." previous.health="YELLOW" reason="shards started [[.ds-ilm-history-5-2021.06.22-000001][0]]"
[00:00:00]             │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] moving index [.ds-ilm-history-5-2021.06.22-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]             │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] moving index [.ds-ilm-history-5-2021.06.22-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ilm-history-ilm-policy]
[00:00:01]             │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] moving index [.ds-ilm-history-5-2021.06.22-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Loading "mappings.json"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [test/functional/fixtures/es_archiver/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:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [test/functional/fixtures/es_archiver/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:02]             │ info [test/functional/fixtures/es_archiver/makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:02]             │ info [test/functional/fixtures/es_archiver/makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: 
[00:00:02]             └-> "before all" hook in ""
[00:05:45]             └-: scripted fields
[00:05:45]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:05:45]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:05:45]                 │ debg resolved import for test/functional/fixtures/kbn_archiver/discover.json to /dev/shm/workspace/parallel/21/kibana/test/functional/fixtures/kbn_archiver/discover.json
[00:05:45]                 │ info importing 2 saved objects { space: undefined }
[00:05:45]                 │ succ import success
[00:05:45]                 │ debg replacing kibana config doc: {}
[00:05:46]                 │ debg applying update to kibana config: {"doc_table:legacy":true}
[00:05:47]               └-> should not allow saving of invalid scripts
[00:05:47]                 └-> "before each" hook: global before each for "should not allow saving of invalid scripts"
[00:05:47]                 │ debg navigating to settings url: http://localhost:61211/app/management
[00:05:47]                 │ debg navigate to: http://localhost:61211/app/management
[00:05:47]                 │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337836206 281 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:05:47]                 │
[00:05:47]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:47]                 │ debg ... sleep(700) start
[00:05:48]                 │ debg ... sleep(700) end
[00:05:48]                 │ debg returned from get, calling refresh
[00:05:49]                 │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337836206 281 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:05:49]                 │
[00:05:49]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:49]                 │ debg currentUrl = http://localhost:61211/app/management
[00:05:49]                 │          appUrl = http://localhost:61211/app/management
[00:05:49]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:49]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:49]                 │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:05:49]                 │ debg ... sleep(501) start
[00:05:50]                 │ debg ... sleep(501) end
[00:05:50]                 │ debg in navigateTo url = http://localhost:61211/app/management
[00:05:50]                 │ debg clickKibanaIndexPatterns link
[00:05:50]                 │ debg TestSubjects.click(indexPatterns)
[00:05:50]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:50]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:50]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:50]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:52]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:52]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:52]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:52]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:05:52]                 │ debg click Scripted Fields tab
[00:05:52]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:05:52]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:52]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:52]                 │ debg click Add Scripted Field
[00:05:52]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:05:52]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:52]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:52]                 │ debg set scripted field name = doomedScriptedField
[00:05:52]                 │ debg TestSubjects.setValue(editorFieldName, doomedScriptedField)
[00:05:52]                 │ debg TestSubjects.click(editorFieldName)
[00:05:53]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:53]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:53]                 │ debg set scripted field script = i n v a l i d  s c r i p t
[00:05:53]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:05:54]                 │ debg click Save Scripted Field
[00:05:54]                 │ debg TestSubjects.click(fieldSaveButton)
[00:05:54]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:05:54]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:05:54]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:54]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:55]                 │ERROR browser[SEVERE] http://localhost:61211/internal/index-pattern-management/preview_scripted_field - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:05:55]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:56]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:56]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:56]                 │ debg TestSubjects.exists(invalidScriptError)
[00:05:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="invalidScriptError"]') with timeout=2500
[00:05:56]                 └- ✓ pass  (9.0s) "management  scripted fields should not allow saving of invalid scripts"
[00:05:56]               └-: testing regression for issue #33251
[00:05:56]                 └-> "before all" hook for "should create and edit scripted field"
[00:06:07]               └-: creating and using Painless numeric scripted fields
[00:06:07]                 └-> "before all" hook for "should create scripted field"
[00:06:07]                 └-> should create scripted field
[00:06:07]                   └-> "before each" hook: global before each for "should create scripted field"
[00:06:07]                   │ debg navigating to settings url: http://localhost:61211/app/management
[00:06:07]                   │ debg navigate to: http://localhost:61211/app/management
[00:06:07]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337856762 281 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:06:07]                   │
[00:06:07]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:07]                   │ debg ... sleep(700) start
[00:06:08]                   │ debg ... sleep(700) end
[00:06:08]                   │ debg returned from get, calling refresh
[00:06:09]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337856762 281 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:06:09]                   │
[00:06:09]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:09]                   │ debg currentUrl = http://localhost:61211/app/management
[00:06:09]                   │          appUrl = http://localhost:61211/app/management
[00:06:09]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:09]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:09]                   │ debg ... sleep(501) start
[00:06:10]                   │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:10]                   │ debg ... sleep(501) end
[00:06:10]                   │ debg in navigateTo url = http://localhost:61211/app/management
[00:06:10]                   │ debg clickKibanaIndexPatterns link
[00:06:10]                   │ debg TestSubjects.click(indexPatterns)
[00:06:10]                   │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:10]                   │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:10]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:10]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:12]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:12]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:12]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:12]                   │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:06:12]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:06:12]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:06:12]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:12]                   │ debg click Scripted Fields tab
[00:06:12]                   │ debg TestSubjects.click(tab-scriptedFields)
[00:06:12]                   │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:12]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:13]                   │ debg add scripted field
[00:06:13]                   │ debg click Add Scripted Field
[00:06:13]                   │ debg TestSubjects.click(addScriptedFieldLink)
[00:06:13]                   │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:13]                   │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:13]                   │ debg set scripted field name = ram_Pain1
[00:06:13]                   │ debg TestSubjects.setValue(editorFieldName, ram_Pain1)
[00:06:13]                   │ debg TestSubjects.click(editorFieldName)
[00:06:13]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:13]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:13]                   │ debg set scripted field language = painless
[00:06:13]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:06:13]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:06:13]                   │ debg set scripted field type = number
[00:06:13]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:06:13]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:06:13]                   │ debg set scripted field popularity = 1
[00:06:13]                   │ debg TestSubjects.setValue(editorFieldCount, 1)
[00:06:13]                   │ debg TestSubjects.click(editorFieldCount)
[00:06:13]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:06:13]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:06:13]                   │ debg set scripted field script = if (doc['machine.ram'].size() == 0) return -1;
[00:06:13]                   │                else return doc['machine.ram'].value / (1024 * 1024 * 1024);
[00:06:13]                   │              
[00:06:13]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:06:15]                   │ debg click Save Scripted Field
[00:06:15]                   │ debg TestSubjects.click(fieldSaveButton)
[00:06:15]                   │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:15]                   │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:15]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:15]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:15]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:15]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:16]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:06:16]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:06:16]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:16]                   └- ✓ pass  (8.9s) "management  scripted fields creating and using Painless numeric scripted fields should create scripted field"
[00:06:16]                 └-> should see scripted field value in Discover
[00:06:16]                   └-> "before each" hook: global before each for "should see scripted field value in Discover"
[00:06:16]                   │ debg navigating to discover url: http://localhost:61211/app/discover#/
[00:06:16]                   │ debg navigate to: http://localhost:61211/app/discover#/
[00:06:16]                   │ debg browser[INFO] http://localhost:61211/app/discover?_t=1624337865697#/ 281 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:06:16]                   │
[00:06:16]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:16]                   │ debg ... sleep(700) start
[00:06:17]                   │ debg ... sleep(700) end
[00:06:17]                   │ debg returned from get, calling refresh
[00:06:18]                   │ debg browser[INFO] http://localhost:61211/app/discover?_t=1624337865697#/ 281 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:06:18]                   │
[00:06:18]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:18]                   │ debg currentUrl = http://localhost:61211/app/discover#/
[00:06:18]                   │          appUrl = http://localhost:61211/app/discover#/
[00:06:18]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:18]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:18]                   │ debg ... sleep(501) start
[00:06:18]                   │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:19]                   │ debg ... sleep(501) end
[00:06:19]                   │ debg in navigateTo url = http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:06:19]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:06:19]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.async-search] creating index, cause [auto(bulk api)], templates [], shards [1]/[0]
[00:06:19]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.async-search][0]]])." previous.health="YELLOW" reason="shards started [[.async-search][0]]"
[00:06:19]                   │ debg ... sleep(501) start
[00:06:20]                   │ debg ... sleep(501) end
[00:06:20]                   │ debg in navigateTo url = http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:06:20]                   │ debg Setting absolute range to Sep 17, 2015 @ 06:31:44.000 to Sep 18, 2015 @ 18:31:44.000
[00:06:20]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:06:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:06:20]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:06:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:06:20]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:06:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:20]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:06:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:06:20]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_8.0.0_001/mTw9Uoy_Tmam7jjasBKF8A] update_mapping [_doc]
[00:06:20]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:06:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:20]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:20]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:20]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:20]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 18, 2015 @ 18:31:44.000)
[00:06:20]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:21]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:06:21]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:21]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:21]                   │ debg Find.waitForElementStale with timeout=10000
[00:06:21]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:21]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:21]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:21]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:21]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:21]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:21]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:21]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 17, 2015 @ 06:31:44.000)
[00:06:21]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:21]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:21]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:22]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:06:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:06:24]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_8.0.0_001/mTw9Uoy_Tmam7jjasBKF8A] update_mapping [_doc]
[00:06:24]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:06:25]                   │ debg TestSubjects.click(querySubmitButton)
[00:06:25]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:25]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:25]                   │ debg Find.waitForElementStale with timeout=10000
[00:06:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:25]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:25]                   │ debg TestSubjects.click(field-ram_Pain1)
[00:06:25]                   │ debg Find.clickByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:25]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:35]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:06:35]                   │      Wait timed out after 10016ms
[00:06:36]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:46]                   │ debg --- retry.try failed again with the same message...
[00:06:46]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:56]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:06:56]                   │      Wait timed out after 10033ms
[00:06:57]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:07]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:07]                   │      Wait timed out after 10018ms
[00:07:07]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:17]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:17]                   │      Wait timed out after 10051ms
[00:07:18]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:28]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:28]                   │      Wait timed out after 10049ms
[00:07:28]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:39]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:39]                   │      Wait timed out after 10061ms
[00:07:39]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:49]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:49]                   │      Wait timed out after 10038ms
[00:07:50]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:00]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:00]                   │      Wait timed out after 10016ms
[00:08:00]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:10]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:10]                   │      Wait timed out after 10056ms
[00:08:11]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:21]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:21]                   │      Wait timed out after 10035ms
[00:08:21]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:31]                   │      Wait timed out after 10055ms
[00:08:32]                   │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/test/functional/screenshots/failure/management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover.png"
[00:08:32]                   │ info Current URL is: http://localhost:61211/app/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:!(),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:08:32]                   │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/test/functional/failure_debug/html/management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover.html
[00:08:32]                   └- ✖ fail: management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover
[00:08:32]                   │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:32]                   │ Wait timed out after 10055ms
[00:08:32]                   │     at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:32]                   │     at runMicrotasks (<anonymous>)
[00:08:32]                   │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:08:32]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:08:32]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:08:32]                   │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:08:32]                   │       at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
[00:08:32]                   │       at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
[00:08:32]                   │       at DiscoverPageObject.clickFieldListItem (test/functional/page_objects/discover_page.ts:347:12)
[00:08:32]                   │       at Context.<anonymous> (test/functional/apps/management/_scripted_fields.js:144:9)
[00:08:32]                   │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:08:32]                   │ 
[00:08:32]                   │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
Wait timed out after 10055ms
    at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (test/common/services/retry/retry.ts:31:12)
    at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
    at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
    at DiscoverPageObject.clickFieldListItem (test/functional/page_objects/discover_page.ts:347:12)
    at Context.<anonymous> (test/functional/apps/management/_scripted_fields.js:144:9)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_scripted_fields·js.management scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover

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 in "management"
[00:00:00]           └-> "before all" hook in "management"
[00:00:00]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Loading "mappings.json"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [test/functional/fixtures/es_archiver/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:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:01]             │ info [test/functional/fixtures/es_archiver/makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [test/functional/fixtures/es_archiver/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:02]             │ info [test/functional/fixtures/es_archiver/makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:02]             │ info [test/functional/fixtures/es_archiver/makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: 
[00:00:02]             └-> "before all" hook in ""
[00:05:43]             └-: scripted fields
[00:05:43]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:05:43]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:05:44]                 │ debg resolved import for test/functional/fixtures/kbn_archiver/discover.json to /dev/shm/workspace/parallel/21/kibana/test/functional/fixtures/kbn_archiver/discover.json
[00:05:44]                 │ info importing 2 saved objects { space: undefined }
[00:05:44]                 │ succ import success
[00:05:44]                 │ debg replacing kibana config doc: {}
[00:05:45]                 │ debg applying update to kibana config: {"doc_table:legacy":true}
[00:05:46]               └-> should not allow saving of invalid scripts
[00:05:46]                 └-> "before each" hook: global before each for "should not allow saving of invalid scripts"
[00:05:46]                 │ debg navigating to settings url: http://localhost:61211/app/management
[00:05:46]                 │ debg navigate to: http://localhost:61211/app/management
[00:05:46]                 │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337226553 281 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:05:46]                 │
[00:05:46]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:46]                 │ debg ... sleep(700) start
[00:05:47]                 │ debg ... sleep(700) end
[00:05:47]                 │ debg returned from get, calling refresh
[00:05:47]                 │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337226553 281 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:05:47]                 │
[00:05:47]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:48]                 │ debg currentUrl = http://localhost:61211/app/management
[00:05:48]                 │          appUrl = http://localhost:61211/app/management
[00:05:48]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:48]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:48]                 │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:05:48]                 │ debg ... sleep(501) start
[00:05:48]                 │ debg ... sleep(501) end
[00:05:48]                 │ debg in navigateTo url = http://localhost:61211/app/management
[00:05:48]                 │ debg clickKibanaIndexPatterns link
[00:05:48]                 │ debg TestSubjects.click(indexPatterns)
[00:05:48]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:48]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:48]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:48]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:50]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:51]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:51]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:51]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:05:51]                 │ debg click Scripted Fields tab
[00:05:51]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:05:51]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:51]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:51]                 │ debg click Add Scripted Field
[00:05:51]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:05:51]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:51]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:51]                 │ debg set scripted field name = doomedScriptedField
[00:05:51]                 │ debg TestSubjects.setValue(editorFieldName, doomedScriptedField)
[00:05:51]                 │ debg TestSubjects.click(editorFieldName)
[00:05:51]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:51]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:51]                 │ debg set scripted field script = i n v a l i d  s c r i p t
[00:05:51]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:05:52]                 │ debg click Save Scripted Field
[00:05:52]                 │ debg TestSubjects.click(fieldSaveButton)
[00:05:52]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:05:52]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:05:52]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:52]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:54]                 │ERROR browser[SEVERE] http://localhost:61211/internal/index-pattern-management/preview_scripted_field - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:54]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:54]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:54]                 │ debg TestSubjects.exists(invalidScriptError)
[00:05:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="invalidScriptError"]') with timeout=2500
[00:05:54]                 └- ✓ pass  (8.3s) "management  scripted fields should not allow saving of invalid scripts"
[00:05:54]               └-: testing regression for issue #33251
[00:05:54]                 └-> "before all" hook for "should create and edit scripted field"
[00:06:06]               └-: creating and using Painless numeric scripted fields
[00:06:06]                 └-> "before all" hook for "should create scripted field"
[00:06:06]                 └-> should create scripted field
[00:06:06]                   └-> "before each" hook: global before each for "should create scripted field"
[00:06:06]                   │ debg navigating to settings url: http://localhost:61211/app/management
[00:06:06]                   │ debg navigate to: http://localhost:61211/app/management
[00:06:06]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337247118 281 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:06:06]                   │
[00:06:06]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:06]                   │ debg ... sleep(700) start
[00:06:07]                   │ debg ... sleep(700) end
[00:06:07]                   │ debg returned from get, calling refresh
[00:06:08]                   │ debg browser[INFO] http://localhost:61211/app/management?_t=1624337247118 281 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:06:08]                   │
[00:06:08]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:08]                   │ debg currentUrl = http://localhost:61211/app/management
[00:06:08]                   │          appUrl = http://localhost:61211/app/management
[00:06:08]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:08]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:08]                   │ debg ... sleep(501) start
[00:06:08]                   │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:09]                   │ debg ... sleep(501) end
[00:06:09]                   │ debg in navigateTo url = http://localhost:61211/app/management
[00:06:09]                   │ debg clickKibanaIndexPatterns link
[00:06:09]                   │ debg TestSubjects.click(indexPatterns)
[00:06:09]                   │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:09]                   │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:09]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:09]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:10]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:11]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:11]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:11]                   │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:06:11]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:06:11]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:06:11]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:11]                   │ debg click Scripted Fields tab
[00:06:11]                   │ debg TestSubjects.click(tab-scriptedFields)
[00:06:11]                   │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:11]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:11]                   │ debg add scripted field
[00:06:11]                   │ debg click Add Scripted Field
[00:06:11]                   │ debg TestSubjects.click(addScriptedFieldLink)
[00:06:11]                   │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:11]                   │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:12]                   │ debg set scripted field name = ram_Pain1
[00:06:12]                   │ debg TestSubjects.setValue(editorFieldName, ram_Pain1)
[00:06:12]                   │ debg TestSubjects.click(editorFieldName)
[00:06:12]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:12]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:12]                   │ debg set scripted field language = painless
[00:06:12]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:06:12]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:06:12]                   │ debg set scripted field type = number
[00:06:12]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:06:12]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:06:12]                   │ debg set scripted field popularity = 1
[00:06:12]                   │ debg TestSubjects.setValue(editorFieldCount, 1)
[00:06:12]                   │ debg TestSubjects.click(editorFieldCount)
[00:06:12]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:06:12]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:06:12]                   │ debg set scripted field script = if (doc['machine.ram'].size() == 0) return -1;
[00:06:12]                   │                else return doc['machine.ram'].value / (1024 * 1024 * 1024);
[00:06:12]                   │              
[00:06:12]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:06:14]                   │ debg click Save Scripted Field
[00:06:14]                   │ debg TestSubjects.click(fieldSaveButton)
[00:06:14]                   │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:14]                   │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:14]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:14]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:14]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:14]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:15]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:06:15]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:06:15]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:15]                   └- ✓ pass  (8.9s) "management  scripted fields creating and using Painless numeric scripted fields should create scripted field"
[00:06:15]                 └-> should see scripted field value in Discover
[00:06:15]                   └-> "before each" hook: global before each for "should see scripted field value in Discover"
[00:06:15]                   │ debg navigating to discover url: http://localhost:61211/app/discover#/
[00:06:15]                   │ debg navigate to: http://localhost:61211/app/discover#/
[00:06:15]                   │ debg browser[INFO] http://localhost:61211/app/discover?_t=1624337256061#/ 281 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:06:15]                   │
[00:06:15]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:15]                   │ debg ... sleep(700) start
[00:06:16]                   │ debg ... sleep(700) end
[00:06:16]                   │ debg returned from get, calling refresh
[00:06:17]                   │ debg browser[INFO] http://localhost:61211/app/discover?_t=1624337256061#/ 281 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:06:17]                   │
[00:06:17]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:17]                   │ debg currentUrl = http://localhost:61211/app/discover#/
[00:06:17]                   │          appUrl = http://localhost:61211/app/discover#/
[00:06:17]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:17]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:17]                   │ debg ... sleep(501) start
[00:06:17]                   │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:18]                   │ debg ... sleep(501) end
[00:06:18]                   │ debg in navigateTo url = http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:e2657a40-d314-11eb-af7f-7f6a5e458917,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:06:18]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:06:18]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.async-search] creating index, cause [auto(bulk api)], templates [], shards [1]/[0]
[00:06:18]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.async-search][0]]])." previous.health="YELLOW" reason="shards started [[.async-search][0]]"
[00:06:18]                   │ debg ... sleep(501) start
[00:06:19]                   │ debg ... sleep(501) end
[00:06:19]                   │ debg in navigateTo url = http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:e2657a40-d314-11eb-af7f-7f6a5e458917,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:06:19]                   │ debg Setting absolute range to Sep 17, 2015 @ 06:31:44.000 to Sep 18, 2015 @ 18:31:44.000
[00:06:19]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:06:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:06:19]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_8.0.0_001/fnyKa7LpQJelV59bKbbOsg] update_mapping [_doc]
[00:06:22]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:06:24]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_8.0.0_001/fnyKa7LpQJelV59bKbbOsg] update_mapping [_doc]
[00:06:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:40]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:06:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:06:43]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:06:43]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:06:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:06:46]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerstartDatePopoverButton"] is not displayed
[00:06:46]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:06:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:57]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:06:57]                   │      Wait timed out after 10037ms
[00:06:57]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:07:07]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:07:07]                   │      Wait timed out after 10032ms
[00:07:08]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:07:18]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:07:18]                   │      Wait timed out after 10007ms
[00:07:18]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:07:28]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:07:28]                   │      Wait timed out after 10023ms
[00:07:29]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:07:39]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:07:39]                   │      Wait timed out after 10058ms
[00:07:39]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:07:49]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:07:49]                   │      Wait timed out after 10045ms
[00:07:50]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:00]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:00]                   │      Wait timed out after 10026ms
[00:08:00]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:10]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:10]                   │      Wait timed out after 10038ms
[00:08:11]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:21]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:21]                   │      Wait timed out after 10011ms
[00:08:21]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:31]                   │      Wait timed out after 10016ms
[00:08:32]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:42]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:42]                   │      Wait timed out after 10025ms
[00:08:42]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:08:52]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:52]                   │      Wait timed out after 10061ms
[00:08:53]                   │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/test/functional/screenshots/failure/management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover.png"
[00:08:53]                   │ info Current URL is: http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:e2657a40-d314-11eb-af7f-7f6a5e458917,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:08:53]                   │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/test/functional/failure_debug/html/management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover.html
[00:08:53]                   └- ✖ fail: management  scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover
[00:08:53]                   │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:08:53]                   │ Wait timed out after 10061ms
[00:08:53]                   │     at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:53]                   │     at runMicrotasks (<anonymous>)
[00:08:53]                   │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:08:53]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:08:53]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:08:53]                   │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:08:53]                   │       at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
[00:08:53]                   │       at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
[00:08:53]                   │       at TimePickerPageObject.setAbsoluteRange (test/functional/page_objects/time_picker.ts:121:5)
[00:08:53]                   │       at Context.<anonymous> (test/functional/apps/management/_scripted_fields.js:142:9)
[00:08:53]                   │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:08:53]                   │ 
[00:08:53]                   │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
Wait timed out after 10061ms
    at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (test/common/services/retry/retry.ts:31:12)
    at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
    at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
    at TimePickerPageObject.setAbsoluteRange (test/functional/page_objects/time_picker.ts:121:5)
    at Context.<anonymous> (test/functional/apps/management/_scripted_fields.js:142:9)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/home/_navigation·ts.homepage app Kibana browser back navigation should work detect navigate back issues

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:38:23]         └-: homepage app
[00:38:23]           └-> "before all" hook in "homepage app"
[00:38:23]           └-> "before all" hook in "homepage app"
[00:38:23]           └-: Kibana browser back navigation should work
[00:38:23]             └-> "before all" hook for "detect navigate back issues"
[00:38:23]             └-> "before all" hook for "detect navigate back issues"
[00:38:23]               │ debg resolved import for test/functional/fixtures/kbn_archiver/discover.json to /dev/shm/workspace/parallel/3/kibana/test/functional/fixtures/kbn_archiver/discover.json
[00:38:23]               │ info importing 2 saved objects { space: undefined }
[00:38:23]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_8.0.0_001/PVi6EaeLTgqd-ytHs1zAhQ] update_mapping [_doc]
[00:38:24]               │ succ import success
[00:38:24]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Loading "mappings.json"
[00:38:24]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Loading "data.json.gz"
[00:38:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:38:24]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.22"
[00:38:24]               │ debg [test/functional/fixtures/es_archiver/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:38:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:38:24]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.20"
[00:38:24]               │ debg [test/functional/fixtures/es_archiver/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:38:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:38:24]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.21"
[00:38:24]               │ debg [test/functional/fixtures/es_archiver/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:38:34]               │ info progress: 12942
[00:38:34]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:38:34]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:38:34]               │ info [test/functional/fixtures/es_archiver/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:38:35]             └-> detect navigate back issues
[00:38:35]               └-> "before each" hook: global before each for "detect navigate back issues"
[00:38:35]               │ debg navigating to home url: http://localhost:6131/app/home#/
[00:38:35]               │ debg navigate to: http://localhost:6131/app/home#/
[00:38:35]               │ debg browser[INFO] http://localhost:6131/app/home?_t=1624338894818#/ 281 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:38:35]               │
[00:38:35]               │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:35]               │ debg ... sleep(700) start
[00:38:36]               │ debg ... sleep(700) end
[00:38:36]               │ debg returned from get, calling refresh
[00:38:37]               │ERROR browser[SEVERE] http://localhost:6131/43683/bundles/core/core.entry.js 12:153187 TypeError: Failed to fetch
[00:38:37]               │          at fetch_Fetch.fetchResponse (http://localhost:6131/43683/bundles/core/core.entry.js:6:26193)
[00:38:37]               │          at async http://localhost:6131/43683/bundles/core/core.entry.js:6:24090
[00:38:37]               │          at async http://localhost:6131/43683/bundles/core/core.entry.js:6:23996
[00:38:37]               │ debg browser[INFO] http://localhost:6131/app/home?_t=1624338894818#/ 281 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:38:37]               │
[00:38:37]               │ debg browser[INFO] http://localhost:6131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:38]               │ debg currentUrl = http://localhost:6131/app/home#/
[00:38:38]               │          appUrl = http://localhost:6131/app/home#/
[00:38:38]               │ debg TestSubjects.find(kibanaChrome)
[00:38:38]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:38:38]               │ERROR browser[SEVERE] http://localhost:6131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:38:38]               │ debg ... sleep(501) start
[00:38:38]               │ debg ... sleep(501) end
[00:38:38]               │ debg in navigateTo url = http://localhost:6131/app/home#/
[00:38:38]               │ debg click "Discover" app link
[00:38:38]               │ debg TestSubjects.exists(collapsibleNav)
[00:38:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:38:41]               │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:38:41]               │ debg TestSubjects.click(toggleNavButton)
[00:38:41]               │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:38:41]               │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:38:42]               │ debg TestSubjects.find(collapsibleNav)
[00:38:42]               │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:38:42]               │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:38:43]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_8.0.0_001/PVi6EaeLTgqd-ytHs1zAhQ] update_mapping [_doc]
[00:38:44]               │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:38:44]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:38:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:38:47]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:38:50]               │ debg --- retry.tryForTime failed again with the same message...
[00:38:53]               │ debg --- retry.tryForTime failed again with the same message...
[00:38:56]               │ debg --- retry.tryForTime failed again with the same message...
[00:38:59]               │ debg --- retry.tryForTime failed again with the same message...
[00:39:02]               │ debg --- retry.tryForTime failed again with the same message...
[00:39:05]               │ debg --- retry.tryForTime failed again with the same message...
[00:39:06]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:39:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:39:08]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:39:09]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:39:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:39:11]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerstartDatePopoverButton"] is not displayed
[00:39:12]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:39:12]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:39:12]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:39:22]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:39:22]               │      Wait timed out after 10011ms
[00:39:22]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:39:32]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:39:32]               │      Wait timed out after 10016ms
[00:39:33]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:39:43]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:39:43]               │      Wait timed out after 10048ms
[00:39:43]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:39:53]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:39:53]               │      Wait timed out after 10018ms
[00:39:53]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624334236944805457] [.kibana_task_manager_8.0.0_001/spVxHfnNToeDIx8EnkP2rg] update_mapping [_doc]
[00:39:54]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:40:04]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:40:04]               │      Wait timed out after 10057ms
[00:40:04]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:40:14]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:40:14]               │      Wait timed out after 10027ms
[00:40:15]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:40:25]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:40:25]               │      Wait timed out after 10012ms
[00:40:25]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:40:35]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:40:35]               │      Wait timed out after 10061ms
[00:40:36]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:40:46]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:40:46]               │      Wait timed out after 10010ms
[00:40:46]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:40:56]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:40:56]               │      Wait timed out after 10030ms
[00:40:57]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:41:07]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:41:07]               │      Wait timed out after 10035ms
[00:41:08]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:41:18]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:41:18]               │      Wait timed out after 10027ms
[00:41:18]               │ info Taking screenshot "/dev/shm/workspace/parallel/3/kibana/test/functional/screenshots/failure/homepage app Kibana browser back navigation should work detect navigate back issues.png"
[00:41:18]               │ info Current URL is: http://localhost:6131/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%2794cd7220-d318-11eb-af27-5797204eed01%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:41:18]               │ info Saving page source to: /dev/shm/workspace/parallel/3/kibana/test/functional/failure_debug/html/homepage app Kibana browser back navigation should work detect navigate back issues.html
[00:41:18]               └- ✖ fail: homepage app Kibana browser back navigation should work detect navigate back issues
[00:41:18]               │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
[00:41:18]               │ Wait timed out after 10027ms
[00:41:18]               │     at /dev/shm/workspace/parallel/3/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:41:18]               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:41:18]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:41:18]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:41:18]               │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:41:18]               │       at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
[00:41:18]               │       at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
[00:41:18]               │       at TimePickerPageObject.setAbsoluteRange (test/functional/page_objects/time_picker.ts:121:5)
[00:41:18]               │       at TimePickerPageObject.setDefaultAbsoluteRange (test/functional/page_objects/time_picker.ts:46:5)
[00:41:18]               │       at Context.<anonymous> (test/functional/apps/home/_navigation.ts:39:7)
[00:41:18]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:41:18]               │ 
[00:41:18]               │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerendDatePopoverButton"])
Wait timed out after 10027ms
    at /dev/shm/workspace/parallel/3/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (test/common/services/retry/retry.ts:31:12)
    at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
    at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
    at TimePickerPageObject.setAbsoluteRange (test/functional/page_objects/time_picker.ts:121:5)
    at TimePickerPageObject.setDefaultAbsoluteRange (test/functional/page_objects/time_picker.ts:46:5)
    at Context.<anonymous> (test/functional/apps/home/_navigation.ts:39:7)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

  • 💔 Build #132966 failed 405f828fcd7966cd74ab1a959e764ef562dc2769
  • 💔 Build #132958 failed d1d81a2afe4e3867417f8017dc12447146ddcfcf
  • 💔 Build #132939 failed 4904e47dae1a8f35b022656474d5814d454b3a56

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

wayneseymour added a commit that referenced this pull request Aug 25, 2021
…cover

Comes from #102827

Helps with #108503

Piggy back off of the work from @tylersmalley
Only inlude the changes under the test/accessibility/apps/
folder.
wayneseymour added a commit that referenced this pull request Aug 30, 2021
Comes from #102827

Helps with #108503

Piggy back off of the work from @tylersmalley
Only include the changes under the
test/functional/apps/discover folder.
wayneseymour added a commit that referenced this pull request Aug 30, 2021
Comes from #102827

Helps with #108503

Piggy back off of the work from @tylersmalley
Only include the changes under the
test/plugin_functional/test_suites/doc_views &
test/visual_regression/tests/discover folders.
wayneseymour added a commit that referenced this pull request Aug 30, 2021
Comes from #102827

Helps with #108503

Piggy back off of the work from @tylersmalley
Only include the changes under the
test/functional/apps/home folder.
wayneseymour added a commit that referenced this pull request Aug 30, 2021
Comes from #102827

Helps with #108503

Piggy back off of the work from @tylersmalley
Only include the changes under the
test/functional/apps/management folder.
wayneseymour added a commit that referenced this pull request Sep 1, 2021
Comes from #102827

Helps with #108503

Unload shakespeare data,
set default index.

Only include the changes under the
test/functional/apps/home folder.
wayneseymour added a commit that referenced this pull request Sep 7, 2021
Comes from #102827

Helps with #108503

Unload shakespeare data,
set default index.

Only include the changes under the
test/functional/apps/home folder.
wayneseymour added a commit that referenced this pull request Sep 8, 2021
Comes from #102827

Helps with #108503

Only include the changes under the
test/functional/apps/management folder.
wayneseymour added a commit that referenced this pull request Sep 15, 2021
* [Archive Migration][Partial] discover apps-management

Comes from #102827

Helps with #108503

Only include the changes under the
test/functional/apps/management folder.

* Remove the index pattern, that the test
creates.

* Drop beforeEach(), in favour of before(),
since there's only one test.

* Drop outdated comment,
drop these three cleanup lines
as the unload should handle it.

* Just keep one cleanup.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Sep 15, 2021
* [Archive Migration][Partial] discover apps-management

Comes from elastic#102827

Helps with elastic#108503

Only include the changes under the
test/functional/apps/management folder.

* Remove the index pattern, that the test
creates.

* Drop beforeEach(), in favour of before(),
since there's only one test.

* Drop outdated comment,
drop these three cleanup lines
as the unload should handle it.

* Just keep one cleanup.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Sep 15, 2021
)

* [Archive Migration][Partial] discover apps-management

Comes from #102827

Helps with #108503

Only include the changes under the
test/functional/apps/management folder.

* Remove the index pattern, that the test
creates.

* Drop beforeEach(), in favour of before(),
since there's only one test.

* Drop outdated comment,
drop these three cleanup lines
as the unload should handle it.

* Just keep one cleanup.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tre <wayne.seymour@elastic.co>
wayneseymour added a commit that referenced this pull request Sep 16, 2021
Comes from #102827

Helps with #108503

Piggy back off of the work from @tylersmalley
Only include the changes under the
test/plugin_functional/test_suites/doc_views &
test/visual_regression/tests/discover folders.
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.

2 participants