Skip to content

[7.x] Clean up inaccurate comments (#114935)#114947

Merged
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-114935
Oct 14, 2021
Merged

[7.x] Clean up inaccurate comments (#114935)#114947
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-114935

Conversation

@kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/discover/_indexpattern_without_timefield·ts.discover app indexpattern without timefield should switch between with and without timefield using the browser back button

Link to Jenkins

Standard Out

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

[00:00:00]     │
[00:10:11]       └-: discover app
[00:10:11]         └-> "before all" hook in "discover app"
[00:10:11]         └-> "before all" hook in "discover app"
[00:30:47]         └-: indexpattern without timefield
[00:30:47]           └-> "before all" hook for "should not display a timepicker"
[00:30:47]           └-> "before all" hook for "should not display a timepicker"
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Loading "mappings.json"
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Loading "data.json"
[00:30:47]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [without-timefield] creating index, cause [api], templates [], shards [1]/[0]
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Created index "without-timefield"
[00:30:47]             │ debg [test/functional/fixtures/es_archiver/index_pattern_without_timefield] "without-timefield" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:30:47]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [with-timefield] creating index, cause [api], templates [], shards [1]/[0]
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Created index "with-timefield"
[00:30:47]             │ debg [test/functional/fixtures/es_archiver/index_pattern_without_timefield] "with-timefield" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:30:47]             │ info [o.e.c.m.MetadataMappingService] [node-01] [with-timefield/RkVxSS2jQSKu4gw_6XypQg] update_mapping [_doc]
[00:30:47]             │ info [o.e.c.m.MetadataMappingService] [node-01] [without-timefield/vkccKoaeRgaWQTMmgmSUlQ] create_mapping [_doc]
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Indexed 1 docs into "without-timefield"
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Indexed 1 docs into "with-timefield"
[00:30:47]             │ info [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Indexed 2 docs into ".kibana"
[00:30:47]             │ debg Migrating saved objects
[00:30:47]             │ proc [kibana]   log   [04:12:08.423] [info][savedobjects-service] [.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.426] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 7ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.427] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.429] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.432] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 5ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.433] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 1ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.435] [info][savedobjects-service] [.kibana] Starting to process 2 documents.
[00:30:47]             │ proc [kibana]   log   [04:12:08.435] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_TRANSFORM. took: 6ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.436] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> TRANSFORMED_DOCUMENTS_BULK_INDEX. took: 1ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.440] [info][savedobjects-service] [.kibana] TRANSFORMED_DOCUMENTS_BULK_INDEX -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.443] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 10ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.445] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 5ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.447] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> OUTDATED_DOCUMENTS_REFRESH. took: 2ms.
[00:30:47]             │ info [o.e.t.LoggingTaskListener] [node-01] 27179 finished with response BulkByScrollResponse[took=13.4ms,timed_out=false,sliceId=null,updated=1,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:30:47]             │ proc [kibana]   log   [04:12:08.460] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_REFRESH -> UPDATE_TARGET_MAPPINGS. took: 13ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.502] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 42ms.
[00:30:47]             │ info [o.e.t.LoggingTaskListener] [node-01] 27208 finished with response BulkByScrollResponse[took=27.9ms,timed_out=false,sliceId=null,updated=47,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:30:47]             │ proc [kibana]   log   [04:12:08.546] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 103ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.547] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 127ms
[00:30:47]             │ proc [kibana]   log   [04:12:08.606] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 104ms.
[00:30:47]             │ proc [kibana]   log   [04:12:08.606] [info][savedobjects-service] [.kibana] Migration completed after 187ms
[00:30:47]             │ debg [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Migrated Kibana index after loading Kibana data
[00:30:47]             │ debg [test/functional/fixtures/es_archiver/index_pattern_without_timefield] Ensured that default space exists in .kibana
[00:30:47]             │ debg replacing kibana config doc: {"defaultIndex":"without-timefield","timepicker:timeDefaults":"{  \"from\": \"2019-01-18T19:37:13.000Z\",  \"to\": \"now\"}"}
[00:30:47]             │ debg navigating to discover url: http://localhost:6191/app/discover#/
[00:30:47]             │ debg navigate to: http://localhost:6191/app/discover#/
[00:30:48]             │ debg browser[INFO] http://localhost:6191/app/discover?_t=1634184728884#/ 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:30:48]             │
[00:30:48]             │ debg browser[INFO] http://localhost:6191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:48]             │ debg ... sleep(700) start
[00:30:49]             │ debg ... sleep(700) end
[00:30:49]             │ debg returned from get, calling refresh
[00:30:49]             │ debg browser[INFO] http://localhost:6191/app/discover?_t=1634184728884#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2019-01-18T19:37:13.000Z',to:now))&_a=(columns:!(),filters:!(),index:without-timefield,interval:auto,query:(language:kuery,query:''),sort:!()) 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:30:49]             │
[00:30:49]             │ debg browser[INFO] http://localhost:6191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:30:49]             │ debg currentUrl = http://localhost:6191/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272019-01-18T19:37:13.000Z%27,to:now))&_a=(columns:!(),filters:!(),index:without-timefield,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:30:49]             │          appUrl = http://localhost:6191/app/discover#/
[00:30:49]             │ debg TestSubjects.find(kibanaChrome)
[00:30:49]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:30:50]             │ debg ... sleep(501) start
[00:30:50]             │ debg ... sleep(501) end
[00:30:50]             │ debg in navigateTo url = http://localhost:6191/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272019-01-18T19:37:13.000Z%27,to:now))&_a=(columns:!(),filters:!(),index:without-timefield,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:30:50]           └-> should not display a timepicker
[00:30:50]             └-> "before each" hook: global before each for "should not display a timepicker"
[00:30:50]             │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:30:50]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=2500
[00:30:53]             │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:30:53]             └- ✓ pass  (3.0s)
[00:30:53]           └-> should adapt sidebar fields when switching
[00:30:53]             └-> "before each" hook: global before each for "should adapt sidebar fields when switching"
[00:30:53]             │ debg TestSubjects.click(indexPattern-switch-link)
[00:30:53]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:30:53]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:30:53]             │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'with-timefield')
[00:30:53]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:30:54]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="with-timefield"]') with timeout=10000
[00:30:54]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="with-timefield"]') with timeout=10000
[00:30:54]             │ debg isGlobalLoadingIndicatorVisible
[00:30:54]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:30:54]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:30:55]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:30:56]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:30:56]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:30:56]             │ debg TestSubjects.exists(field-@timestamp)
[00:30:56]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="field-@timestamp"]') with timeout=2500
[00:30:56]             │ debg TestSubjects.click(indexPattern-switch-link)
[00:30:56]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:30:56]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:30:56]             │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'without-timefield')
[00:30:56]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:30:56]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="without-timefield"]') with timeout=10000
[00:30:56]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="without-timefield"]') with timeout=10000
[00:30:56]             │ debg isGlobalLoadingIndicatorVisible
[00:30:56]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:30:56]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:30:58]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:30:58]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:30:58]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:30:58]             │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:30:58]             │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:30:58]             │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:30:58]             │ debg TestSubjects.exists(field-@timestamp)
[00:30:58]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="field-@timestamp"]') with timeout=2500
[00:31:01]             │ debg --- retry.tryForTime error: [data-test-subj="field-@timestamp"] is not displayed
[00:31:01]             └- ✓ pass  (8.3s)
[00:31:01]           └-> should display a timepicker after switching to an index pattern with timefield
[00:31:01]             └-> "before each" hook: global before each for "should display a timepicker after switching to an index pattern with timefield"
[00:31:01]             │ debg TestSubjects.click(indexPattern-switch-link)
[00:31:01]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:01]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:01]             │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'with-timefield')
[00:31:01]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:31:02]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="with-timefield"]') with timeout=10000
[00:31:02]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="with-timefield"]') with timeout=10000
[00:31:02]             │ debg isGlobalLoadingIndicatorVisible
[00:31:02]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:31:02]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:31:03]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:31:04]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:31:04]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:31:04]             │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:31:04]             │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:31:04]             │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:31:04]             │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:31:04]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=2500
[00:31:04]             └- ✓ pass  (2.6s)
[00:31:04]           └-> should switch between with and without timefield using the browser back button
[00:31:04]             └-> "before each" hook: global before each for "should switch between with and without timefield using the browser back button"
[00:31:04]             │ debg TestSubjects.click(indexPattern-switch-link)
[00:31:04]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:04]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:04]             │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'without-timefield')
[00:31:04]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:31:04]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="without-timefield"]') with timeout=10000
[00:31:04]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="without-timefield"]') with timeout=10000
[00:31:04]             │ debg isGlobalLoadingIndicatorVisible
[00:31:04]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:31:04]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:31:06]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:31:07]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:31:07]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:31:07]             │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:31:07]             │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:31:07]             │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:31:07]             │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:31:07]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=2500
[00:31:09]             │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:31:10]             │ debg TestSubjects.click(indexPattern-switch-link)
[00:31:10]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:10]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:10]             │ debg Find.setValue('[data-test-subj="indexPattern-switcher"] input', 'with-timefield')
[00:31:10]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] input') with timeout=10000
[00:31:10]             │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="with-timefield"]') with timeout=10000
[00:31:10]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="with-timefield"]') with timeout=10000
[00:31:10]             │ debg isGlobalLoadingIndicatorVisible
[00:31:10]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:31:10]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:31:12]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:31:12]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:31:12]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:31:12]             │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:31:12]             │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:31:12]             │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:31:12]             │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:31:12]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=2500
[00:31:12]             │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:31:12]             │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:31:12]             │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:31:12]             │ debg Waiting up to 5000ms for index pattern to have been switched back to "without-timefield"...
[00:31:12]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:12]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:12]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:13]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:13]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:13]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:13]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:13]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:13]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:14]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:14]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:14]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:14]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:14]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:14]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:15]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:15]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:15]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:15]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:15]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:15]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:16]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:16]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:16]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:16]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:16]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:16]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:17]             │ debg TestSubjects.getVisibleText(indexPattern-switch-link)
[00:31:17]             │ debg TestSubjects.find(indexPattern-switch-link)
[00:31:17]             │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:31:17]             │ info Taking screenshot "/dev/shm/workspace/parallel/9/kibana/test/functional/screenshots/failure/discover app indexpattern without timefield should switch between with and without timefield using the browser back button.png"
[00:31:18]             │ info Current URL is: http://localhost:6191/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272019-01-18T19:37:13.000Z%27,to:now))&_a=(columns:!(),filters:!(),index:without-timefield,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:31:18]             │ info Saving page source to: /dev/shm/workspace/parallel/9/kibana/test/functional/failure_debug/html/discover app indexpattern without timefield should switch between with and without timefield using the browser back button.html
[00:31:18]             └- ✖ fail: discover app indexpattern without timefield should switch between with and without timefield using the browser back button
[00:31:18]             │      Error: timed out waiting for index pattern to have been switched back to "without-timefield"
[00:31:18]             │       at onFailure (test/common/services/retry/retry_for_truthy.ts:39:13)
[00:31:18]             │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:59:13)
[00:31:18]             │       at retryForTruthy (test/common/services/retry/retry_for_truthy.ts:27:3)
[00:31:18]             │       at RetryService.waitForWithTimeout (test/common/services/retry/retry.ts:45:5)
[00:31:18]             │       at Context.<anonymous> (test/functional/apps/discover/_indexpattern_without_timefield.ts:80:7)
[00:31:18]             │       at Object.apply (node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:31:18]             │ 
[00:31:18]             │ 

Stack Trace

Error: timed out waiting for index pattern to have been switched back to "without-timefield"
    at onFailure (test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:59:13)
    at retryForTruthy (test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitForWithTimeout (test/common/services/retry/retry.ts:45:5)
    at Context.<anonymous> (test/functional/apps/discover/_indexpattern_without_timefield.ts:80:7)
    at Object.apply (node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

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

cc @jen-huang

@kibanamachine kibanamachine merged commit ec70ce6 into elastic:7.x Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants