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

[Ingest Manager] Log a warning if registryUrl is set in non gold #71514

Merged
merged 3 commits into from
Jul 13, 2020

Conversation

nchaulet
Copy link
Member

Summary

Currently user need to have a gold licence to set a custom EPM registry url, otherwise it will silently use the default one.

This PR add a warning in the log message if customUrl is set and no gold licence are active.

How to test?

Run ES with a basic licence, and set the customUrl you should see a warning message.

@nchaulet nchaulet added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.9.0 Team:Fleet Team label for Observability Data Collection Fleet team Ingest Management:beta1 labels Jul 13, 2020
@nchaulet nchaulet requested review from jen-huang and a team July 13, 2020 19:14
@nchaulet nchaulet self-assigned this Jul 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@nchaulet
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

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

Left copy suggestion. Thanks for adding this!

…istry_url.ts

Co-authored-by: Jen Huang <its.jenetic@gmail.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 failed 21 times on tracked branches: https://github.com/elastic/kibana/issues/68400

[00:00:00]       │
[00:11:44]         └-: saved objects management
[00:11:44]           └-> "before all" hook
[00:11:44]           └-: saved objects edition page
[00:11:44]             └-> "before all" hook
[00:11:44]             └-> allows to update the saved object when submitting
[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.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]])." previous.health="YELLOW" reason="shards started [[.kibana][0]]"
[00: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-ubuntu-16-tests-xl-1594668302452546451] [.kibana/wSCcHPlkTyCAtafjUp79jQ] update_mapping [_doc]
[00:11:44]                 │ debg Migrating saved objects
[00:11:44]                 │ proc [kibana]   log   [19:57:34.556] [info][savedobjects-service] Creating index .kibana_2.
[00:11:44]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] updating number_of_replicas to [0] for indices [.kibana_2]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:11:44]                 │ proc [kibana]   log   [19:57:34.623] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:11:44]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] updating number_of_replicas to [0] for indices [.kibana_1]
[00:11:44]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:11:44]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] 3317 finished with response BulkByScrollResponse[took=26.4ms,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-ubuntu-16-tests-xl-1594668302452546451] [.kibana/wSCcHPlkTyCAtafjUp79jQ] deleting index
[00:11:44]                 │ proc [kibana]   log   [19:57:34.971] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/rfSbSWcRRIaZJwz3Gy4wwg] update_mapping [_doc]
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/rfSbSWcRRIaZJwz3Gy4wwg] update_mapping [_doc]
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/rfSbSWcRRIaZJwz3Gy4wwg] update_mapping [_doc]
[00:11:44]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/rfSbSWcRRIaZJwz3Gy4wwg] update_mapping [_doc]
[00:11:44]                 │ proc [kibana]   log   [19:57:35.093] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:11:44]                 │ proc [kibana]   log   [19:57:35.126] [info][savedobjects-service] Finished in 572ms.
[00:11:44]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:11:46]               │ debg navigating to settings url: http://localhost:6181/app/management
[00:11:46]               │ debg navigate to: http://localhost:6181/app/management
[00:11:46]               │ debg browser[INFO] http://localhost:6181/app/management?_t=1594670256634 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:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:46]               │ debg ... sleep(700) start
[00:11:47]               │ debg ... sleep(700) end
[00:11:47]               │ debg returned from get, calling refresh
[00:11:48]               │ debg browser[INFO] http://localhost:6181/34598/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T19:57:37Z
[00:11:48]               │        Adding connection to http://localhost:6181/elasticsearch
[00:11:48]               │
[00:11:48]               │      "
[00:11:48]               │ERROR browser[SEVERE] http://localhost:6181/34598/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:11:48]               │ debg browser[INFO] http://localhost:6181/app/management?_t=1594670256634 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:48]               │
[00:11:48]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:48]               │ debg browser[INFO] http://localhost:6181/34598/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T19:57:38Z
[00:11:48]               │        Adding connection to http://localhost:6181/elasticsearch
[00:11:48]               │
[00:11:48]               │      "
[00:11:48]               │ debg currentUrl = http://localhost:6181/app/management
[00:11:48]               │          appUrl = http://localhost:6181/app/management
[00:11:48]               │ debg TestSubjects.find(kibanaChrome)
[00:11:48]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:48]               │ debg ... sleep(501) start
[00:11:49]               │ debg ... sleep(501) end
[00:11:49]               │ debg in navigateTo url = http://localhost:6181/app/management
[00:11:49]               │ debg TestSubjects.exists(statusPageContainer)
[00:11:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:51]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:52]               │ debg TestSubjects.click(objects)
[00:11:52]               │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:11:52]               │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:11:52]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:53]               │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:11:53]               │        (Session info: headless chrome=83.0.4103.116)
[00:11:56]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:11:59]               │ debg TestSubjects.find(savedObjectsTable)
[00:11:59]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:11:59]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:11:59]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1594670269979 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:59]               │
[00:11:59]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:59]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:11:59]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:11:59]               │ debg TestSubjects.find(kibanaChrome)
[00:11:59]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:01]               │ debg TestSubjects.exists(savedObjectEditSave)
[00:12:01]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=120000
[00:12:01]               │ debg browser[INFO] http://localhost:6181/34598/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T19:57:51Z
[00:12:01]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:01]               │
[00:12:01]               │      "
[00:12:01]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:12:01]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:12:01]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:01]               │ debg TestSubjects.setValue(savedObjects-editField-title, Edited Dashboard)
[00:12:01]               │ debg TestSubjects.click(savedObjects-editField-title)
[00:12:01]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:01]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:01]               │ debg TestSubjects.setValue(savedObjects-editField-description, Some description)
[00:12:01]               │ debg TestSubjects.click(savedObjects-editField-description)
[00:12:01]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:01]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:02]               │ debg TestSubjects.find(savedObjectEditSave)
[00:12:02]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditSave"]') with timeout=10000
[00:12:02]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:03]               │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:03]               │        (Session info: headless chrome=83.0.4103.116)
[00:12:06]               │ debg TestSubjects.find(savedObjectsTable)
[00:12:06]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectsTable"]') with timeout=10000
[00:12:06]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:06]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:06]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:06]               │ debg TestSubjects.find(kibanaChrome)
[00:12:06]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:07]               │ debg TestSubjects.getAttribute(savedObjects-editField-title, value)
[00:12:07]               │ debg TestSubjects.find(savedObjects-editField-title)
[00:12:07]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-title"]') with timeout=10000
[00:12:07]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1594670276863 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:12:07]               │
[00:12:07]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:07]               │ debg browser[INFO] http://localhost:6181/34598/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T19:57:57Z
[00:12:07]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:07]               │
[00:12:07]               │      "
[00:12:08]               │ debg TestSubjects.getAttribute(savedObjects-editField-description, value)
[00:12:08]               │ debg TestSubjects.find(savedObjects-editField-description)
[00:12:08]               │ debg Find.findByCssSelector('[data-test-subj="savedObjects-editField-description"]') with timeout=10000
[00:12:08]               └- ✓ pass  (21.7s) "saved objects management saved objects edition page allows to update the saved object when submitting"
[00:12:08]             └-> "after each" hook
[00:12:08]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "mappings.json"
[00:12:08]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/rfSbSWcRRIaZJwz3Gy4wwg] deleting index
[00:12:08]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_1/ZI1qDsrJTWCqEe60rAsp0Q] deleting index
[00:12:08]               │ info [saved_objects_management/edit_saved_object] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:08]               │ info [saved_objects_management/edit_saved_object] Unloading indices from "data.json"
[00:12:08]             └-> allows to delete a saved object
[00:12:08]               └-> "before each" hook: global before each
[00:12:08]               └-> "before each" hook
[00:12:08]                 │ info [saved_objects_management/edit_saved_object] Loading "mappings.json"
[00:12:08]                 │ info [saved_objects_management/edit_saved_object] Loading "data.json"
[00:12:08]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:12:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]])." previous.health="YELLOW" reason="shards started [[.kibana][0]]"
[00:12:08]                 │ info [saved_objects_management/edit_saved_object] Created index ".kibana"
[00:12:08]                 │ debg [saved_objects_management/edit_saved_object] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:12:08]                 │ info [saved_objects_management/edit_saved_object] Indexed 4 docs into ".kibana"
[00:12:08]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana/mkjdHvEoRQWu2jBaTdnkzg] update_mapping [_doc]
[00:12:08]                 │ debg Migrating saved objects
[00:12:08]                 │ proc [kibana]   log   [19:57:58.598] [info][savedobjects-service] Creating index .kibana_2.
[00:12:08]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:12:08]                 │ proc [kibana]   log   [19:57:58.654] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:08]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:08]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:12:08]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] 3566 finished with response BulkByScrollResponse[took=29.7ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:12:08]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana/mkjdHvEoRQWu2jBaTdnkzg] deleting index
[00:12:08]                 │ proc [kibana]   log   [19:57:58.987] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:08]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/MoyAw1UDQCCFW_T0L1m4iA] update_mapping [_doc]
[00:12:08]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/MoyAw1UDQCCFW_T0L1m4iA] update_mapping [_doc]
[00:12:08]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/MoyAw1UDQCCFW_T0L1m4iA] update_mapping [_doc]
[00:12:08]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1594668302452546451] [.kibana_2/MoyAw1UDQCCFW_T0L1m4iA] update_mapping [_doc]
[00:12:08]                 │ proc [kibana]   log   [19:57:59.108] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:09]                 │ proc [kibana]   log   [19:57:59.164] [info][savedobjects-service] Finished in 568ms.
[00:12:09]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:10]               │ debg navigateToUrl http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:10]               │ debg browser[INFO] http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist?_t=1594670280659 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:12:10]               │
[00:12:10]               │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:10]               │ debg currentUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:10]               │          appUrl = http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:12:10]               │ debg TestSubjects.find(kibanaChrome)
[00:12:10]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:11]               │ debg TestSubjects.find(savedObjectEditDelete)
[00:12:11]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectEditDelete"]') with timeout=10000
[00:12:11]               │ debg browser[INFO] http://localhost:6181/34598/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T19:58:01Z
[00:12:11]               │        Adding connection to http://localhost:6181/elasticsearch
[00:12:11]               │
[00:12:11]               │      "
[00:12:12]               │ debg Clicking modal confirm
[00:12:12]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:12:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:12:12]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:12:12]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:12:12]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:12:12]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:12:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:12:14]               │ debg browser[INFO] http://localhost:6181/34598/bundles/core/core.entry.js 83:262850 "Detected an unhandled Promise rejection.
[00:12:14]               │      TypeError: Cannot read property 'attributes' of undefined"
[00:12:14]               │ERROR browser[SEVERE] http://localhost:6181/34598/bundles/plugin/savedObjectsManagement/1.plugin.js 5:34045 Uncaught TypeError: Cannot read property 'attributes' of undefined
[00:12:14]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:12:15]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:17]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:18]               │ debg --- retry.try error: Waiting
[00:12:18]               │ 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:42]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:43]               │ debg --- retry.try failed again with the same message...
[00:12:43]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:46]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:46]               │ debg --- retry.try failed again with the same message...
[00:12:47]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:49]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:50]               │ debg --- retry.try failed again with the same message...
[00:12:50]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:53]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:53]               │ debg --- retry.try failed again with the same message...
[00:12:54]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:56]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:12:57]               │ debg --- retry.try failed again with the same message...
[00:12:57]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:00]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:00]               │ debg --- retry.try failed again with the same message...
[00:13:01]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:03]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:04]               │ debg --- retry.try failed again with the same message...
[00:13:04]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:07]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:07]               │ debg --- retry.try failed again with the same message...
[00:13:08]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13: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:35]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:36]               │ debg --- retry.try failed again with the same message...
[00:13:36]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:39]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:39]               │ debg --- retry.try failed again with the same message...
[00:13:40]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:42]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:43]               │ debg --- retry.try failed again with the same message...
[00:13:43]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:46]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:46]               │ debg --- retry.try failed again with the same message...
[00:13:47]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:49]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:50]               │ debg --- retry.try failed again with the same message...
[00:13:50]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:53]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:53]               │ debg --- retry.try failed again with the same message...
[00:13:54]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:56]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:13:57]               │ debg --- retry.try failed again with the same message...
[00:13:57]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:00]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:00]               │ debg --- retry.try failed again with the same message...
[00:14:01]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:03]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:04]               │ debg --- retry.try failed again with the same message...
[00:14:05]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:07]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:08]               │ debg --- retry.try failed again with the same message...
[00:14:08]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:11]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:11]               │ debg --- retry.try failed again with the same message...
[00:14:12]               │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:14:14]               │ debg --- retry.tryForTime error: *[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading) is not displayed
[00:14:15]               │ debg --- retry.try failed again with the same message...
[00:14:15]               │ 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:15]               │ info Current URL is: http://localhost:6181/app/management/kibana/objects/savedDashboards/i-exist
[00:14:15]               │ 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:15]               └- ✖ fail: saved objects management saved objects edition page allows to delete a saved object
[00:14:15]               │      retry.try timeout: Error: Waiting
[00:14:15]               │     at retry.try (/dev/shm/workspace/kibana/test/functional/page_objects/management/saved_objects_page.ts:97:17)
[00:14:15]               │   Error: retry.try timeout: Error: Waiting
[00:14:15]               │       at retry.try (test/functional/page_objects/management/saved_objects_page.ts:97:17)
[00:14:15]               │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:14:15]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:14:15]               │ 
[00:14:15]               │ 

Stack Trace

Error: retry.try timeout: Error: Waiting
    at retry.try (test/functional/page_objects/management/saved_objects_page.ts:97:17)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

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

@nchaulet nchaulet merged commit 3ac8e36 into elastic:master Jul 13, 2020
@nchaulet nchaulet deleted the feature-warning-custom-url-non-gold branch July 13, 2020 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants