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

Unskiping url_field_formatter functional test to incorporate the toggle functionality #95576

Conversation

rashmivkulkarni
Copy link
Contributor

Fixes :#79463

-- initially this test was flaky and the later I can't reproduce the Jenkins failure reported in the issue above. The UI has changed and this test incorporates it.

@rashmivkulkarni rashmivkulkarni added test_ui_functional v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Mar 26, 2021
@rashmivkulkarni rashmivkulkarni self-assigned this Mar 26, 2021
@kibanamachine
Copy link
Contributor

kibanamachine commented Mar 29, 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 date scripted fields should create scripted field

Link to Jenkins

Standard Out

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

[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 [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [makelogs] Loading "mappings.json"
[00:00:01]             │ info [makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [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-16-tests-xxl-1617037951688116889] 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 [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [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-16-tests-xxl-1617037951688116889] 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 [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:01]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: 
[00:00:02]             └-> "before all" hook in ""
[00:06:05]             └-: scripted fields
[00:06:05]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:06:05]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:06:05]                 │ info [discover] Loading "mappings.json"
[00:06:05]                 │ info [discover] Loading "data.json"
[00:06:05]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/CTHUJQ5IQL2toqVSLUI_BQ] deleting index
[00:06:05]                 │ info [discover] Deleted existing index ".kibana_8.0.0_001"
[00:06:05]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:06:06]                 │ info [discover] Created index ".kibana"
[00:06:06]                 │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:06]                 │ info [discover] Indexed 2 docs into ".kibana"
[00:06:06]                 │ debg Migrating saved objects
[00:06:06]                 │ proc [kibana]   log   [17:58:02.664] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana/lrTYyc66SiCDU-tSfQZeXQ]]
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana]
[00:06:06]                 │ proc [kibana]   log   [17:58:02.702] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:06:06]                 │ proc [kibana]   log   [17:58:02.778] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:06:06]                 │ proc [kibana]   log   [17:58:02.784] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:06:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 2555 finished with response BulkByScrollResponse[took=18.7ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:06]                 │ proc [kibana]   log   [17:58:02.891] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:06:06]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana/lrTYyc66SiCDU-tSfQZeXQ] deleting index
[00:06:06]                 │ proc [kibana]   log   [17:58:02.919] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana_pre6.5.0_001/Vreq7O1QSJG4lSyip0XFyw]]
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:06:06]                 │ proc [kibana]   log   [17:58:02.953] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:06:06]                 │ proc [kibana]   log   [17:58:03.011] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:06:06]                 │ proc [kibana]   log   [17:58:03.016] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:06:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 2596 finished with response BulkByScrollResponse[took=14.7ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:06]                 │ proc [kibana]   log   [17:58:03.120] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana_8.0.0_reindex_temp/Y3BAIk6ARvynThFol-_xoQ]]
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:06:06]                 │ proc [kibana]   log   [17:58:03.150] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:06:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/TG7hFrUZQ_6nuknBM0XKKg] create_mapping
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:06:06]                 │ proc [kibana]   log   [17:58:03.240] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:06:06]                 │ proc [kibana]   log   [17:58:03.251] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:06:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/TG7hFrUZQ_6nuknBM0XKKg] update_mapping [_doc]
[00:06:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/TG7hFrUZQ_6nuknBM0XKKg] update_mapping [_doc]
[00:06:07]                 │ proc [kibana]   log   [17:58:04.191] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:06:07]                 │ proc [kibana]   log   [17:58:04.200] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:06:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/TG7hFrUZQ_6nuknBM0XKKg] update_mapping [_doc]
[00:06:07]                 │ proc [kibana]   log   [17:58:04.233] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:06:07]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 2655 finished with response BulkByScrollResponse[took=18.6ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:07]                 │ proc [kibana]   log   [17:58:04.339] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:06:07]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_reindex_temp/Y3BAIk6ARvynThFol-_xoQ] deleting index
[00:06:07]                 │ proc [kibana]   log   [17:58:04.390] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:06:07]                 │ proc [kibana]   log   [17:58:04.391] [info][savedobjects-service] [.kibana] Migration completed after 1730ms
[00:06:07]                 │ debg [discover] Migrated Kibana index after loading Kibana data
[00:06:07]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:06:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/TG7hFrUZQ_6nuknBM0XKKg] update_mapping [_doc]
[00:06:09]                 │ debg replacing kibana config doc: {}
[00:06:10]                 │ debg applying update to kibana config: {}
[00:06:11]               └-> should not allow saving of invalid scripts
[00:06:11]                 └-> "before each" hook: global before each for "should not allow saving of invalid scripts"
[00:06:11]                 │ debg navigating to settings url: http://localhost:61141/app/management
[00:06:11]                 │ debg navigate to: http://localhost:61141/app/management
[00:06:11]                 │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040688237 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:11]                 │
[00:06:11]                 │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:11]                 │ debg ... sleep(700) start
[00:06:12]                 │ debg ... sleep(700) end
[00:06:12]                 │ debg returned from get, calling refresh
[00:06:12]                 │ERROR browser[SEVERE] http://localhost:61141/41529/bundles/core/core.entry.js 12:150329 TypeError: Failed to fetch
[00:06:12]                 │          at fetch_Fetch.fetchResponse (http://localhost:61141/41529/bundles/core/core.entry.js:6:29862)
[00:06:12]                 │          at async http://localhost:61141/41529/bundles/core/core.entry.js:6:27759
[00:06:12]                 │          at async http://localhost:61141/41529/bundles/core/core.entry.js:6:27665
[00:06:12]                 │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040688237 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:12]                 │
[00:06:12]                 │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:12]                 │ debg currentUrl = http://localhost:61141/app/management
[00:06:12]                 │          appUrl = http://localhost:61141/app/management
[00:06:12]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:12]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:13]                 │ debg ... sleep(501) start
[00:06:14]                 │ debg ... sleep(501) end
[00:06:14]                 │ debg in navigateTo url = http://localhost:61141/app/management
[00:06:14]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:16]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:17]                 │ debg clickKibanaIndexPatterns link
[00:06:17]                 │ debg TestSubjects.click(indexPatterns)
[00:06:17]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:17]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:17]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:17]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:18]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:19]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:19]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:19]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:06:19]                 │ debg click Scripted Fields tab
[00:06:19]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:06:19]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:19]                 │ debg click Add Scripted Field
[00:06:19]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:06:19]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:19]                 │ debg set scripted field name = doomedScriptedField
[00:06:19]                 │ debg TestSubjects.setValue(editorFieldName, doomedScriptedField)
[00:06:19]                 │ debg TestSubjects.click(editorFieldName)
[00:06:19]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:20]                 │ debg set scripted field script = i n v a l i d  s c r i p t
[00:06:20]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:06:20]                 │ debg click Save Scripted Field
[00:06:20]                 │ debg TestSubjects.click(fieldSaveButton)
[00:06:20]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:20]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:20]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:20]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:22]                 │ERROR browser[SEVERE] http://localhost:61141/internal/index-pattern-management/preview_scripted_field - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:06:22]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:22]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:22]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:22]                 │ debg TestSubjects.exists(invalidScriptError)
[00:06:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="invalidScriptError"]') with timeout=2500
[00:06:22]                 └- ✓ pass  (11.1s) "management  scripted fields should not allow saving of invalid scripts"
[00:06:22]               └-: testing regression for issue #33251
[00:06:22]                 └-> "before all" hook for "should create and edit scripted field"
[00:08:30]               └-: creating and using Painless date scripted fields
[00:08:30]                 └-> "before all" hook for "should create scripted field"
[00:08:30]                 └-> should create scripted field
[00:08:30]                   └-> "before each" hook: global before each for "should create scripted field"
[00:08:30]                   │ debg navigating to settings url: http://localhost:61141/app/management
[00:08:30]                   │ debg navigate to: http://localhost:61141/app/management
[00:08:30]                   │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040827366 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:30]                   │
[00:08:30]                   │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:30]                   │ debg ... sleep(700) start
[00:08:31]                   │ debg ... sleep(700) end
[00:08:31]                   │ debg returned from get, calling refresh
[00:08:31]                   │ERROR browser[SEVERE] http://localhost:61141/41529/bundles/plugin/newsfeed/newsfeed.plugin.js 0:18527 TypeError: Failed to fetch
[00:08:31]                   │          at fetch_Fetch.fetchResponse (http://localhost:61141/41529/bundles/core/core.entry.js:6:30283)
[00:08:31]                   │          at async http://localhost:61141/41529/bundles/core/core.entry.js:6:27759
[00:08:31]                   │          at async http://localhost:61141/41529/bundles/core/core.entry.js:6:27665
[00:08:31]                   │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040827366 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:31]                   │
[00:08:31]                   │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:32]                   │ debg currentUrl = http://localhost:61141/app/management
[00:08:32]                   │          appUrl = http://localhost:61141/app/management
[00:08:32]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:32]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:32]                   │ debg ... sleep(501) start
[00:08:32]                   │ debg ... sleep(501) end
[00:08:32]                   │ debg in navigateTo url = http://localhost:61141/app/management
[00:08:32]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:35]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:35]                   │ debg clickKibanaIndexPatterns link
[00:08:35]                   │ debg TestSubjects.click(indexPatterns)
[00:08:35]                   │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:08:35]                   │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:08:35]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:35]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:37]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:37]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:37]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:37]                   │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:08:38]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:08:38]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:08:38]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:38]                   │ debg click Scripted Fields tab
[00:08:38]                   │ debg TestSubjects.click(tab-scriptedFields)
[00:08:38]                   │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:38]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:38]                   │ debg add scripted field
[00:08:38]                   │ debg click Add Scripted Field
[00:08:38]                   │ debg TestSubjects.click(addScriptedFieldLink)
[00:08:38]                   │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:08:38]                   │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:08:38]                   │ debg set scripted field name = painDate
[00:08:38]                   │ debg TestSubjects.setValue(editorFieldName, painDate)
[00:08:38]                   │ debg TestSubjects.click(editorFieldName)
[00:08:38]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:08:38]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:08:38]                   │ debg set scripted field language = painless
[00:08:38]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:08:38]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:08:38]                   │ debg set scripted field type = date
[00:08:38]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldType"] > option[value="date"]') with timeout=10000
[00:08:38]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldType"] > option[value="date"]') with timeout=10000
[00:08:38]                   │ debg TestSubjects.find(formatRow>toggle)
[00:08:38]                   │ debg Find.findByCssSelector('[data-test-subj="formatRow"] [data-test-subj="toggle"]') with timeout=10000
[00:08:48]                   │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/test/functional/screenshots/failure/management  scripted fields creating and using Painless date scripted fields should create scripted field.png"
[00:08:48]                   │ info Current URL is: http://localhost:61141/app/management/kibana/indexPatterns/patterns/logstash-*/create-field/
[00:08:48]                   │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/test/functional/failure_debug/html/management  scripted fields creating and using Painless date scripted fields should create scripted field.html
[00:08:48]                   └- ✖ fail: management  scripted fields creating and using Painless date scripted fields should create scripted field
[00:08:48]                   │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="formatRow"] [data-test-subj="toggle"])
[00:08:48]                   │ Wait timed out after 10014ms
[00:08:48]                   │       at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:48]                   │       at runMicrotasks (<anonymous>)
[00:08:48]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:08:48]                   │ 
[00:08:48]                   │ 

Stack Trace

TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="formatRow"] [data-test-subj="toggle"])
Wait timed out after 10014ms
    at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  remoteStacktrace: ''
}

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_scripted_fields·js.management scripted fields creating and using Painless date scripted fields should create scripted field

Link to Jenkins

Standard Out

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

[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 [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [makelogs] Loading "mappings.json"
[00:00:01]             │ info [makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [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-16-tests-xxl-1617037951688116889] 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 [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [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-16-tests-xxl-1617037951688116889] 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 [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:02]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:02]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: 
[00:00:02]             └-> "before all" hook in ""
[00:06:05]             └-: scripted fields
[00:06:05]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:06:05]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:06:06]                 │ info [discover] Loading "mappings.json"
[00:06:06]                 │ info [discover] Loading "data.json"
[00:06:06]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/zrhqKgqGThGvdn28NrRPVw] deleting index
[00:06:06]                 │ info [discover] Deleted existing index ".kibana_8.0.0_001"
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:06:06]                 │ info [discover] Created index ".kibana"
[00:06:06]                 │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:06]                 │ info [discover] Indexed 2 docs into ".kibana"
[00:06:06]                 │ debg Migrating saved objects
[00:06:06]                 │ proc [kibana]   log   [17:48:04.618] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana/IieuxSNUR-GiH95a23cvxg]]
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana]
[00:06:06]                 │ proc [kibana]   log   [17:48:04.651] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:06:06]                 │ proc [kibana]   log   [17:48:04.704] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:06:06]                 │ proc [kibana]   log   [17:48:04.709] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:06:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 2548 finished with response BulkByScrollResponse[took=17.8ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:06]                 │ proc [kibana]   log   [17:48:04.816] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:06:06]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana/IieuxSNUR-GiH95a23cvxg] deleting index
[00:06:06]                 │ proc [kibana]   log   [17:48:04.848] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana_pre6.5.0_001/c9QCFVJqSse_9YTKDZ2uHQ]]
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:06:06]                 │ proc [kibana]   log   [17:48:04.880] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:06:06]                 │ proc [kibana]   log   [17:48:04.926] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:06:06]                 │ proc [kibana]   log   [17:48:04.930] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:06:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 2587 finished with response BulkByScrollResponse[took=13.3ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:06]                 │ proc [kibana]   log   [17:48:05.036] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana_8.0.0_reindex_temp/x0hQtoSgTK6CG_Tm6V2oXA]]
[00:06:06]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:06:06]                 │ proc [kibana]   log   [17:48:05.074] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:06:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:06:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/hlLsziZ_RBOIoKRQX54FKg] create_mapping
[00:06:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:06:06]                 │ proc [kibana]   log   [17:48:05.173] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:06:06]                 │ proc [kibana]   log   [17:48:05.183] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:06:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/hlLsziZ_RBOIoKRQX54FKg] update_mapping [_doc]
[00:06:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/hlLsziZ_RBOIoKRQX54FKg] update_mapping [_doc]
[00:06:07]                 │ proc [kibana]   log   [17:48:06.108] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:06:07]                 │ proc [kibana]   log   [17:48:06.116] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:06:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/hlLsziZ_RBOIoKRQX54FKg] update_mapping [_doc]
[00:06:07]                 │ proc [kibana]   log   [17:48:06.156] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:06:07]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 2646 finished with response BulkByScrollResponse[took=25.3ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:07]                 │ proc [kibana]   log   [17:48:06.264] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:06:07]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_reindex_temp/x0hQtoSgTK6CG_Tm6V2oXA] deleting index
[00:06:07]                 │ proc [kibana]   log   [17:48:06.294] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:06:07]                 │ proc [kibana]   log   [17:48:06.295] [info][savedobjects-service] [.kibana] Migration completed after 1680ms
[00:06:07]                 │ debg [discover] Migrated Kibana index after loading Kibana data
[00:06:07]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:06:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/hlLsziZ_RBOIoKRQX54FKg] update_mapping [_doc]
[00:06:09]                 │ debg replacing kibana config doc: {}
[00:06:10]                 │ debg applying update to kibana config: {}
[00:06:11]               └-> should not allow saving of invalid scripts
[00:06:11]                 └-> "before each" hook: global before each for "should not allow saving of invalid scripts"
[00:06:11]                 │ debg navigating to settings url: http://localhost:61141/app/management
[00:06:11]                 │ debg navigate to: http://localhost:61141/app/management
[00:06:11]                 │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040090153 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:11]                 │
[00:06:11]                 │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:11]                 │ debg ... sleep(700) start
[00:06:12]                 │ debg ... sleep(700) end
[00:06:12]                 │ debg returned from get, calling refresh
[00:06:12]                 │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040090153 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:12]                 │
[00:06:12]                 │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:12]                 │ debg currentUrl = http://localhost:61141/app/management
[00:06:12]                 │          appUrl = http://localhost:61141/app/management
[00:06:12]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:12]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:13]                 │ debg ... sleep(501) start
[00:06:14]                 │ debg ... sleep(501) end
[00:06:14]                 │ debg in navigateTo url = http://localhost:61141/app/management
[00:06:14]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:16]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:17]                 │ debg clickKibanaIndexPatterns link
[00:06:17]                 │ debg TestSubjects.click(indexPatterns)
[00:06:17]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:17]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:06:17]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:17]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:18]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:19]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:19]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:19]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:06:19]                 │ debg click Scripted Fields tab
[00:06:19]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:06:19]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:19]                 │ debg click Add Scripted Field
[00:06:19]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:06:19]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:06:19]                 │ debg set scripted field name = doomedScriptedField
[00:06:19]                 │ debg TestSubjects.setValue(editorFieldName, doomedScriptedField)
[00:06:19]                 │ debg TestSubjects.click(editorFieldName)
[00:06:19]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:06:20]                 │ debg set scripted field script = i n v a l i d  s c r i p t
[00:06:20]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:06:20]                 │ debg click Save Scripted Field
[00:06:20]                 │ debg TestSubjects.click(fieldSaveButton)
[00:06:20]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:20]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:20]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:20]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:22]                 │ERROR browser[SEVERE] http://localhost:61141/internal/index-pattern-management/preview_scripted_field - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:06:22]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:22]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:22]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:22]                 │ debg TestSubjects.exists(invalidScriptError)
[00:06:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="invalidScriptError"]') with timeout=2500
[00:06:22]                 └- ✓ pass  (10.9s) "management  scripted fields should not allow saving of invalid scripts"
[00:06:22]               └-: testing regression for issue #33251
[00:06:22]                 └-> "before all" hook for "should create and edit scripted field"
[00:08:22]               └-: creating and using Painless date scripted fields
[00:08:22]                 └-> "before all" hook for "should create scripted field"
[00:08:22]                 └-> should create scripted field
[00:08:22]                   └-> "before each" hook: global before each for "should create scripted field"
[00:08:22]                   │ debg navigating to settings url: http://localhost:61141/app/management
[00:08:22]                   │ debg navigate to: http://localhost:61141/app/management
[00:08:22]                   │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040220471 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:22]                   │
[00:08:22]                   │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:22]                   │ debg ... sleep(700) start
[00:08:22]                   │ debg ... sleep(700) end
[00:08:22]                   │ debg returned from get, calling refresh
[00:08:23]                   │ERROR browser[SEVERE] http://localhost:61141/41529/bundles/plugin/newsfeed/newsfeed.plugin.js 0:18527 TypeError: Failed to fetch
[00:08:23]                   │          at fetch_Fetch.fetchResponse (http://localhost:61141/41529/bundles/core/core.entry.js:6:30283)
[00:08:23]                   │          at async http://localhost:61141/41529/bundles/core/core.entry.js:6:27759
[00:08:23]                   │          at async http://localhost:61141/41529/bundles/core/core.entry.js:6:27665
[00:08:23]                   │ debg browser[INFO] http://localhost:61141/app/management?_t=1617040220471 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:23]                   │
[00:08:23]                   │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:23]                   │ debg currentUrl = http://localhost:61141/app/management
[00:08:23]                   │          appUrl = http://localhost:61141/app/management
[00:08:23]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:23]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:23]                   │ debg ... sleep(501) start
[00:08:23]                   │ debg ... sleep(501) end
[00:08:23]                   │ debg in navigateTo url = http://localhost:61141/app/management
[00:08:23]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:26]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:26]                   │ debg clickKibanaIndexPatterns link
[00:08:26]                   │ debg TestSubjects.click(indexPatterns)
[00:08:26]                   │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:08:26]                   │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:08:27]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:27]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:28]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:29]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:29]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:29]                   │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:08:29]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:08:29]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:08:29]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:29]                   │ debg click Scripted Fields tab
[00:08:29]                   │ debg TestSubjects.click(tab-scriptedFields)
[00:08:29]                   │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:29]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:08:29]                   │ debg add scripted field
[00:08:29]                   │ debg click Add Scripted Field
[00:08:29]                   │ debg TestSubjects.click(addScriptedFieldLink)
[00:08:29]                   │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:08:29]                   │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:08:29]                   │ debg set scripted field name = painDate
[00:08:29]                   │ debg TestSubjects.setValue(editorFieldName, painDate)
[00:08:29]                   │ debg TestSubjects.click(editorFieldName)
[00:08:29]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:08:29]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:08:29]                   │ debg set scripted field language = painless
[00:08:29]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:08:29]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:08:29]                   │ debg set scripted field type = date
[00:08:29]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldType"] > option[value="date"]') with timeout=10000
[00:08:29]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldType"] > option[value="date"]') with timeout=10000
[00:08:29]                   │ debg TestSubjects.find(formatRow>toggle)
[00:08:29]                   │ debg Find.findByCssSelector('[data-test-subj="formatRow"] [data-test-subj="toggle"]') with timeout=10000
[00:08:40]                   │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/test/functional/screenshots/failure/management  scripted fields creating and using Painless date scripted fields should create scripted field.png"
[00:08:40]                   │ info Current URL is: http://localhost:61141/app/management/kibana/indexPatterns/patterns/logstash-*/create-field/
[00:08:40]                   │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/test/functional/failure_debug/html/management  scripted fields creating and using Painless date scripted fields should create scripted field.html
[00:08:40]                   └- ✖ fail: management  scripted fields creating and using Painless date scripted fields should create scripted field
[00:08:40]                   │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="formatRow"] [data-test-subj="toggle"])
[00:08:40]                   │ Wait timed out after 10033ms
[00:08:40]                   │       at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:40]                   │       at runMicrotasks (<anonymous>)
[00:08:40]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:08:40]                   │ 
[00:08:40]                   │ 

Stack Trace

TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="formatRow"] [data-test-subj="toggle"])
Wait timed out after 10033ms
    at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  remoteStacktrace: ''
}

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_handle_version_conflict·js.management index version conflict Should be able to surface version conflict notification while creating scripted field

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 [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [makelogs] Loading "mappings.json"
[00:00:01]             │ info [makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [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-16-tests-xxl-1617037951688116889] 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 [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [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-16-tests-xxl-1617037951688116889] 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 [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:02]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:02]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: 
[00:00:02]             └-> "before all" hook in ""
[00:13:31]             └-: index version conflict
[00:13:31]               └-> "before all" hook for "Should be able to surface version conflict notification while creating scripted field"
[00:13:31]               └-> "before all" hook for "Should be able to surface version conflict notification while creating scripted field"
[00:13:31]                 │ info [discover] Loading "mappings.json"
[00:13:31]                 │ info [discover] Loading "data.json"
[00:13:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_pre6.5.0_001/SFr-GqK-SXy6Ai8aTKK1nA] deleting index
[00:13:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/24DFyy_3Rw-5x_uVxcFdkA] deleting index
[00:13:31]                 │ info [discover] Deleted existing index ".kibana_8.0.0_001"
[00:13:31]                 │ info [discover] Deleted existing index ".kibana_pre6.5.0_001"
[00:13:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]                 │ info [discover] Created index ".kibana"
[00:13:31]                 │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:13:31]                 │ info [discover] Indexed 2 docs into ".kibana"
[00:13:31]                 │ debg Migrating saved objects
[00:13:31]                 │ proc [kibana]   log   [17:56:01.595] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:13:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana/u3txtZPWRICUir27rlLzrw]]
[00:13:31]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana]
[00:13:31]                 │ proc [kibana]   log   [17:56:01.624] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:13:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:13:31]                 │ proc [kibana]   log   [17:56:01.675] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:13:31]                 │ proc [kibana]   log   [17:56:01.681] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:13:31]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 10525 finished with response BulkByScrollResponse[took=16.3ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:13:32]                 │ proc [kibana]   log   [17:56:01.786] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:13:32]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana/u3txtZPWRICUir27rlLzrw] deleting index
[00:13:32]                 │ proc [kibana]   log   [17:56:01.812] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:13:32]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana_pre6.5.0_001/AtmcHtWxTSqy-c2dr9Y_HQ]]
[00:13:32]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:13:32]                 │ proc [kibana]   log   [17:56:01.849] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:13:32]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:13:32]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:13:32]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:13:32]                 │ proc [kibana]   log   [17:56:01.891] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:13:32]                 │ proc [kibana]   log   [17:56:01.895] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:13:32]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 10564 finished with response BulkByScrollResponse[took=13.5ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:13:32]                 │ proc [kibana]   log   [17:56:02.000] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:13:32]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] adding block write to indices [[.kibana_8.0.0_reindex_temp/4ywGnumdR3KwpCmEY5jFTw]]
[00:13:32]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:13:32]                 │ proc [kibana]   log   [17:56:02.030] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:13:32]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:13:32]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:13:32]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:13:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/l3i5y2UTSNiDpsVPB2fbGA] create_mapping
[00:13:32]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:13:32]                 │ proc [kibana]   log   [17:56:02.106] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:13:32]                 │ proc [kibana]   log   [17:56:02.113] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:13:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/l3i5y2UTSNiDpsVPB2fbGA] update_mapping [_doc]
[00:13:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/l3i5y2UTSNiDpsVPB2fbGA] update_mapping [_doc]
[00:13:33]                 │ proc [kibana]   log   [17:56:03.061] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:13:33]                 │ proc [kibana]   log   [17:56:03.067] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:13:33]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/l3i5y2UTSNiDpsVPB2fbGA] update_mapping [_doc]
[00:13:33]                 │ proc [kibana]   log   [17:56:03.092] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:13:33]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] 10625 finished with response BulkByScrollResponse[took=18.1ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:13:33]                 │ proc [kibana]   log   [17:56:03.198] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:13:33]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_reindex_temp/4ywGnumdR3KwpCmEY5jFTw] deleting index
[00:13:33]                 │ proc [kibana]   log   [17:56:03.224] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:13:33]                 │ proc [kibana]   log   [17:56:03.224] [info][savedobjects-service] [.kibana] Migration completed after 1634ms
[00:13:33]                 │ debg [discover] Migrated Kibana index after loading Kibana data
[00:13:33]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:13:33]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/l3i5y2UTSNiDpsVPB2fbGA] update_mapping [_doc]
[00:13:33]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617037951688116889] [.kibana_8.0.0_001/l3i5y2UTSNiDpsVPB2fbGA] update_mapping [_doc]
[00:13:35]               └-> Should be able to surface version conflict notification while creating scripted field
[00:13:35]                 └-> "before each" hook: global before each for "Should be able to surface version conflict notification while creating scripted field"
[00:13:35]                 │ debg navigating to settings url: http://localhost:6191/app/management
[00:13:35]                 │ debg navigate to: http://localhost:6191/app/management
[00:13:35]                 │ debg browser[INFO] http://localhost:6191/app/management?_t=1617040565083 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:35]                 │
[00:13:35]                 │ debg browser[INFO] http://localhost:6191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:35]                 │ debg ... sleep(700) start
[00:13:36]                 │ debg ... sleep(700) end
[00:13:36]                 │ debg returned from get, calling refresh
[00:13:36]                 │ERROR browser[SEVERE] http://localhost:6191/41529/bundles/core/core.entry.js 12:150329 TypeError: Failed to fetch
[00:13:36]                 │          at fetch_Fetch.fetchResponse (http://localhost:6191/41529/bundles/core/core.entry.js:6:29862)
[00:13:36]                 │          at async http://localhost:6191/41529/bundles/core/core.entry.js:6:27759
[00:13:36]                 │          at async http://localhost:6191/41529/bundles/core/core.entry.js:6:27665
[00:13:36]                 │ debg browser[INFO] http://localhost:6191/app/management?_t=1617040565083 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:36]                 │
[00:13:36]                 │ debg browser[INFO] http://localhost:6191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:36]                 │ debg currentUrl = http://localhost:6191/app/management
[00:13:36]                 │          appUrl = http://localhost:6191/app/management
[00:13:36]                 │ debg TestSubjects.find(kibanaChrome)
[00:13:36]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:37]                 │ debg ... sleep(501) start
[00:13:37]                 │ debg ... sleep(501) end
[00:13:37]                 │ debg in navigateTo url = http://localhost:6191/app/management
[00:13:37]                 │ debg TestSubjects.exists(statusPageContainer)
[00:13:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:40]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:40]                 │ debg clickKibanaIndexPatterns link
[00:13:40]                 │ debg TestSubjects.click(indexPatterns)
[00:13:40]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:13:40]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:13:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:13:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:42]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:42]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:13:43]                 │ debg click Scripted Fields tab
[00:13:43]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:13:43]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:13:43]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:13:43]                 │ debg click Add Scripted Field
[00:13:43]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:13:43]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:13:43]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:13:43]                 │ debg set scripted field name = versionConflictScript
[00:13:43]                 │ debg TestSubjects.setValue(editorFieldName, versionConflictScript)
[00:13:43]                 │ debg TestSubjects.click(editorFieldName)
[00:13:43]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:13:43]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:13:43]                 │ debg set scripted field script = doc['bytes'].value
[00:13:43]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:13:44]                 │ debg {"_index":".kibana_8.0.0_001","_id":"index-pattern:logstash-*","_version":4,"result":"updated","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":12,"_primary_term":2}
[00:13:44]                 │ debg TestSubjects.find(formatRow>toggle)
[00:13:44]                 │ debg Find.findByCssSelector('[data-test-subj="formatRow"] [data-test-subj="toggle"]') with timeout=10000
[00:13:54]                 │ info Taking screenshot "/dev/shm/workspace/parallel/9/kibana/test/functional/screenshots/failure/management  index version conflict Should be able to surface version conflict notification while creating scripted field.png"
[00:13:54]                 │ info Current URL is: http://localhost:6191/app/management/kibana/indexPatterns/patterns/logstash-*/create-field/
[00:13:54]                 │ info Saving page source to: /dev/shm/workspace/parallel/9/kibana/test/functional/failure_debug/html/management  index version conflict Should be able to surface version conflict notification while creating scripted field.html
[00:13:54]                 └- ✖ fail: management  index version conflict Should be able to surface version conflict notification while creating scripted field
[00:13:54]                 │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="formatRow"] [data-test-subj="toggle"])
[00:13:54]                 │ Wait timed out after 10036ms
[00:13:54]                 │       at /dev/shm/workspace/parallel/9/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:13:54]                 │       at runMicrotasks (<anonymous>)
[00:13:54]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:13:54]                 │ 
[00:13:54]                 │ 

Stack Trace

TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="formatRow"] [data-test-subj="toggle"])
Wait timed out after 10036ms
    at /dev/shm/workspace/parallel/9/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  remoteStacktrace: ''
}

and 2 more failures, only showing the first 3.

Metrics [docs]

✅ unchanged

History

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

cc @rashmivkulkarni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes test_ui_functional v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants