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

[Security Solution][Endpoint] Change trustedAppByPolicyEnabled flag to true by default #115264

Conversation

paul-tavares
Copy link
Contributor

Summary

  • Changes the default value for the trustedAppsByPolicyEnabled experimental feature flag to true in preperation for v7.16 release

@paul-tavares paul-tavares requested a review from a team as a code owner October 15, 2021 19:23
@paul-tavares paul-tavares self-assigned this Oct 15, 2021
@paul-tavares paul-tavares added auto-backport Deprecated - use backport:version if exact versions are needed OLM Sprint release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.16.0 v8.0.0 labels Oct 15, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

@paul-tavares paul-tavares requested review from a team, dasansol92 and parkiino and removed request for a team October 15, 2021 19:24
@paul-tavares
Copy link
Contributor Author

@elasticmachine merge upstream

@kevinlog
Copy link
Contributor

🐑 🐑 🐑

@FrankHassanabad
Copy link
Contributor

@elasticmachine merge upstream

@paul-tavares paul-tavares requested a review from a team as a code owner October 17, 2021 15:15
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/time_to_visualize_security·ts.dashboard feature controls dashboard time to visualize security "before all" hook in "dashboard time to visualize security"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://github.com/elastic/kibana/issues/112517

[00:00:00]     │
[00:00:00]       └-: dashboard
[00:00:00]         └-> "before all" hook in "dashboard"
[00:00:00]         └-: feature controls
[00:00:00]           └-> "before all" hook in "feature controls"
[00:05:55]           └-: dashboard time to visualize security
[00:05:55]             └-> "before all" hook in "dashboard time to visualize security"
[00:05:55]             └-> "before all" hook in "dashboard time to visualize security"
[00:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Loading "mappings.json"
[00:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Loading "data.json"
[00:05:55]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/6DERs0iJRiqAXkW0QtiRTQ] deleting index
[00:05:55]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/QC5TxNPUTVKle7LW8YrZMg] deleting index
[00:05:55]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/BD1OC1kSQwG19EUBS43zLA] deleting index
[00:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_8.0.0_001"
[00:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_1"
[00:05:55]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:05:55]               │ info [o.e.c.r.a.AllocationService] [node-01] 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:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Created index ".kibana_1"
[00:05:55]               │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] ".kibana_1" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:05:55]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_1/KoAcdHjQRR2kFkyrBlGLTQ] update_mapping [_doc]
[00:05:55]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_1/KoAcdHjQRR2kFkyrBlGLTQ] update_mapping [_doc]
[00:05:55]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Indexed 7 docs into ".kibana"
[00:05:55]               │ debg Migrating saved objects
[00:05:55]               │ proc [kibana] [2021-10-17T15:52:14.927+00:00][INFO ][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 4ms.
[00:05:55]               │ proc [kibana] [2021-10-17T15:52:14.929+00:00][INFO ][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 7ms.
[00:05:55]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:05:55]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:05:55]               │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_task_manager_8.0.0_001][0]]"
[00:05:55]               │ proc [kibana] [2021-10-17T15:52:14.977+00:00][INFO ][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 48ms.
[00:05:55]               │ proc [kibana] [2021-10-17T15:52:14.984+00:00][INFO ][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 7ms.
[00:05:56]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/KoAcdHjQRR2kFkyrBlGLTQ]]
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:14.997+00:00][INFO ][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 70ms.
[00:05:56]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.047+00:00][INFO ][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 50ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.048+00:00][INFO ][savedobjects-service] [.kibana_task_manager] Migration completed after 125ms
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.067+00:00][INFO ][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 83ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.072+00:00][INFO ][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:05:56]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:05:56]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:05:56]               │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.137+00:00][INFO ][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 65ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.142+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 5ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.150+00:00][INFO ][savedobjects-service] [.kibana] Starting to process 7 documents.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.150+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_TRANSFORM. took: 8ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.171+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_TRANSFORM -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 21ms.
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] update_mapping [_doc]
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] update_mapping [_doc]
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] update_mapping [_doc]
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] update_mapping [_doc]
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] update_mapping [_doc]
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] update_mapping [_doc]
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.368+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 197ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.375+00:00][INFO ][savedobjects-service] [.kibana] Processed 7 documents out of 7.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.375+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 7ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.379+00:00][INFO ][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:05:56]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q]]
[00:05:56]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.431+00:00][INFO ][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 52ms.
[00:05:56]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:05:56]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:05:56]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/fqCxTRPrR2mbxNkLRUsctw] create_mapping
[00:05:56]               │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.556+00:00][INFO ][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 125ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.560+00:00][INFO ][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.564+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.571+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.573+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:05:56]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/fqCxTRPrR2mbxNkLRUsctw] update_mapping [_doc]
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.656+00:00][INFO ][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 83ms.
[00:05:56]               │ info [o.e.t.LoggingTaskListener] [node-01] 9929 finished with response BulkByScrollResponse[took=21.9ms,timed_out=false,sliceId=null,updated=7,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.762+00:00][INFO ][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 106ms.
[00:05:56]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/V7qhaD0qTz28O96p6F4F9Q] deleting index
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.817+00:00][INFO ][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 55ms.
[00:05:56]               │ proc [kibana] [2021-10-17T15:52:15.818+00:00][INFO ][savedobjects-service] [.kibana] Migration completed after 896ms
[00:05:56]               │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Migrated Kibana index after loading Kibana data
[00:05:57]               │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Ensured that default space exists in .kibana
[00:05:57]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyPieChartsLibrary":true}
[00:05:59]               │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:05:59]               │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:05:59]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:05:59]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:05:59]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:06:01]               │ debg SecurityPage.forceLogout
[00:06:01]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:06:01]               │ debg Already on the login page, not forcing anything
[00:06:01]               │ debg creating role dashboard_write_vis_read
[00:06:01]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [dashboard_write_vis_read]
[00:06:01]               │ debg creating user dashboard_write_vis_read_user
[00:06:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [dashboard_write_vis_read_user]
[00:06:01]               │ debg created user dashboard_write_vis_read_user
[00:06:01]               │ debg TestSubjects.exists(loginForm)
[00:06:01]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:01]               │ debg Waiting for Login Form to appear.
[00:06:01]               │ debg Waiting up to 100000ms for login form...
[00:06:01]               │ debg TestSubjects.exists(loginForm)
[00:06:01]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:01]               │ debg TestSubjects.setValue(loginUsername, dashboard_write_vis_read_user)
[00:06:01]               │ debg TestSubjects.click(loginUsername)
[00:06:01]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:01]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:01]               │ debg TestSubjects.setValue(loginPassword, dashboard_write_vis_read_user-password)
[00:06:01]               │ debg TestSubjects.click(loginPassword)
[00:06:01]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:01]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:02]               │ debg TestSubjects.click(loginSubmit)
[00:06:02]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:02]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:02]               │ debg Waiting for login result, expected: undefined.
[00:06:02]               │ debg Waiting up to 20000ms for logout button visible...
[00:06:02]               │ debg TestSubjects.exists(userMenuButton)
[00:06:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:06:02]               │ proc [kibana] [2021-10-17T15:52:21.107+00:00][INFO ][plugins.security.routes] Logging in with provider "basic" (basic)
[00:06:04]               │ debg browser[INFO] http://localhost:61151/app/home 281 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:06:04]               │
[00:06:04]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:04]               │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:06:05]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/fqCxTRPrR2mbxNkLRUsctw] update_mapping [_doc]
[00:06:05]               │ warn browser[SEVERE] http://localhost:61151/plugins/kibanaReact/assets/solutions_kibana.svg - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:05]               │ warn browser[SEVERE] http://localhost:61151/plugins/kibanaReact/assets/illustration_integrations_lightmode.svg - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:05]               │ warn browser[SEVERE] http://localhost:61151/internal/security/me - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:05]               │ warn browser[SEVERE] http://localhost:61151/internal/global_search/find - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:05]               │ debg browser[INFO] http://localhost:61151/47210/bundles/core/core.entry.js 7:106874 "Detected an unhandled Promise rejection.
[00:06:05]               │      TypeError: Failed to fetch"
[00:06:05]               │ warn browser[SEVERE] http://localhost:61151/47210/bundles/core/core.entry.js 7:52880 
[00:06:05]               │ debg TestSubjects.exists(userMenuButton)
[00:06:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:06:05]               │ debg TestSubjects.exists(userMenu)
[00:06:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:06:08]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:06:08]               │ debg TestSubjects.click(userMenuButton)
[00:06:08]               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:08]               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:08]               │ debg TestSubjects.exists(userMenu)
[00:06:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:06:11]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:06:14]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:17]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:20]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:23]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:26]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:29]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:32]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:35]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:38]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:41]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:44]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:47]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:50]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:53]               │ debg --- retry.tryForTime failed again with the same message...
[00:06:56]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:00]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:03]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:06]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:09]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:12]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:15]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:18]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:21]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:24]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:27]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:30]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:33]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:36]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:39]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:42]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:45]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:48]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:51]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:54]               │ debg --- retry.tryForTime failed again with the same message...
[00:07:57]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:00]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:03]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:06]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:09]               │ debg --- retry.tryForTime failed again with the same message...
[00:08:10]               │ debg --- retry.try error: expected testSubject(userMenu) to exist
[00:08:10]               │ debg --- retry.waitFor error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:08:10]               │          at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:08:10]               │          at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:08:10]               │          at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:10]               │          at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:10]               │          at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:08:10]               │          at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:08:10]               │          at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:08:10]               │          at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
[00:08:10]               │          at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:10]               │          at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:10]               │          at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:10]               │          at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:10]               │          at SecurityPageObject.login (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:247:5)
[00:08:10]               │          at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
[00:08:10]               │          at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:11]               │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls dashboard time to visualize security _before all_ hook in _dashboard time to visualize security_.png"
[00:08:11]               │ info Current URL is: http://localhost:61151/app/home#/
[00:08:11]               │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls dashboard time to visualize security _before all_ hook in _dashboard time to visualize security_.html
[00:08:11]               └- ✖ fail: dashboard feature controls dashboard time to visualize security "before all" hook in "dashboard time to visualize security"
[00:08:11]               │      timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:08:11]               │     at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:08:11]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:08:11]               │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:11]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:11]               │     at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:08:11]               │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:08:11]               │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:08:11]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
[00:08:11]               │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:11]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:11]               │     at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:11]               │     at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:11]               │     at SecurityPageObject.login (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:247:5)
[00:08:11]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
[00:08:11]               │     at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:11]               │     at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:08:11]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:59:13)
[00:08:11]               │     at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:08:11]               │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:08:11]               │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:08:11]               │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
[00:08:11]               │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:11]               │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:11]               │     at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:11]               │     at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:11]               │     at SecurityPageObject.login (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:247:5)
[00:08:11]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
[00:08:11]               │     at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:11]               │   Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:08:11]               │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:08:11]               │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:08:11]               │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:11]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:11]               │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:08:11]               │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:08:11]               │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:08:11]               │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
[00:08:11]               │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:11]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:11]               │       at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:11]               │       at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:11]               │       at SecurityPageObject.login (test/functional/page_objects/security_page.ts:247:5)
[00:08:11]               │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
[00:08:11]               │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:11]               │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:08:11]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:59:13)
[00:08:11]               │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:08:11]               │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:08:11]               │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:08:11]               │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
[00:08:11]               │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
[00:08:11]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
[00:08:11]               │       at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:11]               │       at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:11]               │       at SecurityPageObject.login (test/functional/page_objects/security_page.ts:247:5)
[00:08:11]               │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
[00:08:11]               │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:11]               │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:08:11]               │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:59:13)
[00:08:11]               │       at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:08:11]               │       at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
[00:08:11]               │       at SecurityPageObject.login (test/functional/page_objects/security_page.ts:247:5)
[00:08:11]               │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
[00:08:11]               │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:08:11]               │ 
[00:08:11]               │ 

Stack Trace

Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/user_menu.js:48:9
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
    at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
    at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
    at SecurityPageObject.login (test/functional/page_objects/security_page.ts:247:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:59:13)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
    at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/page_objects/security_page.ts:249:19
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:29:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:68:21)
    at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
    at SecurityPageObject.login (test/functional/page_objects/security_page.ts:247:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:59:13)
    at retryForTruthy (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:59:5)
    at SecurityPageObject.login (test/functional/page_objects/security_page.ts:247:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/time_to_visualize_security.ts:63:7)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

History

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

cc @paul-tavares

@paul-tavares paul-tavares merged commit c3ff2b0 into elastic:master Oct 18, 2021
@paul-tavares paul-tavares deleted the task/olm-enable-artifacts-by-policy-feature branch October 18, 2021 12:03
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 18, 2021
… to `true` by default (elastic#115264)

* set `trustedAppsByPolicyEnabled` flag to true by default
* Adjust server tests
jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 18, 2021
…-link-to-kibana-app

* 'master' of github.com:elastic/kibana: (287 commits)
  [Security Solution][Endpoint] Change `trustedAppByPolicyEnabled` flag to `true` by default (elastic#115264)
  [APM] generator: support error events and application metrics (elastic#115311)
  [kibanaUtils] Don't import full `semver` client side (elastic#114986)
  [RAC] Link inventory alerts to the right inventory view (elastic#113553)
  [Uptime] Added uptime query inspector panel (elastic#115170)
  [Osquery] Add packs (elastic#107345)
  [App Search] Allow for query parameter to indicate ingestion mechanism for new engines (elastic#115188)
  [Alerting] Active alerts do not recover after re-enabling a rule (elastic#111671)
  skip flaky tests.  elastic#115308, elastic#115313
  [Breaking] Remove deprecated `enabled` settings from plugins. (elastic#113495)
  skip flaky suite.  elastic#107057
  skip flaky tests. elastic#89052, elastic#113418, elastic#115304
  skip flaky test. elastic#113892
  Bump node to 16.11.1 (elastic#110684)
  [Security Solution] Restores Alerts table local storage persistence and the Remove Column action (elastic#114742)
  skip flaky suite.  elastic#115130
  one line remove assert (elastic#115127)
  Fixes migration bug where I was deleting attributes (elastic#115098)
  [Security Solutions] Fixes the newer notification system throttle resets and enabling immediate execution on first detection of a signal  (elastic#114214)
  [build] Dockerfile update (elastic#115237)
  ...

# Conflicts:
#	x-pack/plugins/reporting/public/management/__snapshots__/report_listing.test.tsx.snap
kibanamachine added a commit that referenced this pull request Oct 18, 2021
… to `true` by default (#115264) (#115346)

* set `trustedAppsByPolicyEnabled` flag to true by default
* Adjust server tests

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed OLM Sprint release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants