Skip to content

Conversation

@gmmorris
Copy link
Contributor

Backports the following commits to 7.x:

This PR removes the use of ESO migration from alerting as we do not actually need this until the RBAC work lands, which should be 7.10.
This allows us to concentrate the challenges of introducing RBAC into one single release which hopefully will help us better mitigate potential regressions.
@gmmorris gmmorris added the backport This PR is a backport of another PR label Jul 28, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visual builder switch index patterns should be able to switch between index patterns

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:13:01]         └-: visualize app
[00:13:01]           └-> "before all" hook
[00:13:01]           └-> "before all" hook
[00:13:01]             │ debg Starting visualize before method
[00:13:01]             │ info [logstash_functional] Loading "mappings.json"
[00:13:01]             │ info [logstash_functional] Loading "data.json.gz"
[00:13:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:13:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:13:02]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:13:02]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:13:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:13:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:13:02]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:13:02]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:13:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:13:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:13:02]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:13:02]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:13:11]             │ info progress: 13796
[00:13:12]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:13:12]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:13:12]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:13:12]             │ info [long_window_logstash] Loading "mappings.json"
[00:13:12]             │ info [long_window_logstash] Loading "data.json.gz"
[00:13:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:13:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]]).
[00:13:12]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:13:12]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:13:22]             │ info progress: 12041
[00:13:23]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:13:24]             │ info [visualize] Loading "mappings.json"
[00:13:24]             │ info [visualize] Loading "data.json"
[00:13:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_1/BQfpmG5lRVe3saC18oiHBQ] deleting index
[00:13:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_2/C6vT3bGCRQevhBuN-WBj7A] deleting index
[00:13:24]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:13:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:13:24]             │ info [visualize] Created index ".kibana"
[00:13:24]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:13:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana/XccfKlw7QfOpD1nh5NIWGQ] update_mapping [_doc]
[00:13:24]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:13:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana/XccfKlw7QfOpD1nh5NIWGQ] update_mapping [_doc]
[00:13:24]             │ debg Migrating saved objects
[00:13:24]             │ proc [kibana]   log   [14:32:20.054] [info][savedobjects-service] Creating index .kibana_2.
[00:13:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:13:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] updating number_of_replicas to [0] for indices [.kibana_2]
[00:13:24]             │ proc [kibana]   log   [14:32:20.103] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:13:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:13:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] updating number_of_replicas to [0] for indices [.kibana_1]
[00:13:24]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] 9938 finished with response BulkByScrollResponse[took=21.3ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:13:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana/XccfKlw7QfOpD1nh5NIWGQ] deleting index
[00:13:24]             │ proc [kibana]   log   [14:32:20.427] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:13:24]             │ proc [kibana]   log   [14:32:20.440] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:13:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_2/dWYhXlTxS86xH8LRT_jfUA] update_mapping [_doc]
[00:13:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_2/dWYhXlTxS86xH8LRT_jfUA] update_mapping [_doc]
[00:13:24]             │ proc [kibana]   log   [14:32:20.501] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:13:24]             │ proc [kibana]   log   [14:32:20.539] [info][savedobjects-service] Finished in 486ms.
[00:13:24]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:13:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [.kibana_2/dWYhXlTxS86xH8LRT_jfUA] update_mapping [_doc]
[00:13:26]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:56]           └-: 
[00:13:56]             └-> "before all" hook
[00:13:56]             └-: visual builder
[00:13:56]               └-> "before all" hook
[00:17:41]               └-: switch index patterns
[00:17:41]                 └-> "before all" hook
[00:17:41]                 └-> should be able to switch between index patterns
[00:17:41]                   └-> "before each" hook: global before each
[00:17:41]                   └-> "before each" hook
[00:17:41]                     │ debg navigating to visualize url: http://localhost:6111/app/visualize#/
[00:17:41]                     │ debg navigate to: http://localhost:6111/app/visualize#/
[00:17:41]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:41]                     │ debg ... sleep(700) start
[00:17:42]                     │ debg ... sleep(700) end
[00:17:42]                     │ debg returned from get, calling refresh
[00:17:43]                     │ debg browser[info] "INFO: 2020-07-28T14:36:38Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:17:43]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:17:43]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:43]                     │ debg currentUrl = http://localhost:6111/app/visualize#/
[00:17:43]                     │          appUrl = http://localhost:6111/app/visualize#/
[00:17:43]                     │ debg TestSubjects.find(kibanaChrome)
[00:17:43]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:45]                     │ debg browser[info] "INFO: 2020-07-28T14:36:41Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:17:46]                     │ debg ... sleep(501) start
[00:17:46]                     │ debg ... sleep(501) end
[00:17:46]                     │ debg in navigateTo url = http://localhost:6111/app/visualize#/
[00:17:46]                     │ debg TestSubjects.exists(statusPageContainer)
[00:17:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:49]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:49]                     │ debg TestSubjects.exists(newItemButton)
[00:17:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:17:52]                     │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:17:59]                     │ debg TestSubjects.click(newItemButton)
[00:17:59]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:17:59]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:18:00]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:18:00]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:18:00]                     │ debg TestSubjects.click(visType-metrics)
[00:18:00]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:18:00]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:18:00]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:00]                     │ debg isGlobalLoadingIndicatorVisible
[00:18:00]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:03]                     │ debg browser[info] "INFO: 2020-07-28T14:36:58Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:18:03]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:03]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:03]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:04]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:18:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:18:04]                   └-> "before each" hook
[00:18:04]                     │ debg Load kibana_sample_data_flights data
[00:18:04]                     │ info [kibana_sample_data_flights] Loading "mappings.json"
[00:18:04]                     │ info [kibana_sample_data_flights] Loading "data.json.gz"
[00:18:04]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] [kibana_sample_data_flights] creating index, cause [api], templates [], shards [1]/[0]
[00:18:04]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1595944959953077377] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_flights][0]]]).
[00:18:04]                     │ info [kibana_sample_data_flights] Created index "kibana_sample_data_flights"
[00:18:04]                     │ debg [kibana_sample_data_flights] "kibana_sample_data_flights" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:18:07]                     │ info [kibana_sample_data_flights] Indexed 13059 docs into "kibana_sample_data_flights"
[00:18:07]                     │ debg navigateToActualUrl http://localhost:6111/app/visualize#create?type=metrics
[00:18:07]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:07]                     │ debg currentUrl = http://localhost:6111/app/visualize#create?type=metrics
[00:18:07]                     │          appUrl = http://localhost:6111/app/visualize#create?type=metrics
[00:18:07]                     │ debg TestSubjects.find(kibanaChrome)
[00:18:07]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:09]                     │ debg browser[info] "INFO: 2020-07-28T14:37:04Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:18:09]                     │ debg Wait for initializing TSVB editor
[00:18:09]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:18:09]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:18:12]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:18:15]                     │ debg --- retry.tryForTime failed again with the same message...
[00:18:21]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:18:21]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:18:21]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:18:21]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:18:21]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:21]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:21]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:18:21]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:21]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:22]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:22]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:22]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:22]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:22]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:22]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:22]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:22]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:22]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:22]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:22]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:22]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:23]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:23]                     │ debg ... sleep(500) start
[00:18:24]                     │ debg ... sleep(500) end
[00:18:24]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:24]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:24]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:24]                     │ debg Find.waitForElementStale with timeout=10000
[00:18:24]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:24]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:24]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:24]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:25]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:25]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:25]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:26]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:28]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:29]                     │ debg TestSubjects.click(querySubmitButton)
[00:18:29]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:29]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:29]                     │ debg Find.waitForElementStale with timeout=10000
[00:18:29]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:29]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:29]                     │ debg ... sleep(2000) start
[00:18:31]                     │ debg ... sleep(2000) end
[00:18:31]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:18:31]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:18:31]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:18:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:18:32]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:18:32]                   │ debg TestSubjects.find(visualizationLoader)
[00:18:32]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:18:32]                   │ debg -- firstCount=3
[00:18:32]                   │ debg ... sleep(1000) start
[00:18:33]                   │ debg ... sleep(1000) end
[00:18:33]                   │ debg TestSubjects.find(visualizationLoader)
[00:18:33]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:18:33]                   │ debg -- secondCount=3
[00:18:33]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:18:33]                   │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:18:33]                   │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:18:33]                   │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:18:33]                   │ debg isGlobalLoadingIndicatorVisible
[00:18:33]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:35]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:35]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:35]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:35]                   │ debg Setting absolute range to Oct 22, 2018 @ 00:00:00.000 to Oct 28, 2018 @ 23:59:59.999
[00:18:35]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:18:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:18:35]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:38]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:18:38]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:38]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:38]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:38]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:39]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:39]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:39]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:39]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:39]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:39]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                   │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:39]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:40]                   │ debg ... sleep(500) start
[00:18:40]                   │ debg ... sleep(500) end
[00:18:40]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:40]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:40]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:41]                   │ debg Find.waitForElementStale with timeout=10000
[00:18:41]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:41]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:41]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:41]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:41]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:41]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:41]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:41]                   │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:41]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:42]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:44]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:45]                   │ debg TestSubjects.click(querySubmitButton)
[00:18:45]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:45]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:45]                   │ debg Find.waitForElementStale with timeout=10000
[00:18:45]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:45]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:45]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:18:45]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:18:46]                   │ debg isGlobalLoadingIndicatorVisible
[00:18:46]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:46]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:46]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:46]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:18:46]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:18:46]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:18:47]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:18:47]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:18:47]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:18:47]                   │ debg comboBox.setElement, value: timestamp
[00:18:47]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:18:49]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:18:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:18:49]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:18:51]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:19:01]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:19:01]                   │      Wait timed out after 10014ms
[00:19:02]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:02]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:02]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:02]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:19:02]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:02]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:02]                   │ debg comboBox.setElement, value: timestamp
[00:19:02]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:19:04]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:19:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:19:04]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:19:07]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:19:17]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:19:17]                   │      Wait timed out after 10010ms
[00:19:17]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:17]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:17]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:17]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:19:17]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:17]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:17]                   │ debg comboBox.setElement, value: timestamp
[00:19:17]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:19:19]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:19:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:19:19]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:19:22]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:19:32]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:19:32]                   │      Wait timed out after 10100ms
[00:19:33]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:33]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:33]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:08]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:08]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:08]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:08]                   │ debg comboBox.setElement, value: timestamp
[00:20:08]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:10]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:11]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:13]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:23]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:23]                   │      Wait timed out after 10105ms
[00:20:24]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:20:24]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:24]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:24]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:24]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:24]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:24]                   │ debg comboBox.setElement, value: timestamp
[00:20:24]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:26]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:26]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:29]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:39]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:39]                   │      Wait timed out after 10011ms
[00:20:39]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:20:39]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:39]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:39]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:39]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:39]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:39]                   │ debg comboBox.setElement, value: timestamp
[00:20:39]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:41]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:41]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:44]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:54]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:54]                   │      Wait timed out after 10012ms
[00:20:54]                   │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:54]                   │      Wait timed out after 10012ms
[00:20:54]                   │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:20:54]                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:20:55]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  visual builder switch index patterns should be able to switch between index patterns.png"
[00:20:55]                   │ info Current URL is: http://localhost:6111/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272018-10-22T00:00:00.000Z%27,to:%272018-10-28T23:59:59.999Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,background_color_rules:!((id:dbcef7c0-d0df-11ea-a975-1327a47461a7)),default_index_pattern:%27logstash-*%27,default_timefield:%27@timestamp%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:kibana_sample_data_flights,interval:%27%27,isModelInvalid:!f,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:count)),point_size:1,separate_axis:0,split_color_mode:kibana,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27%27,tooltip_mode:show_all,type:metric),title:%27%27,type:metrics))
[00:20:55]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  visual builder switch index patterns should be able to switch between index patterns.html
[00:20:55]                   └- ✖ fail: visualize app  visual builder switch index patterns should be able to switch between index patterns
[00:20:55]                   │      retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:55]                   │ Wait timed out after 10012ms
[00:20:55]                   │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:20:55]                   │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:20:55]                   │     at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:20:55]                   │     at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:20:55]                   │   Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:55]                   │   Wait timed out after 10012ms
[00:20:55]                   │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:20:55]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:20:55]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:20:55]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:20:55]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:20:55]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:20:55]                   │ 
[00:20:55]                   │ 

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
Wait timed out after 10012ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

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

@gmmorris gmmorris merged commit b7a561a into elastic:7.x Jul 28, 2020
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