Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Fixes raw data drilldowns for Apache, Nginx, Auditbeat modules #73280

Merged

Conversation

peteharverson
Copy link
Contributor

Summary

Fixes the links to Kibana Discover for the 'Raw data' custom URLs for several of the data recognizer modules.

  • apache_ecs
  • auditbeat_process_docker_ecs
  • auditbeat_process_hosts_ecs
  • nginx_ecs

Previously the URLs were of the form e.g. discover#/ml_http_access_filebeat_ecs?_g=... , containing an unnecessary ml_http_access_filebeat_ecs in the path, which now causes the window to redirect to the Kibana home page. The stray parts of the path e.g. ml_http_access_filebeat_ecs have now been removed to leave the URL in the correct form of discover#/?_g=...

Fixes #72835

@peteharverson peteharverson added review :ml Feature:Anomaly Detection ML anomaly detection v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v7.9.0 labels Jul 27, 2020
@peteharverson peteharverson requested a review from walterra July 27, 2020 14:03
@peteharverson peteharverson requested a review from a team as a code owner July 27, 2020 14:03
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

LGTM

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Anomaly Detection ML anomaly detection :ml release_note:skip Skip the PR/issue when compiling release notes review v7.9.0 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ML] Raw data link in module jobs leads to Kibana home instead of Discover
4 participants