Skip to content

[7.8] [Lens] fix empty state for pie (#66206)#66391

Merged
mbondyra merged 1 commit intoelastic:7.8from
mbondyra:backport/7.8/pr-66206
May 13, 2020
Merged

[7.8] [Lens] fix empty state for pie (#66206)#66391
mbondyra merged 1 commit intoelastic:7.8from
mbondyra:backport/7.8/pr-66206

Conversation

@mbondyra
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.8:

@mbondyra mbondyra added the backport This PR is a backport of another PR label May 13, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/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:13:26]         └-: saved objects management
[00:13:26]           └-> "before all" hook
[00:13:26]           └-: saved objects edition page
[00:13:26]             └-> "before all" hook
[00:13:26]             └-> allows to update the saved object when submitting
[00:13:26]               └-> "before each" hook: global before each
[00:13:26]               └-> "before each" hook
[00:13:26]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:13:26]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:13:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] applying create index request using v1 templates []
[00:13:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:13:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:13:26]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:13:26]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:13:26]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:13:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana/22WbThgXTBWXpBHMv1125w] update_mapping [_doc]
[00:13:26]                 │ debg Migrating saved objects
[00:13:26]                 │ proc [kibana]   log   [13:33:06.515] [info][savedobjects-service] Creating index .kibana_2.
[00:13:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] applying create index request using v1 templates []
[00:13:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:13:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] updating number_of_replicas to [0] for indices [.kibana_2]
[00:13:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:13:26]                 │ proc [kibana]   log   [13:33:06.567] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:13:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] applying create index request using v1 templates []
[00:13:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:13:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] updating number_of_replicas to [0] for indices [.kibana_1]
[00:13:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:13:26]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] 3917 finished with response BulkByScrollResponse[took=27.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:13:26]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana/22WbThgXTBWXpBHMv1125w] deleting index
[00:13:26]                 │ proc [kibana]   log   [13:33:06.894] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:13:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/yWd8ZSksSNG2N6QJ2IRCWQ] update_mapping [_doc]
[00:13:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/yWd8ZSksSNG2N6QJ2IRCWQ] update_mapping [_doc]
[00:13:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/yWd8ZSksSNG2N6QJ2IRCWQ] update_mapping [_doc]
[00:13:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/yWd8ZSksSNG2N6QJ2IRCWQ] update_mapping [_doc]
[00:13:26]                 │ proc [kibana]   log   [13:33:07.010] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:13:26]                 │ proc [kibana]   log   [13:33:07.044] [info][savedobjects-service] Finished in 531ms.
[00:13:26]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:13:27]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/yWd8ZSksSNG2N6QJ2IRCWQ] update_mapping [_doc]
[00:13:28]               │ debg navigating to settings url: http://localhost:6181/app/kibana#/management
[00:13:28]               │ debg navigate to: http://localhost:6181/app/kibana#/management
[00:13:28]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589376788567#/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:13:28]               │
[00:13:28]               │ 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:13:28]               │ debg ... sleep(700) start
[00:13:29]               │ debg ... sleep(700) end
[00:13:29]               │ debg returned from get, calling refresh
[00:13:29]               │ debg currentUrl = http://localhost:6181/app/kibana#/management
[00:13:29]               │          appUrl = http://localhost:6181/app/kibana#/management
[00:13:29]               │ debg TestSubjects.find(kibanaChrome)
[00:13:29]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:29]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589376788567#/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:13:29]               │
[00:13:29]               │ 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:13:30]               │ debg TestSubjects.find(kibanaChrome)
[00:13:30]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:13:30]               │ debg browser[INFO] http://localhost:6181/31679/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-13T13:33:10Z
[00:13:30]               │        Adding connection to http://localhost:6181/elasticsearch
[00:13:30]               │
[00:13:30]               │      "
[00:13:30]               │ debg ... sleep(501) start
[00:13:30]               │ debg ... sleep(501) end
[00:13:30]               │ debg in navigateTo url = http://localhost:6181/app/kibana#/management?_g=()
[00:13:30]               │ debg TestSubjects.exists(statusPageContainer)
[00:13:30]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:33]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:34]               │ debg TestSubjects.click(objects)
[00:13:34]               │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:13:34]               │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:13:34]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] .euiBasicTable-loading') with timeout=2500
[00:13:34]               │ debg --- retry.try error: Waiting
[00:13:34]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] .euiBasicTable-loading') with timeout=2500
[00:13:37]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] .euiBasicTable-loading is not displayed
[00:13:37]               │ debg TestSubjects.find(savedObjectsTable)
[00:13:37]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:13:37]               │ debg navigateToActualUrl http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:37]               │ debg currentUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:37]               │          appUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:37]               │ debg TestSubjects.find(kibanaChrome)
[00:13:37]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:39]               │ debg TestSubjects.exists(savedObjectEditSave)
[00:13:39]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=120000
[00:13:39]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589376797972#/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:13:39]               │
[00:13: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:13:39]               │ debg browser[INFO] http://localhost:6181/31679/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-13T13:33:19Z
[00:13:39]               │        Adding connection to http://localhost:6181/elasticsearch
[00:13:39]               │
[00:13:39]               │      "
[00:13:39]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:13:39]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:13:39]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:13:39]               │ debg TestSubjects.setValue(savedObjects-editField-title, Edited Dashboard)
[00:13:39]               │ debg TestSubjects.click(savedObjects-editField-title)
[00:13:39]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:13:39]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:13:39]               │ debg TestSubjects.setValue(savedObjects-editField-description, Some description)
[00:13:39]               │ debg TestSubjects.click(savedObjects-editField-description)
[00:13:39]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:13:39]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:13:40]               │ debg TestSubjects.find(savedObjectEditSave)
[00:13:40]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=10000
[00:13:40]               │ debg TestSubjects.find(savedObjectsTable)
[00:13:40]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:13:40]               │ debg navigateToActualUrl http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:41]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589376801105#/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:13:41]               │
[00:13:41]               │ 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:13:41]               │ debg currentUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:41]               │          appUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:41]               │ debg TestSubjects.find(kibanaChrome)
[00:13:41]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:42]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:13:42]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:13:42]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:13:42]               │ debg browser[INFO] http://localhost:6181/31679/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-13T13:33:22Z
[00:13:42]               │        Adding connection to http://localhost:6181/elasticsearch
[00:13:42]               │
[00:13:42]               │      "
[00:13:42]               │ debg TestSubjects.getAttribute(savedObjects-editField-description, value)
[00:13:42]               │ debg TestSubjects.find(savedObjects-editField-description)
[00:13:42]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:13:42]               └- ✓ pass  (14.3s) "saved objects management saved objects edition page allows to update the saved object when submitting"
[00:13:42]             └-> "after each" hook
[00:13:42]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "mappings.json"
[00:13:42]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_1/wElQmSW9SZySFp8JiPfEBw] deleting index
[00:13:42]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/yWd8ZSksSNG2N6QJ2IRCWQ] deleting index
[00:13:42]               │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana_2",".kibana_1"]
[00:13:42]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "data.json"
[00:13:42]             └-> allows to delete a saved object
[00:13:42]               └-> "before each" hook: global before each
[00:13:42]               └-> "before each" hook
[00:13:42]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:13:42]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:13:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] applying create index request using v1 templates []
[00:13:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:13:42]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:13:42]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:13:42]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:13:42]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:13:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana/gcIFgHA-TeSsRQvhjhG3vA] update_mapping [_doc]
[00:13:42]                 │ debg Migrating saved objects
[00:13:42]                 │ proc [kibana]   log   [13:33:23.048] [info][savedobjects-service] Creating index .kibana_2.
[00:13:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] applying create index request using v1 templates []
[00:13:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:13:42]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] updating number_of_replicas to [0] for indices [.kibana_2]
[00:13:42]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:13:42]                 │ proc [kibana]   log   [13:33:23.100] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:13:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] applying create index request using v1 templates []
[00:13:42]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:13:42]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] updating number_of_replicas to [0] for indices [.kibana_1]
[00:13:43]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:13:43]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] 4145 finished with response BulkByScrollResponse[took=19.8ms,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:13:43]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana/gcIFgHA-TeSsRQvhjhG3vA] deleting index
[00:13:43]                 │ proc [kibana]   log   [13:33:23.426] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:13:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/6kqCuR0lTRi8rThxeVB2eQ] update_mapping [_doc]
[00:13:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/6kqCuR0lTRi8rThxeVB2eQ] update_mapping [_doc]
[00:13:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/6kqCuR0lTRi8rThxeVB2eQ] update_mapping [_doc]
[00:13:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/6kqCuR0lTRi8rThxeVB2eQ] update_mapping [_doc]
[00:13:43]                 │ proc [kibana]   log   [13:33:23.545] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:13:43]                 │ proc [kibana]   log   [13:33:23.597] [info][savedobjects-service] Finished in 550ms.
[00:13:43]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:13:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1589374755867136271] [.kibana_2/6kqCuR0lTRi8rThxeVB2eQ] update_mapping [_doc]
[00:13:44]               │ debg navigateToActualUrl http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:45]               │ debg currentUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:45]               │          appUrl = http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:13:45]               │ debg TestSubjects.find(kibanaChrome)
[00:13:45]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:46]               │ debg TestSubjects.find(savedObjectEditDelete)
[00:13:46]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditDelete"]') with timeout=10000
[00:13:46]               │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1589376805100#/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:13:46]               │
[00:13:46]               │ 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:13:46]               │ debg browser[INFO] http://localhost:6181/31679/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-13T13:33:26Z
[00:13:46]               │        Adding connection to http://localhost:6181/elasticsearch
[00:13:46]               │
[00:13:46]               │      "
[00:13:46]               │ debg Clicking modal confirm
[00:13:46]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:13:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:13:46]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:13:46]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:13:46]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:13:47]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:13:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:13:49]               │ debg browser[INFO] http://localhost:6181/31679/bundles/commons.bundle.js 0:1245811 "Detected an unhandled Promise rejection.
[00:13:49]               │      TypeError: Cannot read property 'attributes' of undefined"
[00:13:49]               │ERROR browser[SEVERE] http://localhost:6181/31679/bundles/plugin/savedObjectsManagement/5.plugin.js 5:12367 Uncaught TypeError: Cannot read property 'attributes' of undefined
[00:13:49]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:13:50]               │ debg TestSubjects.find(savedObjectsTable)
[00:13:50]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:14:00]               │ 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:00]               │ info Current URL is: http://localhost:6181/app/kibana#/management/kibana/objects/savedDashboards/i-exist
[00:14:00]               │ 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:00]               └- ✖ fail: "saved objects management saved objects edition page allows to delete a saved object"
[00:14:00]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectsTable"])
Wait timed out after 10010ms
    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 30ce868 into elastic:7.8 May 13, 2020
@mbondyra mbondyra deleted the backport/7.8/pr-66206 branch May 13, 2020 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants