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.11] [CI] Build and publish storybooks (#87701) #91919

Merged
merged 3 commits into from
Feb 19, 2021

Conversation

brianseeders
Copy link
Contributor

Backports the following commits to 7.11:

# Conflicts:
#	src/dev/storybook/aliases.ts
@brianseeders brianseeders enabled auto-merge (squash) February 18, 2021 22:47
@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / 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 24 times on tracked branches: https://github.com/elastic/kibana/issues/68400

[00:00:00]       │
[00:11:17]         └-: saved objects management
[00:11:17]           └-> "before all" hook
[00:11:17]           └-: saved objects edition page
[00:11:17]             └-> "before all" hook
[00:11:17]             └-> allows to update the saved object when submitting
[00:11:17]               └-> "before each" hook: global before each
[00:11:17]               └-> "before each" hook
[00:11:17]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:11:17]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:11:17]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/4DG-tfSER32qvFN9y3onIA] deleting index
[00:11:17]                 │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana"]
[00:11:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:11:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:11:17]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:11:17]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:11:17]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:11:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/HDy7xCN8SB2B12JG5hZvNA] update_mapping [_doc]
[00:11:17]                 │ debg Migrating saved objects
[00:11:17]                 │ proc [kibana]   log   [00:23:49.439] [info][savedobjects-service] Creating index .kibana_2.
[00:11:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:11:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] updating number_of_replicas to [0] for indices [.kibana_2]
[00:11:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:11:17]                 │ proc [kibana]   log   [00:23:49.498] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:11:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:11:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] updating number_of_replicas to [0] for indices [.kibana_1]
[00:11:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:11:17]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] 6533 finished with response BulkByScrollResponse[took=21.9ms,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:11:17]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/HDy7xCN8SB2B12JG5hZvNA] deleting index
[00:11:17]                 │ proc [kibana]   log   [00:23:49.837] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:11:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/WE1o_CyfRb-Ih_SG0btAMw] update_mapping [_doc]
[00:11:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/WE1o_CyfRb-Ih_SG0btAMw] update_mapping [_doc]
[00:11:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/WE1o_CyfRb-Ih_SG0btAMw] update_mapping [_doc]
[00:11:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/WE1o_CyfRb-Ih_SG0btAMw] update_mapping [_doc]
[00:11:17]                 │ proc [kibana]   log   [00:23:49.980] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:11:17]                 │ proc [kibana]   log   [00:23:50.013] [info][savedobjects-service] Finished in 576ms.
[00:11:17]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:11:19]               │ debg navigating to settings url: http://localhost:6191/app/management
[00:11:19]               │ debg navigate to: http://localhost:6191/app/management
[00:11:19]               │ debg browser[INFO] http://localhost:6191/app/management?_t=1613694231487 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:11:19]               │
[00:11:19]               │ debg browser[INFO] http://localhost:6191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:19]               │ debg ... sleep(700) start
[00:11:20]               │ debg ... sleep(700) end
[00:11:20]               │ debg returned from get, calling refresh
[00:11:20]               │ERROR browser[SEVERE] http://localhost:6191/37972/bundles/core/core.entry.js 12:194644 TypeError: Failed to fetch
[00:11:20]               │          at _callee3$ (http://localhost:6191/37972/bundles/core/core.entry.js:6:43987)
[00:11:20]               │          at l (http://localhost:6191/37972/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:11:20]               │          at Generator._invoke (http://localhost:6191/37972/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:11:20]               │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6191/37972/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:11:20]               │          at fetch_asyncGeneratorStep (http://localhost:6191/37972/bundles/core/core.entry.js:6:39045)
[00:11:20]               │          at _throw (http://localhost:6191/37972/bundles/core/core.entry.js:6:39453)
[00:11:20]               │ debg browser[INFO] http://localhost:6191/app/management?_t=1613694231487 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:11:20]               │
[00:11:20]               │ debg browser[INFO] http://localhost:6191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:20]               │ debg currentUrl = http://localhost:6191/app/management
[00:11:20]               │          appUrl = http://localhost:6191/app/management
[00:11:20]               │ debg TestSubjects.find(kibanaChrome)
[00:11:20]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:21]               │ debg ... sleep(501) start
[00:11:22]               │ debg ... sleep(501) end
[00:11:22]               │ debg in navigateTo url = http://localhost:6191/app/management
[00:11:22]               │ debg TestSubjects.exists(statusPageContainer)
[00:11:22]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:24]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:25]               │ debg TestSubjects.click(objects)
[00:11:25]               │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:11:25]               │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:11:25]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:26]               │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:11:26]               │        (Session info: headless chrome=88.0.4324.182)
[00:11:29]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:33]               │ debg TestSubjects.find(savedObjectsTable)
[00:11:33]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:11:33]               │ debg navigateToUrl http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:33]               │ debg browser[INFO] http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist?_t=1613694245297 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:11:33]               │
[00:11:33]               │ debg browser[INFO] http://localhost:6191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:33]               │ debg currentUrl = http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:33]               │          appUrl = http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:33]               │ debg TestSubjects.find(kibanaChrome)
[00:11:33]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:34]               │ debg TestSubjects.exists(savedObjectEditSave)
[00:11:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=120000
[00:11:34]               │ERROR browser[SEVERE] http://localhost:6191/app/management/kibana/objects/savedDashboards/mode-json.js 0:0 Uncaught SyntaxError: Unexpected token '<'
[00:11:34]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value, tryTimeout=120000, findTimeout=10000)
[00:11:34]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:11:34]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:11:34]               │ debg TestSubjects.setValue(savedObjects-editField-title, Edited Dashboard)
[00:11:34]               │ debg TestSubjects.click(savedObjects-editField-title)
[00:11:34]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:11:34]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:11:34]               │ debg TestSubjects.setValue(savedObjects-editField-description, Some description)
[00:11:34]               │ debg TestSubjects.click(savedObjects-editField-description)
[00:11:34]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:11:34]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:11:34]               │ debg TestSubjects.find(savedObjectEditSave)
[00:11:34]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=10000
[00:11:35]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:36]               │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:11:36]               │        (Session info: headless chrome=88.0.4324.182)
[00:11:40]               │ debg TestSubjects.find(savedObjectsTable)
[00:11:40]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:11:40]               │ debg navigateToUrl http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:40]               │ debg browser[INFO] http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist?_t=1613694253048 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:11:40]               │
[00:11:40]               │ debg browser[INFO] http://localhost:6191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:41]               │ debg currentUrl = http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:41]               │          appUrl = http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:41]               │ debg TestSubjects.find(kibanaChrome)
[00:11:41]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:41]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value, tryTimeout=120000, findTimeout=10000)
[00:11:41]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:11:41]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:11:42]               │ERROR browser[SEVERE] http://localhost:6191/app/management/kibana/objects/savedDashboards/mode-json.js 0:0 Uncaught SyntaxError: Unexpected token '<'
[00:11:42]               │ debg TestSubjects.getAttribute(savedObjects-editField-description, value, tryTimeout=120000, findTimeout=10000)
[00:11:42]               │ debg TestSubjects.find(savedObjects-editField-description)
[00:11:42]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:11:42]               └- ✓ pass  (22.9s) "saved objects management saved objects edition page allows to update the saved object when submitting"
[00:11:42]             └-> "after each" hook
[00:11:42]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "mappings.json"
[00:11:42]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/WE1o_CyfRb-Ih_SG0btAMw] deleting index
[00:11:42]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_1/rfaPl3D-Q4CdzYye8fP09g] deleting index
[00:11:42]               │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana_2",".kibana_1"]
[00:11:42]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "data.json"
[00:11:42]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:11:42]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana] creating index, cause [auto(update api)], templates [], shards [1]/[1]
[00:11:42]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/rI2oz5caQzO9TYdGdWRm4g] create_mapping [_doc]
[00:11:43]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/rI2oz5caQzO9TYdGdWRm4g] update_mapping [_doc]
[00:11:44]             └-> allows to delete a saved object
[00:11:44]               └-> "before each" hook: global before each
[00:11:44]               └-> "before each" hook
[00:11:44]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:11:44]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:11:44]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/rI2oz5caQzO9TYdGdWRm4g] deleting index
[00:11:44]                 │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana"]
[00:11:44]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:11:44]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:11:44]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:11:44]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/JWbEfqCrReaX_7qNT0u5Cg] update_mapping [_doc]
[00:11:44]                 │ debg Migrating saved objects
[00:11:44]                 │ proc [kibana]   log   [00:24:16.679] [info][savedobjects-service] Creating index .kibana_2.
[00:11:44]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] updating number_of_replicas to [0] for indices [.kibana_2]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:11:44]                 │ proc [kibana]   log   [00:24:16.727] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:11:44]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] updating number_of_replicas to [0] for indices [.kibana_1]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:11:44]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] 6828 finished with response BulkByScrollResponse[took=21.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:11:44]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana/JWbEfqCrReaX_7qNT0u5Cg] deleting index
[00:11:44]                 │ proc [kibana]   log   [00:24:17.066] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/kHWwBE0rQAqzwjI8MzIH8A] update_mapping [_doc]
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/kHWwBE0rQAqzwjI8MzIH8A] update_mapping [_doc]
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/kHWwBE0rQAqzwjI8MzIH8A] update_mapping [_doc]
[00:11:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1613692286658416540] [.kibana_2/kHWwBE0rQAqzwjI8MzIH8A] update_mapping [_doc]
[00:11:45]                 │ proc [kibana]   log   [00:24:17.166] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:11:45]                 │ proc [kibana]   log   [00:24:17.200] [info][savedobjects-service] Finished in 523ms.
[00:11:45]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:11:46]               │ debg navigateToUrl http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:46]               │ debg browser[INFO] http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist?_t=1613694258720 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:11:46]               │
[00:11:46]               │ debg browser[INFO] http://localhost:6191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:46]               │ debg currentUrl = http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:46]               │          appUrl = http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:11:46]               │ debg TestSubjects.find(kibanaChrome)
[00:11:46]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:47]               │ debg TestSubjects.find(savedObjectEditDelete)
[00:11:47]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditDelete"]') with timeout=10000
[00:11:47]               │ debg Clicking modal confirm
[00:11:47]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:11:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:11:47]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:11:47]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:11:47]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:11:47]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:11:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:11:47]               │ERROR browser[SEVERE] http://localhost:6191/app/management/kibana/objects/savedDashboards/mode-json.js 0:0 Uncaught SyntaxError: Unexpected token '<'
[00:11:50]               │ debg browser[INFO] http://localhost:6191/37972/bundles/core/core.entry.js 12:195591 "Detected an unhandled Promise rejection.
[00:11:50]               │      TypeError: Cannot read property 'attributes' of undefined"
[00:11:50]               │ERROR browser[SEVERE] http://localhost:6191/37972/bundles/plugin/savedObjectsManagement/savedObjectsManagement.chunk.1.js 0:48396 Uncaught TypeError: Cannot read property 'attributes' of undefined
[00:11:50]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:11:50]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:53]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:11:53]               │ debg --- retry.try error: Waiting
[00:11:54]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:56]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:11:57]               │ debg --- retry.try failed again with the same message...
[00:11:57]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:00]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:01]               │ debg --- retry.try failed again with the same message...
[00:12:01]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:04]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:04]               │ debg --- retry.try failed again with the same message...
[00:12:05]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:07]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:08]               │ debg --- retry.try failed again with the same message...
[00:12:08]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:11]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:11]               │ debg --- retry.try failed again with the same message...
[00:12:12]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:14]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:15]               │ debg --- retry.try failed again with the same message...
[00:12:15]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:18]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:18]               │ debg --- retry.try failed again with the same message...
[00:12:19]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:21]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:22]               │ debg --- retry.try failed again with the same message...
[00:12:22]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:25]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:25]               │ debg --- retry.try failed again with the same message...
[00:12:26]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:28]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:29]               │ debg --- retry.try failed again with the same message...
[00:12:29]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:32]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:32]               │ debg --- retry.try failed again with the same message...
[00:12:33]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:35]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:36]               │ debg --- retry.try failed again with the same message...
[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 failed again with the same message...
[00:12:40]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:43]               │ 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:44]               │ 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:47]               │ 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:50]               │ 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:51]               │ 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:54]               │ 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:57]               │ 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:58]               │ 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:01]               │ 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:04]               │ 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:05]               │ 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:08]               │ 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:11]               │ 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:12]               │ 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:36]               │ 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:37]               │ 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:40]               │ 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:43]               │ 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:44]               │ 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:47]               │ 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:50]               │ 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:51]               │ info Taking screenshot "/dev/shm/workspace/parallel/9/kibana/test/functional/screenshots/failure/saved objects management saved objects edition page allows to delete a saved object.png"
[00:13:51]               │ info Current URL is: http://localhost:6191/app/management/kibana/objects/savedDashboards/i-exist
[00:13:51]               │ info Saving page source to: /dev/shm/workspace/parallel/9/kibana/test/functional/failure_debug/html/saved objects management saved objects edition page allows to delete a saved object.html
[00:13:51]               └- ✖ fail: saved objects management saved objects edition page allows to delete a saved object
[00:13:51]               │      retry.try timeout: Error: Waiting
[00:13:51]               │     at /dev/shm/workspace/parallel/9/kibana/test/functional/page_objects/management/saved_objects_page.ts:108:17
[00:13:51]               │     at runAttempt (/dev/shm/workspace/parallel/9/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:13:51]               │     at retryForSuccess (/dev/shm/workspace/parallel/9/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:13:51]               │     at Retry.try (/dev/shm/workspace/parallel/9/kibana/test/common/services/retry/retry.ts:32:14)
[00:13:51]               │     at SavedObjectsPage.getRowTitles (/dev/shm/workspace/parallel/9/kibana/test/functional/page_objects/management/saved_objects_page.ts:235:7)
[00:13:51]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/9/kibana/test/functional/apps/saved_objects_management/edit_saved_object.ts:119:23)
[00:13:51]               │     at Object.apply (/dev/shm/workspace/parallel/9/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:13:51]               │   Error: retry.try timeout: Error: Waiting
[00:13:51]               │       at /dev/shm/workspace/parallel/9/kibana/test/functional/page_objects/management/saved_objects_page.ts:108:17
[00:13:51]               │       at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
[00:13:51]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
[00:13:51]               │       at Retry.try (test/common/services/retry/retry.ts:32:14)
[00:13:51]               │       at SavedObjectsPage.getRowTitles (test/functional/page_objects/management/saved_objects_page.ts:235:7)
[00:13:51]               │       at Context.<anonymous> (test/functional/apps/saved_objects_management/edit_saved_object.ts:119:23)
[00:13:51]               │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:13:51]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:13:51]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:13:51]               │       at Retry.try (test/common/services/retry/retry.ts:32:14)
[00:13:51]               │       at SavedObjectsPage.getRowTitles (test/functional/page_objects/management/saved_objects_page.ts:235:7)
[00:13:51]               │       at Context.<anonymous> (test/functional/apps/saved_objects_management/edit_saved_object.ts:119:23)
[00:13:51]               │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:13:51]               │ 
[00:13:51]               │ 

Stack Trace

Error: retry.try timeout: Error: Waiting
    at /dev/shm/workspace/parallel/9/kibana/test/functional/page_objects/management/saved_objects_page.ts:108:17
    at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.try (test/common/services/retry/retry.ts:32:14)
    at SavedObjectsPage.getRowTitles (test/functional/page_objects/management/saved_objects_page.ts:235:7)
    at Context.<anonymous> (test/functional/apps/saved_objects_management/edit_saved_object.ts:119:23)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (test/common/services/retry/retry.ts:32:14)
    at SavedObjectsPage.getRowTitles (test/functional/page_objects/management/saved_objects_page.ts:235:7)
    at Context.<anonymous> (test/functional/apps/saved_objects_management/edit_saved_object.ts:119:23)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
triggersActionsUi 1.5MB 1.5MB -26.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 165.1KB 165.2KB +102.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 31 32 +1

History

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

@brianseeders brianseeders merged commit 2b9763e into elastic:7.11 Feb 19, 2021
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