Skip to content

[Ingest Manager] add meta "managed" to index templates#71135

Merged
neptunian merged 1 commit intoelastic:masterfrom
neptunian:add-managed-templates
Jul 8, 2020
Merged

[Ingest Manager] add meta "managed" to index templates#71135
neptunian merged 1 commit intoelastic:masterfrom
neptunian:add-managed-templates

Conversation

@neptunian
Copy link
Copy Markdown
Contributor

@neptunian neptunian commented Jul 8, 2020

https://github.com/elastic/elasticsearch-team-planning/issues/80#issuecomment-655562178

Adds the managed attribute to the meta field of index templates. This is necessary to distinguish which index templates are being managed, in our case by Ingest Manager.

Test

  • Install a package
  • Navigate to Stack Management -> Index Management -> Index Templates tab
  • All the associated index templates should have the "Managed" badge

Example of index templates after installing the aws package:
Screen Shot 2020-07-08 at 2 07 54 PM

@neptunian neptunian added v8.0.0 v7.9.0 Team:Fleet Team label for Observability Data Collection Fleet team labels Jul 8, 2020
@neptunian neptunian requested a review from a team July 8, 2020 18:09
@neptunian neptunian self-assigned this Jul 8, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@neptunian neptunian added the release_note:skip Skip the PR/issue when compiling release notes label Jul 8, 2020
Copy link
Copy Markdown
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

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

🚀

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visual builder metric should populate fields for basic functions

Link to Jenkins

Standard Out

[00:00:00]       │
[00:12:21]         └-: visualize app
[00:12:21]           └-> "before all" hook
[00:12:21]           └-> "before all" hook
[00:12:21]             │ debg Starting visualize before method
[00:12:21]             │ info [logstash_functional] Loading "mappings.json"
[00:12:21]             │ info [logstash_functional] Loading "data.json.gz"
[00:12:21]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:12:21]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] 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:21]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:12:21]             │ 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:21]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:12:21]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] 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:21]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:12:21]             │ 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:21]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:12:21]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] 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:21]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:12:21]             │ 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:31]             │ info progress: 13545
[00:12:31]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:31]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:31]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:31]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:31]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:31]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:31]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] 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:31]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:31]             │ 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:41]             │ info progress: 12041
[00:12:43]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:12:43]             │ info [visualize] Loading "mappings.json"
[00:12:43]             │ info [visualize] Loading "data.json"
[00:12:43]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_1/C_8Cy4-KTrmpb1TqWGnQTg] deleting index
[00:12:43]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_2/l60KuBFSRMmpuK4HKfWOSQ] deleting index
[00:12:44]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:44]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:44]             │ info [visualize] Created index ".kibana"
[00:12:44]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:44]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana/KWrfKnxwScGksXx2i49H4w] update_mapping [_doc]
[00:12:44]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:12:44]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana/KWrfKnxwScGksXx2i49H4w] update_mapping [_doc]
[00:12:44]             │ debg Migrating saved objects
[00:12:44]             │ proc [kibana]   log   [18:45:12.287] [info][savedobjects-service] Creating index .kibana_2.
[00:12:44]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:44]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:44]             │ proc [kibana]   log   [18:45:12.354] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:44]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:44]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:44]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] 9045 finished with response BulkByScrollResponse[took=49.6ms,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:44]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana/KWrfKnxwScGksXx2i49H4w] deleting index
[00:12:44]             │ proc [kibana]   log   [18:45:12.725] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:44]             │ proc [kibana]   log   [18:45:12.743] [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:44]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_2/oeDutiXlT62qm5a_5tSCRw] update_mapping [_doc]
[00:12:44]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_2/oeDutiXlT62qm5a_5tSCRw] update_mapping [_doc]
[00:12:44]             │ proc [kibana]   log   [18:45:12.857] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:44]             │ proc [kibana]   log   [18:45:12.930] [info][savedobjects-service] Finished in 646ms.
[00:12:44]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:44]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1594231803917820703] [.kibana_2/oeDutiXlT62qm5a_5tSCRw] update_mapping [_doc]
[00:12:46]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:16]           └-: 
[00:13:16]             └-> "before all" hook
[00:13:16]             └-: visual builder
[00:13:16]               └-> "before all" hook
[00:13:16]               └-: metric
[00:13:16]                 └-> "before all" hook
[00:13:16]                 └-> should not have inspector enabled
[00:13:16]                   └-> "before each" hook: global before each
[00:13:16]                   └-> "before each" hook
[00:13:16]                     │ debg navigating to visualize url: http://localhost:61221/app/visualize#/
[00:13:16]                     │ debg navigate to: http://localhost:61221/app/visualize#/
[00:13:16]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:16]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:16]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:17]                     │ debg ... sleep(700) start
[00:13:17]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:17]                     │ debg ... sleep(700) end
[00:13:17]                     │ debg returned from get, calling refresh
[00:13:19]                     │ debg browser[info] "INFO: 2020-07-08T18:45:47Z
[00:13:19]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:13:19]                     │
[00:13:19]                     │      "
[00:13:19]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:19]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:19]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:19]                     │ debg currentUrl = http://localhost:61221/app/visualize#/
[00:13:19]                     │          appUrl = http://localhost:61221/app/visualize#/
[00:13:19]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:19]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:20]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:21]                     │ debg browser[info] "INFO: 2020-07-08T18:45:49Z
[00:13:21]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:13:21]                     │
[00:13:21]                     │      "
[00:13:21]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:22]                     │ debg browser[debug] "Reporting user-agent."
[00:13:22]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:22]                     │ debg ... sleep(501) start
[00:13:22]                     │ debg ... sleep(501) end
[00:13:22]                     │ debg in navigateTo url = http://localhost:61221/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:22]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:23]                     │ debg ... sleep(501) start
[00:13:23]                     │ debg ... sleep(501) end
[00:13:23]                     │ debg in navigateTo url = http://localhost:61221/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:23]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:26]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:26]                     │ debg TestSubjects.exists(newItemButton)
[00:13:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:13:26]                     │ debg TestSubjects.click(newItemButton)
[00:13:26]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:26]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:27]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:27]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:27]                     │ debg TestSubjects.click(visType-metrics)
[00:13:27]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:27]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:27]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:13:27]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:13:27]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:27]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:27]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:27]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:27]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:27]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:28]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:30]                     │ debg browser[info] "INFO: 2020-07-08T18:45:58Z
[00:13:30]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:13:30]                     │
[00:13:30]                     │      "
[00:13:30]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:30]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:30]                     │ debg browser[debug] "Reporting user-agent."
[00:13:31]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:31]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:31]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:31]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:32]                   └-> "before each" hook
[00:13:32]                     │ debg navigateToActualUrl http://localhost:61221/app/visualize#create?type=metrics
[00:13:32]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:32]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:32]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:32]                     │ debg currentUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:13:32]                     │          appUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:13:32]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:32]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:32]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:34]                     │ debg browser[info] "INFO: 2020-07-08T18:46:02Z
[00:13:34]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:13:34]                     │
[00:13:34]                     │      "
[00:13:34]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:35]                     │ debg browser[debug] "Reporting user-agent."
[00:13:35]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:35]                     │ debg Wait for initializing TSVB editor
[00:13:35]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:36]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:13:36]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:13:36]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:13:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:13:36]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:13:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:13:36]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:13:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:36]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:13:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:13:36]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:13:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:37]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:37]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:37]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:37]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:37]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:37]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:37]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:38]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:38]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:39]                     │ debg ... sleep(500) start
[00:13:39]                     │ debg ... sleep(500) end
[00:13:39]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:13:39]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:39]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:40]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:40]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:40]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:40]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:40]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:40]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:40]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:40]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:40]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:40]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:41]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:13:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:13:43]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:13:44]                     │ debg TestSubjects.click(querySubmitButton)
[00:13:44]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:44]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:45]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:45]                     │ debg Firefox stdout: 1594233973211	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:13:45]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:13:45]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:13:45]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:13:45]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:13:45]                     │
[00:13:45]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:45]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:45]                     │ debg ... sleep(2000) start
[00:13:47]                     │ debg ... sleep(2000) end
[00:13:47]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:13:47]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:13:47]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:13:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:13:47]                   │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:13:47]                   │ debg TestSubjects.find(openInspectorButton)
[00:13:47]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:13:47]                   └- ✓ pass  (25ms) "visualize app  visual builder metric should not have inspector enabled"
[00:13:47]                 └-> should show correct data
[00:13:47]                   └-> "before each" hook: global before each
[00:13:47]                   └-> "before each" hook
[00:13:47]                     │ debg navigating to visualize url: http://localhost:61221/app/visualize#/
[00:13:47]                     │ debg navigate to: http://localhost:61221/app/visualize#/
[00:13:47]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:47]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:47]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:48]                     │ debg ... sleep(700) start
[00:13:48]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:48]                     │ debg ... sleep(700) end
[00:13:48]                     │ debg returned from get, calling refresh
[00:13:50]                     │ debg browser[info] "INFO: 2020-07-08T18:46:18Z
[00:13:50]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:13:50]                     │
[00:13:50]                     │      "
[00:13:50]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:50]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:50]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:50]                     │ debg currentUrl = http://localhost:61221/app/visualize#/
[00:13:50]                     │          appUrl = http://localhost:61221/app/visualize#/
[00:13:50]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:50]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:51]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:52]                     │ debg browser[info] "INFO: 2020-07-08T18:46:20Z
[00:13:52]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:13:52]                     │
[00:13:52]                     │      "
[00:13:52]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:53]                     │ debg browser[debug] "Reporting user-agent."
[00:13:53]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:53]                     │ debg ... sleep(501) start
[00:13:54]                     │ debg ... sleep(501) end
[00:13:54]                     │ debg in navigateTo url = http://localhost:61221/app/visualize#/
[00:13:54]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:54]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:56]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:57]                     │ debg TestSubjects.exists(newItemButton)
[00:13:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:13:58]                     │ debg TestSubjects.click(newItemButton)
[00:13:58]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:58]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:59]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:59]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:59]                     │ debg TestSubjects.click(visType-metrics)
[00:13:59]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:59]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:00]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:14:00]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:14:00]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:00]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:00]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:00]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:00]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:00]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:01]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:02]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:02]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:02]                     │ debg browser[info] "INFO: 2020-07-08T18:46:30Z
[00:14:02]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:14:02]                     │
[00:14:02]                     │      "
[00:14:02]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:02]                     │ debg browser[debug] "Reporting user-agent."
[00:14:02]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:08]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:08]                   └-> "before each" hook
[00:14:08]                     │ debg navigateToActualUrl http://localhost:61221/app/visualize#create?type=metrics
[00:14:08]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:08]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:08]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:09]                     │ debg currentUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:14:09]                     │          appUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:14:09]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:09]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:09]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:10]                     │ debg browser[info] "INFO: 2020-07-08T18:46:39Z
[00:14:10]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:14:10]                     │
[00:14:10]                     │      "
[00:14:11]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:11]                     │ debg browser[debug] "Reporting user-agent."
[00:14:11]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:11]                     │ debg Wait for initializing TSVB editor
[00:14:11]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:12]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:12]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:12]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:12]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:12]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:12]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:12]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:13]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:13]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:13]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:13]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:13]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:13]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:13]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:13]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:14]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:14]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:14]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:14]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:14]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:15]                     │ debg ... sleep(500) start
[00:14:16]                     │ debg ... sleep(500) end
[00:14:16]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:16]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:16]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:16]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:16]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:16]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:16]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:16]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:16]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:16]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:16]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:17]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:18]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:20]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:21]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:21]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:21]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:22]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:22]                     │ debg Firefox stdout: 1594234010392	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:22]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:22]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:22]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:22]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:22]                     │
[00:14:22]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:22]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:22]                     │ debg ... sleep(2000) start
[00:14:24]                     │ debg ... sleep(2000) end
[00:14:24]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:24]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:25]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:25]                     │ debg Firefox stdout: 1594234013190	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:25]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:25]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:25]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:25]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:25]                     │
[00:14:25]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:25]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:25]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:25]                   │ debg -- firstCount=3
[00:14:25]                   │ debg ... sleep(1000) start
[00:14:26]                   │ debg ... sleep(1000) end
[00:14:26]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:26]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:26]                   │ debg -- secondCount=3
[00:14:26]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:14:26]                   └- ✓ pass  (1.1s) "visualize app  visual builder metric should show correct data"
[00:14:26]                 └-> should show correct data with Math Aggregation
[00:14:26]                   └-> "before each" hook: global before each
[00:14:26]                   └-> "before each" hook
[00:14:26]                     │ debg navigating to visualize url: http://localhost:61221/app/visualize#/
[00:14:26]                     │ debg navigate to: http://localhost:61221/app/visualize#/
[00:14:26]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:26]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:26]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:26]                     │ debg ... sleep(700) start
[00:14:27]                     │ debg ... sleep(700) end
[00:14:27]                     │ debg returned from get, calling refresh
[00:14:27]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:29]                     │ debg browser[info] "INFO: 2020-07-08T18:46:57Z
[00:14:29]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:14:29]                     │
[00:14:29]                     │      "
[00:14:29]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:29]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:14:29]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:30]                     │ debg currentUrl = http://localhost:61221/app/visualize#/
[00:14:30]                     │          appUrl = http://localhost:61221/app/visualize#/
[00:14:30]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:30]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:30]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:32]                     │ debg browser[info] "INFO: 2020-07-08T18:47:00Z
[00:14:32]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:14:32]                     │
[00:14:32]                     │      "
[00:14:32]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:32]                     │ debg browser[debug] "Reporting user-agent."
[00:14:33]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:33]                     │ debg ... sleep(501) start
[00:14:33]                     │ debg ... sleep(501) end
[00:14:33]                     │ debg in navigateTo url = http://localhost:61221/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:33]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:34]                     │ debg ... sleep(501) start
[00:14:34]                     │ debg ... sleep(501) end
[00:14:34]                     │ debg in navigateTo url = http://localhost:61221/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:34]                     │ debg TestSubjects.exists(statusPageContainer)
[00:14:34]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:37]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:37]                     │ debg TestSubjects.exists(newItemButton)
[00:14:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:14:37]                     │ debg TestSubjects.click(newItemButton)
[00:14:37]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:37]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:38]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:14:38]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:14:38]                     │ debg TestSubjects.click(visType-metrics)
[00:14:38]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:38]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:38]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:14:38]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:14:38]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:38]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:38]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:38]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:38]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:39]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:40]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:40]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:40]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:41]                     │ debg browser[info] "INFO: 2020-07-08T18:47:09Z
[00:14:41]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:14:41]                     │
[00:14:41]                     │      "
[00:14:41]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:41]                     │ debg browser[debug] "Reporting user-agent."
[00:14:41]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:41]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:42]                   └-> "before each" hook
[00:14:42]                     │ debg navigateToActualUrl http://localhost:61221/app/visualize#create?type=metrics
[00:14:42]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:42]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:42]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:43]                     │ debg currentUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:14:43]                     │          appUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:14:43]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:43]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:43]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:45]                     │ debg browser[info] "INFO: 2020-07-08T18:47:13Z
[00:14:45]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:14:45]                     │
[00:14:45]                     │      "
[00:14:45]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:46]                     │ debg browser[debug] "Reporting user-agent."
[00:14:46]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:46]                     │ debg Wait for initializing TSVB editor
[00:14:46]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:47]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:47]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:47]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:47]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:47]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:48]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:48]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:48]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:48]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:49]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:49]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:49]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:50]                     │ debg ... sleep(500) start
[00:14:50]                     │ debg ... sleep(500) end
[00:14:50]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:51]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:51]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:51]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:51]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:51]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:51]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:52]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:52]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:53]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:55]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:56]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:56]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:56]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:56]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:56]                     │ debg Firefox stdout: 1594234044816	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:56]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:56]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:56]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:56]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:56]                     │
[00:14:56]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:56]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:56]                     │ debg ... sleep(2000) start
[00:14:58]                     │ debg ... sleep(2000) end
[00:14:58]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:58]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:59]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:59]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:59]                   │ debg TestSubjects.findAll(aggSelector)
[00:14:59]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:14:59]                   │ debg TestSubjects.findAll(addMetricAddBtn)
[00:14:59]                   │ debg Find.allByCssSelector('[data-test-subj="addMetricAddBtn"]') with timeout=10000
[00:14:59]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:59]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:59]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:59]                   │ debg -- firstCount=3
[00:14:59]                   │ debg ... sleep(1000) start
[00:15:00]                   │ debg ... sleep(1000) end
[00:15:00]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:00]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:00]                   │ debg -- secondCount=4
[00:15:01]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:01]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:01]                   │ debg -- firstCount=4
[00:15:01]                   │ debg ... sleep(1000) start
[00:15:02]                   │ debg ... sleep(1000) end
[00:15:02]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:02]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:02]                   │ debg -- secondCount=4
[00:15:02]                   │ debg Waiting up to 20000ms for new agg is added...
[00:15:02]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:02]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:02]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:02]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:02]                   │ debg comboBox.setElement, value: math
[00:15:02]                   │ debg comboBox.isOptionSelected, value: math
[00:15:05]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:05]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="math"]') with timeout=2500
[00:15:07]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=10000
[00:15:07]                   │ERROR browser[error] "Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s" "the componentWillUnmount method" "
[00:15:07]                   │          in EuiComboBox (created by AggSelect)
[00:15:07]                   │          in div (created by AggSelect)
[00:15:07]                   │          in AggSelect (created by StandardAgg)
[00:15:07]                   │          in div (created by EuiFlexItem)
[00:15:07]                   │          in EuiFlexItem (created by StandardAgg)
[00:15:07]                   │          in div (created by EuiFlexGroup)
[00:15:07]                   │          in EuiFlexGroup (created by StandardAgg)
[00:15:07]                   │          in div (created by EuiFlexItem)
[00:15:07]                   │          in EuiFlexItem (created by AggRow)
[00:15:07]                   │          in div (created by EuiFlexGroup)
[00:15:07]                   │          in EuiFlexGroup (created by AggRow)
[00:15:07]                   │          in div (created by AggRow)
[00:15:07]                   │          in AggRow (created by StandardAgg)
[00:15:07]                   │          in StandardAgg (created by Agg)"
[00:15:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:10]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:11]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:11]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:12]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:13]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:13]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:15]                   │ debg TestSubjects.findAll(varRow)
[00:15:15]                   │ debg Find.allByCssSelector('[data-test-subj="varRow"]') with timeout=10000
[00:15:16]                   │ debg comboBox.setElement, value: Count
[00:15:16]                   │ debg comboBox.isOptionSelected, value: Count
[00:15:20]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:20]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Count"]') with timeout=2500
[00:15:20]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:20]                   │ debg Firefox stdout: 1594234068786	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:15:20]                   │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:15:20]                   │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:15:20]                   │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:15:20]                   │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:15:20]                   │
[00:15:23]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:23]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:23]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:25]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:25]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:25]                   │ debg TestSubjects.findAll(mathExpression)
[00:15:25]                   │ debg Find.allByCssSelector('[data-test-subj="mathExpression"]') with timeout=10000
[00:15:27]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:27]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:28]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:28]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:28]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:28]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:28]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:28]                   │ debg -- firstCount=8
[00:15:28]                   │ debg ... sleep(1000) start
[00:15:29]                   │ debg ... sleep(1000) end
[00:15:29]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:29]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:29]                   │ debg -- secondCount=8
[00:15:29]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:15:29]                   └- ✓ pass  (30.1s) "visualize app  visual builder metric should show correct data with Math Aggregation"
[00:15:29]                 └-> should populate fields for basic functions
[00:15:29]                   └-> "before each" hook: global before each
[00:15:29]                   └-> "before each" hook
[00:15:29]                     │ debg navigating to visualize url: http://localhost:61221/app/visualize#/
[00:15:29]                     │ debg navigate to: http://localhost:61221/app/visualize#/
[00:15:29]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:29]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:29]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:30]                     │ debg ... sleep(700) start
[00:15:30]                     │ debg ... sleep(700) end
[00:15:30]                     │ debg returned from get, calling refresh
[00:15:30]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:33]                     │ debg browser[info] "INFO: 2020-07-08T18:48:01Z
[00:15:33]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:15:33]                     │
[00:15:33]                     │      "
[00:15:33]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:33]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:15:33]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:34]                     │ debg currentUrl = http://localhost:61221/app/visualize#/
[00:15:34]                     │          appUrl = http://localhost:61221/app/visualize#/
[00:15:34]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:34]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:35]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:37]                     │ debg browser[info] "INFO: 2020-07-08T18:48:06Z
[00:15:37]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:15:37]                     │
[00:15:37]                     │      "
[00:15:38]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:38]                     │ debg browser[debug] "Reporting user-agent."
[00:15:38]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:15:38]                     │ debg ... sleep(501) start
[00:15:39]                     │ debg ... sleep(501) end
[00:15:39]                     │ debg in navigateTo url = http://localhost:61221/app/visualize#/
[00:15:39]                     │ debg TestSubjects.exists(statusPageContainer)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:42]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:42]                     │ debg TestSubjects.exists(newItemButton)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:15:49]                     │ debg TestSubjects.click(newItemButton)
[00:15:49]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:49]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:49]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:15:49]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:15:49]                     │ debg TestSubjects.click(visType-metrics)
[00:15:49]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:49]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:49]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:15:49]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:15:49]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:50]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:50]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:50]                     │ debg isGlobalLoadingIndicatorVisible
[00:15:50]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:50]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:52]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:52]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:52]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:52]                     │ debg browser[info] "INFO: 2020-07-08T18:48:20Z
[00:15:52]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:15:52]                     │
[00:15:52]                     │      "
[00:15:52]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:53]                     │ debg browser[debug] "Reporting user-agent."
[00:15:53]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:01]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:16:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:16:01]                   └-> "before each" hook
[00:16:01]                     │ debg navigateToActualUrl http://localhost:61221/app/visualize#create?type=metrics
[00:16:02]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:02]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:02]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:02]                     │ debg currentUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:16:02]                     │          appUrl = http://localhost:61221/app/visualize#create?type=metrics
[00:16:02]                     │ debg TestSubjects.find(kibanaChrome)
[00:16:02]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:02]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:16:04]                     │ debg browser[info] "INFO: 2020-07-08T18:48:32Z
[00:16:04]                     │        Adding connection to http://localhost:61221/elasticsearch
[00:16:04]                     │
[00:16:04]                     │      "
[00:16:04]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:05]                     │ debg browser[debug] "Reporting user-agent."
[00:16:05]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:05]                     │ debg Wait for initializing TSVB editor
[00:16:05]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:16:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:16:08]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:16:13]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:16:13]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:16:13]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:13]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:13]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:13]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:13]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:13]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:13]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:13]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:13]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:14]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:14]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:14]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:14]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:14]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:14]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:14]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:15]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:15]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:16]                     │ debg ... sleep(500) start
[00:16:16]                     │ debg ... sleep(500) end
[00:16:16]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:16]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:16]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:17]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:17]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:17]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:17]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:17]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:17]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:17]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:18]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:21]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:21]                     │ debg TestSubjects.click(querySubmitButton)
[00:16:21]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:21]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:22]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:22]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:22]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:22]                     │ debg ... sleep(2000) start
[00:16:24]                     │ debg ... sleep(2000) end
[00:16:24]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:16:24]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:16:24]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:16:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:16:24]                   │ debg TestSubjects.findAll(aggSelector)
[00:16:24]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:16:24]                   │ debg comboBox.setElement, value: Average
[00:16:24]                   │ debg comboBox.isOptionSelected, value: Average
[00:16:27]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:27]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Average"]') with timeout=2500
[00:16:27]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:30]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:30]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:30]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:32]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:32]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:32]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:32]                   │ debg TestSubjects.findAll(aggRow)
[00:16:32]                   │ debg Find.allByCssSelector('[data-test-subj="aggRow"]') with timeout=10000
[00:16:32]                   │ debg comboBox.setElement, value: machine.ram
[00:16:32]                   │ debg comboBox.isOptionSelected, value: machine.ram
[00:16:35]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:38]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:48]                   │ info Taking screenshot "/dev/shm/workspace/parallel/22/kibana/test/functional/screenshots/failure/visualize app  visual builder metric should populate fields for basic functions.png"
[00:16:49]                   │ info Current URL is: http://localhost:61221/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-22T18:31:44.000Z%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:ab0a7a40-c14b-11ea-9f2a-218146f016e3)),default_index_pattern:%27logstash-*%27,default_timefield:%27@timestamp%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,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,label:%27%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:avg)),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:16:49]                   │ info Saving page source to: /dev/shm/workspace/parallel/22/kibana/test/functional/failure_debug/html/visualize app  visual builder metric should populate fields for basic functions.html
[00:16:49]                   └- ✖ fail: "visualize app  visual builder metric should populate fields for basic functions"
[00:16:49]                   │

Stack Trace

{ NoSuchElementError: Unable to locate element: [data-test-subj="comboBoxToggleListButton"]
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'NoSuchElementError',
  remoteStacktrace:
   'WebDriverError@chrome://marionette/content/error.js:175:5\nNoSuchElementError@chrome://marionette/content/error.js:387:5\nelement.find/</<@chrome://marionette/content/element.js:331:16\n' }

Build metrics

✅ unchanged

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

@neptunian neptunian merged commit a8aee2c into elastic:master Jul 8, 2020
neptunian added a commit to neptunian/kibana that referenced this pull request Jul 8, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 9, 2020
* master: (39 commits)
  [APM] Add warning to notify user about legacy ML jobs (elastic#71030)
  updates consumer to siem (elastic#71117)
  Index pattern creation flow - fix spelling (elastic#71192)
  [Security Solution][Endpoint] User Manifest Cleanup + Artifact Compression (elastic#70759)
  [SECURITY] Rearrange rule name's column in Alert Table (elastic#71020)
  [SECURITY] Alerts back to Detections (elastic#71142)
  [Security Solution][Exceptions Builder] - Fixes operator selection bug (elastic#71178)
  [SIEM][Detection Engine] Speeds up value list imports by enabling streaming of files.
  [APM] Update ML job ID in data telemetry tasks (elastic#71044)
  [Resolver] Remove `currentPanelView` selector (elastic#71154)
  add meta.managed to index templates (elastic#71135)
  Clarify trial subscription levels (elastic#70900)
  [Security Solution] fix panel links (elastic#71148)
  skip flaky suite (elastic#69632)
  skip suite failing ES Promotion (elastic#71018)
  [ML] DF Analytics: add results field to wizard and show regression stats (elastic#70893)
  [SIEM] update wordings (elastic#71119)
  [SECURITY SOLUTION] Rename to hosts and administration (elastic#70913)
  [ML] Improvements for urlState hook. (elastic#70576)
  Removing uptime guide (elastic#71124)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants