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

[Fleet][Logs UI] Prevent double loading of entries in <LogStream /> component. #102980

Merged
merged 3 commits into from
Jun 24, 2021

Conversation

afgomez
Copy link
Contributor

@afgomez afgomez commented Jun 22, 2021

Summary

Closes #99618

The <LogStream /> has a problem where it double-loads the entries.

Recording.1.mp4

This is caused by changes in the value of the internal variable derivedIndexPattern. When the component loads, derivedIndexPattern has a default uninitialized value. Later this variable changes to its resolved value. This makes the following code trigger twice:

https://github.com/afgomez/kibana/blob/b8e633f2bb00b1f7537f71697afc532b73137742/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#L124-L130

Even if the value of the generated parsedQuery object is the same, is not the same object. This triggers a chain of react hook dependencies to be rebuilt, ending up with new entries being fetch.

To prevent this we keep a cachedQuery ref inside the useLogStream container. This ref ensures that the identity of the query stays the same if its value doesn't change, preventing the double re-render.

@afgomez afgomez added v8.0.0 Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Jun 22, 2021
@afgomez afgomez self-assigned this Jun 22, 2021
@afgomez afgomez requested a review from a team as a code owner June 22, 2021 18:30
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:Fleet)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/grok_debugger/grok_debugger·js.logstash grok debugger app "before all" hook in "grok debugger app"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:02:22]         └-: logstash
[00:02:22]           └-> "before all" hook in "logstash"
[00:02:22]           └-: grok debugger app
[00:02:22]             └-> "before all" hook in "grok debugger app"
[00:02:22]             └-> "before all" hook in "grok debugger app"
[00:02:22]               │ info [x-pack/test/functional/es_archives/empty_kibana] Loading "mappings.json"
[00:02:22]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_task_manager_8.0.0_001/-thSHvQlQ2ewJVY_e4UPyQ] deleting index
[00:02:22]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_001/pOnlLeOhQmOSr7iKi9SpYg] deleting index
[00:02:22]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_1/DYTKga6mTNWcHc0-i3sUhA] deleting index
[00:02:22]               │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_8.0.0_001"
[00:02:22]               │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:02:22]               │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_1"
[00:02:22]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:02:22]               │ info [x-pack/test/functional/es_archives/empty_kibana] Created index ".kibana_1"
[00:02:22]               │ debg [x-pack/test/functional/es_archives/empty_kibana] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:22]               │ debg Migrating saved objects
[00:02:22]               │ proc [kibana]   log   [18:56:51.882] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 4ms.
[00:02:22]               │ proc [kibana]   log   [18:56:51.888] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 13ms.
[00:02:22]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:02:22]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:02:22]               │ proc [kibana]   log   [18:56:51.896] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 8ms.
[00:02:22]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] adding block write to indices [[.kibana_1/KCQWKk7eTqOqZ56_MMNJgQ]]
[00:02:22]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] completed adding block write to indices [.kibana_1]
[00:02:22]               │ proc [kibana]   log   [18:56:52.043] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 161ms.
[00:02:22]               │ proc [kibana]   log   [18:56:52.075] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 179ms.
[00:02:22]               │ proc [kibana]   log   [18:56:52.114] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 71ms.
[00:02:22]               │ proc [kibana]   log   [18:56:52.115] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 237ms
[00:02:22]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:02:22]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:02:22]               │ proc [kibana]   log   [18:56:52.204] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 129ms.
[00:02:22]               │ proc [kibana]   log   [18:56:52.210] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 6ms.
[00:02:22]               │ proc [kibana]   log   [18:56:52.219] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 9ms.
[00:02:22]               │ proc [kibana]   log   [18:56:52.223] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:02:22]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] adding block write to indices [[.kibana_8.0.0_reindex_temp/EuZtvVOcQ-qZ0LbjWenvHA]]
[00:02:22]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:02:22]               │ proc [kibana]   log   [18:56:52.293] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 70ms.
[00:02:22]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:02:22]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:02:22]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:02:23]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_001/0juAhITuRyu4JF396efBEw] create_mapping
[00:02:23]               │ proc [kibana]   log   [18:56:52.429] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 136ms.
[00:02:23]               │ proc [kibana]   log   [18:56:52.433] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:02:23]               │ proc [kibana]   log   [18:56:52.438] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 5ms.
[00:02:23]               │ proc [kibana]   log   [18:56:52.467] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 29ms.
[00:02:23]               │ proc [kibana]   log   [18:56:52.471] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 4ms.
[00:02:23]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_001/0juAhITuRyu4JF396efBEw] update_mapping [_doc]
[00:02:23]               │ proc [kibana]   log   [18:56:52.566] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 95ms.
[00:02:23]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] 5929 finished with response BulkByScrollResponse[took=3.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:23]               │ proc [kibana]   log   [18:56:52.673] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 107ms.
[00:02:23]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_reindex_temp/EuZtvVOcQ-qZ0LbjWenvHA] deleting index
[00:02:23]               │ proc [kibana]   log   [18:56:52.728] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 55ms.
[00:02:23]               │ proc [kibana]   log   [18:56:52.729] [info][savedobjects-service] [.kibana] Migration completed after 854ms
[00:02:23]               │ debg [x-pack/test/functional/es_archives/empty_kibana] Migrated Kibana index after loading Kibana data
[00:02:24]               │ debg [x-pack/test/functional/es_archives/empty_kibana] Ensured that default space exists in .kibana
[00:02:24]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:02:24]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_8.0.0_001/0juAhITuRyu4JF396efBEw] update_mapping [_doc]
[00:02:26]               │ debg navigating to grokDebugger url: http://localhost:61121/app/dev_tools#/grokdebugger
[00:02:26]               │ debg navigate to: http://localhost:61121/app/dev_tools#/grokdebugger
[00:02:26]               │ debg browser[log] "^ 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:28]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:30]               │ debg currentUrl = http://localhost:61121/login?next=%2Fapp%2Fdev_tools%3F_t%3D1624388215395#/grokdebugger
[00:02:30]               │          appUrl = http://localhost:61121/app/dev_tools#/grokdebugger
[00:02:30]               │ debg TestSubjects.find(kibanaChrome)
[00:02:30]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:32]               │ debg Found login page
[00:02:32]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:02:32]               │ debg TestSubjects.click(loginUsername)
[00:02:32]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:32]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:33]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:02:33]               │ debg TestSubjects.click(loginPassword)
[00:02:33]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:33]               │ debg TestSubjects.click(loginSubmit)
[00:02:33]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:33]               │ proc [kibana]   log   [18:57:03.157] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:34]               │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:02:34]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:34]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:02:37]               │ debg Finished login process currentUrl = http://localhost:61121/app/dev_tools#/grokdebugger
[00:02:37]               │ debg browser[log] "Detected an unhandled Promise rejection.
[00:02:37]               │      TypeError: NetworkError when attempting to fetch resource."
[00:02:37]               │ debg ... sleep(501) start
[00:02:37]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:38]               │ debg ... sleep(501) end
[00:02:38]               │ debg in navigateTo url = http://localhost:61121/app/dev_tools#/grokdebugger
[00:02:38]               │ debg Waiting up to 20000ms for Grok Debugger to exist...
[00:02:38]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:02:40]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:02:41]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:02:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:02:45]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:02:47]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:02:48]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:48]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:02:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:02:52]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:02:54]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:02:55]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:02:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:02:59]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:02:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:01]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:02]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:06]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:08]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:09]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:12]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:13]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:15]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:16]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:19]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:20]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:22]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:23]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:26]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:27]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:29]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:30]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:30]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:33]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:34]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:37]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:38]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:40]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:41]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:45]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:48]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:49]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:52]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:55]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:56]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:03:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:03:59]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:03:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:02]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:03]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:07]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:09]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:10]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:13]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:14]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:16]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:17]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:20]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:21]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:23]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:24]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:27]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:28]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:30]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:31]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:34]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:35]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:37]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:38]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:41]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:42]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:45]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:48]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1624386636576805927] [.kibana_task_manager_8.0.0_001/Z552w8ouR6WKURJpFFbc0A] update_mapping [_doc]
[00:04:49]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:52]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:55]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:56]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:04:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:04:59]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:04:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:02]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:03]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:06]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:09]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:10]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:13]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:14]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:16]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:17]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:20]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:21]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:23]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:24]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:27]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:28]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:30]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:31]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:34]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:35]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:37]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:38]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:41]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:42]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:45]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:48]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:49]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:52]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:55]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:56]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:05:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:05:59]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:05:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:02]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:03]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:06]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:09]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:10]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:12]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:13]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:16]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:17]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:19]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:20]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:23]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:24]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:26]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:28]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:30]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:31]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:34]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:35]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:37]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:38]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:41]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:42]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:45]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:48]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:49]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:52]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:55]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:56]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:06:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:06:59]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:06:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:02]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:03]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:06]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:09]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:10]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:12]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:13]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:16]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:17]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:19]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:20]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:23]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:24]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:26]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:27]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:30]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:31]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:33]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:34]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:37]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:38]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:41]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:42]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:44]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:45]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:48]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:49]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:51]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:52]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:55]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:56]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:07:58]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:07:59]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:07:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:02]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:08:03]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:08:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:05]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:08:06]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:08:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:09]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:08:10]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:08:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:12]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:08:13]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:08:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:16]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:08:17]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:08:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:19]               │ debg --- retry.tryForTime error: [data-test-subj="grokDebuggerContainer"] is not displayed
[00:08:20]               │ debg TestSubjects.exists(grokDebuggerContainer)
[00:08:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="grokDebuggerContainer"]') with timeout=2500
[00:08:22]               └- ✖ fail: logstash grok debugger app "before all" hook in "grok debugger app"
[00:08:22]               │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/apps/grok_debugger/grok_debugger.js)
[00:08:22]               │       at listOnTimeout (internal/timers.js:555:17)
[00:08:22]               │       at processTimers (internal/timers.js:498:7)
[00:08:22]               │ 
[00:08:22]               │ 

Stack Trace

Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/apps/grok_debugger/grok_debugger.js)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
infra 1.7MB 1.7MB +199.0B

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

cc @afgomez

@afgomez afgomez requested a review from a team June 23, 2021 10:57
Copy link
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

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

Good fix and very helpful write-up of the problem. Looks good to me! 🚀

@afgomez afgomez enabled auto-merge (squash) June 23, 2021 13:51
@Kerry350 Kerry350 self-requested a review June 24, 2021 11:18
Copy link
Contributor

@Kerry350 Kerry350 left a comment

Choose a reason for hiding this comment

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

Fixes the issue 👍

@afgomez afgomez merged commit 1ef5a6a into elastic:master Jun 24, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 24, 2021
… component. (elastic#102980)

* Use better loading indicator for `useLogSource`

* Use clearer name for the loading entries flag

* Reuse query object if its value persists
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

@afgomez afgomez deleted the 99618-log-stream-loader-twice branch June 24, 2021 13:16
kibanamachine added a commit that referenced this pull request Jun 24, 2021
… component. (#102980) (#103269)

* Use better loading indicator for `useLogSource`

* Use clearer name for the loading entries flag

* Reuse query object if its value persists

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
@amolnater-qasource
Copy link

Hi @EricDavisX
We have revalidated this on 7.14.0 Snapshot and found it fixed now.

  • No flashes of data is displayed while loading of Logs tab.

Screen Recording:

Agents.-.Fleet.-.Elastic.-.Google.Chrome.2021-07-12.12-22-04.mp4

Build details:

Build: 42479
Commit: 7f950fbe0d37a576158ad19f5c7c8244628d67e6
Artifact Link: https://snapshots.elastic.co/7.14.0-9b23ec55/downloads/beats/elastic-agent/elastic-agent-7.14.0-SNAPSHOT-windows-x86_64.zip

Thanks
QAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Fleet Fleet team's agent central management project release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet UI]: Flash of logs is displayed before complete loading on navigating to Agent logs page.
6 participants