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

[7.x] Fixes the client to setup SSL with the CA certificates for testing (#65598) #65686

Merged
merged 4 commits into from
May 7, 2020

Conversation

FrankHassanabad
Copy link
Contributor

Backports the following commits to 7.x:

…lastic#65598)

## Summary

Fixes the non-legacy ES test client to work with SSL.

Without this if you try to migrate `siem rules` or `alerting` or `CASE` or anything else that is using SSL based tests you get this error when trying to use the non-legacy:

```ts
// pull in non-legacy service for functional tests
const es = getService('es');
```

```ts
// use it somewhere where your config.ts is utilizing SSL in a functional test
// ...
```

In your console you get this error:

```ts
    ConnectionError: self signed certificate in certificate chain
          at onResponse (node_modules/@elastic/elasticsearch/lib/Transport.js:205:13)
          at ClientRequest.request.on.err (node_modules/@elastic/elasticsearch/lib/Connection.js:98:9)
          at TLSSocket.socketErrorListener (_http_client.js:401:9)
          at emitErrorNT (internal/streams/destroy.js:91:8)
          at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
          at process._tickCallback (internal/process/next_tick.js:63:19)
```

This fixes that by adding the CA certs from test to the ES test client.
@FrankHassanabad
Copy link
Contributor Author

@elasticmachine merge upstream

@FrankHassanabad
Copy link
Contributor Author

@elasticmachine merge upstream

@FrankHassanabad
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_snapshots·js.dashboard app using current data dashboard snapshots compare area chart snapshot

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 7 times on tracked branches: https://github.com/elastic/kibana/issues/51938

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[00:00:00]               │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]               │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:01]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:02]               │ debg [dashboard/current/data] "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:00:11]               │ info progress: 9627
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:14]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:22:06]             └-: dashboard snapshots
[00:22:06]               └-> "before all" hook
[00:22:06]               └-> "before all" hook
[00:22:06]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:22:06]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:22:06]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/g6CtEFJXSOmzAiRAzxd2oA] deleting index
[00:22:06]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_1/GOYjm6n2RauZhnLWIESjAg] deleting index
[00:22:06]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:22:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:22:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:22:06]                 │ info [dashboard/current/kibana] Created index ".kibana"
[00:22:06]                 │ debg [dashboard/current/kibana] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:22:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana/Xzy8IkS1Sz6J_3wV5dkCBQ] update_mapping [_doc]
[00:22:06]                 │ info [dashboard/current/kibana] Indexed 84 docs into ".kibana"
[00:22:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana/Xzy8IkS1Sz6J_3wV5dkCBQ] update_mapping [_doc]
[00:22:06]                 │ debg Migrating saved objects
[00:22:06]                 │ proc [kibana]   log   [21:46:17.177] [info][savedobjects-service] Creating index .kibana_2.
[00:22:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:22:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] updating number_of_replicas to [0] for indices [.kibana_2]
[00:22:06]                 │ proc [kibana]   log   [21:46:17.252] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:22:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] applying create index request using v1 templates []
[00:22:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] updating number_of_replicas to [0] for indices [.kibana_1]
[00:22:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] 11110 finished with response BulkByScrollResponse[took=63.4ms,timed_out=false,sliceId=null,updated=0,created=84,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:22:07]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana/Xzy8IkS1Sz6J_3wV5dkCBQ] deleting index
[00:22:07]                 │ proc [kibana]   log   [21:46:17.595] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:07]                 │ proc [kibana]   log   [21:46:17.864] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:22:07]                 │ proc [kibana]   log   [21:46:17.913] [info][savedobjects-service] Finished in 737ms.
[00:22:07]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:22:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588885337349793416] [.kibana_2/K24jx1dnRYWk_BCdgexfRg] update_mapping [_doc]
[00:22:08]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:22:09]                 │ debg ======browser======== setWindowSize 1000 500
[00:22:10]                 │ debg ======browser======== actual initial screenshot size width=1200, height=800
[00:22:10]                 │ debg ======browser======== actual second screenshot size width= 600, height=400
[00:22:10]                 │ debg ======browser======== calculated values xBorder= 0, yBorder=0, xScaling=1, yScaling=1
[00:22:10]                 │ debg ======browser======== setting browser size to 1000 x 500
[00:22:10]                 │ debg ======browser======== final screenshot size width=1000, height=500
[00:22:10]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:22:10]                 │ debg navigate to: http://localhost:6141/app/kibana#/dashboards
[00:22:10]                 │ debg ... sleep(700) start
[00:22:10]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1588887981037#/dashboards 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:22:10]                 │
[00:22:10]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:11]                 │ debg ... sleep(700) end
[00:22:11]                 │ debg returned from get, calling refresh
[00:22:12]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1588887981037#/dashboards 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:22:12]                 │
[00:22:12]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:12]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:22:12]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:22:12]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:12]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:22:13]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:13]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:22:13]                 │ debg browser[INFO] http://localhost:6141/31631/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-07T21:46:23Z
[00:22:13]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:22:13]                 │
[00:22:13]                 │      "
[00:22:13]                 │ debg ... sleep(501) start
[00:22:13]                 │ debg ... sleep(501) end
[00:22:13]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:22:13]                 │ debg TestSubjects.exists(statusPageContainer)
[00:22:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:22:16]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:22:16]               └-> compare TSVB snapshot
[00:22:16]                 └-> "before each" hook: global before each
[00:22:16]                 │ debg gotoDashboardLandingPage
[00:22:16]                 │ debg onDashboardLandingPage
[00:22:16]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:22:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:22:16]                 │ debg TestSubjects.exists(newItemButton)
[00:22:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:22:16]                 │ debg TestSubjects.click(newItemButton)
[00:22:16]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:22:16]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:22:16]                 │ debg waitForRenderComplete
[00:22:16]                 │ debg in getSharedItemsCount
[00:22:16]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:22:17]                 │ debg Renderable.waitForRender for 0 elements
[00:22:17]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:22:27]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:22:28]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:22:28]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:22:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:22:28]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:22:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:22:28]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:22:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:28]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:22:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:22:28]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:22:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:28]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:28]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:22:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:29]                 │ debg ... sleep(500) start
[00:22:29]                 │ debg ... sleep(500) end
[00:22:29]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:22:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:29]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:22:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:22:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:22:33]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:22:33]                 │ debg TestSubjects.click(querySubmitButton)
[00:22:33]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:33]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:33]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:34]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:34]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:34]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: tsvb-ts, type: visualization
[00:22:34]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:22:34]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:22:34]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:22:36]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:37]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:22:37]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:22:37]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:37]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:37]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:22:37]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:22:37]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:22:37]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:22:37]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:37]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:40]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:22:40]                 │ debg DashboardAddPanel.toggleFilter
[00:22:40]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:22:40]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:40]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:41]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:22:41]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:22:41]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:22:41]                 │ debg DashboardAddPanel.toggleFilter
[00:22:41]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:22:41]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:41]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:41]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:22:41]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:43]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:22:44]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: tsvb ts")
[00:22:44]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:22:44]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:22:44]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:22:44]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:22:44]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:47]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:22:47]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-tsvb-ts)
[00:22:47]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:22:47]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:22:47]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:22:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:22:50]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:22:50]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:50]                 │ debg Closing flyout dashboardAddPanel
[00:22:50]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:22:50]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:22:51]                 │ debg Waiting up to 20000ms for flyout closed...
[00:22:51]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:52]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:52]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:22:52]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:22:52]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:22:52]                 │ debg Toast title: Rendering Test: tsvb-ts (TSVB) was added
[00:22:52]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:22:52]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:22:52]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:22:52]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:22:52]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:22:53]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:22:53]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:22:53]                 │ debg entering new title
[00:22:53]                 │ debg TestSubjects.setValue(savedObjectTitle, tsvb)
[00:22:53]                 │ debg TestSubjects.click(savedObjectTitle)
[00:22:53]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:22:53]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:22:53]                 │ debg DashboardPage.clickSave
[00:22:53]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:22:53]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:22:53]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:22:53]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:53]                 │ debg TestSubjects.exists(saveDashboardSuccess)
[00:22:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveDashboardSuccess"]') with timeout=120000
[00:22:53]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:22:54]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:22:54]                 │ debg Toast title: Dashboard 'tsvb' was saved
[00:22:54]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:22:54]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:22:54]                 │ debg isGlobalLoadingIndicatorVisible
[00:22:54]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:22:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:22:55]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:22:56]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:56]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:56]                 │ debg Waiting for save modal to close
[00:22:56]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:22:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:22:58]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:22:59]                 │ debg clickFullScreenMode
[00:22:59]                 │ debg TestSubjects.click(dashboardFullScreenMode)
[00:22:59]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardFullScreenMode"]') with timeout=10000
[00:22:59]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardFullScreenMode"]') with timeout=10000
[00:22:59]                 │ debg TestSubjects.exists(exitFullScreenModeLogo)
[00:22:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=2500
[00:22:59]                 │ debg waitForRenderComplete
[00:22:59]                 │ debg in getSharedItemsCount
[00:22:59]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:22:59]                 │ debg Renderable.waitForRender for 1 elements
[00:22:59]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:22:59]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:23:00]                 │ debg openContextMenu(undefined
[00:23:00]                 │ debg toggleContextMenu
[00:23:00]                 │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:23:00]                 │ debg TestSubjects.find(dashboardPanelTitle)
[00:23:00]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:23:01]                 │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:23:01]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:23:01]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:23:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:23:01]                 │ debg TestSubjects.click(embeddablePanelAction-togglePanel)
[00:23:01]                 │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-togglePanel"]') with timeout=10000
[00:23:01]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-togglePanel"]') with timeout=10000
[00:23:01]                 │ debg waitForRenderComplete
[00:23:01]                 │ debg in getSharedItemsCount
[00:23:01]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:23:01]                 │ debg Renderable.waitForRender for 1 elements
[00:23:01]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:23:01]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:23:02]                 │ debg compareAgainstBaseline
[00:23:02]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/session/tsvb_dashboard.png"
[00:23:02]                 │ debg comparePngs: /dev/shm/workspace/kibana/test/functional/screenshots/session/tsvb_dashboard.png vs /dev/shm/workspace/kibana/test/functional/screenshots/baseline/tsvb_dashboard.png
[00:23:02]                 │ debg calculating diff pixels...
[00:23:02]                 │ debg percent different: 0.013812
[00:23:03]                 │ debg TestSubjects.click(exitFullScreenModeLogo)
[00:23:03]                 │ debg Find.clickByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=10000
[00:23:03]                 │ debg Find.findByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=10000
[00:23:03]                 │ debg waitForRenderComplete
[00:23:03]                 │ debg in getSharedItemsCount
[00:23:03]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:23:03]                 │ debg Renderable.waitForRender for 1 elements
[00:23:03]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:23:03]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:23:04]                 └- ✓ pass  (47.7s) "dashboard app using current data dashboard snapshots compare TSVB snapshot"
[00:23:04]               └-> compare area chart snapshot
[00:23:04]                 └-> "before each" hook: global before each
[00:23:04]                 │ debg gotoDashboardLandingPage
[00:23:04]                 │ debg onDashboardLandingPage
[00:23:04]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:23:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:23:06]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:23:09]                 │ debg --- retry.tryForTime failed again with the same message...
[00:23:10]                 │ debg clickDashboardBreadcrumbLink
[00:23:10]                 │ debg Find.clickByCssSelector('a[href="#/dashboards"]') with timeout=10000
[00:23:10]                 │ debg Find.findByCssSelector('a[href="#/dashboards"]') with timeout=10000
[00:23:10]                 │ debg expectExistsDashboardLandingPage
[00:23:10]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:23:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:23:10]                 │ debg TestSubjects.exists(newItemButton)
[00:23:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:23:11]                 │ debg TestSubjects.click(newItemButton)
[00:23:11]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:23:11]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:23:11]                 │ debg waitForRenderComplete
[00:23:11]                 │ debg in getSharedItemsCount
[00:23:11]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:23:11]                 │ debg Renderable.waitForRender for 0 elements
[00:23:11]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:23:21]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:23:22]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:23:22]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:23:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:23:22]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:23:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:23:24]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:23:25]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:23:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:23:25]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:23:25]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:25]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:25]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:25]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:25]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:25]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:25]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:25]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:23:25]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:25]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:26]                 │ debg ... sleep(500) start
[00:23:26]                 │ debg ... sleep(500) end
[00:23:26]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:23:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:26]                 │ debg Find.waitForElementStale with timeout=10000
[00:23:27]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:27]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:23:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:27]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:23:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:23:30]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:23:30]                 │ debg TestSubjects.click(querySubmitButton)
[00:23:30]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:23:30]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:23:30]                 │ debg Find.waitForElementStale with timeout=10000
[00:23:30]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:23:30]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:23:30]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: area with not filter, type: visualization
[00:23:30]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:23:30]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:23:30]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:23:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:23:33]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:23:33]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:23:33]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:23:33]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:23:33]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:23:34]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:23:34]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:23:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:23:34]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:23:34]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:23:34]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:23:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:23:34]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:23:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:23:37]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:23:37]                 │ debg DashboardAddPanel.toggleFilter
[00:23:37]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:23:37]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:23:37]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:23:37]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:23:37]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:23:37]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:23:37]                 │ debg DashboardAddPanel.toggleFilter
[00:23:37]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:23:37]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:23:37]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:23:37]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:23:37]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:23:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:23:40]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:23:40]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: area with not filter")
[00:23:40]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:23:40]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:23:40]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:23:41]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:23:41]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:23:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:23:43]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:23:44]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-area-with-not-filter)
[00:23:44]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-area-with-not-filter"]') with timeout=10000
[00:23:44]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-area-with-not-filter"]') with timeout=10000
[00:23:44]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:23:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:23:47]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:23:47]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:23:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:23:47]                 │ debg Closing flyout dashboardAddPanel
[00:23:47]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:23:47]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:23:48]                 │ debg Waiting up to 20000ms for flyout closed...
[00:23:48]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:23:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:23:49]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:23:49]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:23:49]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:23:49]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:23:49]                 │ warn WebElementWrapper.getVisibleText: stale element reference: element is not attached to the page document
[00:23:49]                 │        (Session info: headless chrome=81.0.4044.122)
[00:23:49]                 │ debg finding element 'By(css selector, .euiToastHeader__title)' again, 2 attempts left
[00:24:00]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard snapshots compare area chart snapshot.png"
[00:24:00]                 │ info Current URL is: http://localhost:6141/app/kibana#/dashboard?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272018-04-09T00:00:00.000Z%27,to:%272018-04-13T00:00:00.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:ce19cba4-a62c-4c51-8871-eacbcc068615,w:24,x:0,y:0),id:e6140540-3dca-11e8-8660-4d65aa086b3c,panelIndex:ce19cba4-a62c-4c51-8871-eacbcc068615,type:visualization,version:%277.9.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:24:00]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard snapshots compare area chart snapshot.html
[00:24:00]                 └- ✖ fail: "dashboard app using current data dashboard snapshots compare area chart snapshot"
[00:24:00]                 │

Stack Trace

{ NoSuchElementError: no such element: Unable to locate element: {"method":"css selector","selector":".euiToastHeader__title"}
  (Session info: headless chrome=81.0.4044.122)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'NoSuchElementError',
  remoteStacktrace: '#0 0x55de20d8b5b9 <unknown>\n' }

History

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

@FrankHassanabad FrankHassanabad merged commit 20d39fe into elastic:7.x May 7, 2020
@FrankHassanabad FrankHassanabad deleted the backport/7.x/pr-65598 branch May 7, 2020 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants