Skip to content

[master] More precise alerts matching#99820

Merged
cavokz merged 3 commits intoelastic:masterfrom
cavokz:ccs-integration-precise-alerts-matching
Jun 7, 2021
Merged

[master] More precise alerts matching#99820
cavokz merged 3 commits intoelastic:masterfrom
cavokz:ccs-integration-precise-alerts-matching

Conversation

@cavokz
Copy link
Contributor

@cavokz cavokz commented May 11, 2021

Follow up of #99042.
Depends on https://github.com/elastic/integration-test/pull/464.

Data is now explicitly loaded onto the remote cluster and the rule has been updated.

Main issue is https://github.com/elastic/security-team/issues/1030.

@cavokz cavokz requested a review from MadameSheema May 11, 2021 17:00
@cavokz cavokz force-pushed the ccs-integration-precise-alerts-matching branch 3 times, most recently from 8dd7fd8 to a91849d Compare May 17, 2021 15:00
@cavokz cavokz force-pushed the ccs-integration-precise-alerts-matching branch from a91849d to 4207fcc Compare May 26, 2021 13:35
@cavokz cavokz added release_note:skip Skip the PR/issue when compiling release notes v8.0.0 labels May 26, 2021
@cavokz cavokz changed the title WIP: [CCS integration test] Precise alerts matching [master] More precise alerts matching May 26, 2021
@cavokz cavokz force-pushed the ccs-integration-precise-alerts-matching branch from cc69f4e to 4189ed0 Compare May 27, 2021 09:14
Copy link
Contributor

@MadameSheema MadameSheema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for continue working on this! I think it would be great if a QA from Kibana can take a look at this because they'll have more knowledge around how to structure the code.

@cavokz cavokz requested a review from marius-dr June 2, 2021 06:52
@cavokz
Copy link
Contributor Author

cavokz commented Jun 3, 2021

@elasticmachine merge upstream

@cavokz cavokz force-pushed the ccs-integration-precise-alerts-matching branch from f1a6ac8 to e5bbeea Compare June 3, 2021 08:13
Copy link
Member

@marius-dr marius-dr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We do a lot of the stuff that you did in the before in the other repo, but I like this way that you used.

@cavokz cavokz merged commit a4b4da3 into elastic:master Jun 7, 2021
@cavokz cavokz deleted the ccs-integration-precise-alerts-matching branch June 7, 2021 12:41
cavokz added a commit to cavokz/kibana that referenced this pull request Jun 7, 2021
* Split out test preparation and cleanup

* Load data on the remote cluster

* Update the rule to the new (remote) data

Backport of elastic#99820.
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 7, 2021
* master: (90 commits)
  Fix UI breaks on providing long search keyword in 'Search Box' (elastic#101385)
  Adds css class to EuiDescriptionListDescription in order to break word on exception details card (elastic#101481)
  [Lens] Increase timings for drag and drop tests (elastic#101380)
  [Lens] Fix editor react error on configuration panel (elastic#101367)
  [Fleet] Move integrations to a separate app (elastic#99848)
  Fix incorrect message displayed on importing Timeline Templates (elastic#101288)
  [Cases] RBAC (elastic#95058)
  [APM] Visual improvements for new APM layout with left navigation (elastic#101360)
  [master] More precise alerts matching (elastic#99820)
  [Lens] Value in legend (elastic#101353)
  Revert "[Reporting] ILM policy for managing reporting indices (elastic#100130)" (elastic#101358)
  [Discover] Fix header row of data grid in Firefox (elastic#101374)
  Add link to advanced setting in Discover (elastic#101154)
  Url service locators (elastic#101045)
  [Timelion] Update the removal message to mention the exact version (elastic#100994)
  [Security Solution][Detection Engine] Test cases for alias failure test cases where we don't copy aliases correctly (elastic#101437)
  [Event Log] Adding `type_id` to saved object array in event log (elastic#100939)
  [Reporting] Add `location.url` info to console message logs (elastic#101427)
  [Security Solutions][Detection Engine] Fixes timestamp bugs within source indexes when the formats are not ISO8601 format (elastic#101349)
  Improve Task Manager instrumentation (elastic#99160)
  ...
cavokz added a commit that referenced this pull request Jun 8, 2021
* [7.x] Add CCS integration test for security rules

* [7.x] More precise alerts matching

* Split out test preparation and cleanup

* Load data on the remote cluster

* Update the rule to the new (remote) data

Backport of #99042 and #99820.
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/spaces/spaces_selection·ts.Spaces app Spaces Spaces Data displays separate data for each space in the default space

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:02:24]         └-: Spaces app
[00:02:24]           └-> "before all" hook in "Spaces app"
[00:02:24]           └-: Spaces
[00:02:24]             └-> "before all" hook in "Spaces"
[00:02:51]             └-: Spaces Data
[00:02:51]               └-> "before all" hook in "Spaces Data"
[00:02:51]               └-> "before all" hook in "Spaces Data"
[00:02:51]                 │ info [spaces/selector] Loading "mappings.json"
[00:02:51]                 │ info [spaces/selector] Loading "data.json"
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_task_manager_8.0.0_001/0wj6vWlXTzG7PD74YCqk2w] deleting index
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_pre6.5.0_001/HbTpACUORbOY_vXHEUAvwg] deleting index
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/TwgDZnKrTBK_RYt17Rq3qQ] deleting index
[00:02:51]                 │ info [spaces/selector] Deleted existing index ".kibana_8.0.0_001"
[00:02:51]                 │ info [spaces/selector] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:02:51]                 │ info [spaces/selector] Deleted existing index ".kibana_pre6.5.0_001"
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [spaces/selector] Created index ".kibana"
[00:02:51]                 │ debg [spaces/selector] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:51]                 │ info [spaces/selector] Indexed 3 docs into ".kibana"
[00:02:51]                 │ debg Migrating saved objects
[00:02:51]                 │ proc [kibana]   log   [15:30:53.720] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.724] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK. took: 10ms.
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:02:51]                 │ proc [kibana]   log   [15:30:53.737] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] adding block write to indices [[.kibana/1HnZrXn6TG-1hre5MLueVg]]
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] completed adding block write to indices [.kibana]
[00:02:51]                 │ proc [kibana]   log   [15:30:53.796] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 76ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.810] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET. took: 86ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.834] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 38ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.835] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 118ms
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:02:51]                 │ proc [kibana]   log   [15:30:53.891] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX. took: 81ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.896] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK. took: 5ms.
[00:02:51]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 6690 finished with response BulkByScrollResponse[took=22ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.002] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE. took: 106ms.
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana/1HnZrXn6TG-1hre5MLueVg] deleting index
[00:02:51]                 │ proc [kibana]   log   [15:30:54.040] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK. took: 38ms.
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] adding block write to indices [[.kibana_pre6.5.0_001/78ZAu3RaT_CNKFNAhbX0sw]]
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.082] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 42ms.
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 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:02:51]                 │ proc [kibana]   log   [15:30:54.145] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 63ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.149] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.156] [info][savedobjects-service] [.kibana] Starting to process 3 documents.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.156] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 7ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.158] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 2ms.
[00:02:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg] update_mapping [_doc]
[00:02:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg] update_mapping [_doc]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.218] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 60ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.224] [info][savedobjects-service] [.kibana] Processed 3 documents out of 3.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.224] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.227] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] adding block write to indices [[.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg]]
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.274] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 47ms.
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:02:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] create_mapping
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 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:02:51]                 │ proc [kibana]   log   [15:30:54.375] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 101ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.379] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.384] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 5ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.390] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.392] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:02:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:02:52]                 │ proc [kibana]   log   [15:30:54.456] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 64ms.
[00:02:52]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 6785 finished with response BulkByScrollResponse[took=26.3ms,timed_out=false,sliceId=null,updated=3,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:52]                 │ proc [kibana]   log   [15:30:54.561] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:02:52]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg] deleting index
[00:02:52]                 │ proc [kibana]   log   [15:30:54.600] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 39ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.601] [info][savedobjects-service] [.kibana] Migration completed after 887ms
[00:02:52]                 │ debg [spaces/selector] Migrated Kibana index after loading Kibana data
[00:02:52]                 │ debg [spaces/selector] Ensured that default space exists in .kibana
[00:02:52]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:02:53]                 │ debg TestSubjects.exists(loginForm)
[00:02:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:02:54]                 │ debg Waiting for Login Form to appear.
[00:02:54]                 │ debg Waiting up to 100000ms for login form...
[00:02:54]                 │ debg TestSubjects.exists(loginForm)
[00:02:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:02:54]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:02:54]                 │ debg TestSubjects.click(loginUsername)
[00:02:54]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:54]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:54]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:02:54]                 │ debg TestSubjects.click(loginPassword)
[00:02:54]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:54]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:55]                 │ debg TestSubjects.click(loginSubmit)
[00:02:55]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:55]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:55]                 │ proc [kibana]   log   [15:30:57.473] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:55]                 │ debg Waiting for login result, expected: spaceSelector.
[00:02:55]                 │ debg TestSubjects.find(kibanaSpaceSelector)
[00:02:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaSpaceSelector"]') with timeout=10000
[00:02:56]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:59]                 │ debg Finished login process, landed on space selector. currentUrl = http://localhost:61151/spaces/space_selector
[00:02:59]                 │ info SpaceSelectorPage:clickSpaceCard(default)
[00:02:59]                 │ debg TestSubjects.click(space-card-default)
[00:02:59]                 │ debg Find.clickByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:02:59]                 │ debg Find.findByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:02:59]                 │ debg browser[log] "Detected an unhandled Promise rejection.
[00:02:59]                 │      TypeError: NetworkError when attempting to fetch resource."
[00:02:59]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:59]                 │ debg ... sleep(1000) start
[00:03:00]                 │ debg ... sleep(1000) end
[00:03:00]                 │ debg navigating to home url: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:00]                 │ debg navigate to: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:01]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:01]                 │ debg ... sleep(700) start
[00:03:02]                 │ debg ... sleep(700) end
[00:03:02]                 │ debg returned from get, calling refresh
[00:03:03]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:03]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:03]                 │          appUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:03]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:03]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:06]                 │ debg ... sleep(501) start
[00:03:06]                 │ debg ... sleep(501) end
[00:03:06]                 │ debg in navigateTo url = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:06]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:03:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:03:09]                 │ debg --- retry.tryForTime error: [data-test-subj="addSampleDataSetlogs"] is not displayed
[00:03:10]                 │ debg navigating to home url: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:10]                 │ debg navigate to: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:10]                 │ debg ... sleep(700) start
[00:03:11]                 │ debg ... sleep(700) end
[00:03:11]                 │ debg returned from get, calling refresh
[00:03:15]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:17]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:17]                 │          appUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:17]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:17]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:18]                 │ debg App failed to load: home in 10000ms appUrl=http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:18]                 │ debg --- retry.try error: App failed to load: home in 10000ms appUrl=http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:19]                 │ debg navigate to: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:19]                 │ debg ... sleep(700) start
[00:03:19]                 │ debg ... sleep(700) end
[00:03:19]                 │ debg returned from get, calling refresh
[00:03:20]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:22]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:22]                 │          appUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:22]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:22]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:23]                 │ debg App failed to load: home in 10000ms appUrl=http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:23]                 │ debg --- retry.try failed again with the same message...
[00:03:24]                 │ debg navigate to: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:25]                 │ debg ... sleep(700) start
[00:03:25]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:26]                 │ debg ... sleep(700) end
[00:03:26]                 │ debg returned from get, calling refresh
[00:03:28]                 │ERROR browser[error] ({})
[00:03:29]                 │ debg browser[log] "Detected an unhandled Promise rejection.
[00:03:29]                 │      AbortError: The operation was aborted. "
[00:03:29]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:31]                 │ debg currentUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:31]                 │          appUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:31]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:31]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:33]                 │ debg ... sleep(501) start
[00:03:33]                 │ debg ... sleep(501) end
[00:03:33]                 │ debg in navigateTo url = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:33]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:03:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:03:33]                 │ debg TestSubjects.click(addSampleDataSetlogs)
[00:03:33]                 │ debg Find.clickByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:03:33]                 │ debg Find.findByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:03:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [kibana_sample_data_logs] creating index, cause [api], templates [], shards [1]/[1]
[00:03:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [kibana_sample_data_logs]
[00:03:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_logs][0]]])." previous.health="YELLOW" reason="shards started [[kibana_sample_data_logs][0]]"
[00:03:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [kibana_sample_data_logs/bviwPXt0RwWqXB80OHK_3w] update_mapping [_doc]
[00:03:36]                 │ debg TestSubjects.find(sampleDataSetCardlogs)
[00:03:36]                 │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardlogs"]') with timeout=10000
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:42]               └-: displays separate data for each space
[00:03:42]                 └-> "before all" hook for "in the default space"
[00:03:42]                 └-> in the default space
[00:03:42]                   └-> "before each" hook: global before each for "in the default space"
[00:03:42]                   │ debg navigating to dashboard url: http://localhost:61151/app/dashboards#/list
[00:03:42]                   │ debg navigate to: http://localhost:61151/app/dashboards#/list
[00:03:42]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:42]                   │ debg ... sleep(700) start
[00:03:43]                   │ debg ... sleep(700) end
[00:03:43]                   │ debg returned from get, calling refresh
[00:03:48]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:51]                   │ debg currentUrl = http://localhost:61151/app/dashboards#/list
[00:03:51]                   │          appUrl = http://localhost:61151/app/dashboards#/list
[00:03:51]                   │ debg TestSubjects.find(kibanaChrome)
[00:03:51]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:52]                   │ debg ... sleep(501) start
[00:03:53]                   │ debg ... sleep(501) end
[00:03:53]                   │ debg in navigateTo url = http://localhost:61151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:03:53]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:03:54]                   │ debg ... sleep(501) start
[00:03:54]                   │ debg ... sleep(501) end
[00:03:54]                   │ debg in navigateTo url = http://localhost:61151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:03:54]                   │ debg searchForItemWithName: [Logs] Web Traffic
[00:03:54]                   │ debg TestSubjects.find(tableListSearchBox)
[00:03:54]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:04]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:04:04]                   │      Wait timed out after 10110ms
[00:04:05]                   │ debg TestSubjects.find(tableListSearchBox)
[00:04:05]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:15]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:04:15]                   │      Wait timed out after 10008ms
[00:04:15]                   │ debg TestSubjects.find(tableListSearchBox)
[00:04:15]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:25]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:04:25]                   │      Wait timed out after 10009ms
[00:04:26]                   │ debg TestSubjects.find(tableListSearchBox)
[00:04:26]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:36]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:04:36]                   │      Wait timed out after 10012ms
[00:04:36]                   │ debg TestSubjects.find(tableListSearchBox)
[00:04:36]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:46]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:04:46]                   │      Wait timed out after 10010ms
[00:04:47]                   │ debg TestSubjects.find(tableListSearchBox)
[00:04:47]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:48]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_task_manager_8.0.0_001/V_VO56WZTTKz6qnS7upb4Q] update_mapping [_doc]
[00:04:57]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:04:57]                   │      Wait timed out after 10017ms
[00:04:57]                   │ debg TestSubjects.find(tableListSearchBox)
[00:04:57]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:05:10]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:05:10]                   │      Wait timed out after 12341ms
[00:05:10]                   │ debg TestSubjects.find(tableListSearchBox)
[00:05:10]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:05:20]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:05:20]                   │      Wait timed out after 10015ms
[00:05:21]                   │ debg TestSubjects.find(tableListSearchBox)
[00:05:21]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:05:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:05:31]                   │      Wait timed out after 10011ms
[00:05:31]                   │ debg TestSubjects.find(tableListSearchBox)
[00:05:31]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:05:41]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:05:41]                   │      Wait timed out after 10008ms
[00:05:42]                   │ debg TestSubjects.find(tableListSearchBox)
[00:05:42]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:05:52]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:05:52]                   │      Wait timed out after 10014ms
[00:05:52]                   │ debg TestSubjects.find(tableListSearchBox)
[00:05:52]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:06:02]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:06:02]                   │      Wait timed out after 10015ms
[00:06:03]                   │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/Spaces app Spaces Spaces Data displays separate data for each space in the default space.png"
[00:06:03]                   │ info Current URL is: http://localhost:61151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:06:03]                   │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/Spaces app Spaces Spaces Data displays separate data for each space in the default space.html
[00:06:03]                   └- ✖ fail: Spaces app Spaces Spaces Data displays separate data for each space in the default space
[00:06:03]                   │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
[00:06:03]                   │ Wait timed out after 10015ms
[00:06:03]                   │     at /dev/shm/workspace/parallel/15/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:06:03]                   │     at runMicrotasks (<anonymous>)
[00:06:03]                   │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:06:03]                   │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:06:03]                   │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:06:03]                   │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:03]                   │       at ListingTableService.searchForItemWithName (/dev/shm/workspace/parallel/15/kibana/test/functional/services/listing_table.ts:107:5)
[00:06:03]                   │       at expectDashboardRenders (test/functional/apps/spaces/spaces_selection.ts:64:9)
[00:06:03]                   │       at Context.<anonymous> (test/functional/apps/spaces/spaces_selection.ts:103:11)
[00:06:03]                   │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:06:03]                   │ 
[00:06:03]                   │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="tableListSearchBox"])
Wait timed out after 10015ms
    at /dev/shm/workspace/parallel/15/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at ListingTableService.searchForItemWithName (/dev/shm/workspace/parallel/15/kibana/test/functional/services/listing_table.ts:107:5)
    at expectDashboardRenders (test/functional/apps/spaces/spaces_selection.ts:64:9)
    at Context.<anonymous> (test/functional/apps/spaces/spaces_selection.ts:103:11)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/spaces/spaces_selection·ts.Spaces app Spaces Spaces Data "after all" hook in "Spaces Data"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:02:24]         └-: Spaces app
[00:02:24]           └-> "before all" hook in "Spaces app"
[00:02:24]           └-: Spaces
[00:02:24]             └-> "before all" hook in "Spaces"
[00:02:51]             └-: Spaces Data
[00:02:51]               └-> "before all" hook in "Spaces Data"
[00:02:51]               └-> "before all" hook in "Spaces Data"
[00:02:51]                 │ info [spaces/selector] Loading "mappings.json"
[00:02:51]                 │ info [spaces/selector] Loading "data.json"
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_task_manager_8.0.0_001/0wj6vWlXTzG7PD74YCqk2w] deleting index
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_pre6.5.0_001/HbTpACUORbOY_vXHEUAvwg] deleting index
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/TwgDZnKrTBK_RYt17Rq3qQ] deleting index
[00:02:51]                 │ info [spaces/selector] Deleted existing index ".kibana_8.0.0_001"
[00:02:51]                 │ info [spaces/selector] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:02:51]                 │ info [spaces/selector] Deleted existing index ".kibana_pre6.5.0_001"
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [spaces/selector] Created index ".kibana"
[00:02:51]                 │ debg [spaces/selector] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:51]                 │ info [spaces/selector] Indexed 3 docs into ".kibana"
[00:02:51]                 │ debg Migrating saved objects
[00:02:51]                 │ proc [kibana]   log   [15:30:53.720] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.724] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK. took: 10ms.
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:02:51]                 │ proc [kibana]   log   [15:30:53.737] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] adding block write to indices [[.kibana/1HnZrXn6TG-1hre5MLueVg]]
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] completed adding block write to indices [.kibana]
[00:02:51]                 │ proc [kibana]   log   [15:30:53.796] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 76ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.810] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET. took: 86ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.834] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 38ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.835] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 118ms
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:02:51]                 │ proc [kibana]   log   [15:30:53.891] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX. took: 81ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:53.896] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK. took: 5ms.
[00:02:51]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 6690 finished with response BulkByScrollResponse[took=22ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.002] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE. took: 106ms.
[00:02:51]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana/1HnZrXn6TG-1hre5MLueVg] deleting index
[00:02:51]                 │ proc [kibana]   log   [15:30:54.040] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK. took: 38ms.
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] adding block write to indices [[.kibana_pre6.5.0_001/78ZAu3RaT_CNKFNAhbX0sw]]
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.082] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 42ms.
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 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:02:51]                 │ proc [kibana]   log   [15:30:54.145] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 63ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.149] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.156] [info][savedobjects-service] [.kibana] Starting to process 3 documents.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.156] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 7ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.158] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 2ms.
[00:02:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg] update_mapping [_doc]
[00:02:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg] update_mapping [_doc]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.218] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 60ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.224] [info][savedobjects-service] [.kibana] Processed 3 documents out of 3.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.224] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.227] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] adding block write to indices [[.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg]]
[00:02:51]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:02:51]                 │ proc [kibana]   log   [15:30:54.274] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 47ms.
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:02:51]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:02:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] create_mapping
[00:02:51]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 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:02:51]                 │ proc [kibana]   log   [15:30:54.375] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 101ms.
[00:02:51]                 │ proc [kibana]   log   [15:30:54.379] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.384] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 5ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.390] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.392] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:02:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:02:52]                 │ proc [kibana]   log   [15:30:54.456] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 64ms.
[00:02:52]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] 6785 finished with response BulkByScrollResponse[took=26.3ms,timed_out=false,sliceId=null,updated=3,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:52]                 │ proc [kibana]   log   [15:30:54.561] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:02:52]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_reindex_temp/nD5HuhzBQuGQOviPMs_CAg] deleting index
[00:02:52]                 │ proc [kibana]   log   [15:30:54.600] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 39ms.
[00:02:52]                 │ proc [kibana]   log   [15:30:54.601] [info][savedobjects-service] [.kibana] Migration completed after 887ms
[00:02:52]                 │ debg [spaces/selector] Migrated Kibana index after loading Kibana data
[00:02:52]                 │ debg [spaces/selector] Ensured that default space exists in .kibana
[00:02:52]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:02:53]                 │ debg TestSubjects.exists(loginForm)
[00:02:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:02:54]                 │ debg Waiting for Login Form to appear.
[00:02:54]                 │ debg Waiting up to 100000ms for login form...
[00:02:54]                 │ debg TestSubjects.exists(loginForm)
[00:02:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:02:54]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:02:54]                 │ debg TestSubjects.click(loginUsername)
[00:02:54]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:54]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:54]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:02:54]                 │ debg TestSubjects.click(loginPassword)
[00:02:54]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:54]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:55]                 │ debg TestSubjects.click(loginSubmit)
[00:02:55]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:55]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:55]                 │ proc [kibana]   log   [15:30:57.473] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:55]                 │ debg Waiting for login result, expected: spaceSelector.
[00:02:55]                 │ debg TestSubjects.find(kibanaSpaceSelector)
[00:02:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaSpaceSelector"]') with timeout=10000
[00:02:56]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:59]                 │ debg Finished login process, landed on space selector. currentUrl = http://localhost:61151/spaces/space_selector
[00:02:59]                 │ info SpaceSelectorPage:clickSpaceCard(default)
[00:02:59]                 │ debg TestSubjects.click(space-card-default)
[00:02:59]                 │ debg Find.clickByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:02:59]                 │ debg Find.findByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:02:59]                 │ debg browser[log] "Detected an unhandled Promise rejection.
[00:02:59]                 │      TypeError: NetworkError when attempting to fetch resource."
[00:02:59]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:59]                 │ debg ... sleep(1000) start
[00:03:00]                 │ debg ... sleep(1000) end
[00:03:00]                 │ debg navigating to home url: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:00]                 │ debg navigate to: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:01]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:01]                 │ debg ... sleep(700) start
[00:03:02]                 │ debg ... sleep(700) end
[00:03:02]                 │ debg returned from get, calling refresh
[00:03:03]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:03]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:03]                 │          appUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:03]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:03]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:06]                 │ debg ... sleep(501) start
[00:03:06]                 │ debg ... sleep(501) end
[00:03:06]                 │ debg in navigateTo url = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:06]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:03:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:03:09]                 │ debg --- retry.tryForTime error: [data-test-subj="addSampleDataSetlogs"] is not displayed
[00:03:10]                 │ debg navigating to home url: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:10]                 │ debg navigate to: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:10]                 │ debg ... sleep(700) start
[00:03:11]                 │ debg ... sleep(700) end
[00:03:11]                 │ debg returned from get, calling refresh
[00:03:15]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:17]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:17]                 │          appUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:17]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:17]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:18]                 │ debg App failed to load: home in 10000ms appUrl=http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:18]                 │ debg --- retry.try error: App failed to load: home in 10000ms appUrl=http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:19]                 │ debg navigate to: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:19]                 │ debg ... sleep(700) start
[00:03:19]                 │ debg ... sleep(700) end
[00:03:19]                 │ debg returned from get, calling refresh
[00:03:20]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:22]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:22]                 │          appUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:22]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:22]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:23]                 │ debg App failed to load: home in 10000ms appUrl=http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:03:23]                 │ debg --- retry.try failed again with the same message...
[00:03:24]                 │ debg navigate to: http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:25]                 │ debg ... sleep(700) start
[00:03:25]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:26]                 │ debg ... sleep(700) end
[00:03:26]                 │ debg returned from get, calling refresh
[00:03:28]                 │ERROR browser[error] ({})
[00:03:29]                 │ debg browser[log] "Detected an unhandled Promise rejection.
[00:03:29]                 │      AbortError: The operation was aborted. "
[00:03:29]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:31]                 │ debg currentUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:31]                 │          appUrl = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:31]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:31]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:33]                 │ debg ... sleep(501) start
[00:03:33]                 │ debg ... sleep(501) end
[00:03:33]                 │ debg in navigateTo url = http://localhost:61151/s/another-space/app/home#/tutorial_directory/sampleData
[00:03:33]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:03:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:03:33]                 │ debg TestSubjects.click(addSampleDataSetlogs)
[00:03:33]                 │ debg Find.clickByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:03:33]                 │ debg Find.findByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:03:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [kibana_sample_data_logs] creating index, cause [api], templates [], shards [1]/[1]
[00:03:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] updating number_of_replicas to [0] for indices [kibana_sample_data_logs]
[00:03:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_logs][0]]])." previous.health="YELLOW" reason="shards started [[kibana_sample_data_logs][0]]"
[00:03:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [kibana_sample_data_logs/bviwPXt0RwWqXB80OHK_3w] update_mapping [_doc]
[00:03:36]                 │ debg TestSubjects.find(sampleDataSetCardlogs)
[00:03:36]                 │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardlogs"]') with timeout=10000
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:03:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1623164602314269135] [.kibana_8.0.0_001/1ap-m_0xS1iS8Nq426LsuA] update_mapping [_doc]
[00:06:03]               └-> "after all" hook in "Spaces Data"
[00:06:03]                 │ debg navigating to home url: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:06:03]                 │ debg navigate to: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:06:03]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:03]                 │ debg ... sleep(700) start
[00:06:04]                 │ debg ... sleep(700) end
[00:06:04]                 │ debg returned from get, calling refresh
[00:06:05]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:07]                 │ debg currentUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:06:07]                 │          appUrl = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:06:07]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:08]                 │ debg ... sleep(501) start
[00:06:09]                 │ debg ... sleep(501) end
[00:06:09]                 │ debg in navigateTo url = http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:06:09]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:06:09]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:06:19]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:06:19]                 │      Wait timed out after 10009ms
[00:06:19]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:06:19]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:06:29]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:06:29]                 │      Wait timed out after 10015ms
[00:06:30]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:06:30]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:06:40]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:06:40]                 │      Wait timed out after 10012ms
[00:06:40]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:06:40]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:06:50]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:06:50]                 │      Wait timed out after 10008ms
[00:06:51]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:06:51]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:07:01]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:07:01]                 │      Wait timed out after 10013ms
[00:07:01]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:07:01]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:07:11]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:07:11]                 │      Wait timed out after 10010ms
[00:07:12]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:07:12]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:07:22]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:07:22]                 │      Wait timed out after 10007ms
[00:07:22]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:07:22]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:07:32]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:07:32]                 │      Wait timed out after 10008ms
[00:07:33]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:07:33]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:07:43]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:07:43]                 │      Wait timed out after 10016ms
[00:07:43]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:07:43]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:07:53]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:07:53]                 │      Wait timed out after 10012ms
[00:07:54]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:07:54]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:08:04]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:08:04]                 │      Wait timed out after 10015ms
[00:08:04]                 │ debg TestSubjects.find(removeSampleDataSetlogs)
[00:08:04]                 │ debg Find.findByCssSelector('[data-test-subj="removeSampleDataSetlogs"]') with timeout=10000
[00:08:14]                 │ debg --- retry.tryForTime error: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:08:14]                 │      Wait timed out after 10014ms
[00:08:15]                 │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/Spaces app Spaces Spaces Data _after all_ hook in _Spaces Data_.png"
[00:08:15]                 │ info Current URL is: http://localhost:61151/app/home#/tutorial_directory/sampleData
[00:08:15]                 │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/Spaces app Spaces Spaces Data _after all_ hook in _Spaces Data_.html
[00:08:15]                 └- ✖ fail: Spaces app Spaces Spaces Data "after all" hook in "Spaces Data"
[00:08:15]                 │      Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
[00:08:15]                 │ Wait timed out after 10014ms
[00:08:15]                 │     at /dev/shm/workspace/parallel/15/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:15]                 │     at runMicrotasks (<anonymous>)
[00:08:15]                 │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:08:15]                 │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:08:15]                 │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:08:15]                 │       at RetryService.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:22:12)
[00:08:15]                 │       at TestSubjects.waitForEnabled (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:305:5)
[00:08:15]                 │       at HomePage.removeSampleDataSet (/dev/shm/workspace/parallel/15/kibana/test/functional/page_objects/home_page.ts:52:7)
[00:08:15]                 │       at Context.<anonymous> (test/functional/apps/spaces/spaces_selection.ts:95:9)
[00:08:15]                 │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:08:15]                 │ 
[00:08:15]                 │ 

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetlogs"])
Wait timed out after 10014ms
    at /dev/shm/workspace/parallel/15/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:22:12)
    at TestSubjects.waitForEnabled (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:305:5)
    at HomePage.removeSampleDataSet (/dev/shm/workspace/parallel/15/kibana/test/functional/page_objects/home_page.ts:52:7)
    at Context.<anonymous> (test/functional/apps/spaces/spaces_selection.ts:95:9)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

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

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jun 9, 2021
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 99820 or prevent reminders by adding the backport:skip label.

1 similar comment
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 99820 or prevent reminders by adding the backport:skip label.

@cavokz cavokz added the backport:skip This PR does not require backporting label Jun 10, 2021
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants