Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [dev docs] Add sample data tutorial. Closes #98297 (#99252) #100308

Merged
merged 1 commit into from
May 19, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/spaces·ts.Kibana spaces page meets a11y validations a11y test for space selection page

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:58]         └-: Kibana spaces page meets a11y validations
[00:01:58]           └-> "before all" hook for "a11y test for manage spaces menu from top nav on Kibana home"
[00:01:58]           └-> "before all" hook for "a11y test for manage spaces menu from top nav on Kibana home"
[00:01:58]             │ info [empty_kibana] Loading "mappings.json"
[00:01:58]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_pre6.5.0_001/HDeHg4ybSieTTr8NkLZg8w] deleting index
[00:01:58]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_task_manager_7.14.0_001/18oicc5ZRgK-0ojapr0jew] deleting index
[00:01:58]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_001/nD1ylGLTTeGQmBZXs2SK3Q] deleting index
[00:01:58]             │ info [empty_kibana] Deleted existing index ".kibana_7.14.0_001"
[00:01:58]             │ info [empty_kibana] Deleted existing index ".kibana_task_manager_7.14.0_001"
[00:01:58]             │ info [empty_kibana] Deleted existing index ".kibana_pre6.5.0_001"
[00:01:58]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:01:58]             │ info [empty_kibana] Created index ".kibana"
[00:01:58]             │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:01:58]             │ debg Migrating saved objects
[00:01:58]             │ proc [kibana]   log   [23:05:50.656] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:01:58]             │ proc [kibana]   log   [23:05:50.658] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK. took: 6ms.
[00:01:58]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_task_manager_7.14.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:01:58]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.14.0_001]
[00:01:58]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] adding block write to indices [[.kibana/4W8EB8YlRXSd_FQ1WzFu1w]]
[00:01:58]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] completed adding block write to indices [.kibana]
[00:01:58]             │ proc [kibana]   log   [23:05:50.762] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 106ms.
[00:01:58]             │ proc [kibana]   log   [23:05:50.786] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET. took: 128ms.
[00:01:58]             │ proc [kibana]   log   [23:05:50.814] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 52ms.
[00:01:58]             │ proc [kibana]   log   [23:05:50.815] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 162ms
[00:01:58]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:01:58]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:01:58]             │ proc [kibana]   log   [23:05:50.895] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX. took: 109ms.
[00:01:58]             │ proc [kibana]   log   [23:05:50.900] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK. took: 5ms.
[00:01:58]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] 5403 finished with response BulkByScrollResponse[took=3.3ms,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:01:58]             │ proc [kibana]   log   [23:05:51.006] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE. took: 106ms.
[00:01:58]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana/4W8EB8YlRXSd_FQ1WzFu1w] deleting index
[00:01:58]             │ proc [kibana]   log   [23:05:51.049] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK. took: 43ms.
[00:01:58]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] adding block write to indices [[.kibana_pre6.5.0_001/g57ogkcsQdemAilBHCZtKg]]
[00:01:58]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:01:58]             │ proc [kibana]   log   [23:05:51.098] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 49ms.
[00:01:58]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:01:58]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] updating number_of_replicas to [0] for indices [.kibana_7.14.0_reindex_temp]
[00:01:58]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.14.0_reindex_temp][0]]]).
[00:01:58]             │ proc [kibana]   log   [23:05:51.162] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 64ms.
[00:01:58]             │ proc [kibana]   log   [23:05:51.166] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:01:58]             │ proc [kibana]   log   [23:05:51.172] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:01:58]             │ proc [kibana]   log   [23:05:51.175] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:01:58]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] adding block write to indices [[.kibana_7.14.0_reindex_temp/2_PuMID5TOWu-MsW-sQsHw]]
[00:01:58]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] completed adding block write to indices [.kibana_7.14.0_reindex_temp]
[00:01:59]             │ proc [kibana]   log   [23:05:51.223] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 48ms.
[00:01:59]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] applying create index request using existing index [.kibana_7.14.0_reindex_temp] metadata
[00:01:59]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:01:59]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] updating number_of_replicas to [0] for indices [.kibana_7.14.0_001]
[00:01:59]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_001/rEQB7URcR4u7imizcR3dgA] create_mapping [_doc]
[00:01:59]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.14.0_001][0]]]).
[00:01:59]             │ proc [kibana]   log   [23:05:51.327] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 104ms.
[00:01:59]             │ proc [kibana]   log   [23:05:51.331] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:01:59]             │ proc [kibana]   log   [23:05:51.334] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:01:59]             │ proc [kibana]   log   [23:05:51.341] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:01:59]             │ proc [kibana]   log   [23:05:51.344] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:01:59]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_001/rEQB7URcR4u7imizcR3dgA] update_mapping [_doc]
[00:01:59]             │ proc [kibana]   log   [23:05:51.421] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 78ms.
[00:01:59]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] 5468 finished with response BulkByScrollResponse[took=2.2ms,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:01:59]             │ proc [kibana]   log   [23:05:51.526] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:01:59]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_reindex_temp/2_PuMID5TOWu-MsW-sQsHw] deleting index
[00:01:59]             │ proc [kibana]   log   [23:05:51.571] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 45ms.
[00:01:59]             │ proc [kibana]   log   [23:05:51.571] [info][savedobjects-service] [.kibana] Migration completed after 919ms
[00:01:59]             │ debg [empty_kibana] Migrated Kibana index after loading Kibana data
[00:01:59]             │ debg [empty_kibana] Ensured that default space exists in .kibana
[00:01:59]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:01:59]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_001/rEQB7URcR4u7imizcR3dgA] update_mapping [_doc]
[00:02:01]             │ debg navigating to home url: http://localhost:6141/app/home#/
[00:02:01]             │ debg navigate to: http://localhost:6141/app/home#/
[00:02:01]             │ debg browser[INFO] http://localhost:6141/app/home?_t=1621379153284#/ 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:01]             │
[00:02:01]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:01]             │ debg ... sleep(700) start
[00:02:01]             │ debg ... sleep(700) end
[00:02:01]             │ debg returned from get, calling refresh
[00:02:02]             │ debg browser[INFO] http://localhost:6141/app/home?_t=1621379153284#/ 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:02]             │
[00:02:02]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:02]             │ debg currentUrl = http://localhost:6141/app/home#/
[00:02:02]             │          appUrl = http://localhost:6141/app/home#/
[00:02:02]             │ debg TestSubjects.find(kibanaChrome)
[00:02:02]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:03]             │ debg ... sleep(501) start
[00:02:04]             │ debg ... sleep(501) end
[00:02:04]             │ debg in navigateTo url = http://localhost:6141/app/home#/
[00:02:04]             │ debg TestSubjects.exists(statusPageContainer)
[00:02:04]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:06]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:07]           └-> a11y test for manage spaces menu from top nav on Kibana home
[00:02:07]             └-> "before each" hook: global before each for "a11y test for manage spaces menu from top nav on Kibana home"
[00:02:07]             │ debg TestSubjects.click(space-avatar-default)
[00:02:07]             │ debg Find.clickByCssSelector('[data-test-subj="space-avatar-default"]') with timeout=10000
[00:02:07]             │ debg Find.findByCssSelector('[data-test-subj="space-avatar-default"]') with timeout=10000
[00:02:07]             │ debg Waiting up to 20000ms for Manage spaces option visible...
[00:02:07]             │ debg TestSubjects.exists(manageSpaces)
[00:02:07]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="manageSpaces"]') with timeout=2500
[00:02:08]             └- ✓ pass  (692ms) "Kibana spaces page meets a11y validations a11y test for manage spaces menu from top nav on Kibana home"
[00:02:08]           └-> a11y test for manage spaces page
[00:02:08]             └-> "before each" hook: global before each for "a11y test for manage spaces page"
[00:02:08]             │ debg TestSubjects.click(manageSpaces)
[00:02:08]             │ debg Find.clickByCssSelector('[data-test-subj="manageSpaces"]') with timeout=10000
[00:02:08]             │ debg Find.findByCssSelector('[data-test-subj="manageSpaces"]') with timeout=10000
[00:02:08]             │ debg isGlobalLoadingIndicatorVisible
[00:02:08]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:08]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:09]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:10]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:10]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:10]             │ debg TestSubjects.find(globalToastList)
[00:02:10]             │ debg Find.findByCssSelector('[data-test-subj="globalToastList"]') with timeout=10000
[00:02:20]             │ debg Waiting up to 20000ms for Manage spaces page visible...
[00:02:20]             │ debg TestSubjects.exists(createSpace)
[00:02:20]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createSpace"]') with timeout=2500
[00:02:20]             └- ✓ pass  (12.5s) "Kibana spaces page meets a11y validations a11y test for manage spaces page"
[00:02:20]           └-> a11y test for click on create space page
[00:02:20]             └-> "before each" hook: global before each for "a11y test for click on create space page"
[00:02:20]             │ debg TestSubjects.click(createSpace)
[00:02:20]             │ debg Find.clickByCssSelector('[data-test-subj="createSpace"]') with timeout=10000
[00:02:20]             │ debg Find.findByCssSelector('[data-test-subj="createSpace"]') with timeout=10000
[00:02:20]             └- ✓ pass  (447ms) "Kibana spaces page meets a11y validations a11y test for click on create space page"
[00:02:20]           └-> a11y test for for customize space card
[00:02:20]             └-> "before each" hook: global before each for "a11y test for for customize space card"
[00:02:20]             │ debg TestSubjects.click(addSpaceName)
[00:02:20]             │ debg Find.clickByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:20]             │ debg Find.findByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:21]             │ debg TestSubjects.setValue(addSpaceName, space_a)
[00:02:21]             │ debg TestSubjects.click(addSpaceName)
[00:02:21]             │ debg Find.clickByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:21]             │ debg Find.findByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:21]             │ debg TestSubjects.click(space-avatar-space_a)
[00:02:21]             │ debg Find.clickByCssSelector('[data-test-subj="space-avatar-space_a"]') with timeout=10000
[00:02:21]             │ debg Find.findByCssSelector('[data-test-subj="space-avatar-space_a"]') with timeout=10000
[00:02:21]             └- ✓ pass  (937ms) "Kibana spaces page meets a11y validations a11y test for for customize space card"
[00:02:21]           └-> a11y test for color picker
[00:02:21]           └-> a11y test for customize and reset space URL identifier
[00:02:21]             └-> "before each" hook: global before each for "a11y test for customize and reset space URL identifier"
[00:02:21]             │ debg TestSubjects.click(CustomizeOrReset)
[00:02:21]             │ debg Find.clickByCssSelector('[data-test-subj="CustomizeOrReset"]') with timeout=10000
[00:02:21]             │ debg Find.findByCssSelector('[data-test-subj="CustomizeOrReset"]') with timeout=10000
[00:02:22]             │ debg TestSubjects.click(CustomizeOrReset)
[00:02:22]             │ debg Find.clickByCssSelector('[data-test-subj="CustomizeOrReset"]') with timeout=10000
[00:02:22]             │ debg Find.findByCssSelector('[data-test-subj="CustomizeOrReset"]') with timeout=10000
[00:02:22]             └- ✓ pass  (1.0s) "Kibana spaces page meets a11y validations a11y test for customize and reset space URL identifier"
[00:02:22]           └-> a11y test for describe space text space
[00:02:22]             └-> "before each" hook: global before each for "a11y test for describe space text space"
[00:02:22]             │ debg TestSubjects.click(descriptionSpaceText)
[00:02:22]             │ debg Find.clickByCssSelector('[data-test-subj="descriptionSpaceText"]') with timeout=10000
[00:02:22]             │ debg Find.findByCssSelector('[data-test-subj="descriptionSpaceText"]') with timeout=10000
[00:02:23]             └- ✓ pass  (403ms) "Kibana spaces page meets a11y validations a11y test for describe space text space"
[00:02:23]           └-> a11y test for toggling an entire feature category
[00:02:23]             └-> "before each" hook: global before each for "a11y test for toggling an entire feature category"
[00:02:23]             │ debg TestSubjects.click(featureCategoryButton_kibana)
[00:02:23]             │ debg Find.clickByCssSelector('[data-test-subj="featureCategoryButton_kibana"]') with timeout=10000
[00:02:23]             │ debg Find.findByCssSelector('[data-test-subj="featureCategoryButton_kibana"]') with timeout=10000
[00:02:23]             │ debg Find.findByCssSelector('button[aria-controls=featureCategory_kibana]') with timeout=10000
[00:02:24]             │ debg TestSubjects.click(featureCategoryButton_kibana)
[00:02:24]             │ debg Find.clickByCssSelector('[data-test-subj="featureCategoryButton_kibana"]') with timeout=10000
[00:02:24]             │ debg Find.findByCssSelector('[data-test-subj="featureCategoryButton_kibana"]') with timeout=10000
[00:02:24]             └- ✓ pass  (895ms) "Kibana spaces page meets a11y validations a11y test for toggling an entire feature category"
[00:02:24]           └-> a11y test for space listing page
[00:02:24]             └-> "before each" hook: global before each for "a11y test for space listing page"
[00:02:24]             │ debg TestSubjects.click(save-space-button)
[00:02:24]             │ debg Find.clickByCssSelector('[data-test-subj="save-space-button"]') with timeout=10000
[00:02:24]             │ debg Find.findByCssSelector('[data-test-subj="save-space-button"]') with timeout=10000
[00:02:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1621377433693607557] [.kibana_7.14.0_001/rEQB7URcR4u7imizcR3dgA] update_mapping [_doc]
[00:02:24]             └- ✓ pass  (406ms) "Kibana spaces page meets a11y validations a11y test for space listing page"
[00:02:24]           └-> a11y test for updating a space
[00:02:24]             └-> "before each" hook: global before each for "a11y test for updating a space"
[00:02:24]             │ debg TestSubjects.click(space_a-editSpace)
[00:02:24]             │ debg Find.clickByCssSelector('[data-test-subj="space_a-editSpace"]') with timeout=10000
[00:02:24]             │ debg Find.findByCssSelector('[data-test-subj="space_a-editSpace"]') with timeout=10000
[00:02:25]             │ debg TestSubjects.click(cancel-space-button)
[00:02:25]             │ debg Find.clickByCssSelector('[data-test-subj="cancel-space-button"]') with timeout=10000
[00:02:25]             │ debg Find.findByCssSelector('[data-test-subj="cancel-space-button"]') with timeout=10000
[00:02:25]             └- ✓ pass  (1.1s) "Kibana spaces page meets a11y validations a11y test for updating a space"
[00:02:25]           └-> a11y test for delete space button
[00:02:25]             └-> "before each" hook: global before each for "a11y test for delete space button"
[00:02:25]             │ debg TestSubjects.click(createSpace)
[00:02:25]             │ debg Find.clickByCssSelector('[data-test-subj="createSpace"]') with timeout=10000
[00:02:25]             │ debg Find.findByCssSelector('[data-test-subj="createSpace"]') with timeout=10000
[00:02:25]             │ debg TestSubjects.click(addSpaceName)
[00:02:25]             │ debg Find.clickByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:25]             │ debg Find.findByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:26]             │ debg TestSubjects.setValue(addSpaceName, space_b)
[00:02:26]             │ debg TestSubjects.click(addSpaceName)
[00:02:26]             │ debg Find.clickByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:26]             │ debg Find.findByCssSelector('[data-test-subj="addSpaceName"]') with timeout=10000
[00:02:26]             │ debg TestSubjects.click(save-space-button)
[00:02:26]             │ debg Find.clickByCssSelector('[data-test-subj="save-space-button"]') with timeout=10000
[00:02:26]             │ debg Find.findByCssSelector('[data-test-subj="save-space-button"]') with timeout=10000
[00:02:26]             │ debg navigating to home url: http://localhost:6141/app/home#/
[00:02:26]             │ debg navigate to: http://localhost:6141/app/home#/
[00:02:26]             │ debg browser[INFO] http://localhost:6141/app/home?_t=1621379178528#/ 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:26]             │
[00:02:26]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:26]             │ debg ... sleep(700) start
[00:02:27]             │ debg ... sleep(700) end
[00:02:27]             │ debg returned from get, calling refresh
[00:02:27]             │ debg browser[INFO] http://localhost:6141/app/home?_t=1621379178528#/ 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:27]             │
[00:02:27]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:28]             │ debg currentUrl = http://localhost:6141/app/home#/
[00:02:28]             │          appUrl = http://localhost:6141/app/home#/
[00:02:28]             │ debg TestSubjects.find(kibanaChrome)
[00:02:28]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:28]             │ debg ... sleep(501) start
[00:02:29]             │ debg ... sleep(501) end
[00:02:29]             │ debg in navigateTo url = http://localhost:6141/app/home#/
[00:02:29]             │ debg TestSubjects.exists(statusPageContainer)
[00:02:29]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:31]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:32]             │ debg openSpacesNav()
[00:02:32]             │ debg TestSubjects.click(spacesNavSelector)
[00:02:32]             │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:02:32]             │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:02:32]             │ info SpaceSelectorPage:clickSpaceAvatar(space_b)
[00:02:32]             │ debg TestSubjects.click(space-avatar-space_b)
[00:02:32]             │ debg Find.clickByCssSelector('[data-test-subj="space-avatar-space_b"]') with timeout=10000
[00:02:32]             │ debg Find.findByCssSelector('[data-test-subj="space-avatar-space_b"]') with timeout=10000
[00:02:33]             │ debg ... sleep(1000) start
[00:02:33]             │ debg browser[INFO] http://localhost:6141/s/space_b/app/home 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:33]             │
[00:02:33]             │ debg browser[INFO] http://localhost:6141/s/space_b/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:34]             │ debg ... sleep(1000) end
[00:02:34]             │ debg isGlobalLoadingIndicatorVisible
[00:02:34]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:34]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:35]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:35]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:35]             │ debg openSpacesNav()
[00:02:35]             │ debg TestSubjects.click(spacesNavSelector)
[00:02:35]             │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:02:35]             │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:02:35]             │ debg TestSubjects.click(manageSpaces)
[00:02:35]             │ debg Find.clickByCssSelector('[data-test-subj="manageSpaces"]') with timeout=10000
[00:02:35]             │ debg Find.findByCssSelector('[data-test-subj="manageSpaces"]') with timeout=10000
[00:02:35]             │ debg TestSubjects.click(space_b-deleteSpace)
[00:02:35]             │ debg Find.clickByCssSelector('[data-test-subj="space_b-deleteSpace"]') with timeout=10000
[00:02:35]             │ debg Find.findByCssSelector('[data-test-subj="space_b-deleteSpace"]') with timeout=10000
[00:02:36]             └- ✓ pass  (11.1s) "Kibana spaces page meets a11y validations a11y test for delete space button"
[00:02:36]           └-> a11y test for space selection page
[00:02:36]             └-> "before each" hook: global before each for "a11y test for space selection page"
[00:02:36]             │ debg TestSubjects.click(confirmModalConfirmButton)
[00:02:36]             │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:36]             │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:37]             │ info Taking screenshot "/dev/shm/workspace/parallel/4/kibana/x-pack/test/functional/screenshots/failure/Kibana spaces page meets a11y validations a11y test for space selection page.png"
[00:02:37]             │ debg browser[INFO] http://localhost:6141/spaces/space_selector 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:37]             │
[00:02:37]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:37]             │ info Current URL is: http://localhost:6141/spaces/space_selector
[00:02:37]             │ info Saving page source to: /dev/shm/workspace/parallel/4/kibana/x-pack/test/functional/failure_debug/html/Kibana spaces page meets a11y validations a11y test for space selection page.html
[00:02:37]             └- ✖ fail: Kibana spaces page meets a11y validations a11y test for space selection page
[00:02:37]             │      JavascriptError: javascript error: document unloaded while waiting for result
[00:02:37]             │   (Session info: headless chrome=90.0.4430.212)
[00:02:37]             │       at Object.throwDecodedError (/dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:02:37]             │       at parseHttpResponse (/dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:02:37]             │       at Executor.execute (/dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:02:37]             │       at runMicrotasks (<anonymous>)
[00:02:37]             │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:37]             │       at Task.exec (/dev/shm/workspace/parallel/4/kibana/test/functional/services/remote/prevent_parallel_calls.ts:29:22)
[00:02:37]             │ 
[00:02:37]             │ 

Stack Trace

JavascriptError: javascript error: document unloaded while waiting for result
  (Session info: headless chrome=90.0.4430.212)
    at Object.throwDecodedError (/dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Task.exec (/dev/shm/workspace/parallel/4/kibana/test/functional/services/remote/prevent_parallel_calls.ts:29:22) {
  remoteStacktrace: '#0 0x55cac2f06e89 <unknown>\n'
}

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
canvas 29 25 -4
fleet 4 2 -2
indexManagement 12 7 -5
infra 5 3 -2
monitoring 109 56 -53
total -66

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

cc @jbudz

@kibanamachine kibanamachine merged commit c85ccf9 into elastic:7.x May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants