Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Lens] Don't use auto interval to get interval for single bar (#64502) #64784

Merged
merged 1 commit into from
Apr 29, 2020

Conversation

mbondyra
Copy link
Contributor

Backports the following commits to 7.x:

…c#64502)

* feat: don't use auto interval to get interval for single bar

* fix: fixing non auto intervals

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@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 not failed recently on tracked branches

[00:00:00]       │
[00:15:20]         └-: saved objects management
[00:15:20]           └-> "before all" hook
[00:15:20]           └-: saved objects edition page
[00:15:20]             └-> "before all" hook
[00:15:20]             └-> allows to update the saved object when submitting
[00:15:20]               └-> "before each" hook: global before each
[00:15:20]               └-> "before each" hook
[00:15:20]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:15:20]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:15:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] applying create index request using v1 templates []
[00:15:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:15:20]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:15:20]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:15:20]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:15:20]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:15:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana/PkaCt2A4TK6gv18FfQ5Hww] update_mapping [_doc]
[00:15:20]                 │ debg Migrating saved objects
[00:15:20]                 │ proc [kibana]   log   [15:46:29.721] [info][savedobjects-service] Creating index .kibana_2.
[00:15:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] applying create index request using v1 templates []
[00:15:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:20]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:20]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:15:20]                 │ proc [kibana]   log   [15:46:29.780] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:15:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] applying create index request using v1 templates []
[00:15:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:20]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] updating number_of_replicas to [0] for indices [.kibana_1]
[00:15:20]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:15:20]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] 4217 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:15:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana/PkaCt2A4TK6gv18FfQ5Hww] deleting index
[00:15:20]                 │ proc [kibana]   log   [15:46:30.100] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:15:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/3oe21xewS9KvpYVT3CMEtw] update_mapping [_doc]
[00:15:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/3oe21xewS9KvpYVT3CMEtw] update_mapping [_doc]
[00:15:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/3oe21xewS9KvpYVT3CMEtw] update_mapping [_doc]
[00:15:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/3oe21xewS9KvpYVT3CMEtw] update_mapping [_doc]
[00:15:20]                 │ proc [kibana]   log   [15:46:30.205] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:15:20]                 │ proc [kibana]   log   [15:46:30.241] [info][savedobjects-service] Finished in 521ms.
[00:15:20]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:15:21]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/3oe21xewS9KvpYVT3CMEtw] update_mapping [_doc]
[00:15:22]               │ debg navigating to settings url: http://localhost:6181/app/kibana#/management
[00:15:22]               │ debg navigate to: http://localhost:6181/app/kibana#/management
[00:15:22]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1588175191779#/management 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:15:22]               │
[00:15:22]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:22]               │ debg ... sleep(700) start
[00:15:23]               │ debg ... sleep(700) end
[00:15:23]               │ debg returned from get, calling refresh
[00:15:23]               │ debg currentUrl = http://localhost:6181/app/kibana#/management
[00:15:23]               │          appUrl = http://localhost:6181/app/kibana#/management
[00:15:23]               │ debg TestSubjects.find(kibanaChrome)
[00:15:23]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:24]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1588175191779#/management 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:15:24]               │
[00:15:24]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:27]               │ debg TestSubjects.find(kibanaChrome)
[00:15:27]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:15:27]               │ debg browser[INFO] http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-29T15:46:35Z
[00:15:27]               │        Adding connection to http://localhost:6181/elasticsearch
[00:15:27]               │
[00:15:27]               │      "
[00:15:27]               │ debg ... sleep(501) start
[00:15:27]               │ debg ... sleep(501) end
[00:15:27]               │ debg in navigateTo url = http://localhost:6181/app/kibana#/management?_g=()
[00:15:27]               │ debg TestSubjects.exists(statusPageContainer)
[00:15:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:30]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:30]               │ debg TestSubjects.click(objects)
[00:15:30]               │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:15:30]               │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:15:31]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] .euiBasicTable-loading') with timeout=2500
[00:15:31]               │ debg --- retry.try error: Waiting
[00:15:31]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] .euiBasicTable-loading') with timeout=2500
[00:15:34]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] .euiBasicTable-loading is not displayed
[00:15:35]               │ debg TestSubjects.find(savedObjectsTable)
[00:15:35]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:15:35]               │ debg navigateToActualUrl http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:35]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1588175204388#/management/kibana/objects/savedDashboards/i-exist 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:15:35]               │
[00:15:35]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:35]               │ debg currentUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:35]               │          appUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:35]               │ debg TestSubjects.find(kibanaChrome)
[00:15:35]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:37]               │ debg TestSubjects.exists(savedObjectEditSave)
[00:15:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=120000
[00:15:37]               │ debg browser[INFO] http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-29T15:46:46Z
[00:15:37]               │        Adding connection to http://localhost:6181/elasticsearch
[00:15:37]               │
[00:15:37]               │      "
[00:15:37]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:15:37]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:15:37]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:15:37]               │ debg TestSubjects.setValue(savedObjects-editField-title, Edited Dashboard)
[00:15:37]               │ debg TestSubjects.click(savedObjects-editField-title)
[00:15:37]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:15:37]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:15:37]               │ debg TestSubjects.setValue(savedObjects-editField-description, Some description)
[00:15:37]               │ debg TestSubjects.click(savedObjects-editField-description)
[00:15:37]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:15:37]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:15:37]               │ debg TestSubjects.find(savedObjectEditSave)
[00:15:37]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=10000
[00:15:37]               │ debg TestSubjects.find(savedObjectsTable)
[00:15:37]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:15:39]               │ debg navigateToActualUrl http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:39]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1588175208329#/management/kibana/objects/savedDashboards/i-exist 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:15:39]               │
[00:15:39]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:39]               │ debg currentUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:39]               │          appUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:39]               │ debg TestSubjects.find(kibanaChrome)
[00:15:39]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:41]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:15:41]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:15:41]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:15:41]               │ debg browser[INFO] http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-29T15:46:50Z
[00:15:41]               │        Adding connection to http://localhost:6181/elasticsearch
[00:15:41]               │
[00:15:41]               │      "
[00:15:41]               │ debg TestSubjects.getAttribute(savedObjects-editField-description, value)
[00:15:41]               │ debg TestSubjects.find(savedObjects-editField-description)
[00:15:41]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:15:41]               └- ✓ pass  (19.0s) "saved objects management saved objects edition page allows to update the saved object when submitting"
[00:15:41]             └-> "after each" hook
[00:15:41]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "mappings.json"
[00:15:41]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/3oe21xewS9KvpYVT3CMEtw] deleting index
[00:15:41]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_1/vHLs0wGwTEqEW_m_3JRAlg] deleting index
[00:15:41]               │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana_2",".kibana_1"]
[00:15:41]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "data.json"
[00:15:41]             └-> allows to delete a saved object
[00:15:41]               └-> "before each" hook: global before each
[00:15:41]               └-> "before each" hook
[00:15:41]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:15:41]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] applying create index request using v1 templates []
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:15:41]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:15:41]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:15:41]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:15:41]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana/5_zvd71fTD666M86oyKtPg] update_mapping [_doc]
[00:15:41]                 │ debg Migrating saved objects
[00:15:41]                 │ proc [kibana]   log   [15:46:50.965] [info][savedobjects-service] Creating index .kibana_2.
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] applying create index request using v1 templates []
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:15:41]                 │ proc [kibana]   log   [15:46:51.013] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] applying create index request using v1 templates []
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] updating number_of_replicas to [0] for indices [.kibana_1]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:15:41]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] 4453 finished with response BulkByScrollResponse[took=18.6ms,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:15:42]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana/5_zvd71fTD666M86oyKtPg] deleting index
[00:15:42]                 │ proc [kibana]   log   [15:46:51.338] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/IhoOYA9dRYCRwzuy_sO5xw] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/IhoOYA9dRYCRwzuy_sO5xw] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/IhoOYA9dRYCRwzuy_sO5xw] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/IhoOYA9dRYCRwzuy_sO5xw] update_mapping [_doc]
[00:15:42]                 │ proc [kibana]   log   [15:46:51.440] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:15:42]                 │ proc [kibana]   log   [15:46:51.484] [info][savedobjects-service] Finished in 520ms.
[00:15:42]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1588172959352971678] [.kibana_2/IhoOYA9dRYCRwzuy_sO5xw] update_mapping [_doc]
[00:15:43]               │ debg navigateToActualUrl http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:43]               │ debg currentUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:43]               │          appUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:43]               │ debg TestSubjects.find(kibanaChrome)
[00:15:43]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:45]               │ debg TestSubjects.find(savedObjectEditDelete)
[00:15:45]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditDelete"]') with timeout=10000
[00:15:45]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1588175213017#/management/kibana/objects/savedDashboards/i-exist 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:15:45]               │
[00:15:45]               │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:45]               │ debg browser[INFO] http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-29T15:46:54Z
[00:15:45]               │        Adding connection to http://localhost:6181/elasticsearch
[00:15:45]               │
[00:15:45]               │      "
[00:15:46]               │ debg Clicking modal confirm
[00:15:46]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:15:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:15:46]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:15:46]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:15:46]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:15:46]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:15:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:15:48]               │ debg browser[INFO] http://localhost:6181/bundles/commons.bundle.js 0:1183405 "Detected an unhandled Promise rejection.
[00:15:48]               │      TypeError: Cannot read property 'attributes' of undefined"
[00:15:48]               │ERROR browser[SEVERE] http://localhost:6181/bundles/plugin/savedObjectsManagement/6.plugin.js 0:12542 Uncaught TypeError: Cannot read property 'attributes' of undefined
[00:15:48]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:15:49]               │ debg TestSubjects.find(savedObjectsTable)
[00:15:49]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:15:59]               │ 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:15:59]               │ info Current URL is: http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:15:59]               │ 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:15:59]               └- ✖ fail: "saved objects management saved objects edition page allows to delete a saved object"
[00:15:59]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectsTable"])
Wait timed out after 10024ms
    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: '' }

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

@mbondyra mbondyra merged commit 074b6f8 into elastic:7.x Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants