Skip to content

Conversation

@ThomThomson
Copy link
Contributor

Backports the following commits to 7.x:

Added a standard method for adding or replacing a panel on a dashboard.
@ThomThomson ThomThomson added the backport This PR is a backport of another PR label Jul 9, 2020
@ThomThomson
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/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 21 times on tracked branches: https://github.com/elastic/kibana/issues/68400

[00:00:00]       │
[00:12:06]         └-: saved objects management
[00:12:06]           └-> "before all" hook
[00:12:06]           └-: saved objects edition page
[00:12:06]             └-> "before all" hook
[00:12:06]             └-> allows to update the saved object when submitting
[00:12:06]               └-> "before each" hook: global before each
[00:12:06]               └-> "before each" hook
[00:12:06]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:12:06]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:12:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:12:06]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:12:06]                 │ 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:06]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:12:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana/Xp_rF0VGRvqU3CwZsC3iDQ] update_mapping [_doc]
[00:12:06]                 │ debg Migrating saved objects
[00:12:06]                 │ proc [kibana]   log   [16:55:46.957] [info][savedobjects-service] Creating index .kibana_2.
[00:12:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:06]                 │ proc [kibana]   log   [16:55:47.005] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] 3579 finished with response BulkByScrollResponse[took=22.1ms,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:07]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana/Xp_rF0VGRvqU3CwZsC3iDQ] deleting index
[00:12:07]                 │ proc [kibana]   log   [16:55:47.327] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/2DykYXb0SFytNUHNzMowLw] update_mapping [_doc]
[00:12:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/2DykYXb0SFytNUHNzMowLw] update_mapping [_doc]
[00:12:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/2DykYXb0SFytNUHNzMowLw] update_mapping [_doc]
[00:12:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/2DykYXb0SFytNUHNzMowLw] update_mapping [_doc]
[00:12:07]                 │ proc [kibana]   log   [16:55:47.429] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:07]                 │ proc [kibana]   log   [16:55:47.462] [info][savedobjects-service] Finished in 507ms.
[00:12:07]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:08]               │ debg navigating to settings url: http://localhost:6181/app/management
[00:12:08]               │ debg navigate to: http://localhost:6181/app/management
[00:12:08]               │ debg browser[INFO] http://localhost:6181/app/management?_t=1594659349017 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:08]               │
[00:12:08]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:08]               │ debg ... sleep(700) start
[00:12:09]               │ debg ... sleep(700) end
[00:12:09]               │ debg returned from get, calling refresh
[00:12:10]               │ debg browser[INFO] http://localhost:6181/33121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T16:55:49Z
[00:12:10]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:10]               │
[00:12:10]               │      "
[00:12:10]               │ debg browser[INFO] http://localhost:6181/app/management?_t=1594659349017 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:10]               │
[00:12:10]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:10]               │ debg browser[INFO] http://localhost:6181/33121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T16:55:50Z
[00:12:10]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:10]               │
[00:12:10]               │      "
[00:12:10]               │ debg currentUrl = http://localhost:6181/app/management
[00:12:10]               │          appUrl = http://localhost:6181/app/management
[00:12:10]               │ debg TestSubjects.find(kibanaChrome)
[00:12:10]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:10]               │ debg ... sleep(501) start
[00:12:11]               │ debg ... sleep(501) end
[00:12:11]               │ debg in navigateTo url = http://localhost:6181/app/management
[00:12:11]               │ debg TestSubjects.exists(statusPageContainer)
[00:12:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:13]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:14]               │ debg TestSubjects.click(objects)
[00:12:14]               │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:14]               │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:14]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:14]               │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:14]               │        (Session info: headless chrome=83.0.4103.116)
[00:12:18]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:21]               │ debg TestSubjects.find(savedObjectsTable)
[00:12:21]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:21]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:21]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:21]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:21]               │ debg TestSubjects.find(kibanaChrome)
[00:12:21]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:22]               │ debg TestSubjects.exists(savedObjectEditSave)
[00:12:22]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=120000
[00:12:22]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1594659361339 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:22]               │
[00:12:22]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:22]               │ debg browser[INFO] http://localhost:6181/33121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T16:56:02Z
[00:12:22]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:22]               │
[00:12:22]               │      "
[00:12:22]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:12:22]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:12:22]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:22]               │ debg TestSubjects.setValue(savedObjects-editField-title, Edited Dashboard)
[00:12:22]               │ debg TestSubjects.click(savedObjects-editField-title)
[00:12:22]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:22]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:22]               │ debg TestSubjects.setValue(savedObjects-editField-description, Some description)
[00:12:22]               │ debg TestSubjects.click(savedObjects-editField-description)
[00:12:22]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:22]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:23]               │ debg TestSubjects.find(savedObjectEditSave)
[00:12:23]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=10000
[00:12:23]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:24]               │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:24]               │        (Session info: headless chrome=83.0.4103.116)
[00:12:28]               │ debg TestSubjects.find(savedObjectsTable)
[00:12:28]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:28]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:28]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1594659368547 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:28]               │
[00:12:28]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:28]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:28]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:28]               │ debg TestSubjects.find(kibanaChrome)
[00:12:28]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:29]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:12:29]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:12:29]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:29]               │ debg browser[INFO] http://localhost:6181/33121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T16:56:09Z
[00:12:29]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:29]               │
[00:12:29]               │      "
[00:12:29]               │ debg TestSubjects.getAttribute(savedObjects-editField-description, value)
[00:12:29]               │ debg TestSubjects.find(savedObjects-editField-description)
[00:12:29]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:29]               └- ✓ pass  (20.9s) "saved objects management saved objects edition page allows to update the saved object when submitting"
[00:12:29]             └-> "after each" hook
[00:12:29]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "mappings.json"
[00:12:29]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/2DykYXb0SFytNUHNzMowLw] deleting index
[00:12:29]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_1/7Wm23Rm4TkeD5uSbqQwMGw] deleting index
[00:12:29]               │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:29]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "data.json"
[00:12:29]             └-> allows to delete a saved object
[00:12:29]               └-> "before each" hook: global before each
[00:12:29]               └-> "before each" hook
[00:12:29]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:12:29]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:12:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:12:29]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:12:29]                 │ 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:29]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:12:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana/P46HTXPAT86Eir-HGWYnbw] update_mapping [_doc]
[00:12:29]                 │ debg Migrating saved objects
[00:12:29]                 │ proc [kibana]   log   [16:56:10.108] [info][savedobjects-service] Creating index .kibana_2.
[00:12:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:29]                 │ proc [kibana]   log   [16:56:10.163] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:30]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] 3831 finished with response BulkByScrollResponse[took=40.2ms,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:30]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana/P46HTXPAT86Eir-HGWYnbw] deleting index
[00:12:30]                 │ proc [kibana]   log   [16:56:10.491] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:30]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/O1TsxS9jTt-iG82yEmqf3A] update_mapping [_doc]
[00:12:30]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/O1TsxS9jTt-iG82yEmqf3A] update_mapping [_doc]
[00:12:30]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/O1TsxS9jTt-iG82yEmqf3A] update_mapping [_doc]
[00:12:30]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594657506612634646] [.kibana_2/O1TsxS9jTt-iG82yEmqf3A] update_mapping [_doc]
[00:12:30]                 │ proc [kibana]   log   [16:56:10.591] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:30]                 │ proc [kibana]   log   [16:56:10.626] [info][savedobjects-service] Finished in 520ms.
[00:12:30]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:31]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:31]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:31]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:31]               │ debg TestSubjects.find(kibanaChrome)
[00:12:31]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:31]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1594659372162 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:31]               │
[00:12:31]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:33]               │ debg TestSubjects.find(savedObjectEditDelete)
[00:12:33]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditDelete"]') with timeout=10000
[00:12:33]               │ debg browser[INFO] http://localhost:6181/33121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T16:56:13Z
[00:12:33]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:33]               │
[00:12:33]               │      "
[00:12:33]               │ debg Clicking modal confirm
[00:12:33]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:12:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:12:33]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:12:33]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:12:33]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:12:33]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:12:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:12:36]               │ debg browser[INFO] http://localhost:6181/33121/bundles/core/core.entry.js 83:262843 "Detected an unhandled Promise rejection.
[00:12:36]               │      TypeError: Cannot read property 'attributes' of undefined"
[00:12:36]               │ERROR browser[SEVERE] http://localhost:6181/33121/bundles/plugin/savedObjectsManagement/1.plugin.js 5:34045 Uncaught TypeError: Cannot read property 'attributes' of undefined
[00:12:36]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:12:36]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:39]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:39]               │ debg --- retry.try error: Waiting
[00:12:40]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:42]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:43]               │ debg --- retry.try failed again with the same message...
[00:12:43]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:46]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:46]               │ debg --- retry.try failed again with the same message...
[00:12:47]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:49]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:50]               │ debg --- retry.try failed again with the same message...
[00:12:50]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:53]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:53]               │ debg --- retry.try failed again with the same message...
[00:12:54]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:56]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:57]               │ debg --- retry.try failed again with the same message...
[00:12:57]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:00]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:00]               │ debg --- retry.try failed again with the same message...
[00:13:01]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:03]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:04]               │ debg --- retry.try failed again with the same message...
[00:13:04]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:07]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:07]               │ debg --- retry.try failed again with the same message...
[00:13:08]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:10]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:11]               │ debg --- retry.try failed again with the same message...
[00:13:11]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:14]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:15]               │ debg --- retry.try failed again with the same message...
[00:13:15]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:18]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:18]               │ debg --- retry.try failed again with the same message...
[00:13:19]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:21]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:22]               │ debg --- retry.try failed again with the same message...
[00:13:22]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:25]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:25]               │ debg --- retry.try failed again with the same message...
[00:13:26]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:28]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:29]               │ debg --- retry.try failed again with the same message...
[00:13:29]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:32]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:32]               │ debg --- retry.try failed again with the same message...
[00:13:33]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:35]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:36]               │ debg --- retry.try failed again with the same message...
[00:13:36]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:39]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:39]               │ debg --- retry.try failed again with the same message...
[00:13:40]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:42]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:43]               │ debg --- retry.try failed again with the same message...
[00:13:43]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:46]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:46]               │ debg --- retry.try failed again with the same message...
[00:13:47]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:49]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:50]               │ debg --- retry.try failed again with the same message...
[00:13:50]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:53]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:53]               │ debg --- retry.try failed again with the same message...
[00:13:54]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:57]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:57]               │ debg --- retry.try failed again with the same message...
[00:13:58]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:00]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:01]               │ debg --- retry.try failed again with the same message...
[00:14:01]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:04]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:04]               │ debg --- retry.try failed again with the same message...
[00:14:05]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:07]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:08]               │ debg --- retry.try failed again with the same message...
[00:14:08]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:11]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:11]               │ debg --- retry.try failed again with the same message...
[00:14:12]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:14]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:15]               │ debg --- retry.try failed again with the same message...
[00:14:15]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:18]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:18]               │ debg --- retry.try failed again with the same message...
[00:14:19]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:21]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:22]               │ debg --- retry.try failed again with the same message...
[00:14:22]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:25]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:25]               │ debg --- retry.try failed again with the same message...
[00:14:26]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:28]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:29]               │ debg --- retry.try failed again with the same message...
[00:14:29]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:32]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:33]               │ debg --- retry.try failed again with the same message...
[00:14:33]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:36]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:36]               │ debg --- retry.try failed again with the same message...
[00:14:37]               │ 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:14:37]               │ info Current URL is: http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:14:37]               │ 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:14:37]               └- ✖ fail: saved objects management saved objects edition page allows to delete a saved object
[00:14:37]               │      retry.try timeout: Error: Waiting
[00:14:37]               │     at retry.try (/dev/shm/workspace/kibana/test/functional/page_objects/management/saved_objects_page.ts:97:17)
[00:14:37]               │   Error: retry.try timeout: Error: Waiting
[00:14:37]               │       at retry.try (test/functional/page_objects/management/saved_objects_page.ts:97:17)
[00:14:37]               │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:14:37]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:14:37]               │ 
[00:14:37]               │ 

Stack Trace

Error: retry.try timeout: Error: Waiting
    at retry.try (test/functional/page_objects/management/saved_objects_page.ts:97:17)
    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

History

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

@ThomThomson ThomThomson merged commit f6e7bee into elastic:7.x Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants