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] DF Analytics: add results field to wizard and show regression stats #70893

Merged

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jul 6, 2020

Summary

Related meta issue: #66661

This PR:

  • Allow user to set dest results_field in job wizard

image

  • Displays all regression evaluate stats in evaluate panel as well as in expanded row

Screen Shot 2020-07-06 at 5 34 55 PM

Screen Shot 2020-07-06 at 6 02 35 PM

Checklist

Delete any items that are not applicable to this PR.

@alvarezmelissa87 alvarezmelissa87 added :ml release_note:skip Skip the PR/issue when compiling release notes Feature:Data Frame Analytics ML data frame analytics features v7.9.0 labels Jul 6, 2020
@alvarezmelissa87 alvarezmelissa87 requested a review from a team as a code owner July 6, 2020 22:22
@alvarezmelissa87 alvarezmelissa87 self-assigned this Jul 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87 alvarezmelissa87 force-pushed the ml-dfanalytics-results-field branch 2 times, most recently from 8fa38ad to 9ae28f1 Compare July 8, 2020 13:42
Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

Added a couple of comments, but generally LGTM

@@ -414,19 +422,37 @@ export const useRefreshAnalyticsList = (

const DEFAULT_SIG_FIGS = 3;

export function getValuesFromResponse(response: RegressionEvaluateResponse) {
let meanSquaredError = response?.regression?.mse?.value;
interface RegressionEvaluteExtractedResponse {
Copy link
Member

Choose a reason for hiding this comment

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

typo Evalute

};

if (response?.regression) {
for (const statType in response.regression) {
Copy link
Member

Choose a reason for hiding this comment

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

rather than using a for..of, this loop could be written as:

Object.entries(response.regression).forEach(([statType, { value }]) => {
  results[statType as keyof RegressionEvaluteExtractedResponse] = value.toPrecision(
    DEFAULT_SIG_FIGS
  );
});

but i don't know whether it's more readable :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I prefer the more readable for loop option since in this case there are only 4 properties we're checking for.

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested latest edits and LGTM (apart from the Evalute typo!).

@alvarezmelissa87 alvarezmelissa87 force-pushed the ml-dfanalytics-results-field branch from 9ae28f1 to 8559b4b Compare July 8, 2020 17:25
@kibanamachine
Copy link
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:08]         └-: visualize app
[00:12:08]           └-> "before all" hook
[00:12:08]           └-> "before all" hook
[00:12:08]             │ debg Starting visualize before method
[00:12:08]             │ info [logstash_functional] Loading "mappings.json"
[00:12:08]             │ info [logstash_functional] Loading "data.json.gz"
[00:12:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:12:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] 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:08]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:12:08]             │ 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:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:12:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] 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:08]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:12:08]             │ 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:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:12:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] 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:08]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:12:08]             │ 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:18]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:18]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:18]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:18]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:18]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:18]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] 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:18]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:18]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:28]             │ info progress: 12041
[00:12:29]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:12:30]             │ info [visualize] Loading "mappings.json"
[00:12:30]             │ info [visualize] Loading "data.json"
[00:12:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_2/JO-HjXCaTdatJUu1IS8J7g] deleting index
[00:12:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_1/CclF1QrHRIWD0YYr5conKA] deleting index
[00:12:30]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:30]             │ info [visualize] Created index ".kibana"
[00:12:30]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana/XGxIgOXNRF22tiSv0cgqbw] update_mapping [_doc]
[00:12:30]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:12:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana/XGxIgOXNRF22tiSv0cgqbw] update_mapping [_doc]
[00:12:30]             │ debg Migrating saved objects
[00:12:30]             │ proc [kibana]   log   [18:28:00.598] [info][savedobjects-service] Creating index .kibana_2.
[00:12:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:30]             │ proc [kibana]   log   [18:28:00.649] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:30]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] 9027 finished with response BulkByScrollResponse[took=36.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:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana/XGxIgOXNRF22tiSv0cgqbw] deleting index
[00:12:30]             │ proc [kibana]   log   [18:28:00.992] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:31]             │ proc [kibana]   log   [18:28:01.007] [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:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_2/3Q5ZS0LHRgik0y6teiEYRw] update_mapping [_doc]
[00:12:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_2/3Q5ZS0LHRgik0y6teiEYRw] update_mapping [_doc]
[00:12:31]             │ proc [kibana]   log   [18:28:01.090] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:31]             │ proc [kibana]   log   [18:28:01.139] [info][savedobjects-service] Finished in 542ms.
[00:12:31]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594230892132835039] [.kibana_2/3Q5ZS0LHRgik0y6teiEYRw] update_mapping [_doc]
[00:12:32]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:06]           └-: 
[00:13:06]             └-> "before all" hook
[00:13:06]             └-: visual builder
[00:13:06]               └-> "before all" hook
[00:13:06]               └-: metric
[00:13:06]                 └-> "before all" hook
[00:13:06]                 └-> should not have inspector enabled
[00:13:06]                   └-> "before each" hook: global before each
[00:13:06]                   └-> "before each" hook
[00:13:06]                     │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[00:13:06]                     │ debg navigate to: http://localhost:61171/app/visualize#/
[00:13:06]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:06]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:06]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:06]                     │ debg ... sleep(700) start
[00:13:06]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:07]                     │ debg ... sleep(700) end
[00:13:07]                     │ debg returned from get, calling refresh
[00:13:08]                     │ debg browser[info] "INFO: 2020-07-08T18:28:38Z
[00:13:08]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:13:08]                     │
[00:13:08]                     │      "
[00:13:08]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:08]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:08]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:09]                     │ debg currentUrl = http://localhost:61171/app/visualize#/
[00:13:09]                     │          appUrl = http://localhost:61171/app/visualize#/
[00:13:09]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:09]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:09]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:11]                     │ debg browser[info] "INFO: 2020-07-08T18:28:41Z
[00:13:11]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:13:11]                     │
[00:13:11]                     │      "
[00:13:11]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:11]                     │ debg browser[debug] "Reporting user-agent."
[00:13:11]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:11]                     │ debg ... sleep(501) start
[00:13:12]                     │ debg ... sleep(501) end
[00:13:12]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:12]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:12]                     │ debg ... sleep(501) start
[00:13:13]                     │ debg ... sleep(501) end
[00:13:13]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:13]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:15]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:16]                     │ debg TestSubjects.exists(newItemButton)
[00:13:16]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:13:17]                     │ debg TestSubjects.click(newItemButton)
[00:13:17]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:17]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:17]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:17]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:18]                     │ debg TestSubjects.click(visType-metrics)
[00:13:18]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:18]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:18]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:13:18]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:13:18]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:18]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:18]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:18]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:18]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:18]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:20]                     │ debg browser[info] "INFO: 2020-07-08T18:28:50Z
[00:13:20]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:13:20]                     │
[00:13:20]                     │      "
[00:13:20]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:20]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:21]                     │ debg browser[debug] "Reporting user-agent."
[00:13:21]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:21]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:21]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:25]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:26]                   └-> "before each" hook
[00:13:26]                     │ debg navigateToActualUrl http://localhost:61171/app/visualize#create?type=metrics
[00:13:26]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:26]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:26]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:26]                     │ debg currentUrl = http://localhost:61171/app/visualize#create?type=metrics
[00:13:26]                     │          appUrl = http://localhost:61171/app/visualize#create?type=metrics
[00:13:26]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:26]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:27]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:29]                     │ debg browser[info] "INFO: 2020-07-08T18:28:59Z
[00:13:29]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:13:29]                     │
[00:13:29]                     │      "
[00:13:29]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:29]                     │ debg browser[debug] "Reporting user-agent."
[00:13:29]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:30]                     │ debg Wait for initializing TSVB editor
[00:13:30]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:30]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:33]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:13:35]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:13:35]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:13:35]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:13:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:13:35]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:13:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:13:35]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:13:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:35]                     │ 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:36]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:36]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:36]                     │ 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:37]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:37]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:38]                     │ debg ... sleep(500) start
[00:13:38]                     │ debg ... sleep(500) end
[00:13:38]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:13:38]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:38]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:39]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:39]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:39]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:39]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:39]                     │ 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:44]                     │ 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: 1594232955231	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:48]                   │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:13:48]                   │ debg TestSubjects.find(openInspectorButton)
[00:13:48]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:13:48]                   └- ✓ pass  (29ms) "visualize app  visual builder metric should not have inspector enabled"
[00:13:48]                 └-> should show correct data
[00:13:48]                   └-> "before each" hook: global before each
[00:13:48]                   └-> "before each" hook
[00:13:48]                     │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[00:13:48]                     │ debg navigate to: http://localhost:61171/app/visualize#/
[00:13:48]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:48]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:48]                     │ 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:49]                     │ debg ... sleep(700) end
[00:13:49]                     │ debg returned from get, calling refresh
[00:13:50]                     │ debg browser[info] "INFO: 2020-07-08T18:29:20Z
[00:13:50]                     │        Adding connection to http://localhost:61171/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:51]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:51]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:51]                     │ debg currentUrl = http://localhost:61171/app/visualize#/
[00:13:51]                     │          appUrl = http://localhost:61171/app/visualize#/
[00:13:51]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:51]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:52]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:53]                     │ debg browser[info] "INFO: 2020-07-08T18:29:23Z
[00:13:53]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:13:53]                     │
[00:13:53]                     │      "
[00:13:53]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:54]                     │ debg browser[debug] "Reporting user-agent."
[00:13:54]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:54]                     │ debg ... sleep(501) start
[00:13:54]                     │ debg ... sleep(501) end
[00:13:54]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:54]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:55]                     │ debg ... sleep(501) start
[00:13:55]                     │ debg ... sleep(501) end
[00:13:55]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:55]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:58]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:58]                     │ debg TestSubjects.exists(newItemButton)
[00:13:58]                     │ 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:13:59]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:13:59]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:13:59]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:59]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:59]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:59]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:59]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:59]                     │ 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:02]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:03]                     │ debg browser[info] "INFO: 2020-07-08T18:29:33Z
[00:14:03]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:14:03]                     │
[00:14:03]                     │      "
[00:14:03]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:03]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:03]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:03]                     │ debg browser[debug] "Reporting user-agent."
[00:14:03]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:04]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:08]                   └-> "before each" hook
[00:14:08]                     │ debg navigateToActualUrl http://localhost:61171/app/visualize#create?type=metrics
[00:14:08]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:09]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:09]                     │ 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:61171/app/visualize#create?type=metrics
[00:14:09]                     │          appUrl = http://localhost:61171/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:11]                     │ debg browser[info] "INFO: 2020-07-08T18:29:41Z
[00:14:11]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:14:11]                     │
[00:14:11]                     │      "
[00:14:11]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:12]                     │ debg browser[debug] "Reporting user-agent."
[00:14:12]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:12]                     │ debg Wait for initializing TSVB editor
[00:14:12]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:15]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:14:17]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:17]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:17]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:17]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:17]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:17]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:17]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:18]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:18]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:18]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:18]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:18]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:18]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:18]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:19]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:19]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:19]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:20]                     │ debg ... sleep(500) start
[00:14:21]                     │ debg ... sleep(500) end
[00:14:21]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:21]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:21]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:21]                     │ debg Firefox stdout: 1594232991865	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:21]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:21]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:21]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:21]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:21]                     │
[00:14:22]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:22]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:22]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:22]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:22]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:22]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:22]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:22]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:23]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:24]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:27]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:27]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:27]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:27]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:28]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:28]                     │ debg Firefox stdout: 1594232998595	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:28]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:28]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:28]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:28]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:28]                     │
[00:14:28]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:28]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:28]                     │ debg ... sleep(2000) start
[00:14:30]                     │ debg ... sleep(2000) end
[00:14:30]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:30]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:31]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:31]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:31]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:31]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:31]                   │ debg -- firstCount=3
[00:14:31]                   │ debg ... sleep(1000) start
[00:14:32]                   │ debg ... sleep(1000) end
[00:14:32]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:32]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:32]                   │ debg -- secondCount=3
[00:14:32]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:14:32]                   └- ✓ pass  (1.1s) "visualize app  visual builder metric should show correct data"
[00:14:32]                 └-> should show correct data with Math Aggregation
[00:14:32]                   └-> "before each" hook: global before each
[00:14:32]                   └-> "before each" hook
[00:14:32]                     │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[00:14:32]                     │ debg navigate to: http://localhost:61171/app/visualize#/
[00:14:32]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:32]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:32]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:32]                     │ debg ... sleep(700) start
[00:14:33]                     │ debg ... sleep(700) end
[00:14:33]                     │ debg returned from get, calling refresh
[00:14:34]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:36]                     │ debg browser[info] "INFO: 2020-07-08T18:30:06Z
[00:14:36]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:14:36]                     │
[00:14:36]                     │      "
[00:14:36]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:36]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:14:37]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:37]                     │ debg currentUrl = http://localhost:61171/app/visualize#/
[00:14:37]                     │          appUrl = http://localhost:61171/app/visualize#/
[00:14:37]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:37]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:38]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:40]                     │ debg browser[info] "INFO: 2020-07-08T18:30:10Z
[00:14:40]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:14:40]                     │
[00:14:40]                     │      "
[00:14:40]                     │ 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 ... sleep(501) start
[00:14:41]                     │ debg ... sleep(501) end
[00:14:41]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:41]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:42]                     │ debg ... sleep(501) start
[00:14:42]                     │ debg ... sleep(501) end
[00:14:42]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:42]                     │ debg TestSubjects.exists(statusPageContainer)
[00:14:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:45]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:45]                     │ debg TestSubjects.exists(newItemButton)
[00:14:45]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:14:45]                     │ debg TestSubjects.click(newItemButton)
[00:14:45]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:45]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:46]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:14:46]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:14:46]                     │ debg TestSubjects.click(visType-metrics)
[00:14:46]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:46]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:46]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:14:46]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:14:46]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:46]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:46]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:46]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:46]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:47]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:49]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:49]                     │ debg browser[info] "INFO: 2020-07-08T18:30:19Z
[00:14:49]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:14:49]                     │
[00:14:49]                     │      "
[00:14:49]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:49]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:49]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:50]                     │ debg browser[debug] "Reporting user-agent."
[00:14:50]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:50]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:51]                   └-> "before each" hook
[00:14:51]                     │ debg navigateToActualUrl http://localhost:61171/app/visualize#create?type=metrics
[00:14:51]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:51]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:51]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:51]                     │ debg currentUrl = http://localhost:61171/app/visualize#create?type=metrics
[00:14:51]                     │          appUrl = http://localhost:61171/app/visualize#create?type=metrics
[00:14:51]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:52]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:54]                     │ debg browser[info] "INFO: 2020-07-08T18:30:24Z
[00:14:54]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:14:54]                     │
[00:14:54]                     │      "
[00:14:54]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:55]                     │ debg browser[debug] "Reporting user-agent."
[00:14:55]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:55]                     │ debg Wait for initializing TSVB editor
[00:14:55]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:56]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:56]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:56]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:56]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:57]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:57]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:57]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:57]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:57]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:57]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:57]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:57]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:58]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:58]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:58]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:58]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:58]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:59]                     │ debg ... sleep(500) start
[00:15:00]                     │ debg ... sleep(500) end
[00:15:00]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:15:00]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:00]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:00]                     │ debg Find.waitForElementStale with timeout=10000
[00:15:00]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:00]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:00]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:00]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:01]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:01]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:01]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:01]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:15:01]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:02]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:15:02]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:15:04]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:15:05]                     │ debg TestSubjects.click(querySubmitButton)
[00:15:05]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:05]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:05]                     │ debg Find.waitForElementStale with timeout=10000
[00:15:06]                     │ debg Firefox stdout: 1594233036009	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:15:06]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:15:06]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:15:06]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:15:06]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:15:06]                     │
[00:15:06]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:06]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:06]                     │ debg ... sleep(2000) start
[00:15:08]                     │ debg ... sleep(2000) end
[00:15:08]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:15:08]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:15:08]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:15:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:15:08]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:08]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:08]                   │ debg TestSubjects.findAll(addMetricAddBtn)
[00:15:08]                   │ debg Find.allByCssSelector('[data-test-subj="addMetricAddBtn"]') with timeout=10000
[00:15:09]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:09]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:09]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:09]                   │ debg -- firstCount=3
[00:15:09]                   │ debg ... sleep(1000) start
[00:15:10]                   │ debg ... sleep(1000) end
[00:15:10]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:10]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:10]                   │ debg -- secondCount=4
[00:15:10]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:10]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:10]                   │ debg -- firstCount=4
[00:15:10]                   │ debg ... sleep(1000) start
[00:15:11]                   │ debg ... sleep(1000) end
[00:15:11]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:11]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:11]                   │ debg -- secondCount=4
[00:15:11]                   │ debg Waiting up to 20000ms for new agg is added...
[00:15:11]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:11]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:11]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:11]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:11]                   │ debg comboBox.setElement, value: math
[00:15:11]                   │ debg comboBox.isOptionSelected, value: math
[00:15:14]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:14]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="math"]') with timeout=2500
[00:15:16]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=10000
[00:15:17]                   │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:17]                   │          in EuiComboBox (created by AggSelect)
[00:15:17]                   │          in div (created by AggSelect)
[00:15:17]                   │          in AggSelect (created by StandardAgg)
[00:15:17]                   │          in div (created by EuiFlexItem)
[00:15:17]                   │          in EuiFlexItem (created by StandardAgg)
[00:15:17]                   │          in div (created by EuiFlexGroup)
[00:15:17]                   │          in EuiFlexGroup (created by StandardAgg)
[00:15:17]                   │          in div (created by EuiFlexItem)
[00:15:17]                   │          in EuiFlexItem (created by AggRow)
[00:15:17]                   │          in div (created by EuiFlexGroup)
[00:15:17]                   │          in EuiFlexGroup (created by AggRow)
[00:15:17]                   │          in div (created by AggRow)
[00:15:17]                   │          in AggRow (created by StandardAgg)
[00:15:17]                   │          in StandardAgg (created by Agg)"
[00:15:17]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:19]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:20]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:20]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:21]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:22]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:22]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:22]                   │ debg TestSubjects.findAll(varRow)
[00:15:22]                   │ debg Find.allByCssSelector('[data-test-subj="varRow"]') with timeout=10000
[00:15:22]                   │ debg comboBox.setElement, value: Count
[00:15:22]                   │ debg comboBox.isOptionSelected, value: Count
[00:15:25]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:25]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Count"]') with timeout=2500
[00:15:25]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:28]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:28]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:28]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:30]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:30]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:30]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:30]                   │ debg TestSubjects.findAll(mathExpression)
[00:15:30]                   │ debg Find.allByCssSelector('[data-test-subj="mathExpression"]') with timeout=10000
[00:15:32]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:32]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:33]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:33]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:33]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:33]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:33]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:33]                   │ debg -- firstCount=8
[00:15:33]                   │ debg ... sleep(1000) start
[00:15:34]                   │ debg ... sleep(1000) end
[00:15:34]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:34]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:34]                   │ debg -- secondCount=8
[00:15:34]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:15:34]                   └- ✓ pass  (26.0s) "visualize app  visual builder metric should show correct data with Math Aggregation"
[00:15:34]                 └-> should populate fields for basic functions
[00:15:34]                   └-> "before each" hook: global before each
[00:15:34]                   └-> "before each" hook
[00:15:34]                     │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[00:15:34]                     │ debg navigate to: http://localhost:61171/app/visualize#/
[00:15:34]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:34]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:34]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:35]                     │ debg ... sleep(700) start
[00:15:35]                     │ debg ... sleep(700) end
[00:15:35]                     │ debg returned from get, calling refresh
[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:38]                     │ debg browser[info] "INFO: 2020-07-08T18:31:08Z
[00:15:38]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:15:38]                     │
[00:15:38]                     │      "
[00:15:38]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:38]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:15:38]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:39]                     │ debg currentUrl = http://localhost:61171/app/visualize#/
[00:15:39]                     │          appUrl = http://localhost:61171/app/visualize#/
[00:15:39]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:39]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:39]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:42]                     │ debg browser[info] "INFO: 2020-07-08T18:31:12Z
[00:15:42]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:15:42]                     │
[00:15:42]                     │      "
[00:15:42]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:42]                     │ debg browser[debug] "Reporting user-agent."
[00:15:42]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:15:42]                     │ debg ... sleep(501) start
[00:15:43]                     │ debg ... sleep(501) end
[00:15:43]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:43]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:43]                     │ debg ... sleep(501) start
[00:15:44]                     │ debg ... sleep(501) end
[00:15:44]                     │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:44]                     │ debg TestSubjects.exists(statusPageContainer)
[00:15:44]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:47]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:47]                     │ debg TestSubjects.exists(newItemButton)
[00:15:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:15:47]                     │ debg TestSubjects.click(newItemButton)
[00:15:47]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:47]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:48]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:15:48]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:15:48]                     │ debg TestSubjects.click(visType-metrics)
[00:15:48]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:48]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:48]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:15:48]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:15:48]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:48]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:48]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:48]                     │ debg isGlobalLoadingIndicatorVisible
[00:15:48]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:49]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:51]                     │ 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:31:22Z
[00:15:52]                     │        Adding connection to http://localhost:61171/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:15:53]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:15:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:15:54]                   └-> "before each" hook
[00:15:54]                     │ debg navigateToActualUrl http://localhost:61171/app/visualize#create?type=metrics
[00:15:54]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:55]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:55]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:55]                     │ debg currentUrl = http://localhost:61171/app/visualize#create?type=metrics
[00:15:55]                     │          appUrl = http://localhost:61171/app/visualize#create?type=metrics
[00:15:55]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:55]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:56]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:16:01]                     │ debg browser[info] "INFO: 2020-07-08T18:31:31Z
[00:16:01]                     │        Adding connection to http://localhost:61171/elasticsearch
[00:16:01]                     │
[00:16:01]                     │      "
[00:16:01]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:02]                     │ debg browser[debug] "Reporting user-agent."
[00:16:02]                     │ 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:06]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:16:06]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:16:06]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:06]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:06]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:06]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:06]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:06]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:06]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:07]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:07]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:07]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:07]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:07]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:07]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:07]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:07]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:08]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:08]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:08]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:08]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:08]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:09]                     │ debg ... sleep(500) start
[00:16:10]                     │ debg ... sleep(500) end
[00:16:10]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:10]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:10]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:10]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:10]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:10]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:10]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:10]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:11]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:11]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:11]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:14]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:15]                     │ debg TestSubjects.click(querySubmitButton)
[00:16:15]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:15]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:15]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:16]                     │ debg Firefox stdout: 1594233106010	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:16:16]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:16:16]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:16:16]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:16:16]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:16:16]                     │
[00:16:16]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:16]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:16]                     │ debg ... sleep(2000) start
[00:16:18]                     │ debg ... sleep(2000) end
[00:16:18]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:16:18]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:16:18]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:16:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:16:18]                   │ debg TestSubjects.findAll(aggSelector)
[00:16:18]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:16:18]                   │ debg comboBox.setElement, value: Average
[00:16:18]                   │ debg comboBox.isOptionSelected, value: Average
[00:16:21]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:21]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Average"]') with timeout=2500
[00:16:21]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:24]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:24]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:24]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:26]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:26]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:26]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:29]                   │ debg TestSubjects.findAll(aggRow)
[00:16:29]                   │ debg Find.allByCssSelector('[data-test-subj="aggRow"]') with timeout=10000
[00:16:30]                   │ debg comboBox.setElement, value: machine.ram
[00:16:30]                   │ debg comboBox.isOptionSelected, value: machine.ram
[00:16:32]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:35]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:46]                   │ info Taking screenshot "/dev/shm/workspace/parallel/17/kibana/test/functional/screenshots/failure/visualize app  visual builder metric should populate fields for basic functions.png"
[00:16:46]                   │ info Current URL is: http://localhost:61171/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:%2748841310-c149-11ea-9d92-cbe66e9bcf97%27)),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:46]                   │ info Saving page source to: /dev/shm/workspace/parallel/17/kibana/test/functional/failure_debug/html/visualize app  visual builder metric should populate fields for basic functions.html
[00:16:46]                   └- ✖ fail: "visualize app  visual builder metric should populate fields for basic functions"
[00:16:46]                   │

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

History

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

alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jul 8, 2020
…ats (elastic#70893)

* add results_field input in form. handle in cloning and editor

* update regression evaluate metrics

* add additional reg evaluation stats to expanded row and result panel

* update jest test

* resultsField: check for only spaces string in editor and form

* update getValuesFromResult to be less repetitive

* update types

* fix type name typo
@alvarezmelissa87 alvarezmelissa87 deleted the ml-dfanalytics-results-field branch July 8, 2020 21:36
alvarezmelissa87 added a commit that referenced this pull request Jul 9, 2020
…ats (#70893) (#71161)

* add results_field input in form. handle in cloning and editor

* update regression evaluate metrics

* add additional reg evaluation stats to expanded row and result panel

* update jest test

* resultsField: check for only spaces string in editor and form

* update getValuesFromResult to be less repetitive

* update types

* fix type name typo
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
Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants