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

[Search Sessions] try enable by default to see if any tests fail #90426

Closed

Conversation

Dosant
Copy link
Contributor

@Dosant Dosant commented Feb 5, 2021

Summary

I expected failures because of a tour feature

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@lizozom
Copy link
Contributor

lizozom commented Feb 11, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 11, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/api_keys/feature_controls/api_keys_security·ts.API Keys app feature controls security global dashboard all with manage_security should render the "Security" section with API Keys

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:31:23]         └-: API Keys app
[00:31:23]           └-> "before all" hook in "API Keys app"
[00:31:35]           └-: feature controls
[00:31:35]             └-> "before all" hook in "feature controls"
[00:31:35]             └-: security
[00:31:35]               └-> "before all" hook in "security"
[00:31:35]               └-> "before all" hook in "security"
[00:31:35]                 │ info [empty_kibana] Loading "mappings.json"
[00:31:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_pre6.5.0_001/H1abD5YQTvGZKaDw-5vB8w] deleting index
[00:31:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/5gYas5I5QqmdEpkp3tH66Q] deleting index
[00:31:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_task_manager_8.0.0_001/3KmcFmY8Q4urTHoxKAMgyw] deleting index
[00:31:35]                 │ info [empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:31:35]                 │ info [empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:31:35]                 │ info [empty_kibana] Deleted existing index ".kibana_pre6.5.0_001"
[00:31:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:31:35]                 │ info [empty_kibana] Created index ".kibana"
[00:31:35]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:31:35]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana/UnCyMx84Raq3mRxxGweH6A] update_mapping [_doc]
[00:31:35]                 │ debg Migrating saved objects
[00:31:35]                 │ proc [kibana]   log   [12:30:17.597] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:31:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:31:35]                 │ proc [kibana]   log   [12:30:17.603] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:31:35]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:31:35]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana/UnCyMx84Raq3mRxxGweH6A]]
[00:31:35]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana]
[00:31:35]                 │ proc [kibana]   log   [12:30:17.664] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:31:35]                 │ proc [kibana]   log   [12:30:17.688] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:31:35]                 │ proc [kibana]   log   [12:30:17.703] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:31:35]                 │ proc [kibana]   log   [12:30:17.703] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 108ms
[00:31:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:31:35]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:31:35]                 │ proc [kibana]   log   [12:30:17.752] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:31:35]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 77105 finished with response BulkByScrollResponse[took=1.8ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:31:35]                 │ proc [kibana]   log   [12:30:17.760] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:31:35]                 │ proc [kibana]   log   [12:30:17.761] [warning][environment] Detected an unhandled Promise rejection.
[00:31:35]                 │ proc [kibana] Error: Saved object [space/default] not found
[00:31:35]                 │ proc [kibana]   log   [12:30:17.766] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:31:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana/UnCyMx84Raq3mRxxGweH6A] deleting index
[00:31:35]                 │ proc [kibana]   log   [12:30:17.803] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:31:35]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana_pre6.5.0_001/cry4MO_yR76W2NFiBAd5ag]]
[00:31:35]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:31:35]                 │ proc [kibana]   log   [12:30:17.847] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:31:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:31:35]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:31:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 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:31:36]                 │ proc [kibana]   log   [12:30:17.899] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:31:36]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 77135 finished with response BulkByScrollResponse[took=1.8ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:31:36]                 │ proc [kibana]   log   [12:30:17.906] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:31:36]                 │ proc [kibana]   log   [12:30:17.912] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:31:36]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana_8.0.0_reindex_temp/ssWBeKcIS3O4r4QtemcjDQ]]
[00:31:36]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:31:36]                 │ proc [kibana]   log   [12:30:17.951] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:31:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:31:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:31:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:31:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/2p6W5cLVRauTAxc5WDdwBw] create_mapping
[00:31:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 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:31:36]                 │ proc [kibana]   log   [12:30:18.049] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:31:36]                 │ proc [kibana]   log   [12:30:18.057] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:31:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/2p6W5cLVRauTAxc5WDdwBw] update_mapping [_doc]
[00:31:36]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 77173 finished with response BulkByScrollResponse[took=1.6ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:31:36]                 │ proc [kibana]   log   [12:30:18.120] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:31:36]                 │ proc [kibana]   log   [12:30:18.126] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:31:36]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_reindex_temp/ssWBeKcIS3O4r4QtemcjDQ] deleting index
[00:31:36]                 │ proc [kibana]   log   [12:30:18.170] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:31:36]                 │ proc [kibana]   log   [12:30:18.171] [info][savedobjects-service] [.kibana] Migration completed after 577ms
[00:31:36]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:31:36]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:31:36]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:31:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/2p6W5cLVRauTAxc5WDdwBw] update_mapping [_doc]
[00:31:38]                 │ debg navigating to home url: http://localhost:61151/app/home#/
[00:31:38]                 │ debg navigate to: http://localhost:61151/app/home#/
[00:31:38]                 │ debg browser[INFO] http://localhost:61151/app/home?_t=1613046620000#/ 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:31:38]                 │
[00:31:38]                 │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:31:38]                 │ debg ... sleep(700) start
[00:31:38]                 │ debg ... sleep(700) end
[00:31:38]                 │ debg returned from get, calling refresh
[00:31:39]                 │ERROR browser[SEVERE] http://localhost:61151/40372/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:31:39]                 │          at fetch_Fetch.fetchResponse (http://localhost:61151/40372/bundles/core/core.entry.js:6:32451)
[00:31:39]                 │          at async interceptResponse (http://localhost:61151/40372/bundles/core/core.entry.js:6:28637)
[00:31:39]                 │          at async http://localhost:61151/40372/bundles/core/core.entry.js:6:31117
[00:31:39]                 │ debg browser[INFO] http://localhost:61151/app/home?_t=1613046620000#/ 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:31:39]                 │
[00:31:39]                 │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:31:39]                 │ debg currentUrl = http://localhost:61151/app/home#/
[00:31:39]                 │          appUrl = http://localhost:61151/app/home#/
[00:31:39]                 │ debg TestSubjects.find(kibanaChrome)
[00:31:39]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:31:40]                 │ debg ... sleep(501) start
[00:31:41]                 │ debg ... sleep(501) end
[00:31:41]                 │ debg in navigateTo url = http://localhost:61151/app/home#/
[00:31:41]                 │ debg TestSubjects.exists(statusPageContainer)
[00:31:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:31:43]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:31:59]               └-: global dashboard all with manage_security
[00:31:59]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:31:59]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:31:59]                   │ debg set roles = global_dashboard_all,manage_security
[00:31:59]                   │ debg creating user test_user
[00:31:59]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updated user [test_user]
[00:31:59]                   │ debg created user test_user
[00:31:59]                   │ debg TestSubjects.exists(kibanaChrome)
[00:31:59]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:31:59]                   │ debg TestSubjects.find(kibanaChrome)
[00:31:59]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:31:59]                   │ debg browser[INFO] http://localhost:61151/app/management?_t=1613046633395 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:31:59]                   │
[00:31:59]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:00]                 └-> should show the Stack Management nav link
[00:32:00]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:32:00]                   │ debg isGlobalLoadingIndicatorVisible
[00:32:00]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:32:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:32:01]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:32:02]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:32:02]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:32:02]                   │ debg TestSubjects.exists(collapsibleNav)
[00:32:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:32:04]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:32:05]                   │ debg TestSubjects.click(toggleNavButton)
[00:32:05]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:32:05]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:32:05]                   │ debg TestSubjects.find(collapsibleNav)
[00:32:05]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:32:05]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:32:05]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:32:05]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:32:05]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:32:05]                   └- ✓ pass  (5.4s) "API Keys app feature controls security global dashboard all with manage_security should show the Stack Management nav link"
[00:32:05]                 └-> should render the "Security" section with API Keys
[00:32:05]                   └-> "before each" hook: global before each for "should render the "Security" section with API Keys"
[00:32:05]                   │ debg navigating to management url: http://localhost:61151/app/management
[00:32:05]                   │ debg navigate to: http://localhost:61151/app/management
[00:32:05]                   │ debg browser[INFO] http://localhost:61151/app/management?_t=1613046647555 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:32:05]                   │
[00:32:05]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:05]                   │ debg ... sleep(700) start
[00:32:06]                   │ debg ... sleep(700) end
[00:32:06]                   │ debg returned from get, calling refresh
[00:32:07]                   │ERROR browser[SEVERE] http://localhost:61151/40372/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:32:07]                   │          at fetch_Fetch.fetchResponse (http://localhost:61151/40372/bundles/core/core.entry.js:6:32451)
[00:32:07]                   │          at async interceptResponse (http://localhost:61151/40372/bundles/core/core.entry.js:6:28637)
[00:32:07]                   │          at async http://localhost:61151/40372/bundles/core/core.entry.js:6:31117
[00:32:07]                   │ debg browser[INFO] http://localhost:61151/app/management?_t=1613046647555 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:32:07]                   │
[00:32:07]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:07]                   │ debg currentUrl = http://localhost:61151/app/management
[00:32:07]                   │          appUrl = http://localhost:61151/app/management
[00:32:07]                   │ debg TestSubjects.find(kibanaChrome)
[00:32:07]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:32:07]                   │ debg ... sleep(501) start
[00:32:08]                   │ debg ... sleep(501) end
[00:32:08]                   │ debg in navigateTo url = http://localhost:61151/app/management
[00:32:08]                   │ debg TestSubjects.exists(statusPageContainer)
[00:32:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:32:10]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:32:11]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:32:11]                   │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/API Keys app feature controls security global dashboard all with manage_security should render the _Security_ section with API Keys.png"
[00:32:11]                   │ info Current URL is: http://localhost:61151/app/management
[00:32:11]                   │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/API Keys app feature controls security global dashboard all with manage_security should render the _Security_ section with API Keys.html
[00:32:11]                   └- ✖ fail: API Keys app feature controls security global dashboard all with manage_security should render the "Security" section with API Keys
[00:32:11]                   │      Error: expected [ { sectionId: 'security',
[00:32:11]                   │     sectionLinks: [ 'users', 'roles', 'api_keys', 'role_mappings' ] },
[00:32:11]                   │   { sectionId: 'kibana',
[00:32:11]                   │     sectionLinks: [ 'search_sessions' ] } ] to have a length of 1 but got 2
[00:32:11]                   │       at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:100:11)
[00:32:11]                   │       at Assertion.length (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:374:8)
[00:32:11]                   │       at Context.<anonymous> (test/functional/apps/api_keys/feature_controls/api_keys_security.ts:63:34)
[00:32:11]                   │       at runMicrotasks (<anonymous>)
[00:32:11]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:32:11]                   │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:32:11]                   │ 
[00:32:11]                   │ 

Stack Trace

Error: expected [ { sectionId: 'security',
    sectionLinks: [ 'users', 'roles', 'api_keys', 'role_mappings' ] },
  { sectionId: 'kibana',
    sectionLinks: [ 'search_sessions' ] } ] to have a length of 1 but got 2
    at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.<anonymous> (test/functional/apps/api_keys/feature_controls/api_keys_security.ts:63:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/api_keys/feature_controls/api_keys_security·ts.API Keys app feature controls security global dashboard all with manage_security should render the "Security" section with API Keys

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: API Keys app
[00:00:00]           └-> "before all" hook in "API Keys app"
[00:00:00]           └-: feature controls
[00:00:00]             └-> "before all" hook in "feature controls"
[00:00:00]             └-: security
[00:00:00]               └-> "before all" hook in "security"
[00:00:00]               └-> "before all" hook in "security"
[00:00:00]                 │ info [empty_kibana] Loading "mappings.json"
[00:00:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_task_manager_8.0.0_001/0dc_UyDJTsSbsZMVaOG32w] deleting index
[00:00:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/lGBIKsfSTy6yqAUa17gSJA] deleting index
[00:00:00]                 │ info [empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:00:00]                 │ info [empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]                 │ info [empty_kibana] Created index ".kibana"
[00:00:00]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana/EiQe25rfTpiCsQPgA5mXUQ] update_mapping [_doc]
[00:00:00]                 │ debg Migrating saved objects
[00:00:00]                 │ proc [kibana]   log   [11:59:13.620] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:00:00]                 │ proc [kibana]   log   [11:59:13.626] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana/EiQe25rfTpiCsQPgA5mXUQ]]
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana]
[00:00:00]                 │ proc [kibana]   log   [11:59:13.704] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:00:00]                 │ proc [kibana]   log   [11:59:13.721] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:00]                 │ proc [kibana]   log   [11:59:13.737] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:00:00]                 │ proc [kibana]   log   [11:59:13.738] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 125ms
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:00]                 │ proc [kibana]   log   [11:59:13.804] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:00]                 │ proc [kibana]   log   [11:59:13.822] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.tasks]
[00:00:00]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 1376 finished with response BulkByScrollResponse[took=4.6ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:00]                 │ proc [kibana]   log   [11:59:13.943] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana/EiQe25rfTpiCsQPgA5mXUQ] deleting index
[00:00:00]                 │ proc [kibana]   log   [11:59:13.982] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana_pre6.5.0_001/zQxQW_a6QH6D-biPXQGjzw]]
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:00]                 │ proc [kibana]   log   [11:59:14.025] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 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:00:00]                 │ proc [kibana]   log   [11:59:14.098] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:00]                 │ proc [kibana]   log   [11:59:14.108] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:00]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 1411 finished with response BulkByScrollResponse[took=4.1ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:00]                 │ proc [kibana]   log   [11:59:14.121] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana_8.0.0_reindex_temp/Xi_cUBptTma9ZAnIRB5dnQ]]
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:00:00]                 │ proc [kibana]   log   [11:59:14.166] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/3GbbQ5NQTiGAojNaEeoN0g] create_mapping
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 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:00:01]                 │ proc [kibana]   log   [11:59:14.299] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:01]                 │ proc [kibana]   log   [11:59:14.317] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/3GbbQ5NQTiGAojNaEeoN0g] update_mapping [_doc]
[00:00:01]                 │ proc [kibana]   log   [11:59:14.402] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:01]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 1447 finished with response BulkByScrollResponse[took=4.7ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:01]                 │ proc [kibana]   log   [11:59:14.511] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:01]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_reindex_temp/Xi_cUBptTma9ZAnIRB5dnQ] deleting index
[00:00:01]                 │ proc [kibana]   log   [11:59:14.557] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:00:01]                 │ proc [kibana]   log   [11:59:14.558] [info][savedobjects-service] [.kibana] Migration completed after 947ms
[00:00:01]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:00:01]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:00:01]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/3GbbQ5NQTiGAojNaEeoN0g] update_mapping [_doc]
[00:00:02]                 │ debg navigating to home url: http://localhost:61181/app/home#/
[00:00:02]                 │ debg navigate to: http://localhost:61181/app/home#/
[00:00:03]                 │ debg browser[INFO] http://localhost:61181/login?next=%2Fapp%2Fhome%3F_t%3D1613044756250#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:03]                 │
[00:00:03]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:03]                 │ debg ... sleep(700) start
[00:00:03]                 │ debg ... sleep(700) end
[00:00:03]                 │ debg returned from get, calling refresh
[00:00:04]                 │ debg browser[INFO] http://localhost:61181/login?next=%2Fapp%2Fhome%3F_t%3D1613044756250#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:04]                 │
[00:00:04]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:04]                 │ debg currentUrl = http://localhost:61181/login?next=%2Fapp%2Fhome%3F_t%3D1613044756250#/
[00:00:04]                 │          appUrl = http://localhost:61181/app/home#/
[00:00:04]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:04]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:05]                 │ERROR browser[SEVERE] http://localhost:61181/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:05]                 │ debg browser[INFO] http://localhost:61181/40372/bundles/core/core.entry.js 12:161232 "Detected an unhandled Promise rejection.
[00:00:05]                 │      Error: Unauthorized"
[00:00:05]                 │ERROR browser[SEVERE] http://localhost:61181/40372/bundles/core/core.entry.js 5:3002 
[00:00:06]                 │ERROR browser[SEVERE] http://localhost:61181/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:06]                 │ debg Found login page
[00:00:06]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:06]                 │ debg TestSubjects.click(loginUsername)
[00:00:06]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:06]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:06]                 │ERROR browser[SEVERE] http://localhost:61181/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:06]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:06]                 │ debg TestSubjects.click(loginPassword)
[00:00:06]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:06]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:06]                 │ debg TestSubjects.click(loginSubmit)
[00:00:06]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:06]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:06]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:06]                 │ proc [kibana]   log   [11:59:19.797] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:09]                 │ debg browser[INFO] http://localhost:61181/app/home?_t=1613044756250#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:09]                 │
[00:00:09]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:10]                 │ debg browser[INFO] http://localhost:61181/app/home?_t=1613044762828#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:10]                 │
[00:00:10]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:10]                 │ debg Finished login process currentUrl = http://localhost:61181/app/home#/
[00:00:10]                 │ debg ... sleep(501) start
[00:00:10]                 │ debg ... sleep(501) end
[00:00:10]                 │ debg in navigateTo url = http://localhost:61181/app/home#/
[00:00:10]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:13]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:29]               └-: global dashboard all with manage_security
[00:00:29]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:00:29]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:00:29]                   │ debg set roles = global_dashboard_all,manage_security
[00:00:29]                   │ debg creating user test_user
[00:00:30]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updated user [test_user]
[00:00:30]                   │ debg created user test_user
[00:00:30]                   │ debg TestSubjects.exists(kibanaChrome)
[00:00:30]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:00:30]                   │ debg TestSubjects.find(kibanaChrome)
[00:00:30]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:00:30]                   │ debg browser[INFO] http://localhost:61181/app/management?_t=1613044775540 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:30]                   │
[00:00:30]                   │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]                 └-> should show the Stack Management nav link
[00:00:31]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:00:31]                   │ debg isGlobalLoadingIndicatorVisible
[00:00:31]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:33]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:33]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:33]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:33]                   │ debg TestSubjects.exists(collapsibleNav)
[00:00:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:00:36]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:00:36]                   │ debg TestSubjects.click(toggleNavButton)
[00:00:36]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:00:36]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:00:36]                   │ debg TestSubjects.find(collapsibleNav)
[00:00:36]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:00:36]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:00:36]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:00:36]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:00:36]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:00:36]                   └- ✓ pass  (5.4s) "API Keys app feature controls security global dashboard all with manage_security should show the Stack Management nav link"
[00:00:36]                 └-> should render the "Security" section with API Keys
[00:00:36]                   └-> "before each" hook: global before each for "should render the "Security" section with API Keys"
[00:00:36]                   │ debg navigating to management url: http://localhost:61181/app/management
[00:00:36]                   │ debg navigate to: http://localhost:61181/app/management
[00:00:37]                   │ debg browser[INFO] http://localhost:61181/app/management?_t=1613044790184 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:37]                   │
[00:00:37]                   │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:37]                   │ debg ... sleep(700) start
[00:00:37]                   │ debg ... sleep(700) end
[00:00:37]                   │ debg returned from get, calling refresh
[00:00:38]                   │ERROR browser[SEVERE] http://localhost:61181/40372/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:00:38]                   │          at fetch_Fetch.fetchResponse (http://localhost:61181/40372/bundles/core/core.entry.js:6:32451)
[00:00:38]                   │          at async interceptResponse (http://localhost:61181/40372/bundles/core/core.entry.js:6:28637)
[00:00:38]                   │          at async http://localhost:61181/40372/bundles/core/core.entry.js:6:31117
[00:00:38]                   │ debg browser[INFO] http://localhost:61181/app/management?_t=1613044790184 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:38]                   │
[00:00:38]                   │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:38]                   │ debg currentUrl = http://localhost:61181/app/management
[00:00:38]                   │          appUrl = http://localhost:61181/app/management
[00:00:38]                   │ debg TestSubjects.find(kibanaChrome)
[00:00:38]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:38]                   │ debg ... sleep(501) start
[00:00:39]                   │ debg ... sleep(501) end
[00:00:39]                   │ debg in navigateTo url = http://localhost:61181/app/management
[00:00:39]                   │ debg TestSubjects.exists(statusPageContainer)
[00:00:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:41]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:42]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:00:42]                   │ info Taking screenshot "/dev/shm/workspace/parallel/18/kibana/x-pack/test/functional/screenshots/failure/API Keys app feature controls security global dashboard all with manage_security should render the _Security_ section with API Keys.png"
[00:00:42]                   │ info Current URL is: http://localhost:61181/app/management
[00:00:42]                   │ info Saving page source to: /dev/shm/workspace/parallel/18/kibana/x-pack/test/functional/failure_debug/html/API Keys app feature controls security global dashboard all with manage_security should render the _Security_ section with API Keys.html
[00:00:42]                   └- ✖ fail: API Keys app feature controls security global dashboard all with manage_security should render the "Security" section with API Keys
[00:00:42]                   │      Error: expected [ { sectionId: 'security',
[00:00:42]                   │     sectionLinks: [ 'users', 'roles', 'api_keys', 'role_mappings' ] },
[00:00:42]                   │   { sectionId: 'kibana',
[00:00:42]                   │     sectionLinks: [ 'search_sessions' ] } ] to have a length of 1 but got 2
[00:00:42]                   │       at Assertion.assert (/dev/shm/workspace/parallel/18/kibana/packages/kbn-expect/expect.js:100:11)
[00:00:42]                   │       at Assertion.length (/dev/shm/workspace/parallel/18/kibana/packages/kbn-expect/expect.js:374:8)
[00:00:42]                   │       at Context.<anonymous> (test/functional/apps/api_keys/feature_controls/api_keys_security.ts:63:34)
[00:00:42]                   │       at runMicrotasks (<anonymous>)
[00:00:42]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:42]                   │       at Object.apply (/dev/shm/workspace/parallel/18/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:00:42]                   │ 
[00:00:42]                   │ 

Stack Trace

Error: expected [ { sectionId: 'security',
    sectionLinks: [ 'users', 'roles', 'api_keys', 'role_mappings' ] },
  { sectionId: 'kibana',
    sectionLinks: [ 'search_sessions' ] } ] to have a length of 1 but got 2
    at Assertion.assert (/dev/shm/workspace/parallel/18/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/parallel/18/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.<anonymous> (test/functional/apps/api_keys/feature_controls/api_keys_security.ts:63:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/18/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/index_management/feature_controls/index_management_security·ts.Index Management app feature controls security global dashboard all with index_management_user should render the "Data" section with index management

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:08:21]         └-: Index Management app
[00:08:21]           └-> "before all" hook in "Index Management app"
[00:08:21]           └-: feature controls
[00:08:21]             └-> "before all" hook in "feature controls"
[00:08:21]             └-: security
[00:08:21]               └-> "before all" hook in "security"
[00:08:21]               └-> "before all" hook in "security"
[00:08:21]                 │ info [empty_kibana] Loading "mappings.json"
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/IFUMOPIvTpigy8qDyPuaHg] deleting index
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_task_manager_8.0.0_001/m68j2qZXRWWKxwqywm8iEA] deleting index
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_pre6.5.0_001/6w62HYIlR4mU9Q9pigZugQ] deleting index
[00:08:21]                 │ info [empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:08:21]                 │ info [empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:08:21]                 │ info [empty_kibana] Deleted existing index ".kibana_pre6.5.0_001"
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:08:21]                 │ info [empty_kibana] Created index ".kibana"
[00:08:21]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:08:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana/IK7V3GP1TKypLXvipMj76g] update_mapping [_doc]
[00:08:21]                 │ debg Migrating saved objects
[00:08:21]                 │ proc [kibana]   log   [12:15:38.391] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:08:21]                 │ proc [kibana]   log   [12:15:38.395] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.401] [warning][environment] Detected an unhandled Promise rejection.
[00:08:21]                 │ proc [kibana] Error: Saved object [space/default] not found
[00:08:21]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana/IK7V3GP1TKypLXvipMj76g]]
[00:08:21]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.452] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:08:21]                 │ proc [kibana]   log   [12:15:38.465] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:08:21]                 │ proc [kibana]   log   [12:15:38.478] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:08:21]                 │ proc [kibana]   log   [12:15:38.478] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 107ms
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.531] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:08:21]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 19054 finished with response BulkByScrollResponse[took=1.9ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.537] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:08:21]                 │ proc [kibana]   log   [12:15:38.542] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana/IK7V3GP1TKypLXvipMj76g] deleting index
[00:08:21]                 │ proc [kibana]   log   [12:15:38.575] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:08:21]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana_pre6.5.0_001/9Q9hzS3dQRGEiPD4-BgbQw]]
[00:08:21]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.610] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 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:08:21]                 │ proc [kibana]   log   [12:15:38.667] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:08:21]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 19083 finished with response BulkByScrollResponse[took=1.6ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.674] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:08:21]                 │ proc [kibana]   log   [12:15:38.679] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:08:21]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] adding block write to indices [[.kibana_8.0.0_reindex_temp/mW3W0UtxSIm2i7cr0FcUSA]]
[00:08:21]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.717] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:08:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:08:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/36r_9-KDTOGOWMh7vNfQag] create_mapping
[00:08:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 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:08:21]                 │ proc [kibana]   log   [12:15:38.807] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:08:21]                 │ proc [kibana]   log   [12:15:38.817] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:08:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/36r_9-KDTOGOWMh7vNfQag] update_mapping [_doc]
[00:08:21]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] 19119 finished with response BulkByScrollResponse[took=1.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:08:21]                 │ proc [kibana]   log   [12:15:38.881] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:08:21]                 │ proc [kibana]   log   [12:15:38.889] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:08:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_reindex_temp/mW3W0UtxSIm2i7cr0FcUSA] deleting index
[00:08:21]                 │ proc [kibana]   log   [12:15:38.949] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:08:21]                 │ proc [kibana]   log   [12:15:38.949] [info][savedobjects-service] [.kibana] Migration completed after 579ms
[00:08:21]                 │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:08:21]                 │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:08:21]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:08:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] [.kibana_8.0.0_001/36r_9-KDTOGOWMh7vNfQag] update_mapping [_doc]
[00:08:23]                 │ debg navigating to home url: http://localhost:6131/app/home#/
[00:08:23]                 │ debg navigate to: http://localhost:6131/app/home#/
[00:08:23]                 │ debg browser[INFO] http://localhost:6131/app/home?_t=1613045740766#/ 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:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:23]                 │ debg ... sleep(700) start
[00:08:24]                 │ debg ... sleep(700) end
[00:08:24]                 │ debg returned from get, calling refresh
[00:08:24]                 │ERROR browser[SEVERE] http://localhost:6131/40372/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:08:24]                 │          at fetch_Fetch.fetchResponse (http://localhost:6131/40372/bundles/core/core.entry.js:6:32451)
[00:08:24]                 │          at async interceptResponse (http://localhost:6131/40372/bundles/core/core.entry.js:6:28637)
[00:08:24]                 │          at async http://localhost:6131/40372/bundles/core/core.entry.js:6:31117
[00:08:24]                 │ debg browser[INFO] http://localhost:6131/app/home?_t=1613045740766#/ 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:24]                 │
[00:08:24]                 │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:25]                 │ debg currentUrl = http://localhost:6131/app/home#/
[00:08:25]                 │          appUrl = http://localhost:6131/app/home#/
[00:08:25]                 │ debg TestSubjects.find(kibanaChrome)
[00:08:25]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:25]                 │ debg ... sleep(501) start
[00:08:26]                 │ debg ... sleep(501) end
[00:08:26]                 │ debg in navigateTo url = http://localhost:6131/app/home#/
[00:08:26]                 │ debg TestSubjects.exists(statusPageContainer)
[00:08:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:28]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:43]               └-: global dashboard all with index_management_user
[00:08:43]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:08:43]                 └-> "before all" hook for "should show the Stack Management nav link"
[00:08:43]                   │ debg set roles = global_dashboard_all,index_management_user
[00:08:43]                   │ debg creating user test_user
[00:08:43]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1613042551879684219] updated user [test_user]
[00:08:43]                   │ debg created user test_user
[00:08:43]                   │ debg TestSubjects.exists(kibanaChrome)
[00:08:43]                   │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:08:44]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:44]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:08:44]                   │ debg browser[INFO] http://localhost:6131/app/management?_t=1613045753465 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:44]                   │
[00:08:44]                   │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:45]                 └-> should show the Stack Management nav link
[00:08:45]                   └-> "before each" hook: global before each for "should show the Stack Management nav link"
[00:08:45]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:45]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:46]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:47]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:47]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:47]                   │ debg TestSubjects.exists(collapsibleNav)
[00:08:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:49]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:50]                   │ debg TestSubjects.click(toggleNavButton)
[00:08:50]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:50]                   │ debg TestSubjects.find(collapsibleNav)
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:50]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:08:50]                   │ debg Find.clickByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=10000
[00:08:50]                   └- ✓ pass  (5.4s) "Index Management app feature controls security global dashboard all with index_management_user should show the Stack Management nav link"
[00:08:50]                 └-> should render the "Data" section with index management
[00:08:50]                   └-> "before each" hook: global before each for "should render the "Data" section with index management"
[00:08:50]                   │ debg navigating to management url: http://localhost:6131/app/management
[00:08:50]                   │ debg navigate to: http://localhost:6131/app/management
[00:08:50]                   │ debg browser[INFO] http://localhost:6131/app/management?_t=1613045767863 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:50]                   │
[00:08:50]                   │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:50]                   │ debg ... sleep(700) start
[00:08:51]                   │ debg ... sleep(700) end
[00:08:51]                   │ debg returned from get, calling refresh
[00:08:52]                   │ERROR browser[SEVERE] http://localhost:6131/40372/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:08:52]                   │          at fetch_Fetch.fetchResponse (http://localhost:6131/40372/bundles/core/core.entry.js:6:32451)
[00:08:52]                   │          at async interceptResponse (http://localhost:6131/40372/bundles/core/core.entry.js:6:28637)
[00:08:52]                   │          at async http://localhost:6131/40372/bundles/core/core.entry.js:6:31117
[00:08:52]                   │ debg browser[INFO] http://localhost:6131/app/management?_t=1613045767863 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:52]                   │
[00:08:52]                   │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:52]                   │ debg currentUrl = http://localhost:6131/app/management
[00:08:52]                   │          appUrl = http://localhost:6131/app/management
[00:08:52]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:52]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:52]                   │ debg ... sleep(501) start
[00:08:53]                   │ debg ... sleep(501) end
[00:08:53]                   │ debg in navigateTo url = http://localhost:6131/app/management
[00:08:53]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:55]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:56]                   │ debg Find.allByCssSelector('.mgtSideBarNav > .euiSideNav__content > .euiSideNavItem') with timeout=10000
[00:08:56]                   │ info Taking screenshot "/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/screenshots/failure/Index Management app feature controls security global dashboard all with index_management_user should render the _Data_ section with index management.png"
[00:08:56]                   │ info Current URL is: http://localhost:6131/app/management
[00:08:56]                   │ info Saving page source to: /dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/failure_debug/html/Index Management app feature controls security global dashboard all with index_management_user should render the _Data_ section with index management.html
[00:08:56]                   └- ✖ fail: Index Management app feature controls security global dashboard all with index_management_user should render the "Data" section with index management
[00:08:56]                   │      Error: expected [ { sectionId: 'data',
[00:08:56]                   │     sectionLinks: [ 'index_management', 'transform' ] },
[00:08:56]                   │   { sectionId: 'kibana',
[00:08:56]                   │     sectionLinks: [ 'search_sessions' ] } ] to have a length of 1 but got 2
[00:08:56]                   │       at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
[00:08:56]                   │       at Assertion.length (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:374:8)
[00:08:56]                   │       at Context.<anonymous> (test/functional/apps/index_management/feature_controls/index_management_security.ts:63:34)
[00:08:56]                   │       at runMicrotasks (<anonymous>)
[00:08:56]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:08:56]                   │       at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:08:56]                   │ 
[00:08:56]                   │ 

Stack Trace

Error: expected [ { sectionId: 'data',
    sectionLinks: [ 'index_management', 'transform' ] },
  { sectionId: 'kibana',
    sectionLinks: [ 'search_sessions' ] } ] to have a length of 1 but got 2
    at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.length (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:374:8)
    at Context.<anonymous> (test/functional/apps/index_management/feature_controls/index_management_security.ts:63:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

and 5 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

@Dosant
Copy link
Contributor Author

Dosant commented Feb 11, 2021

close in favor of #91097

@Dosant Dosant closed this Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants