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

[APM] Service maps anomaly detection integration by environment #70932

Merged

Conversation

ogupte
Copy link
Contributor

@ogupte ogupte commented Jul 7, 2020

Closes #69480

  • Adds anomaly detection integration to service maps backed by APM ML jobs per environment
  • Loads transaction stats and anomalies for specific transaction types: page-load for RUM services and request for everything else
  • Renders the original Anomaly detection section in the popop to view the score, and link to ML
  • handles messaging when a user views details for a service which is outside of the current environment filter

service-maps-anomaly-detection-1

ogupte added 3 commits July 7, 2020 23:50
- Adds anomaly detection integration to service maps backed by apm ML jobs per environment
- Loads transaction stats and anomalies for each transaction types
- Renders a selector in the popop to choose a transaction type to view stats
…e maps popover

- only aggregates transaction KPIs and anomaly scores for transaction.type = "request" or "page-load"
- supports environment filter 'All' option to display data from all APM anomaly detection jobs
- handle case where popover metrics don't exist for services outside the current environment filter
@ogupte ogupte force-pushed the apm-69480-service-maps-anomaly-detection branch from c383cb4 to 13a95fd Compare July 8, 2020 07:12
@ogupte ogupte marked this pull request as ready for review July 8, 2020 07:24
@ogupte ogupte requested a review from a team as a code owner July 8, 2020 07:24
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Jul 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@ogupte ogupte requested a review from bmorelli25 July 8, 2020 07:38
Comment on lines 182 to 184
if (!matchingMLJob) {
throw new Error(`ML job Not Found for environment "${environment}".`);
}
Copy link
Member

Choose a reason for hiding this comment

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

When would this happen? And how is this error handled?

Copy link
Contributor Author

@ogupte ogupte Jul 8, 2020

Choose a reason for hiding this comment

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

This would happen if the user selects an environment in the filter which doesn't have an ml job. We handle it by logging the error then returning an empty set of service anomalies. This surfaces to the user as having no anomaly data for the selected service. Then they can update their filters to see anomalies in the map.

Copy link
Member

@bmorelli25 bmorelli25 left a comment

Choose a reason for hiding this comment

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

Two small text recommendations from me.

@ogupte
Copy link
Contributor Author

ogupte commented Jul 8, 2020

@elasticmachine merge upstream

elasticmachine and others added 5 commits July 8, 2020 17:07
- renders the "no data" message as plain text instead of in a callout
- hides the 'Anomaly detection' section if there is not anomaly data.
filters properly by filtering for docs where service.environment does
not exist
@ogupte
Copy link
Contributor Author

ogupte commented Jul 9, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow creation of lens visualizations

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:09:43]         └-: lens app
[00:09:43]           └-> "before all" hook
[00:09:43]           └-> "before all" hook
[00:09:43]             │ debg Starting lens before method
[00:09:43]             │ info [logstash_functional] Loading "mappings.json"
[00:09:43]             │ info [logstash_functional] Loading "data.json.gz"
[00:09:43]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:09:43]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:09:43]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:09:44]             │ info [lens/basic] Loading "mappings.json"
[00:09:44]             │ info [lens/basic] Loading "data.json.gz"
[00:09:44]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_1/iUU4sbo1S0SXnf_kftXJhw] deleting index
[00:09:44]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2/gzHh8tixTfKMIfHnRf4ECg] deleting index
[00:09:44]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:09:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:09:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:09:45]             │ info [lens/basic] Created index ".kibana_1"
[00:09:45]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:09:45]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:09:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_1/EmJvKi31Tpu1BTzobaqUog] update_mapping [_doc]
[00:09:45]             │ debg Migrating saved objects
[00:09:45]             │ proc [kibana]   log   [09:22:46.639] [info][savedobjects-service] Creating index .kibana_2.
[00:09:45]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:09:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] updating number_of_replicas to [0] for indices [.kibana_2]
[00:09:45]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:09:45]             │ proc [kibana]   log   [09:22:46.711] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:09:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2/qbP1MpMOROe5o6hcP9aq6g] update_mapping [_doc]
[00:09:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2/qbP1MpMOROe5o6hcP9aq6g] update_mapping [_doc]
[00:09:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2/qbP1MpMOROe5o6hcP9aq6g] update_mapping [_doc]
[00:09:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2/qbP1MpMOROe5o6hcP9aq6g] update_mapping [_doc]
[00:09:45]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594283913781713893] [.kibana_2/qbP1MpMOROe5o6hcP9aq6g] update_mapping [_doc]
[00:09:45]             │ proc [kibana]   log   [09:22:46.946] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:09:45]             │ proc [kibana]   log   [09:22:46.998] [info][savedobjects-service] Finished in 361ms.
[00:09:45]           └-: 
[00:09:45]             └-> "before all" hook
[00:09:45]             └-: lens smokescreen tests
[00:09:45]               └-> "before all" hook
[00:09:45]               └-> should allow editing saved visualizations
[00:09:45]                 └-> "before each" hook: global before each
[00:09:45]                 │ debg navigating to visualize url: http://localhost:6151/app/visualize#/
[00:09:45]                 │ debg navigate to: http://localhost:6151/app/visualize#/
[00:09:45]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fvisualize%3F_t%3D1594286567034#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:09:45]                 │
[00:09:45]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:45]                 │ debg ... sleep(700) start
[00:09:46]                 │ debg ... sleep(700) end
[00:09:46]                 │ debg returned from get, calling refresh
[00:09:46]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fvisualize%3F_t%3D1594286567034#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:09:46]                 │
[00:09:46]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:46]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fvisualize%3F_t%3D1594286567034#/
[00:09:46]                 │          appUrl = http://localhost:6151/app/visualize#/
[00:09:46]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:47]                 │ debg Found login page
[00:09:47]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:09:47]                 │ debg TestSubjects.click(loginUsername)
[00:09:47]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:09:47]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:09:47]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:22:48Z
[00:09:47]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:09:47]                 │
[00:09:47]                 │      "
[00:09:47]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:09:47]                 │ debg TestSubjects.click(loginPassword)
[00:09:47]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:09:47]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:09:48]                 │ debg TestSubjects.click(loginSubmit)
[00:09:48]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:09:50]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594286567034#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:09:50]                 │
[00:09:50]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:50]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:22:50Z
[00:09:50]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:09:50]                 │
[00:09:50]                 │      "
[00:09:50]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594286571548#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:09:50]                 │
[00:09:50]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:50]                 │ debg Finished login process currentUrl = http://localhost:6151/app/visualize#/
[00:09:50]                 │ debg ... sleep(501) start
[00:09:50]                 │ debg ... sleep(501) end
[00:09:50]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/
[00:09:50]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:53]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:22:52Z
[00:09:53]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:09:53]                 │
[00:09:53]                 │      "
[00:09:53]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:54]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:09:54]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:09:54]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:54]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:54]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:09:57]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:57]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:57]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:09:57]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:09:57]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:09:57]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:09:57]                 │ debg lensPage.goToTimeRange()
[00:09:57]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:09:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:09:58]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:09:58]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:09:58]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:09:58]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:09:58]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:09:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:09:58]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:09:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:09:58]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:09:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:58]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:09:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:09:58]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:09:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:58]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:58]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:59]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:09:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:59]                 │ debg ... sleep(500) start
[00:10:00]                 │ debg ... sleep(500) end
[00:10:00]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:10:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:00]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:00]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:00]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:00]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:00]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:10:00]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:01]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:10:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:10:04]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:10:04]                 │ debg TestSubjects.click(querySubmitButton)
[00:10:04]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:04]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:04]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:05]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:05]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:05]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:10:05]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:10:05]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:05]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:10:05]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:10:05]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:10:05]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:05]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:10:05]                 └- ✓ pass  (20.0s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:10:05]               └-> metric should be embeddable in dashboards
[00:10:05]                 └-> "before each" hook: global before each
[00:10:05]                 │ debg navigating to dashboard url: http://localhost:6151/app/dashboards#/list
[00:10:05]                 │ debg navigate to: http://localhost:6151/app/dashboards#/list
[00:10:05]                 │ debg ... sleep(700) start
[00:10:05]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594286587066#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:10:05]                 │
[00:10:05]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:06]                 │ debg ... sleep(700) end
[00:10:06]                 │ debg returned from get, calling refresh
[00:10:06]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594286587066#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:10:06]                 │
[00:10:06]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:06]                 │ debg currentUrl = http://localhost:6151/app/dashboards#/list
[00:10:06]                 │          appUrl = http://localhost:6151/app/dashboards#/list
[00:10:06]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:08]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:23:08Z
[00:10:08]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:08]                 │
[00:10:08]                 │      "
[00:10:08]                 │ debg ... sleep(501) start
[00:10:08]                 │ debg ... sleep(501) end
[00:10:08]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:08]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:09]                 │ debg ... sleep(501) start
[00:10:09]                 │ debg ... sleep(501) end
[00:10:09]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:09]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:12]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:12]                 │ debg TestSubjects.exists(newItemButton)
[00:10:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:10:15]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:10:15]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:10:15]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:15]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:15]                 │ debg waitForRenderComplete
[00:10:15]                 │ debg in getSharedItemsCount
[00:10:15]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:16]                 │ debg Renderable.waitForRender for 0 elements
[00:10:16]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:26]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:10:27]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:10:27]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:10:27]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:27]                 │ debg ... sleep(500) start
[00:10:27]                 │ debg ... sleep(500) end
[00:10:27]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:10:28]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, Artistpreviouslyknownaslens)
[00:10:28]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:10:28]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:10:28]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:10:28]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:10:29]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:10:29]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:10:29]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:10:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:10:29]                 │ debg Closing flyout dashboardAddPanel
[00:10:29]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:10:29]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:10:30]                 │ debg Waiting up to 20000ms for flyout closed...
[00:10:30]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:10:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:10:31]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:10:31]                 │ debg lensPage.goToTimeRange()
[00:10:31]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:10:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:10:34]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:10:34]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:10:34]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:10:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:10:34]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:10:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:10:34]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:10:34]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:34]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:34]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:10:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:10:34]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:10:34]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:34]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:35]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:35]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:10:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:36]                 │ debg ... sleep(500) start
[00:10:36]                 │ debg ... sleep(500) end
[00:10:36]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:10:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:36]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:36]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:37]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:10:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:37]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:10:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:10:40]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:10:40]                 │ debg TestSubjects.click(querySubmitButton)
[00:10:40]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:40]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:41]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:41]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:41]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:10:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:10:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:10:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:10:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:10:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:10:41]                 └- ✓ pass  (35.8s) "lens app  lens smokescreen tests metric should be embeddable in dashboards"
[00:10:41]               └-> click on the bar in XYChart adds proper filters/timerange in dashboard
[00:10:41]                 └-> "before each" hook: global before each
[00:10:41]                 │ debg navigating to dashboard url: http://localhost:6151/app/dashboards#/list
[00:10:41]                 │ debg navigate to: http://localhost:6151/app/dashboards#/list
[00:10:41]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594286622823#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:10:41]                 │
[00:10:41]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:41]                 │ debg ... sleep(700) start
[00:10:42]                 │ debg ... sleep(700) end
[00:10:42]                 │ debg returned from get, calling refresh
[00:10:42]                 │ debg browser[INFO] http://localhost:6151/app/dashboards?_t=1594286622823#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:10:42]                 │
[00:10:42]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:42]                 │ debg currentUrl = http://localhost:6151/app/dashboards#/list
[00:10:42]                 │          appUrl = http://localhost:6151/app/dashboards#/list
[00:10:42]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:42]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:44]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:23:44Z
[00:10:44]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:10:44]                 │
[00:10:44]                 │      "
[00:10:44]                 │ debg ... sleep(501) start
[00:10:44]                 │ debg ... sleep(501) end
[00:10:44]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:44]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:45]                 │ debg ... sleep(501) start
[00:10:45]                 │ debg ... sleep(501) end
[00:10:45]                 │ debg in navigateTo url = http://localhost:6151/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:45]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:48]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:48]                 │ debg TestSubjects.exists(newItemButton)
[00:10:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:10:51]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:10:51]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:10:51]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:51]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:51]                 │ debg waitForRenderComplete
[00:10:51]                 │ debg in getSharedItemsCount
[00:10:51]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:52]                 │ debg Renderable.waitForRender for 0 elements
[00:10:52]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:11:02]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:11:03]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:11:03]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:11:03]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:03]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:03]                 │ debg ... sleep(500) start
[00:11:03]                 │ debg ... sleep(500) end
[00:11:03]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:04]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, lnsXYvis)
[00:11:04]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:11:04]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:04]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:04]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:05]                 │ debg Find.clickByButtonText('lnsXYvis') with timeout=10000
[00:11:05]                 │ debg Find.byButtonText('lnsXYvis') with timeout=10000
[00:11:05]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:05]                 │ debg Closing flyout dashboardAddPanel
[00:11:05]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:11:05]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:11:06]                 │ debg Waiting up to 20000ms for flyout closed...
[00:11:06]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:07]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:11:07]                 │ debg lensPage.goToTimeRange()
[00:11:07]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:10]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:10]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:10]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:10]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:10]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:10]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:10]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:10]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:11]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:12]                 │ debg ... sleep(500) start
[00:11:12]                 │ debg ... sleep(500) end
[00:11:12]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:12]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:12]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:13]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:13]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:16]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:16]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:16]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:16]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:17]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:17]                 │ debg Find.findByCssSelector('.echChart canvas:last-of-type') with timeout=10000
[00:11:17]                 │ debg TestSubjects.click(applyFiltersPopoverButton)
[00:11:17]                 │ debg Find.clickByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:11:17]                 │ debg Find.findByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:11:17]                 │ debg TestSubjects.missingOrFail(applyFiltersPopoverButton)
[00:11:17]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=2500
[00:11:18]                 │ debg lensPage.assertExactText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', 'lnsXYvis')
[00:11:18]                 │ debg lensPage.assertExpectedText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', value => value === expectedText)
[00:11:18]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:18]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-lnsXYvis"]') with timeout=10000
[00:11:18]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:18]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:20]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:11:21]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:21]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:11:21]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:11:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:21]                 │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:11:21]                 │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:11:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:21]                 │ debg TestSubjects.exists(filter filter-enabled filter-key-ip filter-value-97.220.3.248 filter-unpinned)
[00:11:21]                 │ debg Find.existsByCssSelector('[data-test-subj="filter filter-enabled filter-key-ip filter-value-97.220.3.248 filter-unpinned"]') with timeout=2500
[00:11:21]                 └- ✓ pass  (40.1s) "lens app  lens smokescreen tests click on the bar in XYChart adds proper filters/timerange in dashboard"
[00:11:21]               └-> should allow seamless transition to and from table view
[00:11:21]                 └-> "before each" hook: global before each
[00:11:21]                 │ debg navigating to visualize url: http://localhost:6151/app/visualize#/
[00:11:21]                 │ debg navigate to: http://localhost:6151/app/visualize#/
[00:11:21]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594286662910#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:11:21]                 │
[00:11:21]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:21]                 │ debg ... sleep(700) start
[00:11:22]                 │ debg ... sleep(700) end
[00:11:22]                 │ debg returned from get, calling refresh
[00:11:22]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594286662910#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:11:22]                 │
[00:11:22]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:23]                 │ debg currentUrl = http://localhost:6151/app/visualize#/
[00:11:23]                 │          appUrl = http://localhost:6151/app/visualize#/
[00:11:23]                 │ debg TestSubjects.find(kibanaChrome)
[00:11:23]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:24]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:24:24Z
[00:11:24]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:11:24]                 │
[00:11:24]                 │      "
[00:11:24]                 │ debg ... sleep(501) start
[00:11:24]                 │ debg ... sleep(501) end
[00:11:24]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:24]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:25]                 │ debg ... sleep(501) start
[00:11:25]                 │ debg ... sleep(501) end
[00:11:25]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:25]                 │ debg TestSubjects.exists(statusPageContainer)
[00:11:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:28]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:28]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:11:28]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:11:29]                 │ debg isGlobalLoadingIndicatorVisible
[00:11:29]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:29]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:31]                 │ debg --- retry.tryForTime failed again with the same message...
[00:11:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:32]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:11:32]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:11:32]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:11:32]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:11:32]                 │ debg lensPage.goToTimeRange()
[00:11:32]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:35]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:35]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:35]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:35]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:35]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:35]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:35]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:35]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:36]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:36]                 │ debg ... sleep(500) start
[00:11:37]                 │ debg ... sleep(500) end
[00:11:37]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:37]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:37]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:38]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:41]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:41]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:41]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:41]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:41]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:43]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:11:43]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:11:43]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:43]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:11:43]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:11:43]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:11:43]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:43]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:11:43]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:11:43]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:11:43]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:43]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:43]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:11:43]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:11:43]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:11:43]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:11:43]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:11:43]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:43]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:11:44]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]', '19,986')
[00:11:44]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]', value => value === expectedText)
[00:11:44]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]') with timeout=10000
[00:11:44]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsMetric')
[00:11:44]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:11:44]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:44]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsMetric)
[00:11:44]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsMetric"]') with timeout=10000
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsMetric"]') with timeout=10000
[00:11:44]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:11:44]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:11:44]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:11:44]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:11:44]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:11:44]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:11:44]                 └- ✓ pass  (23.5s) "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:11:44]               └-> should allow creation of lens visualizations
[00:11:44]                 └-> "before each" hook: global before each
[00:11:45]                 │ debg navigating to visualize url: http://localhost:6151/app/visualize#/
[00:11:45]                 │ debg navigate to: http://localhost:6151/app/visualize#/
[00:11:45]                 │ debg ... sleep(700) start
[00:11:45]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594286686393#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:11:45]                 │
[00:11:45]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:45]                 │ debg ... sleep(700) end
[00:11:45]                 │ debg returned from get, calling refresh
[00:11:46]                 │ debg browser[INFO] http://localhost:6151/app/visualize?_t=1594286686393#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:11:46]                 │
[00:11:46]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:46]                 │ debg currentUrl = http://localhost:6151/app/visualize#/
[00:11:46]                 │          appUrl = http://localhost:6151/app/visualize#/
[00:11:46]                 │ debg TestSubjects.find(kibanaChrome)
[00:11:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:47]                 │ debg browser[INFO] http://localhost:6151/34485/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-09T09:24:47Z
[00:11:47]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:11:47]                 │
[00:11:47]                 │      "
[00:11:47]                 │ debg ... sleep(501) start
[00:11:47]                 │ debg ... sleep(501) end
[00:11:47]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:47]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:48]                 │ debg ... sleep(501) start
[00:11:48]                 │ debg ... sleep(501) end
[00:11:48]                 │ debg in navigateTo url = http://localhost:6151/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:48]                 │ debg TestSubjects.exists(statusPageContainer)
[00:11:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:51]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:51]                 │ debg TestSubjects.exists(newItemButton)
[00:11:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:11:52]                 │ debg TestSubjects.click(newItemButton)
[00:11:52]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:52]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:52]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:11:52]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:11:52]                 │ debg TestSubjects.click(visType-lens)
[00:11:52]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:11:52]                 │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:11:52]                 │ debg isGlobalLoadingIndicatorVisible
[00:11:52]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:52]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:52]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:52]                 │ debg lensPage.goToTimeRange()
[00:11:52]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:55]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:55]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:55]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:55]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:55]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:55]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:55]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:55]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:56]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:56]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:56]                 │ debg ... sleep(500) start
[00:11:57]                 │ debg ... sleep(500) end
[00:11:57]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:57]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:57]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:57]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:58]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:12:00]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:12:01]                 │ debg TestSubjects.click(querySubmitButton)
[00:12:01]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:12:01]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:12:01]                 │ debg Find.waitForElementStale with timeout=10000
[00:12:01]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:01]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:02]                 │ debg lensPage.configureDimension([object Object])
[00:12:02]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:02]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:02]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-date_histogram"],
[00:12:02]                 │                [data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:12:02]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-date_histogram"],
[00:12:02]                 │                [data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:12:02]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:02]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:02]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:05]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:05]                 │ debg comboBox.setElement, value: @timestamp
[00:12:05]                 │ debg comboBox.isOptionSelected, value: @timestamp
[00:12:08]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:08]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:12:08]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:10]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:11]                 │ debg lensPage.configureDimension([object Object])
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-avg"],
[00:12:11]                 │                [data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-avg"],
[00:12:11]                 │                [data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:12:11]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:11]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:14]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:14]                 │ warn WebElementWrapper.find: stale element reference: element is not attached to the page document
[00:12:14]                 │        (Session info: headless chrome=83.0.4103.116)
[00:12:14]                 │ debg finding element 'By(css selector, [data-test-subj="indexPattern-dimension-field"])' again, 2 attempts left
[00:12:15]                 │ debg comboBox.setElement, value: bytes
[00:12:15]                 │ debg comboBox.isOptionSelected, value: bytes
[00:12:17]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:17]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:12:17]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:20]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:20]                 │ debg lensPage.configureDimension([object Object])
[00:12:20]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:20]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:21]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-terms"],
[00:12:21]                 │                [data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:12:21]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-terms"],
[00:12:21]                 │                [data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:12:21]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:21]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:21]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:23]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:24]                 │ warn WebElementWrapper.find: stale element reference: element is not attached to the page document
[00:12:24]                 │        (Session info: headless chrome=83.0.4103.116)
[00:12:24]                 │ debg finding element 'By(css selector, [data-test-subj="indexPattern-dimension-field"])' again, 2 attempts left
[00:12:24]                 │ debg comboBox.setElement, value: @message.raw
[00:12:24]                 │ debg comboBox.isOptionSelected, value: @message.raw
[00:12:27]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:27]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@message.raw"]') with timeout=2500
[00:12:27]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:29]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:30]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:12:30]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:12:30]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:30]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:30]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:12:30]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:12:30]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:12:30]                 │ debg lensPage.removeDimension('lnsDatatable_column')
[00:12:30]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimensionPopover-remove"]') with timeout=10000
[00:12:30]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimensionPopover-remove"]') with timeout=10000
[00:12:31]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_bar_stacked')
[00:12:31]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:31]                 │ debg TestSubjects.click(lnsChartSwitchPopover_bar_stacked)
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:12:31]                 │ debg lensPage.configureDimension([object Object])
[00:12:31]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:31]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:41]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:12:41]                 │      Wait timed out after 10011ms
[00:12:41]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:51]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:12:51]                 │      Wait timed out after 10010ms
[00:12:52]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:02]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:02]                 │      Wait timed out after 10038ms
[00:13:02]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:12]                 │      Wait timed out after 10013ms
[00:13:13]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:23]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:23]                 │      Wait timed out after 10009ms
[00:13:23]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:34]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:34]                 │      Wait timed out after 10041ms
[00:13:34]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:44]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:44]                 │      Wait timed out after 10025ms
[00:13:45]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:55]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:55]                 │      Wait timed out after 10030ms
[00:13:55]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:05]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:05]                 │      Wait timed out after 10015ms
[00:14:06]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:16]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:16]                 │      Wait timed out after 10017ms
[00:14:16]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:26]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:26]                 │      Wait timed out after 10035ms
[00:14:27]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:37]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:37]                 │      Wait timed out after 10034ms
[00:14:37]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow creation of lens visualizations.png"
[00:14:37]                 │ info Current URL is: http://localhost:6151/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:14:37]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow creation of lens visualizations.html
[00:14:37]                 └- ✖ fail: "lens app  lens smokescreen tests should allow creation of lens visualizations"
[00:14:37]                 │

Stack Trace

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

Build metrics

✅ unchanged

History

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

@ogupte ogupte merged commit b302565 into elastic:master Jul 9, 2020
ogupte added a commit to ogupte/kibana that referenced this pull request Jul 11, 2020
…tic#70932)

* Closes elastic#69480 & elastic#70419.
- Adds anomaly detection integration to service maps backed by apm ML jobs per environment
- Loads transaction stats and anomalies for each transaction types
- Renders a selector in the popop to choose a transaction type to view stats

* - implements original anomaly detection integration design for service maps popover
- only aggregates transaction KPIs and anomaly scores for transaction.type = "request" or "page-load"
- supports environment filter 'All' option to display data from all APM anomaly detection jobs
- handle case where popover metrics don't exist for services outside the current environment filter

* fixes some CI errors

* Simplified messaging for service popop with not data in the current environment

* PR feedback, renamed max anomalies -> service anomalies including the file name

* - defines custom_settings.job_tags.apm_ml_version in ML job creation,
  then filters for it when returing valid APM ML jobs

* changes shape of of service anomalies from an array to a object keyed by serviceName

* removes the url encoding from ML job link href to how it was previously.

* PR feedback

* Popover no data state simplified:
- renders the "no data" message as plain text instead of in a callout
- hides the 'Anomaly detection' section if there is not anomaly data.

* Fixes filtering bug when user selects 'Environment: Not defined'. Now
filters properly by filtering for docs where service.environment does
not exist

* filters jobs fetched in the settings page by `job.custom_settings.job_tags.apm_ml_version`

* Fixed bad import from last upstream merge

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 13, 2020
ogupte added a commit that referenced this pull request Jul 13, 2020
…) (#71391)

* Closes #69480 & #70419.
- Adds anomaly detection integration to service maps backed by apm ML jobs per environment
- Loads transaction stats and anomalies for each transaction types
- Renders a selector in the popop to choose a transaction type to view stats

* - implements original anomaly detection integration design for service maps popover
- only aggregates transaction KPIs and anomaly scores for transaction.type = "request" or "page-load"
- supports environment filter 'All' option to display data from all APM anomaly detection jobs
- handle case where popover metrics don't exist for services outside the current environment filter

* fixes some CI errors

* Simplified messaging for service popop with not data in the current environment

* PR feedback, renamed max anomalies -> service anomalies including the file name

* - defines custom_settings.job_tags.apm_ml_version in ML job creation,
  then filters for it when returing valid APM ML jobs

* changes shape of of service anomalies from an array to a object keyed by serviceName

* removes the url encoding from ML job link href to how it was previously.

* PR feedback

* Popover no data state simplified:
- renders the "no data" message as plain text instead of in a callout
- hides the 'Anomaly detection' section if there is not anomaly data.

* Fixes filtering bug when user selects 'Environment: Not defined'. Now
filters properly by filtering for docs where service.environment does
not exist

* filters jobs fetched in the settings page by `job.custom_settings.job_tags.apm_ml_version`

* Fixed bad import from last upstream merge

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team:APM All issues that need APM UI Team support v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Anomaly detection integration for service maps
5 participants