Skip to content

[7.x] [Metrics UI] Fix No Data in Inventory alerts/Snapshot API (#72513)#73700

Merged
Zacqary merged 2 commits intoelastic:7.xfrom
Zacqary:backport/7.x/pr-72513
Jul 31, 2020
Merged

[7.x] [Metrics UI] Fix No Data in Inventory alerts/Snapshot API (#72513)#73700
Zacqary merged 2 commits intoelastic:7.xfrom
Zacqary:backport/7.x/pr-72513

Conversation

@Zacqary
Copy link
Copy Markdown
Contributor

@Zacqary Zacqary commented Jul 29, 2020

Backports the following commits to 7.x:

)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@Zacqary Zacqary added the backport This PR is a backport of another PR label Jul 29, 2020
@Zacqary Zacqary closed this Jul 29, 2020
@Zacqary Zacqary reopened this Jul 29, 2020
@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 29, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
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:07]         └-: visualize app
[00:13:07]           └-> "before all" hook
[00:13:07]           └-> "before all" hook
[00:13:07]             │ debg Starting visualize before method
[00:13:07]             │ info [logstash_functional] Loading "mappings.json"
[00:13:07]             │ info [logstash_functional] Loading "data.json.gz"
[00:13:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:13:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:13:07]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:13:07]             │ 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:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:13:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:13:07]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:13:07]             │ 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:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:13:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:13:07]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:13:07]             │ 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:17]             │ info progress: 12943
[00:13:18]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:13:18]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:13:18]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:13:18]             │ info [long_window_logstash] Loading "mappings.json"
[00:13:18]             │ info [long_window_logstash] Loading "data.json.gz"
[00:13:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:13:18]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]]).
[00:13:18]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:13:18]             │ 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:28]             │ info progress: 11138
[00:13:31]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:13:31]             │ info [visualize] Loading "mappings.json"
[00:13:31]             │ info [visualize] Loading "data.json"
[00:13:31]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_2/NwUFGe9QSh62-PMDer_2YA] deleting index
[00:13:31]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_1/W7iSg-RWSEKAkbYLDvyI2w] deleting index
[00:13:31]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:13:31]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]             │ info [visualize] Created index ".kibana"
[00:13:31]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:13:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana/NDyRfR5FRzSkSlehAjX9-g] update_mapping [_doc]
[00:13:31]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:13:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana/NDyRfR5FRzSkSlehAjX9-g] update_mapping [_doc]
[00:13:31]             │ debg Migrating saved objects
[00:13:31]             │ proc [kibana]   log   [18:18:09.738] [info][savedobjects-service] Creating index .kibana_2.
[00:13:31]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] updating number_of_replicas to [0] for indices [.kibana_2]
[00:13:31]             │ proc [kibana]   log   [18:18:09.783] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:13:31]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:13:31]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] updating number_of_replicas to [0] for indices [.kibana_1]
[00:13:31]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] 10145 finished with response BulkByScrollResponse[took=24.8ms,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:31]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana/NDyRfR5FRzSkSlehAjX9-g] deleting index
[00:13:31]             │ proc [kibana]   log   [18:18:10.103] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:13:31]             │ proc [kibana]   log   [18:18:10.115] [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:32]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_2/fWvhWdUvRva-8GwInVdacg] update_mapping [_doc]
[00:13:32]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_2/fWvhWdUvRva-8GwInVdacg] update_mapping [_doc]
[00:13:32]             │ proc [kibana]   log   [18:18:10.176] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:13:32]             │ proc [kibana]   log   [18:18:10.212] [info][savedobjects-service] Finished in 475ms.
[00:13:32]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:13:32]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [.kibana_2/fWvhWdUvRva-8GwInVdacg] update_mapping [_doc]
[00:13:33]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:14:04]           └-: 
[00:14:04]             └-> "before all" hook
[00:14:04]             └-: visual builder
[00:14:04]               └-> "before all" hook
[00:17:47]               └-: switch index patterns
[00:17:47]                 └-> "before all" hook
[00:17:47]                 └-> should be able to switch between index patterns
[00:17:47]                   └-> "before each" hook: global before each
[00:17:47]                   └-> "before each" hook
[00:17:47]                     │ debg navigating to visualize url: http://localhost:6111/app/visualize#/
[00:17:47]                     │ debg navigate to: http://localhost:6111/app/visualize#/
[00:17:47]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:47]                     │ debg ... sleep(700) start
[00:17:48]                     │ debg ... sleep(700) end
[00:17:48]                     │ debg returned from get, calling refresh
[00:17:53]                     │ debg browser[info] "INFO: 2020-07-29T18:22:31Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:17:53]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:17:53]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:53]                     │ debg currentUrl = http://localhost:6111/app/visualize#/
[00:17:53]                     │          appUrl = http://localhost:6111/app/visualize#/
[00:17:53]                     │ debg TestSubjects.find(kibanaChrome)
[00:17:53]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:17]                     │ debg browser[info] "INFO: 2020-07-29T18:22:55Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:18:18]                     │ debg ... sleep(501) start
[00:18:18]                     │ debg ... sleep(501) end
[00:18:18]                     │ debg in navigateTo url = http://localhost:6111/app/visualize#/
[00:18:18]                     │ debg TestSubjects.exists(statusPageContainer)
[00:18:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:18:21]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:18:22]                     │ debg TestSubjects.exists(newItemButton)
[00:18:22]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:18:22]                     │ debg TestSubjects.click(newItemButton)
[00:18:22]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:18:22]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:18:22]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:18:22]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:18:22]                     │ debg TestSubjects.click(visType-metrics)
[00:18:22]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:18:22]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:18:23]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:23]                     │ debg isGlobalLoadingIndicatorVisible
[00:18:23]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:25]                     │ debg browser[info] "INFO: 2020-07-29T18:23:03Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:18:25]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:26]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:26]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:26]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:18:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:18:27]                   └-> "before each" hook
[00:18:27]                     │ debg Load kibana_sample_data_flights data
[00:18:27]                     │ info [kibana_sample_data_flights] Loading "mappings.json"
[00:18:27]                     │ info [kibana_sample_data_flights] Loading "data.json.gz"
[00:18:27]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] [kibana_sample_data_flights] creating index, cause [api], templates [], shards [1]/[0]
[00:18:27]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596044914610725074] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_flights][0]]]).
[00:18:27]                     │ info [kibana_sample_data_flights] Created index "kibana_sample_data_flights"
[00:18:27]                     │ debg [kibana_sample_data_flights] "kibana_sample_data_flights" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:18:30]                     │ info [kibana_sample_data_flights] Indexed 13059 docs into "kibana_sample_data_flights"
[00:18:30]                     │ debg navigateToActualUrl http://localhost:6111/app/visualize#create?type=metrics
[00:18:30]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:30]                     │ debg currentUrl = http://localhost:6111/app/visualize#create?type=metrics
[00:18:30]                     │          appUrl = http://localhost:6111/app/visualize#create?type=metrics
[00:18:30]                     │ debg TestSubjects.find(kibanaChrome)
[00:18:30]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:31]                     │ debg browser[info] "INFO: 2020-07-29T18:23:10Z\n  Adding connection to http://localhost:6111/elasticsearch\n\n"
[00:18:32]                     │ debg Wait for initializing TSVB editor
[00:18:32]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:18:32]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:18:35]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:18:35]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[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:35]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:18:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:35]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:35]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:36]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:36]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:36]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:36]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:37]                     │ debg ... sleep(500) start
[00:18:37]                     │ debg ... sleep(500) end
[00:18:37]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:37]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:37]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:38]                     │ debg Find.waitForElementStale with timeout=10000
[00:18:38]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:38]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:38]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:38]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:38]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:38]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:38]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:38]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:38]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:41]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:42]                     │ debg TestSubjects.click(querySubmitButton)
[00:18:42]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:42]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:42]                     │ debg Find.waitForElementStale with timeout=10000
[00:18:42]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:42]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:42]                     │ debg ... sleep(2000) start
[00:18:44]                     │ debg ... sleep(2000) end
[00:18:44]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:18:44]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:18:45]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:18:45]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:18:45]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:18:45]                   │ debg TestSubjects.find(visualizationLoader)
[00:18:45]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:18:45]                   │ debg -- firstCount=3
[00:18:45]                   │ debg ... sleep(1000) start
[00:18:46]                   │ debg ... sleep(1000) end
[00:18:46]                   │ debg TestSubjects.find(visualizationLoader)
[00:18:46]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:18:46]                   │ debg -- secondCount=3
[00:18:46]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:18:46]                   │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:18:46]                   │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:18:46]                   │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') 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:48]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:48]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:48]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:48]                   │ debg Setting absolute range to Oct 22, 2018 @ 00:00:00.000 to Oct 28, 2018 @ 23:59:59.999
[00:18:48]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:18:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:18:48]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:51]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:18:51]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:51]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:51]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:51]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:52]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:52]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:52]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:52]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:52]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:52]                   │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:52]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:53]                   │ debg ... sleep(500) start
[00:18:53]                   │ debg ... sleep(500) end
[00:18:53]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:53]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:53]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:54]                   │ debg Find.waitForElementStale with timeout=10000
[00:18:54]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:54]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:54]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:54]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:54]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:54]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:54]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:54]                   │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:18:54]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:55]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:57]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:58]                   │ debg TestSubjects.click(querySubmitButton)
[00:18:58]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:58]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:58]                   │ debg Find.waitForElementStale with timeout=10000
[00:18:58]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:58]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:58]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:18:58]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:18:59]                   │ debg isGlobalLoadingIndicatorVisible
[00:18:59]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:59]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:59]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:00]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:00]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:00]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:00]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:19:00]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:00]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:00]                   │ debg comboBox.setElement, value: timestamp
[00:19:00]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:19:02]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:19:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:19:02]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:19:05]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:19:15]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:19:15]                   │      Wait timed out after 10051ms
[00:19:15]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:15]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:15]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:15]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:19:15]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:15]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:15]                   │ debg comboBox.setElement, value: timestamp
[00:19:15]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:19:18]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:19:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:19:18]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:19:20]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:19:30]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:19:30]                   │      Wait timed out after 10009ms
[00:19:31]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:31]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:31]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:31]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:19:31]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:31]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:31]                   │ debg comboBox.setElement, value: timestamp
[00:19:31]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:19:33]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:19:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:19:33]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:19:35]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:19:45]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:19:45]                   │      Wait timed out after 10006ms
[00:19:46]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:19:46]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:46]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:46]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:19:46]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:19:46]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:19:46]                   │ debg comboBox.setElement, value: timestamp
[00:19:46]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:19:48]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:19:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:19:48]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:19:51]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:01]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:01]                   │      Wait timed out after 10005ms
[00:20:01]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:20:01]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:01]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:01]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:01]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:01]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:01]                   │ debg comboBox.setElement, value: timestamp
[00:20:01]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:03]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:04]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:06]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:16]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:16]                   │      Wait timed out after 10014ms
[00:20:17]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:20:17]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:17]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:17]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:17]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:17]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:17]                   │ debg comboBox.setElement, value: timestamp
[00:20:17]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:19]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:19]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:21]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:31]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:31]                   │      Wait timed out after 10006ms
[00:20:32]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:20:32]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:32]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:32]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:32]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:32]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:32]                   │ debg comboBox.setElement, value: timestamp
[00:20:32]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:34]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:34]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:37]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:20:47]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:20:47]                   │      Wait timed out after 10009ms
[00:20:47]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:20:47]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:47]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:47]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:20:47]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:20:47]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:20:47]                   │ debg comboBox.setElement, value: timestamp
[00:20:47]                   │ debg comboBox.isOptionSelected, value: timestamp
[00:20:49]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:20:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:20:49]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="timestamp"]') with timeout=2500
[00:20:52]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:21:02]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:21:02]                   │      Wait timed out after 10008ms
[00:21:02]                   │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:21:02]                   │      Wait timed out after 10008ms
[00:21:02]                   │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:21:02]                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:21:03]                   │ 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:21:03]                   │ 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:%27961849e0-d1c8-11ea-8197-e1789eaf38d3%27)),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:21:03]                   │ 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:21:03]                   └- ✖ fail: visualize app  visual builder switch index patterns should be able to switch between index patterns
[00:21:03]                   │      retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:21:03]                   │ Wait timed out after 10008ms
[00:21:03]                   │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:21:03]                   │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:21:03]                   │     at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:21:03]                   │     at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:21:03]                   │   Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:21:03]                   │   Wait timed out after 10008ms
[00:21:03]                   │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:21:03]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:21:03]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:21:03]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:21:03]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:21:03]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:21:03]                   │ 
[00:21:03]                   │ 

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 10008ms
    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

History

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

@Zacqary Zacqary merged commit 455835f into elastic:7.x Jul 31, 2020
@Zacqary Zacqary deleted the backport/7.x/pr-72513 branch July 31, 2020 03:42
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.

3 participants