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

move Metrics API to start #69787

Merged
merged 6 commits into from
Jun 26, 2020
Merged

move Metrics API to start #69787

merged 6 commits into from
Jun 26, 2020

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Jun 24, 2020

Summary

There was a related discussion in the original PR #58623 (comment)
This PR moves public API to the start contract to allow any plugin to subscribe to an observable at any time.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

Dev Docs

Metric service API exposed from the setup contract has been moved to the start lifecycle.

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.9.0 labels Jun 24, 2020
@mshustov mshustov marked this pull request as ready for review June 25, 2020 07:30
@mshustov mshustov requested review from a team as code owners June 25, 2020 07:30
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Comment on lines +36 to +41
startContract.getOpsMetrics$.mockReturnValue(
new BehaviorSubject({
process: {
memory: {
heap: { total_in_bytes: 1, used_in_bytes: 1, size_limit: 1 },
resident_set_size_in_bytes: 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

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

Telemetry changes LGTM!

@mshustov
Copy link
Contributor Author

@elasticmachine merge upstream

@mshustov mshustov merged commit d511bb2 into elastic:master Jun 26, 2020
@mshustov mshustov deleted the metrics-to-start branch June 26, 2020 11:39
mshustov added a commit to mshustov/kibana that referenced this pull request Jun 26, 2020
* move metrics to start

* update plugins accordingly

* update docs

* update legacy code

Co-authored-by: Elastic Machine <[email protected]>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 26, 2020
* master: (34 commits)
  Upgrade `elliptic` dependency (`6.5.2` → `6.5.3`). (elastic#70054)
  [License Management] Do not break when `telemetry.enabled:false` (elastic#69711)
  [SECURITY] Redirect app/security to app/security/overview (elastic#70005)
  "Explore underlying data" in-chart action (elastic#69494)
  Api reference docs for state_containers and state_sync (elastic#67354)
  prep state transfer for passing embeddables by value to editor and back (elastic#69991)
  move Metrics API to start (elastic#69787)
  refactor: 💡 fix typo in embeddable (elastic#69417)
  [alerting] migrates the old `alerting` consumer to be `alerts` (elastic#69982)
  [APM]Create API to return data to be used on the Overview page (elastic#69137)
  [Lens] Fix delete button position in dimension panel for long labels (elastic#69495)
  [Lens] Add toolbar api (elastic#69263)
  Fixes bug on color picker defaults on TSVB (elastic#69889)
  [DOCS] Fixes wording in Upload a CSV section (elastic#69969)
  [Discover] Validate timerange before submitting query to ES (elastic#69363)
  [Maps] avoid using MAP_SAVED_OBJECT_TYPE constant when defining URL paths (elastic#69723)
  [Maps] Fix icon palettes are not working (elastic#69937)
  [Ingest Manager] Fix typo in constant name (elastic#69919)
  [test] skip status.allowAnonymous tests on cloud (elastic#69017)
  Fix backport (elastic#70003)
  ...
mshustov added a commit that referenced this pull request Jun 26, 2020
* move metrics to start

* update plugins accordingly

* update docs

* update legacy code

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_filter_bar·js.dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added

Link to Jenkins

Standard Out

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

[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-debian-tests-xl-1596545143225995171] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[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-debian-tests-xl-1596545143225995171] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[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-debian-tests-xl-1596545143225995171] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[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-debian-tests-xl-1596545143225995171] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[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-debian-tests-xl-1596545143225995171] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[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-debian-tests-xl-1596545143225995171] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[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: 8119
[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:01:20]             └-: dashboard filter bar
[00:01:20]               └-> "before all" hook
[00:01:20]               └-> "before all" hook
[00:01:20]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:01:20]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:01:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/ID6kEyDGSeyNHDovY_avCQ] deleting index
[00:01:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_1/BST9OWGPSFS-T_jW4AWMLQ] deleting index
[00:01:20]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:20]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:01:20]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:21]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_1/5VK7WTobQV-vugMYnEpaqw] update_mapping [_doc]
[00:01:21]                 │ debg Migrating saved objects
[00:01:21]                 │ proc [kibana]   log   [13:06:48.256] [info][savedobjects-service] Creating index .kibana_2.
[00:01:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:21]                 │ proc [kibana]   log   [13:06:48.345] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/BFlMAn2QQBaj5Owzzny-dQ] update_mapping [_doc]
[00:01:21]                 │ proc [kibana]   log   [13:06:48.796] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:21]                 │ proc [kibana]   log   [13:06:48.876] [info][savedobjects-service] Finished in 623ms.
[00:01:21]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:01:23]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:01:23]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596546410355#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:23]                 │
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:23]                 │ debg ... sleep(700) start
[00:01:24]                 │ debg ... sleep(700) end
[00:01:24]                 │ debg returned from get, calling refresh
[00:01:25]                 │ debg browser[INFO] http://localhost:6141/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:06:51Z
[00:01:25]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:25]                 │
[00:01:25]                 │      "
[00:01:25]                 │ERROR browser[SEVERE] http://localhost:6141/34085/bundles/core/core.entry.js 75:261436 TypeError: Failed to fetch
[00:01:25]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596546410355#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:25]                 │
[00:01:25]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:25]                 │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:01:25]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:01:25]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:25]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:26]                 │ debg browser[INFO] http://localhost:6141/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:06:53Z
[00:01:26]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:26]                 │
[00:01:26]                 │      "
[00:01:26]                 │ debg ... sleep(501) start
[00:01:26]                 │ debg ... sleep(501) end
[00:01:26]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:26]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:01:27]                 │ debg ... sleep(501) start
[00:01:27]                 │ debg ... sleep(501) end
[00:01:27]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:27]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:30]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:53]               └-: filter editor field list
[00:01:53]                 └-> "before all" hook
[00:01:53]                 └-> "before all" hook
[00:01:53]                   │ debg gotoDashboardLandingPage
[00:01:53]                   │ debg onDashboardLandingPage
[00:01:53]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:56]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:59]                   │ debg clickDashboardBreadcrumbLink
[00:01:59]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:59]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:59]                   │ debg expectExistsDashboardLandingPage
[00:01:59]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:59]                   │ debg TestSubjects.exists(newItemButton)
[00:01:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:02:00]                   │ debg TestSubjects.click(newItemButton)
[00:02:00]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:02:00]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:02:00]                   │ debg waitForRenderComplete
[00:02:00]                   │ debg in getSharedItemsCount
[00:02:00]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:02:00]                   │ debg Renderable.waitForRender for 0 elements
[00:02:00]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:02:10]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:02:11]                 └-> uses default index pattern on an empty dashboard
[00:02:11]                   └-> "before each" hook: global before each
[00:02:11]                   │ debg TestSubjects.click(addFilter)
[00:02:11]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:11]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:11]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:11]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:11]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:11]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:12]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:12]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:12]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:13]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:13]                   └- ✓ pass  (1.6s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:13]                 └-> shows index pattern of vis when one is added
[00:02:13]                   └-> "before each" hook: global before each
[00:02:13]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:13]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:02:13]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:13]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:16]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:16]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:16]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:16]                   │ debg ... sleep(500) start
[00:02:16]                   │ debg ... sleep(500) end
[00:02:16]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:16]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:19]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:19]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:20]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:20]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:20]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg ... sleep(500) start
[00:02:20]                   │ debg ... sleep(500) end
[00:02:20]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:20]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:23]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:23]                   │ debg --- retry.try failed again with the same message...
[00:02:24]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:24]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:24]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg ... sleep(500) start
[00:02:25]                   │ debg ... sleep(500) end
[00:02:25]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:25]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:28]                   │ debg --- retry.try failed again with the same message...
[00:02:28]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:28]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:28]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg ... sleep(500) start
[00:02:29]                   │ debg ... sleep(500) end
[00:02:29]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:29]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:31]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:32]                   │ debg --- retry.try failed again with the same message...
[00:02:32]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:32]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:32]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:32]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg ... sleep(500) start
[00:02:33]                   │ debg ... sleep(500) end
[00:02:33]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:33]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:36]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:36]                   │ debg --- retry.try failed again with the same message...
[00:02:37]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:37]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:37]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg ... sleep(500) start
[00:02:37]                   │ debg ... sleep(500) end
[00:02:37]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:37]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:40]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:40]                   │ debg --- retry.try failed again with the same message...
[00:02:41]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:41]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:41]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:41]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:41]                   │ debg ... sleep(500) start
[00:02:41]                   │ debg ... sleep(500) end
[00:02:41]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:41]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:44]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:44]                   │ debg --- retry.try failed again with the same message...
[00:02:45]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:45]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:45]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg ... sleep(500) start
[00:02:46]                   │ debg ... sleep(500) end
[00:02:46]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:46]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:49]                   │ debg --- retry.try failed again with the same message...
[00:02:49]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:49]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:49]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg ... sleep(500) start
[00:02:50]                   │ debg ... sleep(500) end
[00:02:50]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:50]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:52]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:53]                   │ debg --- retry.try failed again with the same message...
[00:02:53]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:53]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:53]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ debg ... sleep(500) start
[00:02:54]                   │ debg ... sleep(500) end
[00:02:54]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:54]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:56]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:57]                   │ debg --- retry.try failed again with the same message...
[00:02:57]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:57]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:57]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:58]                   │ debg ... sleep(500) start
[00:02:58]                   │ debg ... sleep(500) end
[00:02:58]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:58]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:01]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:01]                   │ debg --- retry.try failed again with the same message...
[00:03:02]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:02]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:02]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:02]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:02]                   │ debg ... sleep(500) start
[00:03:02]                   │ debg ... sleep(500) end
[00:03:02]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:02]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:05]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:05]                   │ debg --- retry.try failed again with the same message...
[00:03:06]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:06]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:06]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg ... sleep(500) start
[00:03:06]                   │ debg ... sleep(500) end
[00:03:06]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:06]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:09]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:09]                   │ debg --- retry.try failed again with the same message...
[00:03:10]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:10]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:10]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg ... sleep(500) start
[00:03:11]                   │ debg ... sleep(500) end
[00:03:11]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:11]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:13]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:14]                   │ debg --- retry.try failed again with the same message...
[00:03:14]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:14]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:14]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg ... sleep(500) start
[00:03:15]                   │ debg ... sleep(500) end
[00:03:15]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:15]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:17]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:18]                   │ debg --- retry.try failed again with the same message...
[00:03:18]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:18]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:18]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg ... sleep(500) start
[00:03:19]                   │ debg ... sleep(500) end
[00:03:19]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:19]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:21]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:22]                   │ debg --- retry.try failed again with the same message...
[00:03:22]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:22]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:22]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:23]                   │ debg ... sleep(500) start
[00:03:23]                   │ debg ... sleep(500) end
[00:03:23]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:23]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:26]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:26]                   │ debg --- retry.try failed again with the same message...
[00:03:27]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:27]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:27]                   │ debg ... sleep(500) start
[00:03:27]                   │ debg ... sleep(500) end
[00:03:27]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:27]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:30]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:30]                   │ debg --- retry.try failed again with the same message...
[00:03:31]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:31]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:31]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:31]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:31]                   │ debg ... sleep(500) start
[00:03:31]                   │ debg ... sleep(500) end
[00:03:31]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:31]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:34]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:35]                   │ debg --- retry.try failed again with the same message...
[00:03:35]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:35]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:35]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg ... sleep(500) start
[00:03:36]                   │ debg ... sleep(500) end
[00:03:36]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:36]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:38]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:39]                   │ debg --- retry.try failed again with the same message...
[00:03:39]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:39]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:39]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg ... sleep(500) start
[00:03:40]                   │ debg ... sleep(500) end
[00:03:40]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:40]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:42]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:43]                   │ debg --- retry.try failed again with the same message...
[00:03:43]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:43]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:43]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg ... sleep(500) start
[00:03:44]                   │ debg ... sleep(500) end
[00:03:44]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:44]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:47]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:47]                   │ debg --- retry.try failed again with the same message...
[00:03:48]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:48]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:48]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:48]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:48]                   │ debg ... sleep(500) start
[00:03:48]                   │ debg ... sleep(500) end
[00:03:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:51]                   │ debg --- retry.try failed again with the same message...
[00:03:52]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:52]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:52]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:52]                   │ debg ... sleep(500) start
[00:03:52]                   │ debg ... sleep(500) end
[00:03:52]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:55]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:55]                   │ debg --- retry.try failed again with the same message...
[00:03:56]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:56]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:56]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:56]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:56]                   │ debg ... sleep(500) start
[00:03:56]                   │ debg ... sleep(500) end
[00:03:56]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:56]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:59]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:59]                   │ debg --- retry.try failed again with the same message...
[00:04:00]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:00]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:00]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:00]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:00]                   │ debg ... sleep(500) start
[00:04:01]                   │ debg ... sleep(500) end
[00:04:01]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:01]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:04]                   │ debg --- retry.try failed again with the same message...
[00:04:04]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:04]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg ... sleep(500) start
[00:04:05]                   │ debg ... sleep(500) end
[00:04:05]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:05]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:07]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:08]                   │ debg --- retry.try failed again with the same message...
[00:04:08]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:08]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:08]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg ... sleep(500) start
[00:04:09]                   │ debg ... sleep(500) end
[00:04:09]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:09]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:11]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:12]                   │ debg --- retry.try failed again with the same message...
[00:04:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:13]                   │ debg ... sleep(500) start
[00:04:13]                   │ debg ... sleep(500) end
[00:04:13]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:13]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:16]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:16]                   │ debg --- retry.try failed again with the same message...
[00:04:17]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added.png"
[00:04:17]                   │ info Current URL is: http://localhost:6141/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:04:17]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added.html
[00:04:17]                   └- ✖ fail: "dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added"
[00:04:17]                   │

Stack Trace

Error: retry.try timeout: Error: Add panel still not open, trying again.
    at retry.try (test/functional/services/dashboard/add_panel.ts:121:19)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/saved_objects_management/edit_saved_object·ts.saved objects management saved objects edition page allows to delete a saved object

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:12:37]         └-: saved objects management
[00:12:37]           └-> "before all" hook
[00:12:37]           └-: saved objects edition page
[00:12:37]             └-> "before all" hook
[00:12:37]             └-> allows to update the saved object when submitting
[00:12:37]               └-> "before each" hook: global before each
[00:12:37]               └-> "before each" hook
[00:12:37]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:12:37]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:12:37]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:12:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]])." previous.health="YELLOW" reason="shards started [[.kibana][0]]"
[00:12:37]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:12:37]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:12:37]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:12:37]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana/_YqmqaKMQ-Gm_RrPRENyrQ] update_mapping [_doc]
[00:12:37]                 │ debg Migrating saved objects
[00:12:37]                 │ proc [kibana]   log   [13:19:32.802] [info][savedobjects-service] Creating index .kibana_2.
[00:12:37]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:12:37]                 │ proc [kibana]   log   [13:19:32.858] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:37]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:12:37]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] 3748 finished with response BulkByScrollResponse[took=20.5ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:12:37]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana/_YqmqaKMQ-Gm_RrPRENyrQ] deleting index
[00:12:38]                 │ proc [kibana]   log   [13:19:33.207] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/g6-8aCRNSVCnEM_MLlzDtw] update_mapping [_doc]
[00:12:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/g6-8aCRNSVCnEM_MLlzDtw] update_mapping [_doc]
[00:12:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/g6-8aCRNSVCnEM_MLlzDtw] update_mapping [_doc]
[00:12:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/g6-8aCRNSVCnEM_MLlzDtw] update_mapping [_doc]
[00:12:38]                 │ proc [kibana]   log   [13:19:33.337] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:38]                 │ proc [kibana]   log   [13:19:33.378] [info][savedobjects-service] Finished in 577ms.
[00:12:38]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/g6-8aCRNSVCnEM_MLlzDtw] update_mapping [_doc]
[00:12:39]               │ debg navigating to settings url: http://localhost:6181/app/management
[00:12:39]               │ debg navigate to: http://localhost:6181/app/management
[00:12:39]               │ debg browser[INFO] http://localhost:6181/app/management?_t=1596547174860 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:12:39]               │
[00:12:39]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:39]               │ debg ... sleep(700) start
[00:12:40]               │ debg ... sleep(700) end
[00:12:40]               │ debg returned from get, calling refresh
[00:12:41]               │ debg browser[INFO] http://localhost:6181/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:19:35Z
[00:12:41]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:41]               │
[00:12:41]               │      "
[00:12:41]               │ debg browser[INFO] http://localhost:6181/app/management?_t=1596547174860 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:12:41]               │
[00:12:41]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:41]               │ debg browser[INFO] http://localhost:6181/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:19:36Z
[00:12:41]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:41]               │
[00:12:41]               │      "
[00:12:41]               │ debg currentUrl = http://localhost:6181/app/management
[00:12:41]               │          appUrl = http://localhost:6181/app/management
[00:12:41]               │ debg TestSubjects.find(kibanaChrome)
[00:12:41]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:41]               │ debg ... sleep(501) start
[00:12:41]               │ debg ... sleep(501) end
[00:12:42]               │ debg in navigateTo url = http://localhost:6181/app/management
[00:12:42]               │ debg TestSubjects.exists(statusPageContainer)
[00:12:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:44]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:45]               │ debg TestSubjects.click(objects)
[00:12:45]               │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:45]               │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:45]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] .euiBasicTable-loading') with timeout=2500
[00:12:45]               │ debg --- retry.try error: Waiting
[00:12:45]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] .euiBasicTable-loading') with timeout=2500
[00:12:48]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] .euiBasicTable-loading is not displayed
[00:12:48]               │ debg TestSubjects.find(savedObjectsTable)
[00:12:48]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:48]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:49]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1596547184008 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:12:49]               │
[00:12:49]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:49]               │ debg browser[INFO] http://localhost:6181/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:19:44Z
[00:12:49]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:49]               │
[00:12:49]               │      "
[00:12:49]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:49]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:49]               │ debg TestSubjects.find(kibanaChrome)
[00:12:49]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:49]               │ debg TestSubjects.exists(savedObjectEditSave)
[00:12:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=120000
[00:12:49]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:12:49]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:12:49]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:49]               │ debg TestSubjects.setValue(savedObjects-editField-title, Edited Dashboard)
[00:12:49]               │ debg TestSubjects.click(savedObjects-editField-title)
[00:12:49]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:49]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:50]               │ debg TestSubjects.setValue(savedObjects-editField-description, Some description)
[00:12:50]               │ debg TestSubjects.click(savedObjects-editField-description)
[00:12:50]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:50]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:50]               │ debg TestSubjects.find(savedObjectEditSave)
[00:12:50]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=10000
[00:12:50]               │ debg TestSubjects.find(savedObjectsTable)
[00:12:50]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:51]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:51]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1596547186409 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:12:51]               │
[00:12:51]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:51]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:51]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:51]               │ debg TestSubjects.find(kibanaChrome)
[00:12:51]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:51]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:12:51]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:12:51]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:51]               │ debg browser[INFO] http://localhost:6181/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:19:46Z
[00:12:51]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:51]               │
[00:12:51]               │      "
[00:12:52]               │ debg TestSubjects.getAttribute(savedObjects-editField-description, value)
[00:12:52]               │ debg TestSubjects.find(savedObjects-editField-description)
[00:12:52]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:52]               └- ✓ pass  (12.5s) "saved objects management saved objects edition page allows to update the saved object when submitting"
[00:12:52]             └-> "after each" hook
[00:12:52]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "mappings.json"
[00:12:52]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/g6-8aCRNSVCnEM_MLlzDtw] deleting index
[00:12:52]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_1/TH_r_EE3TWODPVOiHH0FSA] deleting index
[00:12:52]               │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:52]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "data.json"
[00:12:52]             └-> allows to delete a saved object
[00:12:52]               └-> "before each" hook: global before each
[00:12:52]               └-> "before each" hook
[00:12:52]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:12:52]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:12:52]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:12:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]])." previous.health="YELLOW" reason="shards started [[.kibana][0]]"
[00:12:52]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:12:52]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:12:52]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:12:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana/_YHJWibJRjaI_SzjFpb2tg] update_mapping [_doc]
[00:12:52]                 │ debg Migrating saved objects
[00:12:52]                 │ proc [kibana]   log   [13:19:47.601] [info][savedobjects-service] Creating index .kibana_2.
[00:12:52]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:12:52]                 │ proc [kibana]   log   [13:19:47.653] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:52]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:52]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:12:52]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] 3991 finished with response BulkByScrollResponse[took=19.5ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:12:52]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana/_YHJWibJRjaI_SzjFpb2tg] deleting index
[00:12:52]                 │ proc [kibana]   log   [13:19:47.981] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/tTFZWDrYQl-NObgcfSDidg] update_mapping [_doc]
[00:12:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/tTFZWDrYQl-NObgcfSDidg] update_mapping [_doc]
[00:12:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/tTFZWDrYQl-NObgcfSDidg] update_mapping [_doc]
[00:12:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/tTFZWDrYQl-NObgcfSDidg] update_mapping [_doc]
[00:12:52]                 │ proc [kibana]   log   [13:19:48.098] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:52]                 │ proc [kibana]   log   [13:19:48.146] [info][savedobjects-service] Finished in 546ms.
[00:12:52]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:53]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1596545143225995171] [.kibana_2/tTFZWDrYQl-NObgcfSDidg] update_mapping [_doc]
[00:12:54]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:54]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1596547189656 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:12:54]               │
[00:12:54]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:55]               │ debg browser[INFO] http://localhost:6181/34085/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:19:50Z
[00:12:55]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:55]               │
[00:12:55]               │      "
[00:12:55]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:55]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:55]               │ debg TestSubjects.find(kibanaChrome)
[00:12:55]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:55]               │ debg TestSubjects.find(savedObjectEditDelete)
[00:12:55]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditDelete"]') with timeout=10000
[00:12:55]               │ debg Clicking modal confirm
[00:12:55]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:12:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:12:55]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:12:55]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:12:55]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:12:55]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:12:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:12:58]               │ debg browser[INFO] http://localhost:6181/34085/bundles/core/core.entry.js 75:262515 "Detected an unhandled Promise rejection.
[00:12:58]               │      TypeError: Cannot read property 'attributes' of undefined"
[00:12:58]               │ERROR browser[SEVERE] http://localhost:6181/34085/bundles/plugin/savedObjectsManagement/1.plugin.js 5:34045 Uncaught TypeError: Cannot read property 'attributes' of undefined
[00:12:58]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:12:58]               │ debg TestSubjects.find(savedObjectsTable)
[00:12:58]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:13:08]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/saved objects management saved objects edition page allows to delete a saved object.png"
[00:13:08]               │ info Current URL is: http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:13:08]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/saved objects management saved objects edition page allows to delete a saved object.html
[00:13:08]               └- ✖ fail: "saved objects management saved objects edition page allows to delete a saved object"
[00:13:08]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectsTable"])
Wait timed out after 10017ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/management/index_management/templates·js.apis management index management index templates get all should list all the index templates with the expected parameters

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:04:34]           └-: management
[00:04:34]             └-> "before all" hook
[00:04:55]             └-: index management
[00:04:55]               └-> "before all" hook
[00:04:58]               └-: index templates
[00:04:58]                 └-> "before all" hook
[00:04:58]                 └-: get all
[00:04:58]                   └-> "before all" hook
[00:04:58]                   └-> should list all the index templates with the expected parameters
[00:04:58]                     └-> "before each" hook: global before each
[00:04:58]                     └-> "before each" hook
[00:04:58]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xl-1596545143226098120] adding template [template-dvxteibqbekutctsv-1596548038577] for index patterns [test*]
[00:04:58]                     └- ✖ fail: "apis management index management index templates get all should list all the index templates with the expected parameters"
[00:04:58]                     │

Stack Trace

{ Error: expected [ { name: 'logs',
    version: 0,
    priority: 100,
    indexPatterns: [ 'logs-*-*' ],
    composedOf: [ 'logs-mappings', 'logs-settings' ],
    _kbnMeta: { isManaged: false },
    hasSettings: false,
    hasAliases: false,
    hasMappings: false },
  { name: 'metrics',
    version: 0,
    priority: 100,
    indexPatterns: [ 'metrics-*-*' ],
    composedOf: [ 'metrics-mappings', 'metrics-settings' ],
    _kbnMeta: { isManaged: false },
    hasSettings: false,
    hasAliases: false,
    hasMappings: false } ] to sort of equal []
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.it (test/api_integration/apis/management/index_management/templates.js:44:43)
  actual:
   '[\n  {\n    "_kbnMeta": {\n      "isManaged": false\n    }\n    "composedOf": [\n      "logs-mappings"\n      "logs-settings"\n    ]\n    "hasAliases": false\n    "hasMappings": false\n    "hasSettings": false\n    "indexPatterns": [\n      "logs-*-*"\n    ]\n    "name": "logs"\n    "priority": 100\n    "version": 0\n  }\n  {\n    "_kbnMeta": {\n      "isManaged": false\n    }\n    "composedOf": [\n      "metrics-mappings"\n      "metrics-settings"\n    ]\n    "hasAliases": false\n    "hasMappings": false\n    "hasSettings": false\n    "indexPatterns": [\n      "metrics-*-*"\n    ]\n    "name": "metrics"\n    "priority": 100\n    "version": 0\n  }\n]',
  expected: '[]',
  showDiff: true }

and 7 more failures, only showing the first 3.

Build metrics

✅ unchanged

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants