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.8] [APM] Fix service maps not loading when there are no APM ML jobs (#69240) #69342

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

ogupte
Copy link
Contributor

@ogupte ogupte commented Jun 16, 2020

Backports the following commits to 7.8:

…stic#69240)

* Closes elastic#69238 by handling 404 thrown error from the query for APM ML jobs.

* Improved coded readability

* moved anomaly job fetch to new function getApmAnomalyDetectionJobs for
improved readability and only handle a 404 status code response else throw
@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 TSVB snapshot

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 10 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:03]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:03]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:04]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:04]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:04]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:04]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:04]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:04]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:05]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:05]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:05]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:05]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:05]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:05]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:05]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:05]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:05]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:05]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:05]               │ 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:13]               │ info progress: 2405
[00:00:23]               │ info progress: 6915
[00:00:33]               │ info progress: 10823
[00:00:39]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:39]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:39]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:39]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:39]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:39]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:24:18]             └-: dashboard snapshots
[00:24:18]               └-> "before all" hook
[00:24:18]               └-> "before all" hook
[00:24:18]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:24:18]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:24:18]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_1/5dFg1Cv-RHaOmYmA9dUQKA] deleting index
[00:24:18]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/q3a9_9tTT5KIDXppn7Q7UA] deleting index
[00:24:18]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:24:18]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:24:18]                 │ info [dashboard/current/kibana] Created index ".kibana"
[00:24:18]                 │ debg [dashboard/current/kibana] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:24:18]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana/F-9CHvclQhy8u_jjeLcTNw] update_mapping [_doc]
[00:24:18]                 │ info [dashboard/current/kibana] Indexed 84 docs into ".kibana"
[00:24:18]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana/F-9CHvclQhy8u_jjeLcTNw] update_mapping [_doc]
[00:24:18]                 │ debg Migrating saved objects
[00:24:18]                 │ proc [kibana]   log   [22:26:28.713] [info][savedobjects-service] Creating index .kibana_2.
[00:24:18]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:24:18]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] updating number_of_replicas to [0] for indices [.kibana_2]
[00:24:18]                 │ proc [kibana]   log   [22:26:28.833] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:24:18]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:24:18]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] updating number_of_replicas to [0] for indices [.kibana_1]
[00:24:19]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] 11401 finished with response BulkByScrollResponse[took=67.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:24:19]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana/F-9CHvclQhy8u_jjeLcTNw] deleting index
[00:24:19]                 │ proc [kibana]   log   [22:26:29.248] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:19]                 │ proc [kibana]   log   [22:26:29.707] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:24:19]                 │ proc [kibana]   log   [22:26:29.790] [info][savedobjects-service] Finished in 1082ms.
[00:24:19]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:24:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1592343167075921878] [.kibana_2/3ZGHbajkQKaZOHgks0MX3g] update_mapping [_doc]
[00:24:21]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:24:22]                 │ debg ======browser======== setWindowSize 1000 500
[00:24:23]                 │ debg ======browser======== actual initial screenshot size width=1200, height=800
[00:24:23]                 │ debg ======browser======== actual second screenshot size width= 600, height=400
[00:24:23]                 │ debg ======browser======== calculated values xBorder= 0, yBorder=0, xScaling=1, yScaling=1
[00:24:23]                 │ debg ======browser======== setting browser size to 1000 x 500
[00:24:23]                 │ debg ======browser======== final screenshot size width=1000, height=500
[00:24:23]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:24:23]                 │ debg navigate to: http://localhost:6141/app/kibana#/dashboards
[00:24:24]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1592346393836#/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:24:24]                 │
[00:24:24]                 │ 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:24:24]                 │ debg ... sleep(700) start
[00:24:24]                 │ debg ... sleep(700) end
[00:24:24]                 │ debg returned from get, calling refresh
[00:24:25]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1592346393836#/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:24:25]                 │
[00:24:25]                 │ 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:24:25]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:24:25]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:24:25]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:25]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:27]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:24:27]                 │ debg browser[INFO] http://localhost:6141/32013/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-06-16T22:26:36Z
[00:24:27]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:24:27]                 │
[00:24:27]                 │      "
[00:24:27]                 │ debg ... sleep(501) start
[00:24:27]                 │ debg ... sleep(501) end
[00:24:27]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:24:27]                 │ debg TestSubjects.exists(statusPageContainer)
[00:24:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:24:30]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:24:30]               └-> compare TSVB snapshot
[00:24:30]                 └-> "before each" hook: global before each
[00:24:30]                 │ debg gotoDashboardLandingPage
[00:24:30]                 │ debg onDashboardLandingPage
[00:24:30]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:24:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:24:30]                 │ debg TestSubjects.exists(newItemButton)
[00:24:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:24:30]                 │ debg TestSubjects.click(newItemButton)
[00:24:30]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:24:30]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:24:31]                 │ debg waitForRenderComplete
[00:24:31]                 │ debg in getSharedItemsCount
[00:24:31]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:24:31]                 │ debg Renderable.waitForRender for 0 elements
[00:24:31]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:24:41]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:24:42]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:24:42]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:24:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:24:42]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:24:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:24:42]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:24:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:42]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:24:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:24:42]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:24:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:42]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:43]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:43]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:43]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:24:43]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:43]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:43]                 │ debg ... sleep(500) start
[00:24:44]                 │ debg ... sleep(500) end
[00:24:44]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:24:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:44]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:44]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:44]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:45]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:24:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:45]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:24:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:24:48]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:24:48]                 │ debg TestSubjects.click(querySubmitButton)
[00:24:48]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:48]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:49]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:49]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:24:49]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:24:49]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: tsvb-ts, type: visualization
[00:24:49]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:24:49]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:24:49]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:24:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:24:52]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:24:52]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:24:52]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:24:52]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:24:52]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:24:52]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:24:52]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:24:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:24:52]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:24:52]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:24:52]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:24:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:24:53]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:24:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:24:55]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:24:56]                 │ debg DashboardAddPanel.toggleFilter
[00:24:56]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:24:56]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:24:56]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:24:56]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:24:56]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:24:56]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:24:56]                 │ debg DashboardAddPanel.toggleFilter
[00:24:56]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:24:56]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:24:56]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:24:56]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:24:56]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:24:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:24:59]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:24:59]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: tsvb ts")
[00:24:59]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:24:59]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:24:59]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:25:00]                 │ debg Waiting up to 20000ms for dashboard add panel loading to complete...
[00:25:00]                 │ debg TestSubjects.exists(savedObjectFinderLoadingIndicator)
[00:25:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=2500
[00:25:02]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectFinderLoadingIndicator"] is not displayed
[00:25:03]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-tsvb-ts)
[00:25:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:25:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:25:03]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:25:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:25:06]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:25:06]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:25:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:25:06]                 │ debg Closing flyout dashboardAddPanel
[00:25:06]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:25:06]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:25:07]                 │ debg Waiting up to 20000ms for flyout closed...
[00:25:07]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:25:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:25:08]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:25:08]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:25:08]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:25:08]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:25:08]                 │ debg Toast title: 
[00:25:08]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:25:08]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:25:18]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:25:18]                 │      Wait timed out after 10048ms
[00:25:19]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:25:29]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:25:29]                 │      Wait timed out after 10017ms
[00:25:29]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:25:40]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:25:40]                 │      Wait timed out after 10051ms
[00:25:40]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:25:50]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:25:50]                 │      Wait timed out after 10019ms
[00:25:51]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:26:01]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:26:01]                 │      Wait timed out after 10049ms
[00:26:01]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:26:11]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:26:11]                 │      Wait timed out after 10058ms
[00:26:12]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:26:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:26:22]                 │      Wait timed out after 10062ms
[00:26:22]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:26:32]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:26:32]                 │      Wait timed out after 10010ms
[00:26:33]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:26:43]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:26:43]                 │      Wait timed out after 10043ms
[00:26:43]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:26:53]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:26:53]                 │      Wait timed out after 10031ms
[00:26:54]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:27:04]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:27:04]                 │      Wait timed out after 10045ms
[00:27:04]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:27:14]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast__closeButton)
[00:27:14]                 │      Wait timed out after 10029ms
[00:27:15]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard snapshots compare TSVB snapshot.png"
[00:27:15]                 │ 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:e766cdef-11ff-4892-b365-9db148bd6797,w:24,x:0,y:0),id:c40f4d40-3dcc-11e8-8660-4d65aa086b3c,panelIndex:e766cdef-11ff-4892-b365-9db148bd6797,type:visualization,version:%277.8.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:27:15]                 │ 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:27:15]                 └- ✖ fail: "dashboard app using current data dashboard snapshots compare TSVB snapshot"
[00:27:15]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiToast__closeButton)
Wait timed out after 10029ms
    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)

Build metrics

✅ unchanged

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

@ogupte ogupte merged commit 36b1cf5 into elastic:7.8 Jun 16, 2020
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.

2 participants