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

Actions & Alerting RBAC #70734

Closed
wants to merge 158 commits into from
Closed

Conversation

gmmorris
Copy link
Contributor

@gmmorris gmmorris commented Jul 3, 2020

Summary

Draft of the Alerting (#67157) & Actions (#70304) PRs together.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

gmmorris added 30 commits May 21, 2020 09:50
…bana into alerting/consumer-based-rbac

* 'alerting/consumer-based-rbac' of github.com:gmmorris/kibana:
  added rbac in alerting
  fixed unit test
  fixed typing, commented unused authz
  made SO client unsecure in alerting
* master: (26 commits)
  [Console]remove completion for type for filter queries and aggs (elastic#68103)
  [ML] Transforms: Filter aggregation support (elastic#67591)
  [ES UI Shared] Monaco XJSON (elastic#67485)
  [Index Management] Add data streams functionality to indices tab (elastic#67940)
  [Discover] Fix renaming of saved search not displayed in breadcrumb (elastic#67577)
  [SECURITY] Rename siem plugin to security_solution (elastic#67902)
  [Uptime] Fix Telemetry Api flaky test (elastic#67358)
  [Data plugin] Add configuration property to enable / disable autocomplete (elastic#67847)
  remove scripts. prettire update has been done (elastic#68130)
  Closes elastic#68055 by detecting the local Kibana version and using that as (elastic#68198)
  [apm] docs: add deployment annotation example (elastic#67408)
  [ML] Extend population preview chart to show actual and typical value (elastic#67569)
  Refactor index management client integration tests for scalability (elastic#67917)
  Add generator function that creates multiple alerts (elastic#67713)
  chore(NA): remove config arg from os packages (elastic#67871)
  [Reporting] Move code out of Legacy (elastic#67904)
  [Metrics UI] Add overrides to Snapshot API to support alert previews (elastic#68125)
  [Security] [Cases] Manage timeline UI API (elastic#67719)
  [ENDPOINT][INGEST]Task/endpoint ingest update (elastic#67234)
  Fix code coverage for jest, upload merged reports (elastic#68149)
  ...
* master: (57 commits)
  Add app arch team as owner of datemath package (elastic#66880)
  [Observability] Landing page for Observability (elastic#67467)
  [SIEM] Fix timeline buildGlobalQuery (elastic#68320)
  Optimize saved objects getScopedClient and HTTP API (elastic#68221)
  [Maps] Fix mb-style interpolate style rule (elastic#68413)
  update script to always download node (elastic#68421)
  [SECURITY SOLEIL] Fix selection of event type when no siem index signal created (elastic#68291)
  [DOCS] Adds note about configuring File Data Visualizer (elastic#68407)
  [DOCS] Adds link from remote clusters to index patterns (elastic#68406)
  [QA] slack notify on failure (elastic#68126)
  upgrade eslint-plugin-react-hooks from 2.3.0 to 4.0.4 (elastic#68295)
  moving to jira to a gold license (elastic#67178)
  [DOCS] Revises doc on adding data (elastic#68038)
  [APM] Add ThemeProvider to support dark mode (elastic#68242)
  Make welcome screen disabling first action in loginIfPrompted (elastic#68238)
  [QA] Code coverage: unskip tests, collect tests results, exclude bundles from report (elastic#64477)
  [ML] Functional tests - disable flaky regression and classification creation test
  [Alerting] change eventLog ILM requests to absolute URLs (elastic#68331)
  Report page load asset size (elastic#66224)
  [SIEM][CASE] Change SIEM to Security (elastic#68365)
  ...
* master:
  [ML] DFAnalytics results: ensure ml result fields are shown in data grid (elastic#68305)
  [security_solution] enable react-hooks/exhaustive-deps (elastic#68470)
  Closes elastic#66867 by adding missing, requried API params (elastic#68465)
  [Telemetry] collect number of visualization saved in the past 7, 30 and 90 days (elastic#67865)
  [Logs UI] View in context tweaks (elastic#67777)
  Kibana developer examples landing page (elastic#67049)
  Bump decompress package version (elastic#68386)
  fix elastic#66185 (elastic#66186)
  Bump pdfmake package version (elastic#68395)
  Unskip embeddables/adding_children suite (elastic#68111)
  Add embed mode options in the Share UI (elastic#58435)
  Adding key to avoid react warning (elastic#68491)
* master: (37 commits)
  [DOCS] Adds documentation for drilldowns (elastic#68122)
  [Telemetry] telemetry.sendUsageFrom: "server" by default (elastic#68071)
  [ML] Transforms: Support sub-aggregations (elastic#68306)
  Fixed pre-configured docs link points to the wrong page and functional tests configs (elastic#68606)
  [Ingest Manager] Update queries from `stream.*` to `dataset.*` (elastic#68322)
  Enable Watcher by default to fix bug in which Watcher doesn't render in the side nav (elastic#68602)
  Convert Index Templates API routes to snakecase. (elastic#68463)
  [SECURITY SOLUTION] [Detections] Add / Update e2e tests to ensure initial rule runs are successful (elastic#68441)
  [Ingest] OpenAPI spec file (elastic#68323)
  chore(NA): skip apis Endpoint plugin Endpoint policy api (elastic#68638)
  bumping makelogs version to v6.0.0 (elastic#66163)
  [SIEM] Add create template button (elastic#66613)
  Bump websocket-extensions from 0.1.3 to 0.1.4 (elastic#68414)
  [ML] Sample data modules - use event.dataset instead of index name (elastic#68538)
  [ML] Functional tests - fix job validation API test with maxModelMemoryLimit (elastic#68501)
  [ML] Functional tests - stabilize DFA job creation (elastic#68495)
  [TSVB] Allows the user to change the tooltip mode (elastic#67775)
  chore(NA): skip apis Endpoint plugin Endpoint alert API when data is in elasticsearch (elastic#68613)
  chore(NA): skip endpoint Endpoint Alert Page: when es has data and user has navigated to the page (elastic#68596)
  [SIEM][Detection Engine] Converts from joi to use io-ts and moves the types to common  (elastic#68127)
  ...
gmmorris added 5 commits July 6, 2020 12:36
* actions/feature:
  added actions feature to features test
  show prompt if user has no privileges in actions form
* master:
  [APM] Fix flaky e2e’s (elastic#70790)
  [Discover] Migrate server side saved object from data to discover plugin (elastic#70342)
  [APM] Update docs on running API tests (elastic#70765)
  test: 💍 delete a flaky test (elastic#70785)
  [Security Solution] Refactor GlobalTime to useGlobalTime hook and cle… (elastic#69345)
  Remove IE11 mention from PR template [skip ci] (elastic#70486)
  [GS] add savedObjects result provider (elastic#68619)
  remove snapshot from disabled test suite. (elastic#70769)
gmmorris added 20 commits July 7, 2020 09:12
* master: (53 commits)
  [Composable template] Details panel + delete functionality (elastic#70814)
  [Uptime] Ping list body scroll (elastic#70781)
  moving indexPattern.delete() to indexPatterns.delete(indexPattern) (elastic#70430)
  Adapt expected response of advanced settings feature control for cloud tests (elastic#70793)
  skip flaky suite (elastic#70885)
  skip flaky suite (elastic#67814)
  skip flaky suite (elastic#70906)
  Revert "reenable regression and classification functional tests (elastic#70661)" (elastic#70908)
  Added UI validation when creating a Webhook connector with invalid URL (elastic#70025)
  [Security Solution] Change default index pattern (elastic#70797)
  ServiceNow push to Incident generic implementation (supporting both Case specific and generic Alerts) (elastic#68464)
  add button link to ingest (elastic#70142)
  reenable regression and classification functional tests (elastic#70661)
  [Component templates] Form wizard (elastic#69732)
  [Ingest Manager] Copy changes (elastic#70828)
  Adding test user to maps functional tests - PR 1 (elastic#70649)
  [Ingest Manager] Support limiting integrations on an agent config (elastic#70542)
  skip flaky suite (elastic#70880)
  [Metrics UI] Fix a bug in Metric Threshold query filter construction (elastic#70672)
  upgrade caniuse-lite database (elastic#70833)
  ...
* actions/feature:
  improved copy
  [APM] Fix flaky e2e’s (elastic#70790)
  [Discover] Migrate server side saved object from data to discover plugin (elastic#70342)
  [APM] Update docs on running API tests (elastic#70765)
  test: 💍 delete a flaky test (elastic#70785)
  [Security Solution] Refactor GlobalTime to useGlobalTime hook and cle… (elastic#69345)
  Remove IE11 mention from PR template [skip ci] (elastic#70486)
  [GS] add savedObjects result provider (elastic#68619)
  remove snapshot from disabled test suite. (elastic#70769)
* master: (46 commits)
  [Composable template] Details panel + delete functionality (elastic#70814)
  [Uptime] Ping list body scroll (elastic#70781)
  moving indexPattern.delete() to indexPatterns.delete(indexPattern) (elastic#70430)
  Adapt expected response of advanced settings feature control for cloud tests (elastic#70793)
  skip flaky suite (elastic#70885)
  skip flaky suite (elastic#67814)
  skip flaky suite (elastic#70906)
  Revert "reenable regression and classification functional tests (elastic#70661)" (elastic#70908)
  Added UI validation when creating a Webhook connector with invalid URL (elastic#70025)
  [Security Solution] Change default index pattern (elastic#70797)
  ServiceNow push to Incident generic implementation (supporting both Case specific and generic Alerts) (elastic#68464)
  add button link to ingest (elastic#70142)
  reenable regression and classification functional tests (elastic#70661)
  [Component templates] Form wizard (elastic#69732)
  [Ingest Manager] Copy changes (elastic#70828)
  Adding test user to maps functional tests - PR 1 (elastic#70649)
  [Ingest Manager] Support limiting integrations on an agent config (elastic#70542)
  skip flaky suite (elastic#70880)
  [Metrics UI] Fix a bug in Metric Threshold query filter construction (elastic#70672)
  upgrade caniuse-lite database (elastic#70833)
  ...
* actions/feature: (46 commits)
  [Composable template] Details panel + delete functionality (elastic#70814)
  [Uptime] Ping list body scroll (elastic#70781)
  moving indexPattern.delete() to indexPatterns.delete(indexPattern) (elastic#70430)
  Adapt expected response of advanced settings feature control for cloud tests (elastic#70793)
  skip flaky suite (elastic#70885)
  skip flaky suite (elastic#67814)
  skip flaky suite (elastic#70906)
  Revert "reenable regression and classification functional tests (elastic#70661)" (elastic#70908)
  Added UI validation when creating a Webhook connector with invalid URL (elastic#70025)
  [Security Solution] Change default index pattern (elastic#70797)
  ServiceNow push to Incident generic implementation (supporting both Case specific and generic Alerts) (elastic#68464)
  add button link to ingest (elastic#70142)
  reenable regression and classification functional tests (elastic#70661)
  [Component templates] Form wizard (elastic#69732)
  [Ingest Manager] Copy changes (elastic#70828)
  Adding test user to maps functional tests - PR 1 (elastic#70649)
  [Ingest Manager] Support limiting integrations on an agent config (elastic#70542)
  skip flaky suite (elastic#70880)
  [Metrics UI] Fix a bug in Metric Threshold query filter construction (elastic#70672)
  upgrade caniuse-lite database (elastic#70833)
  ...
…rbac

* alerting/consumer-based-rbac:
  added missing SO privileges
* master:
  [ML] Adding peak_model_bytes to model size stats type (elastic#70825)
* actions/feature:
  added readonly support to servicenow connector
* actions/feature:
  removed unused variable in i18n
* master:
  Rename legacy ES mock accessors (elastic#70432)
  [APM] Adds 'Anomaly detection' settings page to create ML jobs per environment (elastic#70560)
  Forbid timezones not working in Elasticsearch (elastic#70780)
…rbac

* alerting/consumer-based-rbac:
  Rename legacy ES mock accessors (elastic#70432)
  [APM] Adds 'Anomaly detection' settings page to create ML jobs per environment (elastic#70560)
  Forbid timezones not working in Elasticsearch (elastic#70780)
  [ML] Adding peak_model_bytes to model size stats type (elastic#70825)
* master:
  fix flaky test on tsvb switch index patterns (elastic#70811)
  skip flaky suite (elastic#70757)
  Fix Data Streams and Rollups Jobs deep-link bugs (elastic#70903)
…rbac

* alerting/consumer-based-rbac:
  fix flaky test on tsvb switch index patterns (elastic#70811)
  skip flaky suite (elastic#70757)
  Fix Data Streams and Rollups Jobs deep-link bugs (elastic#70903)
* master: (36 commits)
  fixed api url in example plugin (elastic#70934)
  [data.search.aggs]: Remove remaining client dependencies (elastic#70251)
  [Security Solution][Endpoint] Fix base64 download bug and adopt new user artifact/manifest format (elastic#70998)
  [Security Solution][Exceptions] - Exception Modal Part I (elastic#70639)
  [SIEM][Detection Engine][Lists] Adds additional data types to value based lists
  [SIEM][Detection Engine][Lists] Removes feature flag for lists
  [APM] Show license callout in ML settings (elastic#70959)
  Migrate service settings test to jest (elastic#70992)
  [APM] Add cloud attributes to data telemetry (elastic#71008)
  Fix breadcrumb on panels for visibility / round corners (elastic#71010)
  Improve search typescript (elastic#69333)
  [savedObjects field count] run in baseline job (elastic#70999)
  [Security Solution] [Timeline] Timeline manager tweaks (elastic#69988)
  [Endpoint] Support redirect from Policy Details to Ingest when user initiates Edit Policy from Datasource Edit page (elastic#70874)
  [APM] Add API tests (elastic#70740)
  [Security Solution][Exceptions] - Tie server and client code together (elastic#70918)
  [Audit Logging] Add AuditTrail service (elastic#69278)
  [Usage Collection] Ensure no type duplicates (elastic#70946)
  [Security Solution] [Timeline] Bugfix for timeline row actions disappear sometimes (elastic#70958)
  [CI] Add pipeline task queue framework and merge workers into one (elastic#64011)
  ...
…rbac

* alerting/consumer-based-rbac:
  fixed bulk audit log api for alerts
  added bulk audit log api for alerts
@gmmorris
Copy link
Contributor Author

gmmorris commented Jul 8, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Exports a custom rule.Export rules Exports a custom rule

Link to Jenkins

Stack Trace

AssertionError: Timed out retrying: Expected to find element: `[data-test-subj="euiCollapsedItemActionsButton"]`, but never found it.
    at ensureExistence (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:137673:32)
    at Object.ensureElExistence (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:137691:12)
    at ensureExistence (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:127867:23)
    at onFailFn (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:127905:9)
    at tryCatcher (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:9065:23)
    at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:7000:31)
    at Promise._settlePromise (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:7057:18)
    at Promise._settlePromise0 (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:7102:10)
    at Promise._settlePromises (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:7178:18)
    at _drainQueueStep (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:3772:12)
    at _drainQueue (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:3765:9)
    at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:3781:5)
    at Async.drainQueues (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:3651:14)

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

Link to Jenkins

Standard Out

[00:00:00]       │
[00:12:32]         └-: visualize app
[00:12:32]           └-> "before all" hook
[00:12:32]           └-> "before all" hook
[00:12:32]             │ debg Starting visualize before method
[00:12:32]             │ info [logstash_functional] Loading "mappings.json"
[00:12:32]             │ info [logstash_functional] Loading "data.json.gz"
[00:12:32]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:12:32]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:12:32]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:12:32]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:32]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:12:32]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:12:32]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:12:32]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:32]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:12:32]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:12:32]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:12:32]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:42]             │ info progress: 12040
[00:12:43]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:43]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:43]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:44]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:44]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:44]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:44]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:12:44]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:44]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:54]             │ info progress: 10837
[00:12:56]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:12:57]             │ info [visualize] Loading "mappings.json"
[00:12:57]             │ info [visualize] Loading "data.json"
[00:12:57]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/IKkZl4aHSsCz2WtoQE47Cg] deleting index
[00:12:57]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_1/wO4U2h-MQvOb4Colb4vqFg] deleting index
[00:12:57]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:57]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:57]             │ info [visualize] Created index ".kibana"
[00:12:57]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:57]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana/a47G-eBTQGmo2lJllNwdzw] update_mapping [_doc]
[00:12:57]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:12:57]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana/a47G-eBTQGmo2lJllNwdzw] update_mapping [_doc]
[00:12:57]             │ debg Migrating saved objects
[00:12:57]             │ proc [kibana]   log   [11:23:25.626] [info][savedobjects-service] Creating index .kibana_2.
[00:12:57]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:57]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:57]             │ proc [kibana]   log   [11:23:25.691] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:57]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:57]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:57]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] 8994 finished with response BulkByScrollResponse[took=58.7ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:12:57]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana/a47G-eBTQGmo2lJllNwdzw] deleting index
[00:12:57]             │ proc [kibana]   log   [11:23:26.050] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:58]             │ proc [kibana]   log   [11:23:26.064] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:12:58]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/REKLVW6WR_KJniD0IBzx3A] update_mapping [_doc]
[00:12:58]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/REKLVW6WR_KJniD0IBzx3A] update_mapping [_doc]
[00:12:58]             │ proc [kibana]   log   [11:23:26.170] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:58]             │ proc [kibana]   log   [11:23:26.225] [info][savedobjects-service] Finished in 602ms.
[00:12:58]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:58]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/REKLVW6WR_KJniD0IBzx3A] update_mapping [_doc]
[00:12:59]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:31]           └-: 
[00:13:31]             └-> "before all" hook
[00:13:31]             └-: visual builder
[00:13:31]               └-> "before all" hook
[00:13:31]               └-: metric
[00:13:31]                 └-> "before all" hook
[00:13:31]                 └-> should not have inspector enabled
[00:13:31]                   └-> "before each" hook: global before each
[00:13:31]                   └-> "before each" hook
[00:13:31]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:13:31]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:13:31]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:31]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:31]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:31]                     │ debg ... sleep(700) start
[00:13:32]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:32]                     │ debg ... sleep(700) end
[00:13:32]                     │ debg returned from get, calling refresh
[00:13:34]                     │ debg browser[info] "INFO: 2020-07-08T11:24:02Z
[00:13:34]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:34]                     │
[00:13:34]                     │      "
[00:13:34]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:34]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:34]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:34]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:13:34]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:13:34]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:34]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:35]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:37]                     │ debg browser[info] "INFO: 2020-07-08T11:24:05Z
[00:13:37]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:37]                     │
[00:13:37]                     │      "
[00:13:37]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:37]                     │ debg browser[debug] "Reporting user-agent."
[00:13:37]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:38]                     │ debg ... sleep(501) start
[00:13:38]                     │ debg ... sleep(501) end
[00:13:38]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:38]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:39]                     │ debg ... sleep(501) start
[00:13:39]                     │ debg ... sleep(501) end
[00:13:39]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:39]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:42]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:42]                     │ debg TestSubjects.exists(newItemButton)
[00:13:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:13:42]                     │ debg TestSubjects.click(newItemButton)
[00:13:42]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:42]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:43]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:43]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:43]                     │ debg TestSubjects.click(visType-metrics)
[00:13:43]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:43]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:43]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:13:43]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:13:43]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:43]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:43]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:43]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:43]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:43]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:45]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:45]                     │ debg browser[info] "INFO: 2020-07-08T11:24:13Z
[00:13:45]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:45]                     │
[00:13:45]                     │      "
[00:13:45]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:45]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:45]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:45]                     │ debg browser[debug] "Reporting user-agent."
[00:13:45]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:51]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:51]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:52]                   └-> "before each" hook
[00:13:52]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:13:52]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:52]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:52]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:52]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:13:52]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:13:52]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:52]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:53]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:55]                     │ debg browser[info] "INFO: 2020-07-08T11:24:23Z
[00:13:55]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:55]                     │
[00:13:55]                     │      "
[00:13:55]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:55]                     │ debg browser[debug] "Reporting user-agent."
[00:13:55]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:56]                     │ debg Wait for initializing TSVB editor
[00:13:56]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:58]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:14:01]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:01]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:01]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:01]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:02]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:02]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:02]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:02]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:02]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:02]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:02]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:02]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:02]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:03]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:03]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:03]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:03]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:03]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:04]                     │ debg ... sleep(500) start
[00:14:04]                     │ debg ... sleep(500) end
[00:14:04]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:04]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:04]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:05]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:05]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:05]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:05]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:05]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:06]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:06]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:06]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:06]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:06]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:07]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:10]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:10]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:10]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:10]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:11]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:11]                     │ debg Firefox stdout: 1594207479367	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:11]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:11]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:11]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:11]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:11]                     │
[00:14:11]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:11]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:11]                     │ debg ... sleep(2000) start
[00:14:13]                     │ debg ... sleep(2000) end
[00:14:13]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:13]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:13]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:13]                   │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:14:13]                   │ debg TestSubjects.find(openInspectorButton)
[00:14:13]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:14:14]                   └- ✓ pass  (24ms) "visualize app  visual builder metric should not have inspector enabled"
[00:14:14]                 └-> should show correct data
[00:14:14]                   └-> "before each" hook: global before each
[00:14:14]                   └-> "before each" hook
[00:14:14]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:14:14]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:14:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:14]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:14]                     │ debg ... sleep(700) start
[00:14:14]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:14]                     │ debg ... sleep(700) end
[00:14:14]                     │ debg returned from get, calling refresh
[00:14:16]                     │ debg browser[info] "INFO: 2020-07-08T11:24:44Z
[00:14:16]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:16]                     │
[00:14:16]                     │      "
[00:14:16]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:16]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:14:16]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:16]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:14:16]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:14:16]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:16]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:17]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:18]                     │ debg browser[info] "INFO: 2020-07-08T11:24:46Z
[00:14:18]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:18]                     │
[00:14:18]                     │      "
[00:14:18]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:19]                     │ debg browser[debug] "Reporting user-agent."
[00:14:19]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:19]                     │ debg ... sleep(501) start
[00:14:20]                     │ debg ... sleep(501) end
[00:14:20]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:20]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:20]                     │ debg ... sleep(501) start
[00:14:21]                     │ debg ... sleep(501) end
[00:14:21]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:21]                     │ debg TestSubjects.exists(statusPageContainer)
[00:14:21]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:23]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:24]                     │ debg TestSubjects.exists(newItemButton)
[00:14:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:14:24]                     │ debg TestSubjects.click(newItemButton)
[00:14:24]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:24]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:24]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:14:24]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:14:24]                     │ debg TestSubjects.click(visType-metrics)
[00:14:24]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:24]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:24]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:14:24]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:14:24]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:24]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:25]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:25]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:25]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:25]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:27]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:28]                     │ debg browser[info] "INFO: 2020-07-08T11:24:56Z
[00:14:28]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:28]                     │
[00:14:28]                     │      "
[00:14:28]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:28]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:28]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:28]                     │ debg browser[debug] "Reporting user-agent."
[00:14:28]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:29]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:29]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:31]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:14:35]                   └-> "before each" hook
[00:14:35]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:14:35]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:35]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:35]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:35]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:14:35]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:14:35]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:35]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:36]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:37]                     │ debg browser[info] "INFO: 2020-07-08T11:25:05Z
[00:14:37]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:37]                     │
[00:14:37]                     │      "
[00:14:37]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:38]                     │ debg browser[debug] "Reporting user-agent."
[00:14:38]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:38]                     │ debg Wait for initializing TSVB editor
[00:14:38]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:41]                     │ debg --- retry.tryForTime error: [data-test-subj="tvbVisEditor"] is not displayed
[00:14:46]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:46]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:46]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:46]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:46]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:46]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:46]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:47]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:47]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:47]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:47]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:49]                     │ debg ... sleep(500) start
[00:14:49]                     │ debg ... sleep(500) end
[00:14:49]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:49]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:50]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:50]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:50]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:51]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:52]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:54]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:55]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:55]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:55]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:55]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:55]                     │ debg Firefox stdout: 1594207523919	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:55]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:55]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:55]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:55]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:55]                     │
[00:14:55]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:55]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:55]                     │ debg ... sleep(2000) start
[00:14:57]                     │ debg ... sleep(2000) end
[00:14:57]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:58]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:58]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:58]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:58]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:58]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:58]                   │ debg -- firstCount=3
[00:14:58]                   │ debg ... sleep(1000) start
[00:14:59]                   │ debg ... sleep(1000) end
[00:14:59]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:59]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:59]                   │ debg -- secondCount=3
[00:14:59]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:14:59]                   └- ✓ pass  (1.1s) "visualize app  visual builder metric should show correct data"
[00:14:59]                 └-> should show correct data with Math Aggregation
[00:14:59]                   └-> "before each" hook: global before each
[00:14:59]                   └-> "before each" hook
[00:14:59]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:14:59]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:14:59]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:59]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:59]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:59]                     │ debg ... sleep(700) start
[00:15:00]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:00]                     │ debg ... sleep(700) end
[00:15:00]                     │ debg returned from get, calling refresh
[00:15:02]                     │ debg browser[info] "INFO: 2020-07-08T11:25:30Z
[00:15:02]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:02]                     │
[00:15:02]                     │      "
[00:15:02]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:02]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:15:02]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:03]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:15:03]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:15:03]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:03]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:05]                     │ debg browser[info] "INFO: 2020-07-08T11:25:33Z
[00:15:05]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:05]                     │
[00:15:05]                     │      "
[00:15:05]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:05]                     │ debg browser[debug] "Reporting user-agent."
[00:15:05]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:15:05]                     │ debg ... sleep(501) start
[00:15:06]                     │ debg ... sleep(501) end
[00:15:06]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:06]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:06]                     │ debg ... sleep(501) start
[00:15:07]                     │ debg ... sleep(501) end
[00:15:07]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:07]                     │ debg TestSubjects.exists(statusPageContainer)
[00:15:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:09]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:10]                     │ debg TestSubjects.exists(newItemButton)
[00:15:10]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:15:10]                     │ debg TestSubjects.click(newItemButton)
[00:15:10]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:10]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:10]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:15:10]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:15:10]                     │ debg TestSubjects.click(visType-metrics)
[00:15:10]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:10]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:11]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:15:11]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:15:11]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:11]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:11]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:11]                     │ debg isGlobalLoadingIndicatorVisible
[00:15:11]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:11]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:13]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:13]                     │ debg browser[info] "INFO: 2020-07-08T11:25:41Z
[00:15:13]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:13]                     │
[00:15:13]                     │      "
[00:15:13]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:13]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:13]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:13]                     │ debg browser[debug] "Reporting user-agent."
[00:15:13]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:15:14]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:15:14]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:15:14]                   └-> "before each" hook
[00:15:14]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:15:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:15]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:15]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:15:15]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:15:15]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:15]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:15]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:17]                     │ debg browser[info] "INFO: 2020-07-08T11:25:45Z
[00:15:17]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:17]                     │
[00:15:17]                     │      "
[00:15:17]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:18]                     │ debg browser[debug] "Reporting user-agent."
[00:15:18]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:15:18]                     │ debg Wait for initializing TSVB editor
[00:15:18]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:15:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:15:19]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:15:19]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:15:19]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:15:19]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:15:19]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:15:19]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:15:19]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:15:19]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:19]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:15:19]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:15:19]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:15:19]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:20]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:20]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:20]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:20]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:20]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:20]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:20]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:21]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:15:21]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:24]                     │ debg ... sleep(500) start
[00:15:24]                     │ debg ... sleep(500) end
[00:15:24]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:15:24]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:24]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:25]                     │ debg Find.waitForElementStale with timeout=10000
[00:15:25]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:25]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:25]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:25]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:25]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:25]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:15:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:26]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:15:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:15:29]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:15:29]                     │ debg TestSubjects.click(querySubmitButton)
[00:15:29]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:29]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:30]                     │ debg Find.waitForElementStale with timeout=10000
[00:15:30]                     │ debg Firefox stdout: 1594207558766	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:15:30]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:15:30]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:15:30]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:15:30]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:15:30]                     │
[00:15:30]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:30]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:30]                     │ debg ... sleep(2000) start
[00:15:32]                     │ debg ... sleep(2000) end
[00:15:32]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:15:32]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:15:33]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:15:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:15:33]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:33]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:33]                   │ debg TestSubjects.findAll(addMetricAddBtn)
[00:15:33]                   │ debg Find.allByCssSelector('[data-test-subj="addMetricAddBtn"]') with timeout=10000
[00:15:33]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:33]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:33]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:33]                   │ debg -- firstCount=3
[00:15:33]                   │ debg ... sleep(1000) start
[00:15:34]                   │ debg ... sleep(1000) end
[00:15:34]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:34]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:34]                   │ debg -- secondCount=4
[00:15:35]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:35]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:35]                   │ debg -- firstCount=4
[00:15:35]                   │ debg ... sleep(1000) start
[00:15:36]                   │ debg ... sleep(1000) end
[00:15:36]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:36]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:36]                   │ debg -- secondCount=4
[00:15:36]                   │ debg Waiting up to 20000ms for new agg is added...
[00:15:36]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:36]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:36]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:36]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:36]                   │ debg comboBox.setElement, value: math
[00:15:36]                   │ debg comboBox.isOptionSelected, value: math
[00:15:38]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:39]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="math"]') with timeout=2500
[00:15:41]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=10000
[00:15:41]                   │ERROR browser[error] "Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s" "the componentWillUnmount method" "
[00:15:41]                   │          in EuiComboBox (created by AggSelect)
[00:15:41]                   │          in div (created by AggSelect)
[00:15:41]                   │          in AggSelect (created by StandardAgg)
[00:15:41]                   │          in div (created by EuiFlexItem)
[00:15:41]                   │          in EuiFlexItem (created by StandardAgg)
[00:15:41]                   │          in div (created by EuiFlexGroup)
[00:15:41]                   │          in EuiFlexGroup (created by StandardAgg)
[00:15:41]                   │          in div (created by EuiFlexItem)
[00:15:41]                   │          in EuiFlexItem (created by AggRow)
[00:15:41]                   │          in div (created by EuiFlexGroup)
[00:15:41]                   │          in EuiFlexGroup (created by AggRow)
[00:15:41]                   │          in div (created by AggRow)
[00:15:41]                   │          in AggRow (created by StandardAgg)
[00:15:41]                   │          in StandardAgg (created by Agg)"
[00:15:42]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:44]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:45]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:45]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:46]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:47]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:47]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:47]                   │ debg TestSubjects.findAll(varRow)
[00:15:47]                   │ debg Find.allByCssSelector('[data-test-subj="varRow"]') with timeout=10000
[00:15:47]                   │ debg comboBox.setElement, value: Count
[00:15:47]                   │ debg comboBox.isOptionSelected, value: Count
[00:15:50]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:50]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Count"]') with timeout=2500
[00:15:50]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:53]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:53]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:53]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:55]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:55]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:55]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:55]                   │ debg TestSubjects.findAll(mathExpression)
[00:15:55]                   │ debg Find.allByCssSelector('[data-test-subj="mathExpression"]') with timeout=10000
[00:15:56]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:56]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:57]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:57]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:57]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:57]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:57]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:57]                   │ debg -- firstCount=8
[00:15:57]                   │ debg ... sleep(1000) start
[00:15:58]                   │ debg ... sleep(1000) end
[00:15:58]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:58]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:58]                   │ debg -- secondCount=8
[00:15:58]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:15:58]                   └- ✓ pass  (25.0s) "visualize app  visual builder metric should show correct data with Math Aggregation"
[00:15:58]                 └-> should populate fields for basic functions
[00:15:58]                   └-> "before each" hook: global before each
[00:15:58]                   └-> "before each" hook
[00:15:58]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:15:58]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:15:58]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:58]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:58]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:58]                     │ debg ... sleep(700) start
[00:15:59]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:59]                     │ debg ... sleep(700) end
[00:15:59]                     │ debg returned from get, calling refresh
[00:16:00]                     │ debg browser[info] "INFO: 2020-07-08T11:26:28Z
[00:16:00]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:16:00]                     │
[00:16:00]                     │      "
[00:16:00]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:01]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:16:01]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:01]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:16:01]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:16:01]                     │ debg TestSubjects.find(kibanaChrome)
[00:16:01]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:02]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:16:03]                     │ debg browser[info] "INFO: 2020-07-08T11:26:31Z
[00:16:03]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:16:03]                     │
[00:16:03]                     │      "
[00:16:03]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:03]                     │ debg browser[debug] "Reporting user-agent."
[00:16:03]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:03]                     │ debg ... sleep(501) start
[00:16:04]                     │ debg ... sleep(501) end
[00:16:04]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/
[00:16:04]                     │ debg TestSubjects.exists(statusPageContainer)
[00:16:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:07]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:07]                     │ debg TestSubjects.exists(newItemButton)
[00:16:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:16:14]                     │ debg TestSubjects.click(newItemButton)
[00:16:14]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:14]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:14]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:16:14]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:16:14]                     │ debg TestSubjects.click(visType-metrics)
[00:16:14]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:16:14]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:16:14]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:16:14]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:16:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:14]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:14]                     │ debg isGlobalLoadingIndicatorVisible
[00:16:14]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:14]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:15]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:16:16]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:17]                     │ debg browser[info] "INFO: 2020-07-08T11:26:45Z
[00:16:17]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:16:17]                     │
[00:16:17]                     │      "
[00:16:17]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:17]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:17]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:17]                     │ debg browser[debug] "Reporting user-agent."
[00:16:17]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:27]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:16:27]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:16:27]                   └-> "before each" hook
[00:16:27]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:16:27]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:27]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:27]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:27]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:16:27]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:16:27]                     │ debg TestSubjects.find(kibanaChrome)
[00:16:27]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:28]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:16:30]                     │ debg browser[info] "INFO: 2020-07-08T11:26:58Z
[00:16:30]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:16:30]                     │
[00:16:30]                     │      "
[00:16:30]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:30]                     │ debg browser[debug] "Reporting user-agent."
[00:16:30]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:31]                     │ debg Wait for initializing TSVB editor
[00:16:31]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:16:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:16:31]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:16:31]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:16:31]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:31]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:32]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:32]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:32]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:32]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:32]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:32]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:32]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:32]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:32]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:32]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:32]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:32]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:33]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:33]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:33]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:33]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:33]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:34]                     │ debg ... sleep(500) start
[00:16:35]                     │ debg ... sleep(500) end
[00:16:35]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:35]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:35]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:35]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:35]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:36]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:36]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:39]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:39]                     │ debg TestSubjects.click(querySubmitButton)
[00:16:39]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:39]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:40]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:40]                     │ debg Firefox stdout: 1594207628648	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:16:40]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:16:40]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:16:40]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:16:40]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:16:40]                     │
[00:16:40]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:40]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:40]                     │ debg ... sleep(2000) start
[00:16:42]                     │ debg ... sleep(2000) end
[00:16:42]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:16:42]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:16:43]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:16:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:16:43]                   │ debg TestSubjects.findAll(aggSelector)
[00:16:43]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:16:43]                   │ debg comboBox.setElement, value: Average
[00:16:43]                   │ debg comboBox.isOptionSelected, value: Average
[00:16:45]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:45]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Average"]') with timeout=2500
[00:16:46]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:48]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:49]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:49]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:50]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:51]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:51]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:51]                   │ debg TestSubjects.findAll(aggRow)
[00:16:51]                   │ debg Find.allByCssSelector('[data-test-subj="aggRow"]') with timeout=10000
[00:16:51]                   │ debg comboBox.setElement, value: machine.ram
[00:16:51]                   │ debg comboBox.isOptionSelected, value: machine.ram
[00:16:53]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:56]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:17:06]                   │ info Taking screenshot "/dev/shm/workspace/parallel/7/kibana/test/functional/screenshots/failure/visualize app  visual builder metric should populate fields for basic functions.png"
[00:17:07]                   │ info Current URL is: http://localhost:6171/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,background_color_rules:!((id:f6d289b0-c10d-11ea-9d8c-23e47cd7f5e5)),default_index_pattern:%27logstash-*%27,default_timefield:%27@timestamp%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,interval:%27%27,isModelInvalid:!f,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,label:%27%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:avg)),point_size:1,separate_axis:0,split_color_mode:kibana,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27%27,tooltip_mode:show_all,type:metric),title:%27%27,type:metrics))
[00:17:07]                   │ info Saving page source to: /dev/shm/workspace/parallel/7/kibana/test/functional/failure_debug/html/visualize app  visual builder metric should populate fields for basic functions.html
[00:17:07]                   └- ✖ fail: "visualize app  visual builder metric should populate fields for basic functions"
[00:17:07]                   │

Stack Trace

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

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

Link to Jenkins

Standard Out

[00:00:00]       │
[00:12:02]         └-: visualize app
[00:12:02]           └-> "before all" hook
[00:12:02]           └-> "before all" hook
[00:12:02]             │ debg Starting visualize before method
[00:12:02]             │ info [logstash_functional] Loading "mappings.json"
[00:12:02]             │ info [logstash_functional] Loading "data.json.gz"
[00:12:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:12:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:12:02]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:12:02]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:12:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:12:02]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:12:02]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:12:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:12:02]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:12:02]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:12]             │ info progress: 13846
[00:12:12]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:12]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:12]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:13]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:13]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:12:13]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:13]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:12:23]             │ info progress: 11740
[00:12:24]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:12:25]             │ info [visualize] Loading "mappings.json"
[00:12:25]             │ info [visualize] Loading "data.json"
[00:12:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/ohB15nx4R_mjxU7dfNBFCg] deleting index
[00:12:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_1/-ECJ3PrhRp2nJhZb8iRwpw] deleting index
[00:12:25]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:25]             │ info [visualize] Created index ".kibana"
[00:12:25]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana/AKjtbJNkRsOacoQGr-z8Lg] update_mapping [_doc]
[00:12:25]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:12:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana/AKjtbJNkRsOacoQGr-z8Lg] update_mapping [_doc]
[00:12:25]             │ debg Migrating saved objects
[00:12:25]             │ proc [kibana]   log   [11:04:15.156] [info][savedobjects-service] Creating index .kibana_2.
[00:12:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:25]             │ proc [kibana]   log   [11:04:15.217] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:25]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] 9007 finished with response BulkByScrollResponse[took=50ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:12:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana/AKjtbJNkRsOacoQGr-z8Lg] deleting index
[00:12:25]             │ proc [kibana]   log   [11:04:15.575] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:25]             │ proc [kibana]   log   [11:04:15.587] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:12:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/TzKDbPiIRPOF1_juJtjpXg] update_mapping [_doc]
[00:12:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/TzKDbPiIRPOF1_juJtjpXg] update_mapping [_doc]
[00:12:26]             │ proc [kibana]   log   [11:04:15.671] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:26]             │ proc [kibana]   log   [11:04:15.718] [info][savedobjects-service] Finished in 564ms.
[00:12:26]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1594204209924007670] [.kibana_2/TzKDbPiIRPOF1_juJtjpXg] update_mapping [_doc]
[00:12:27]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:13:01]           └-: 
[00:13:01]             └-> "before all" hook
[00:13:01]             └-: visual builder
[00:13:01]               └-> "before all" hook
[00:13:01]               └-: metric
[00:13:01]                 └-> "before all" hook
[00:13:01]                 └-> should not have inspector enabled
[00:13:01]                   └-> "before each" hook: global before each
[00:13:01]                   └-> "before each" hook
[00:13:01]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:13:01]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:13:01]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:01]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:01]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:01]                     │ debg ... sleep(700) start
[00:13:02]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:02]                     │ debg ... sleep(700) end
[00:13:02]                     │ debg returned from get, calling refresh
[00:13:03]                     │ debg browser[info] "INFO: 2020-07-08T11:04:53Z
[00:13:03]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:03]                     │
[00:13:03]                     │      "
[00:13:03]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:04]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:04]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:04]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:13:04]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:13:04]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:04]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:04]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:06]                     │ debg browser[info] "INFO: 2020-07-08T11:04:55Z
[00:13:06]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:06]                     │
[00:13:06]                     │      "
[00:13:06]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:06]                     │ debg browser[debug] "Reporting user-agent."
[00:13:06]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:06]                     │ debg ... sleep(501) start
[00:13:07]                     │ debg ... sleep(501) end
[00:13:07]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:07]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:07]                     │ debg ... sleep(501) start
[00:13:08]                     │ debg ... sleep(501) end
[00:13:08]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:08]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:10]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:11]                     │ debg TestSubjects.exists(newItemButton)
[00:13:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:13:11]                     │ debg TestSubjects.click(newItemButton)
[00:13:11]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:11]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:11]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:11]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:11]                     │ debg TestSubjects.click(visType-metrics)
[00:13:11]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:11]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:11]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:13:11]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:13:11]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:12]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:12]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:12]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:12]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:12]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:14]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:15]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:15]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:15]                     │ debg browser[info] "INFO: 2020-07-08T11:05:05Z
[00:13:15]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:15]                     │
[00:13:15]                     │      "
[00:13:15]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:16]                     │ debg browser[debug] "Reporting user-agent."
[00:13:16]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:17]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:18]                   └-> "before each" hook
[00:13:18]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:13:18]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:18]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:18]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:18]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:13:18]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:13:18]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:18]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:19]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:22]                     │ debg browser[info] "INFO: 2020-07-08T11:05:12Z
[00:13:22]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:22]                     │
[00:13:22]                     │      "
[00:13:22]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:23]                     │ debg browser[debug] "Reporting user-agent."
[00:13:23]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:24]                     │ debg Wait for initializing TSVB editor
[00:13:24]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:26]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:13:26]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:13:26]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:13:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:13:26]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:13:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:13:26]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:13:26]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:26]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:26]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:13:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:13:26]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:13:26]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:26]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:27]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:27]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:27]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:27]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:28]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:28]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:28]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:28]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:28]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:29]                     │ debg ... sleep(500) start
[00:13:29]                     │ debg ... sleep(500) end
[00:13:29]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:13:29]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:29]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:30]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:30]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:30]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:30]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:30]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:30]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:30]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:30]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:31]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:31]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:31]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:13:31]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:13:34]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:13:34]                     │ debg TestSubjects.click(querySubmitButton)
[00:13:34]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:34]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:35]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:35]                     │ debg Firefox stdout: 1594206325304	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:13:35]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:13:35]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:13:35]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:13:35]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:13:35]                     │
[00:13:35]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:35]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:35]                     │ debg ... sleep(2000) start
[00:13:37]                     │ debg ... sleep(2000) end
[00:13:37]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:13:37]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:13:38]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:13:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:13:38]                   │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:13:38]                   │ debg TestSubjects.find(openInspectorButton)
[00:13:38]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:13:38]                   └- ✓ pass  (33ms) "visualize app  visual builder metric should not have inspector enabled"
[00:13:38]                 └-> should show correct data
[00:13:38]                   └-> "before each" hook: global before each
[00:13:38]                   └-> "before each" hook
[00:13:38]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:13:38]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:13:38]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:38]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:38]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:38]                     │ debg ... sleep(700) start
[00:13:39]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:39]                     │ debg ... sleep(700) end
[00:13:39]                     │ debg returned from get, calling refresh
[00:13:40]                     │ debg browser[info] "INFO: 2020-07-08T11:05:30Z
[00:13:40]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:40]                     │
[00:13:40]                     │      "
[00:13:41]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:41]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:13:41]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:41]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:13:41]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:13:41]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:41]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:42]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:43]                     │ debg browser[info] "INFO: 2020-07-08T11:05:33Z
[00:13:43]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:43]                     │
[00:13:43]                     │      "
[00:13:43]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:44]                     │ debg browser[debug] "Reporting user-agent."
[00:13:44]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:44]                     │ debg ... sleep(501) start
[00:13:44]                     │ debg ... sleep(501) end
[00:13:44]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:44]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:45]                     │ debg ... sleep(501) start
[00:13:45]                     │ debg ... sleep(501) end
[00:13:45]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:45]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:45]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:48]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:48]                     │ debg TestSubjects.exists(newItemButton)
[00:13:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:13:49]                     │ debg TestSubjects.click(newItemButton)
[00:13:49]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:49]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:49]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:49]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:49]                     │ debg TestSubjects.click(visType-metrics)
[00:13:49]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:49]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:49]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:13:49]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:13:49]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:49]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:49]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:49]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:49]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:50]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:52]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:52]                     │ debg browser[info] "INFO: 2020-07-08T11:05:42Z
[00:13:52]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:52]                     │
[00:13:52]                     │      "
[00:13:52]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:52]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:52]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:53]                     │ debg browser[debug] "Reporting user-agent."
[00:13:53]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:53]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:13:54]                   └-> "before each" hook
[00:13:54]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:13:54]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:54]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:13:54]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:54]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:13:54]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:13:54]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:54]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:55]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:13:57]                     │ debg browser[info] "INFO: 2020-07-08T11:05:47Z
[00:13:57]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:13:57]                     │
[00:13:57]                     │      "
[00:13:58]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:13:58]                     │ debg browser[debug] "Reporting user-agent."
[00:13:58]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:13:59]                     │ debg Wait for initializing TSVB editor
[00:13:59]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:59]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:00]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:00]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:00]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:00]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:00]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:00]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:00]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:00]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:01]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:01]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:01]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:01]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:01]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:01]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:01]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:02]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:02]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:02]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:03]                     │ debg ... sleep(500) start
[00:14:04]                     │ debg ... sleep(500) end
[00:14:04]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:04]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:04]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:04]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:04]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:04]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:04]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:04]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:04]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:04]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:04]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:05]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:05]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:06]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:06]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:08]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:09]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:09]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:09]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:10]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:10]                     │ debg Firefox stdout: 1594206359883	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:10]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:10]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:10]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:10]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:10]                     │
[00:14:10]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:10]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:10]                     │ debg ... sleep(2000) start
[00:14:12]                     │ debg ... sleep(2000) end
[00:14:12]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:12]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:12]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:13]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:13]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:13]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:13]                   │ debg -- firstCount=3
[00:14:13]                   │ debg ... sleep(1000) start
[00:14:14]                   │ debg ... sleep(1000) end
[00:14:14]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:14]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:14]                   │ debg -- secondCount=3
[00:14:14]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:14:14]                   └- ✓ pass  (1.1s) "visualize app  visual builder metric should show correct data"
[00:14:14]                 └-> should show correct data with Math Aggregation
[00:14:14]                   └-> "before each" hook: global before each
[00:14:14]                   └-> "before each" hook
[00:14:14]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:14:14]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:14:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:14]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:14]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:14]                     │ debg ... sleep(700) start
[00:14:15]                     │ debg ... sleep(700) end
[00:14:15]                     │ debg returned from get, calling refresh
[00:14:15]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:18]                     │ debg browser[info] "INFO: 2020-07-08T11:06:07Z
[00:14:18]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:18]                     │
[00:14:18]                     │      "
[00:14:18]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:19]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:14:19]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:19]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:14:19]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:14:19]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:19]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:21]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:24]                     │ debg browser[info] "INFO: 2020-07-08T11:06:14Z
[00:14:24]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:24]                     │
[00:14:24]                     │      "
[00:14:24]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:25]                     │ debg browser[debug] "Reporting user-agent."
[00:14:25]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:26]                     │ debg ... sleep(501) start
[00:14:26]                     │ debg ... sleep(501) end
[00:14:26]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:26]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:27]                     │ debg ... sleep(501) start
[00:14:27]                     │ debg ... sleep(501) end
[00:14:27]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:27]                     │ debg TestSubjects.exists(statusPageContainer)
[00:14:27]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:30]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:30]                     │ debg TestSubjects.exists(newItemButton)
[00:14:30]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:14:30]                     │ debg TestSubjects.click(newItemButton)
[00:14:30]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:30]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:31]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:14:31]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:14:31]                     │ debg TestSubjects.click(visType-metrics)
[00:14:31]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:31]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:31]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:14:31]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:14:31]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:31]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:32]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:32]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:32]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:32]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:33]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:34]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:35]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:35]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:36]                     │ debg browser[info] "INFO: 2020-07-08T11:06:26Z
[00:14:36]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:36]                     │
[00:14:36]                     │      "
[00:14:36]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:37]                     │ debg browser[debug] "Reporting user-agent."
[00:14:37]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:38]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:39]                   └-> "before each" hook
[00:14:39]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:14:39]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:39]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:14:39]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:39]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:14:39]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:14:39]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:39]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:40]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:14:43]                     │ debg browser[info] "INFO: 2020-07-08T11:06:33Z
[00:14:43]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:14:43]                     │
[00:14:43]                     │      "
[00:14:43]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:14:44]                     │ debg browser[debug] "Reporting user-agent."
[00:14:44]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:14:45]                     │ debg Wait for initializing TSVB editor
[00:14:45]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:45]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:14:46]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:46]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:46]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:46]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:46]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:46]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:46]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:47]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:47]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:47]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:48]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:49]                     │ debg ... sleep(500) start
[00:14:50]                     │ debg ... sleep(500) end
[00:14:50]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:50]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:50]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:50]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:51]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:52]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:54]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:55]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:55]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:55]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:55]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:55]                     │ debg Firefox stdout: 1594206405535	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:14:55]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:14:55]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:14:55]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:14:55]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:14:55]                     │
[00:14:55]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:55]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:56]                     │ debg ... sleep(2000) start
[00:14:58]                     │ debg ... sleep(2000) end
[00:14:58]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:58]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:58]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:58]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:14:59]                   │ debg TestSubjects.findAll(aggSelector)
[00:14:59]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:14:59]                   │ debg TestSubjects.findAll(addMetricAddBtn)
[00:14:59]                   │ debg Find.allByCssSelector('[data-test-subj="addMetricAddBtn"]') with timeout=10000
[00:15:00]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:00]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:00]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:00]                   │ debg -- firstCount=3
[00:15:00]                   │ debg ... sleep(1000) start
[00:15:01]                   │ debg ... sleep(1000) end
[00:15:01]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:01]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:01]                   │ debg -- secondCount=4
[00:15:02]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:02]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:02]                   │ debg -- firstCount=4
[00:15:02]                   │ debg ... sleep(1000) start
[00:15:03]                   │ debg ... sleep(1000) end
[00:15:03]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:03]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:03]                   │ debg -- secondCount=4
[00:15:03]                   │ debg Waiting up to 20000ms for new agg is added...
[00:15:03]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:03]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:03]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:03]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:03]                   │ debg comboBox.setElement, value: math
[00:15:03]                   │ debg comboBox.isOptionSelected, value: math
[00:15:05]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:05]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="math"]') with timeout=2500
[00:15:08]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=10000
[00:15:08]                   │ERROR browser[error] "Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s" "the componentWillUnmount method" "
[00:15:08]                   │          in EuiComboBox (created by AggSelect)
[00:15:08]                   │          in div (created by AggSelect)
[00:15:08]                   │          in AggSelect (created by StandardAgg)
[00:15:08]                   │          in div (created by EuiFlexItem)
[00:15:08]                   │          in EuiFlexItem (created by StandardAgg)
[00:15:08]                   │          in div (created by EuiFlexGroup)
[00:15:08]                   │          in EuiFlexGroup (created by StandardAgg)
[00:15:08]                   │          in div (created by EuiFlexItem)
[00:15:08]                   │          in EuiFlexItem (created by AggRow)
[00:15:08]                   │          in div (created by EuiFlexGroup)
[00:15:08]                   │          in EuiFlexGroup (created by AggRow)
[00:15:08]                   │          in div (created by AggRow)
[00:15:08]                   │          in AggRow (created by StandardAgg)
[00:15:08]                   │          in StandardAgg (created by Agg)"
[00:15:09]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:09]                   │ debg Firefox stdout: 1594206418863	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:15:09]                   │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:15:09]                   │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:15:09]                   │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:15:09]                   │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:15:09]                   │
[00:15:11]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:12]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:12]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:13]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:14]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:14]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:14]                   │ debg TestSubjects.findAll(varRow)
[00:15:14]                   │ debg Find.allByCssSelector('[data-test-subj="varRow"]') with timeout=10000
[00:15:14]                   │ debg comboBox.setElement, value: Count
[00:15:14]                   │ debg comboBox.isOptionSelected, value: Count
[00:15:17]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:17]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Count"]') with timeout=2500
[00:15:17]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:20]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:20]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:20]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:22]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:22]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:22]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:22]                   │ debg TestSubjects.findAll(mathExpression)
[00:15:22]                   │ debg Find.allByCssSelector('[data-test-subj="mathExpression"]') with timeout=10000
[00:15:23]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:23]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:24]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:24]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:24]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:15:24]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:24]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:24]                   │ debg -- firstCount=7
[00:15:24]                   │ debg ... sleep(1000) start
[00:15:25]                   │ debg ... sleep(1000) end
[00:15:25]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:25]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:25]                   │ debg -- secondCount=8
[00:15:25]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:25]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:25]                   │ debg -- firstCount=8
[00:15:25]                   │ debg ... sleep(1000) start
[00:15:26]                   │ debg ... sleep(1000) end
[00:15:26]                   │ debg TestSubjects.find(visualizationLoader)
[00:15:26]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:15:26]                   │ debg -- secondCount=8
[00:15:26]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:15:26]                   └- ✓ pass  (27.7s) "visualize app  visual builder metric should show correct data with Math Aggregation"
[00:15:26]                 └-> should populate fields for basic functions
[00:15:26]                   └-> "before each" hook: global before each
[00:15:26]                   └-> "before each" hook
[00:15:26]                     │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:15:26]                     │ debg navigate to: http://localhost:6171/app/visualize#/
[00:15:26]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:27]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:27]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:27]                     │ debg ... sleep(700) start
[00:15:28]                     │ debg ... sleep(700) end
[00:15:28]                     │ debg returned from get, calling refresh
[00:15:28]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:29]                     │ debg browser[info] "INFO: 2020-07-08T11:07:19Z
[00:15:29]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:29]                     │
[00:15:29]                     │      "
[00:15:29]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:30]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:15:30]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:30]                     │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:15:30]                     │          appUrl = http://localhost:6171/app/visualize#/
[00:15:30]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:30]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:31]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:33]                     │ debg browser[info] "INFO: 2020-07-08T11:07:22Z
[00:15:33]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:33]                     │
[00:15:33]                     │      "
[00:15:33]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:34]                     │ debg browser[debug] "Reporting user-agent."
[00:15:34]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:15:34]                     │ debg ... sleep(501) start
[00:15:34]                     │ debg ... sleep(501) end
[00:15:34]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:34]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:35]                     │ debg ... sleep(501) start
[00:15:35]                     │ debg ... sleep(501) end
[00:15:35]                     │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:35]                     │ debg TestSubjects.exists(statusPageContainer)
[00:15:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:39]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:39]                     │ debg TestSubjects.exists(newItemButton)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:15:40]                     │ debg TestSubjects.click(newItemButton)
[00:15:40]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:40]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:15:40]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.click(visType-metrics)
[00:15:40]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:40]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:15:40]                     │ debg browser[debug] "click Metric -> (visualize:metrics):"
[00:15:40]                     │ debg browser[debug] ({type:"click", appName:"visualize", eventName:"metrics", count:1})
[00:15:40]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:40]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:15:40]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:40]                     │ debg isGlobalLoadingIndicatorVisible
[00:15:40]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:42]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:15:44]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:44]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:44]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:44]                     │ debg browser[info] "INFO: 2020-07-08T11:07:34Z
[00:15:44]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:15:44]                     │
[00:15:44]                     │      "
[00:15:44]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:15:45]                     │ debg browser[debug] "Reporting user-agent."
[00:15:45]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:00]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:16:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:16:00]                   └-> "before each" hook
[00:16:00]                     │ debg navigateToActualUrl http://localhost:6171/app/visualize#create?type=metrics
[00:16:00]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:00]                     │ debg browser[debug] "Reporting application changed to undefined"
[00:16:01]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:01]                     │ debg currentUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:16:01]                     │          appUrl = http://localhost:6171/app/visualize#create?type=metrics
[00:16:01]                     │ debg TestSubjects.find(kibanaChrome)
[00:16:01]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:02]                     │ debg browser[info] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools" "font-weight:bold"
[00:16:06]                     │ debg browser[info] "INFO: 2020-07-08T11:07:56Z
[00:16:06]                     │        Adding connection to http://localhost:6171/elasticsearch
[00:16:06]                     │
[00:16:06]                     │      "
[00:16:06]                     │ debg browser[warn] "App [management] is using deprecated mount context. Use core.getStartServices() instead."
[00:16:07]                     │ debg browser[debug] "Reporting user-agent."
[00:16:07]                     │ debg browser[debug] "Reporting application changed to visualize"
[00:16:08]                     │ debg Wait for initializing TSVB editor
[00:16:08]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:16:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=10000
[00:16:09]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:16:09]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:16:09]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:09]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:10]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:10]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:10]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:10]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:10]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:10]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:10]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:10]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:10]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:10]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:11]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:11]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:11]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:12]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:12]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:12]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:16]                     │ debg ... sleep(500) start
[00:16:16]                     │ debg ... sleep(500) end
[00:16:16]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:16]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:16]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:17]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:17]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:17]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:17]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:17]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:17]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:17]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:18]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:16:18]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:18]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:21]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:21]                     │ debg TestSubjects.click(querySubmitButton)
[00:16:21]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:21]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:22]                     │ debg Find.waitForElementStale with timeout=10000
[00:16:23]                     │ debg Firefox stdout: 1594206492771	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:16:23]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:16:23]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:16:23]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:16:23]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:16:23]                     │
[00:16:23]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:23]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:23]                     │ debg ... sleep(2000) start
[00:16:25]                     │ debg ... sleep(2000) end
[00:16:25]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:16:25]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:16:25]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:16:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=10000
[00:16:26]                   │ debg TestSubjects.findAll(aggSelector)
[00:16:26]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:16:26]                   │ debg comboBox.setElement, value: Average
[00:16:26]                   │ debg comboBox.isOptionSelected, value: Average
[00:16:28]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:28]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Average"]') with timeout=2500
[00:16:29]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:31]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:32]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:32]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:33]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:34]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:34]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:34]                   │ debg TestSubjects.findAll(aggRow)
[00:16:34]                   │ debg Find.allByCssSelector('[data-test-subj="aggRow"]') with timeout=10000
[00:16:34]                   │ debg comboBox.setElement, value: machine.ram
[00:16:34]                   │ debg comboBox.isOptionSelected, value: machine.ram
[00:16:37]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:39]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:50]                   │ info Taking screenshot "/dev/shm/workspace/parallel/7/kibana/test/functional/screenshots/failure/visualize app  visual builder metric should populate fields for basic functions.png"
[00:16:50]                   │ info Current URL is: http://localhost:6171/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,background_color_rules:!((id:%2751d31350-c10b-11ea-a398-c78d6ed42130%27)),default_index_pattern:%27logstash-*%27,default_timefield:%27@timestamp%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,interval:%27%27,isModelInvalid:!f,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,label:%27%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:avg)),point_size:1,separate_axis:0,split_color_mode:kibana,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27%27,tooltip_mode:show_all,type:metric),title:%27%27,type:metrics))
[00:16:50]                   │ info Saving page source to: /dev/shm/workspace/parallel/7/kibana/test/functional/failure_debug/html/visualize app  visual builder metric should populate fields for basic functions.html
[00:16:50]                   └- ✖ fail: "visualize app  visual builder metric should populate fields for basic functions"
[00:16:50]                   │

Stack Trace

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

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
triggers_actions_ui 152 +1 151

History

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

@gmmorris gmmorris closed this Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants