Skip to content

[7.x] Typescript index pattern field editor (#63495)#64609

Merged
mattkime merged 1 commit intoelastic:7.xfrom
mattkime:backport/7.x/pr-63495
Apr 28, 2020
Merged

[7.x] Typescript index pattern field editor (#63495)#64609
mattkime merged 1 commit intoelastic:7.xfrom
mattkime:backport/7.x/pr-63495

Conversation

@mattkime
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* Typescript index pattern field editor
@mattkime mattkime added the backport This PR is a backport of another PR label Apr 28, 2020
@kibanamachine
Copy link
Copy Markdown
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 TSVB snapshot

Link to Jenkins

Standard Out

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

[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-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [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-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-dogs-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-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [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-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [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-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [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-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [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: 8426
[00:00:15]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:15]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:15]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:15]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:15]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:15]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:22:01]             └-: dashboard snapshots
[00:22:01]               └-> "before all" hook
[00:22:01]               └-> "before all" hook
[00:22:01]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:22:01]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:22:01]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_1/DyKpt4C7SUSobGXCG4Xj8g] deleting index
[00:22:01]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/cd-1KAAjRny816V3tGdr7w] deleting index
[00:22:01]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:22:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:22:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:22:01]                 │ info [dashboard/current/kibana] Created index ".kibana"
[00:22:01]                 │ debg [dashboard/current/kibana] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:22:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana/BLIMyVatQ16PSdEWs3Ov2A] update_mapping [_doc]
[00:22:01]                 │ info [dashboard/current/kibana] Indexed 84 docs into ".kibana"
[00:22:01]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana/BLIMyVatQ16PSdEWs3Ov2A] update_mapping [_doc]
[00:22:01]                 │ debg Migrating saved objects
[00:22:01]                 │ proc [kibana]   log   [01:02:49.538] [info][savedobjects-service] Creating index .kibana_2.
[00:22:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:22:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:01]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] updating number_of_replicas to [0] for indices [.kibana_2]
[00:22:01]                 │ proc [kibana]   log   [01:02:49.605] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:22:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] applying create index request using v1 templates []
[00:22:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:01]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] updating number_of_replicas to [0] for indices [.kibana_1]
[00:22:02]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] 11085 finished with response BulkByScrollResponse[took=78.2ms,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:02]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana/BLIMyVatQ16PSdEWs3Ov2A] deleting index
[00:22:02]                 │ proc [kibana]   log   [01:02:49.943] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:02]                 │ proc [kibana]   log   [01:02:50.209] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:22:02]                 │ proc [kibana]   log   [01:02:50.256] [info][savedobjects-service] Finished in 719ms.
[00:22:02]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:22:02]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1588033203539086631] [.kibana_2/5Jp4mICrTsmoPKKCEsDVcA] update_mapping [_doc]
[00:22:03]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:22:05]                 │ debg ======browser======== setWindowSize 1000 500
[00:22:05]                 │ debg ======browser======== actual initial screenshot size width=1200, height=800
[00:22:05]                 │ debg ======browser======== actual second screenshot size width= 600, height=400
[00:22:05]                 │ debg ======browser======== calculated values xBorder= 0, yBorder=0, xScaling=1, yScaling=1
[00:22:05]                 │ debg ======browser======== setting browser size to 1000 x 500
[00:22:05]                 │ debg ======browser======== final screenshot size width=1000, height=500
[00:22:05]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:22:05]                 │ debg navigate to: http://localhost:6141/app/kibana#/dashboards
[00:22:05]                 │ debg ... sleep(700) start
[00:22:05]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1588035773463#/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:05]                 │
[00:22:05]                 │ 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:06]                 │ debg ... sleep(700) end
[00:22:06]                 │ debg returned from get, calling refresh
[00:22:07]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:22:07]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:22:07]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:22:11]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:11]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:22:11]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1588035773463#/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:11]                 │
[00:22:11]                 │ 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 browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-28T01:02:58Z
[00:22:11]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:22:11]                 │
[00:22:11]                 │      "
[00:22:11]                 │ debg ... sleep(501) start
[00:22:11]                 │ debg ... sleep(501) end
[00:22:11]                 │ 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:11]                 │ debg TestSubjects.exists(statusPageContainer)
[00:22:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:22:14]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:22:14]               └-> compare TSVB snapshot
[00:22:14]                 └-> "before each" hook: global before each
[00:22:14]                 │ debg gotoDashboardLandingPage
[00:22:14]                 │ debg onDashboardLandingPage
[00:22:14]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:22:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:22:14]                 │ debg TestSubjects.exists(newItemButton)
[00:22:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:22:14]                 │ debg TestSubjects.click(newItemButton)
[00:22:14]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:22:14]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:22:15]                 │ debg waitForRenderComplete
[00:22:15]                 │ debg in getSharedItemsCount
[00:22:15]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:22:15]                 │ debg Renderable.waitForRender for 0 elements
[00:22:15]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:22:25]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:22:26]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:22:26]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:22:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:22:26]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:22:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:22:26]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:22:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:26]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:22:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:22:26]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:22:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:26]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:26]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:26]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:22:26]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:27]                 │ debg ... sleep(500) start
[00:22:27]                 │ debg ... sleep(500) end
[00:22:27]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:22:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:28]                 │ debg Find.waitForElementStale 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 9, 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:28]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:22:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:22:31]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:22:31]                 │ debg TestSubjects.click(querySubmitButton)
[00:22:31]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:31]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:32]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:32]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: tsvb-ts, type: visualization
[00:22:32]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:22:32]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:22:32]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:22:34]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:35]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:22:35]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:22:35]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:35]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:35]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:22:35]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:22:35]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:22:35]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:22:35]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:36]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:38]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:22:39]                 │ debg DashboardAddPanel.toggleFilter
[00:22:39]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:22:39]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:39]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:39]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:22:39]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:22:39]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:22:39]                 │ debg DashboardAddPanel.toggleFilter
[00:22:39]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:22:39]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:39]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:39]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:22:39]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:42]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:22:42]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: tsvb ts")
[00:22:42]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:22:42]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:22:42]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:22:43]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:22:43]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:22:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:22:45]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:22:46]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-tsvb-ts)
[00:22:46]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:22:46]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:22:46]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:22:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:22:48]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:22:49]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:49]                 │ debg Closing flyout dashboardAddPanel
[00:22:49]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:22:49]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:22:49]                 │ debg Waiting up to 20000ms for flyout closed...
[00:22:49]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:50]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:51]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:22:51]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:22:51]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:22:51]                 │ debg Toast title: 
[00:22:51]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:22:51]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:22:51]                 │ warn WebElementWrapper.click: stale element reference: element is not attached to the page document
[00:22:51]                 │        (Session info: headless chrome=81.0.4044.122)
[00:22:51]                 │ debg finding element 'By(css selector, .euiToast__closeButton)' again, 2 attempts left
[00:23:01]                 │ debg --- retry.try error: no such element: Unable to locate element: {"method":"css selector","selector":".euiToast__closeButton"}
[00:23:01]                 │        (Session info: headless chrome=81.0.4044.122)
[00:23:02]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:23:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:23:12]                 │      Wait timed out after 10038ms
[00:23:12]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:23:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:23:22]                 │      Wait timed out after 10034ms
[00:23:23]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:23:33]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:23:33]                 │      Wait timed out after 10026ms
[00:23:33]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:23:43]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:23:43]                 │      Wait timed out after 10016ms
[00:23:44]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:23:54]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:23:54]                 │      Wait timed out after 10055ms
[00:23:54]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:24:04]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:24:04]                 │      Wait timed out after 10023ms
[00:24:05]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:24:15]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:24:15]                 │      Wait timed out after 10008ms
[00:24:15]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:24:26]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:24:26]                 │      Wait timed out after 10057ms
[00:24:26]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:24:36]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:24:36]                 │      Wait timed out after 10039ms
[00:24:37]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:24:47]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:24:47]                 │      Wait timed out after 10041ms
[00:24:47]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:24:57]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:24:57]                 │      Wait timed out after 10031ms
[00:24:58]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard snapshots compare TSVB snapshot.png"
[00:24:58]                 │ 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:%279e25aead-3dd2-45c4-b233-8ad597b68705%27,w:24,x:0,y:0),id:c40f4d40-3dcc-11e8-8660-4d65aa086b3c,panelIndex:%279e25aead-3dd2-45c4-b233-8ad597b68705%27,type:visualization,version:%277.8.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:24:58]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard snapshots compare TSVB snapshot.html
[00:24:58]                 └- ✖ fail: "dashboard app using current data dashboard snapshots compare TSVB snapshot"
[00:24:58]                 │

Stack Trace

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

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

@mattkime mattkime merged commit 1d9eab9 into elastic:7.x Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants