Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[7.x] Remove <7.14 EP Metrics from Security Solution usage collector (#103632) #103702

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

…ic#103632)

* Remove <7.14 EP Metrics from Security Solution usage collector.

* Update telemetry schema.

* Fix reworked method signature.
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security·ts.dashboard feature controls dashboard feature controls security no dashboard privileges "before all" hook for "doesn't show dashboard navLink"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[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:00:00]             └-: dashboard feature controls security
[00:00:00]               └-> "before all" hook in "dashboard feature controls security"
[00:00:00]               └-> "before all" hook in "dashboard feature controls security"
[00:00:00]                 │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Loading "mappings.json"
[00:00:00]                 │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Loading "data.json"
[00:00:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.14.0_001/n8p0ndNJQk6yhkVlK1SwQg] deleting index
[00:00:00]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.14.0_001/uLU-K3NZRfqx_SywJioA7A] deleting index
[00:00:00]                 │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_7.14.0_001"
[00:00:00]                 │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_task_manager_7.14.0_001"
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:00:00]                 │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Created index ".kibana_1"
[00:00:00]                 │ 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:00:00]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_1/eOrVTGzVQZGl4g4GH8pYAA] update_mapping [doc]
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_1/eOrVTGzVQZGl4g4GH8pYAA] update_mapping [doc]
[00:00:00]                 │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Indexed 7 docs into ".kibana"
[00:00:00]                 │ debg Migrating saved objects
[00:00:00]                 │ proc [kibana]   log   [16:25:41.918] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 6ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:41.922] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 13ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:41.929] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 7ms.
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.14.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.14.0_001]
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/eOrVTGzVQZGl4g4GH8pYAA]]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_7.14.0_001][0]]]).
[00:00:00]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:00:00]                 │ proc [kibana]   log   [16:25:42.042] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 124ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.070] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 141ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.098] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 56ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.099] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 187ms
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.14.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.14.0_reindex_temp]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.14.0_reindex_temp][0]]]).
[00:00:00]                 │ proc [kibana]   log   [16:25:42.179] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 109ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.195] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 16ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.217] [info][savedobjects-service] [.kibana] Starting to process 7 documents.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.217] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 22ms.
[00:00:00]                 │ proc [kibana]   log   [16:25:42.239] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 22ms.
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q] update_mapping [_doc]
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q] update_mapping [_doc]
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q] update_mapping [_doc]
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q] update_mapping [_doc]
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q] update_mapping [_doc]
[00:00:01]                 │ proc [kibana]   log   [16:25:42.432] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 193ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.445] [info][savedobjects-service] [.kibana] Processed 7 documents out of 7.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.445] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 13ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.454] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 9ms.
[00:00:01]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q]]
[00:00:01]                 │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.14.0_reindex_temp]
[00:00:01]                 │ proc [kibana]   log   [16:25:42.516] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 62ms.
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.14.0_reindex_temp] metadata
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.14.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:01]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.14.0_001]
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_001/7j-MhBVORCqFTARLArcLKw] create_mapping [_doc]
[00:00:01]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.14.0_001][0]]]).
[00:00:01]                 │ proc [kibana]   log   [16:25:42.702] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 186ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.708] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 6ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.713] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 5ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.730] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 17ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:42.735] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 5ms.
[00:00:01]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_001/7j-MhBVORCqFTARLArcLKw] update_mapping [_doc]
[00:00:01]                 │ proc [kibana]   log   [16:25:42.846] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 111ms.
[00:00:01]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:01]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.tasks]
[00:00:01]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]]]).
[00:00:01]                 │ info [o.e.t.LoggingTaskListener] [node-01] 1532 finished with response BulkByScrollResponse[took=56ms,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:00:01]                 │ proc [kibana]   log   [16:25:43.070] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 224ms.
[00:00:01]                 │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.14.0_reindex_temp/SB9qftU0SLuVjKlQTANK_Q] deleting index
[00:00:01]                 │ proc [kibana]   log   [16:25:43.125] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 55ms.
[00:00:01]                 │ proc [kibana]   log   [16:25:43.125] [info][savedobjects-service] [.kibana] Migration completed after 1216ms
[00:00:01]                 │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Migrated Kibana index after loading Kibana data
[00:00:02]                 │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Ensured that default space exists in .kibana
[00:00:02]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:00:04]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:00:04]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:00:04]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:04]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:00:04]                 │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:04]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:04]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:00:04]                 │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:04]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]                 │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:04]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:00:04]                 │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:04]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/zIl_j6ZtTWm8RQQj9hawqQ] update_mapping [_doc]
[00:00:09]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/nVhYU6fNQ_2EIcs_E8faGw] update_mapping [_doc]
[00:00:14]                 │ info progress: 9920
[00:00:17]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:17]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:17]                 │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:18]                 │ debg SecurityPage.forceLogout
[00:00:18]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:00:18]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:18]                 │ debg Redirecting to /logout to force the logout
[00:00:19]                 │ debg Waiting on the login form to appear
[00:00:19]                 │ debg Waiting for Login Page to appear.
[00:00:19]                 │ debg Waiting up to 100000ms for login page...
[00:00:19]                 │ debg browser[INFO] http://localhost:61211/logout?_t=1624983960090 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:00:19]                 │
[00:00:19]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:19]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:21]                 │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:21]                 │ debg browser[INFO] http://localhost:61211/login?msg=LOGGED_OUT 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:00:21]                 │
[00:00:21]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:21]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:00:22]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:00:23]                 │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:05:23]               └-: no dashboard privileges
[00:05:23]                 └-> "before all" hook for "doesn't show dashboard navLink"
[00:05:23]                 └-> "before all" hook for "doesn't show dashboard navLink"
[00:05:23]                   │ debg creating role no_dashboard_privileges_role
[00:05:23]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [no_dashboard_privileges_role]
[00:05:23]                   │ debg creating user no_dashboard_privileges_user
[00:05:24]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [no_dashboard_privileges_user]
[00:05:24]                   │ debg created user no_dashboard_privileges_user
[00:05:24]                   │ debg TestSubjects.exists(loginForm)
[00:05:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:05:26]                   │ debg --- retry.tryForTime error: [data-test-subj="loginForm"] is not displayed
[00:05:27]                   │ debg navigating to login url: http://localhost:61211/login
[00:05:27]                   │ debg navigate to: http://localhost:61211/login
[00:05:27]                   │ proc [kibana]   log   [16:31:09.215] [info][authentication][plugins][security] Authentication attempt failed: {"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate user [global_dashboard_read_url_create_user] for REST request [/_security/_authenticate]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","ApiKey"]}}],"type":"security_exception","reason":"unable to authenticate user [global_dashboard_read_url_create_user] for REST request [/_security/_authenticate]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","ApiKey"]}},"status":401}
[00:05:28]                   │ debg browser[INFO] http://localhost:61211/login?_t=1624984268391 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:05:28]                   │
[00:05:28]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:28]                   │ debg ... sleep(700) start
[00:05:28]                   │ debg ... sleep(700) end
[00:05:28]                   │ debg returned from get, calling refresh
[00:05:29]                   │ debg browser[INFO] http://localhost:61211/login?_t=1624984268391 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:05:29]                   │
[00:05:29]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:29]                   │ debg currentUrl = http://localhost:61211/login
[00:05:29]                   │          appUrl = http://localhost:61211/login
[00:05:29]                   │ debg TestSubjects.find(kibanaChrome)
[00:05:29]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:30]                   │ debg ... sleep(501) start
[00:05:30]                   │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:05:30]                   │ debg ... sleep(501) end
[00:05:30]                   │ debg in navigateTo url = http://localhost:61211/login
[00:05:30]                   │ debg Waiting for Login Form to appear.
[00:05:30]                   │ debg Waiting up to 100000ms for login form...
[00:05:30]                   │ debg TestSubjects.exists(loginForm)
[00:05:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:05:30]                   │ debg TestSubjects.setValue(loginUsername, no_dashboard_privileges_user)
[00:05:30]                   │ debg TestSubjects.click(loginUsername)
[00:05:30]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:05:30]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:05:30]                   │ debg TestSubjects.setValue(loginPassword, no_dashboard_privileges_user-password)
[00:05:30]                   │ debg TestSubjects.click(loginPassword)
[00:05:30]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:05:30]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:05:31]                   │ debg TestSubjects.click(loginSubmit)
[00:05:31]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:05:31]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:05:31]                   │ debg Waiting for login result, expected: undefined.
[00:05:31]                   │ debg Waiting up to 20000ms for logout button visible...
[00:05:31]                   │ debg TestSubjects.exists(userMenuButton)
[00:05:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:05:31]                   │ proc [kibana]   log   [16:31:12.403] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:05:33]                   │ debg browser[INFO] http://localhost:61211/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:05:33]                   │
[00:05:33]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:33]                   │ERROR browser[SEVERE] http://localhost:61211/internal/security/session - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:05:33]                   │ERROR browser[SEVERE] http://localhost:61211/internal/spaces/_active_space - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:05:33]                   │ERROR browser[SEVERE] http://localhost:61211/api/saved_objects/_find?fields=title&per_page=1&search=*&search_fields=title&type=index-pattern - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:05:33]                   │ERROR browser[SEVERE] http://localhost:61211/internal/security/me - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:05:33]                   │ debg TestSubjects.exists(userMenu)
[00:05:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:05:33]                   │ proc [kibana]   log   [16:31:15.024] [warning][api-authorization][plugins][security] User not authorized for "/api/fleet/epm/packages?experimental=true": responding with 403
[00:05:36]                   │ debg browser[INFO] http://localhost:61211/42177/bundles/core/core.entry.js 12:157416 "Detected an unhandled Promise rejection.
[00:05:36]                   │      TypeError: Failed to fetch"
[00:05:36]                   │ERROR browser[SEVERE] http://localhost:61211/42177/bundles/core/core.entry.js 5:2514 
[00:05:36]                   │ debg browser[INFO] http://localhost:61211/42177/bundles/core/core.entry.js 12:157416 "Detected an unhandled Promise rejection.
[00:05:36]                   │      TypeError: Failed to fetch"
[00:05:36]                   │ERROR browser[SEVERE] http://localhost:61211/42177/bundles/core/core.entry.js 5:2514 
[00:05:36]                   │ERROR browser[SEVERE] http://localhost:61211/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:05:36]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:05:36]                   │ debg TestSubjects.click(userMenuButton)
[00:05:36]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:05:36]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:05:36]                   │ debg TestSubjects.exists(userMenu)
[00:05:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:05:39]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:05:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:07:38]                   │ debg --- retry.try error: expected testSubject(userMenu) to exist
[00:07:38]                   │ debg --- retry.waitFor error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:07:38]                   │          at TestSubjects.existOrFail (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:07:38]                   │          at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:07:38]                   │          at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:38]                   │          at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:38]                   │          at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:07:38]                   │          at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:07:38]                   │          at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:07:38]                   │          at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
[00:07:38]                   │          at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:38]                   │          at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:38]                   │          at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:07:38]                   │          at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:07:38]                   │          at SecurityPageObject.login (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:230:5)
[00:07:38]                   │          at Context.<anonymous> (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
[00:07:38]                   │          at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:07:39]                   │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls dashboard feature controls security no dashboard privileges _before all_ hook for _doesn_t show dashboard navLink_.png"
[00:07:39]                   │ info Current URL is: http://localhost:61211/app/home#/
[00:07:39]                   │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls dashboard feature controls security no dashboard privileges _before all_ hook for _doesn_t show dashboard navLink_.html
[00:07:39]                   └- ✖ fail: dashboard feature controls dashboard feature controls security no dashboard privileges "before all" hook for "doesn't show dashboard navLink"
[00:07:39]                   │      timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:07:39]                   │     at TestSubjects.existOrFail (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:07:39]                   │     at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:07:39]                   │     at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:39]                   │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:39]                   │     at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:07:39]                   │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:07:39]                   │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:07:39]                   │     at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
[00:07:39]                   │     at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:39]                   │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:39]                   │     at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:07:39]                   │     at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:07:39]                   │     at SecurityPageObject.login (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:230:5)
[00:07:39]                   │     at Context.<anonymous> (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
[00:07:39]                   │     at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:07:39]                   │     at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:07:39]                   │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:07:39]                   │     at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:07:39]                   │     at UserMenu._ensureMenuOpen (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:46:7)
[00:07:39]                   │     at UserMenu.logoutLinkExists (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:28:7)
[00:07:39]                   │     at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
[00:07:39]                   │     at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:39]                   │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:39]                   │     at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:07:39]                   │     at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:07:39]                   │     at SecurityPageObject.login (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:230:5)
[00:07:39]                   │     at Context.<anonymous> (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
[00:07:39]                   │     at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:07:39]                   │   Error: timed out waiting for logout button visible -- last error: Error: retry.try timeout: Error: expected testSubject(userMenu) to exist
[00:07:39]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:07:39]                   │       at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:48:9
[00:07:39]                   │       at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:39]                   │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:39]                   │       at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:07:39]                   │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:07:39]                   │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:07:39]                   │       at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
[00:07:39]                   │       at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:39]                   │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:39]                   │       at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:07:39]                   │       at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:07:39]                   │       at SecurityPageObject.login (test/functional/page_objects/security_page.ts:230:5)
[00:07:39]                   │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
[00:07:39]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:07:39]                   │       at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:07:39]                   │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:07:39]                   │       at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:07:39]                   │       at UserMenu._ensureMenuOpen (test/functional/services/user_menu.js:46:7)
[00:07:39]                   │       at UserMenu.logoutLinkExists (test/functional/services/user_menu.js:28:7)
[00:07:39]                   │       at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
[00:07:39]                   │       at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:07:39]                   │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:07:39]                   │       at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:07:39]                   │       at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:07:39]                   │       at SecurityPageObject.login (test/functional/page_objects/security_page.ts:230:5)
[00:07:39]                   │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
[00:07:39]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:07:39]                   │       at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:07:39]                   │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:07:39]                   │       at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:07:39]                   │       at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:07:39]                   │       at SecurityPageObject.login (test/functional/page_objects/security_page.ts:230:5)
[00:07:39]                   │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
[00:07:39]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:07:39]                   │ 
[00:07:39]                   │ 

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/21/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/user_menu.js:48:9
    at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at RetryService.try (/dev/shm/workspace/parallel/21/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/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
    at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
    at SecurityPageObject.login (test/functional/page_objects/security_page.ts:230:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/21/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/21/kibana/x-pack/test/functional/page_objects/security_page.ts:232:19
    at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
    at SecurityPageObject.login (test/functional/page_objects/security_page.ts:230:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
    at SecurityPageObject.login (test/functional/page_objects/security_page.ts:230:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:527:9)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / "before each" hook in "without cases created".attach timeline to case without cases created "before each" hook in "without cases created"

Link to Jenkins

Stack Trace

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

TypeError: Cannot read property 'savedObjectId' of undefined (and Mocha's done() called multiple times)

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `without cases created`
TypeError: Cannot read property 'savedObjectId' of undefined
    at Context.eval (http://localhost:6181/__cypress/tests?p=cypress/integration/cases/attach_timeline.spec.ts:15557:61)

Metrics [docs]

✅ unchanged

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

cc @pjhampton

@kibanamachine kibanamachine merged commit bb01df8 into elastic:7.x Jun 29, 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