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

[Task Manager][8.0] Added migrations to savedObject Ids for "actions:* and "alerting:*" task types #109180

Conversation

YulNaumenko
Copy link
Contributor

@YulNaumenko YulNaumenko commented Aug 18, 2021

Note: this PR will be merged to FB (because of failing functional tests)

Summary

Resolves #108084
Added migrations for task documents with task types for 'actions:..' and 'alerting:..' to have the new Ids based on generated by SavedObjectsUtils.getConvertedObjectId function

Checklist

Delete any items that are not applicable to this PR.

@YulNaumenko YulNaumenko added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Task Manager Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Alerting/RulesFramework Issues related to the Alerting Rules Framework labels Aug 18, 2021
@YulNaumenko YulNaumenko self-assigned this Aug 18, 2021
@YulNaumenko YulNaumenko requested a review from a team as a code owner August 18, 2021 22:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@YulNaumenko YulNaumenko requested a review from ymao1 August 19, 2021 18:08
@chrisronline chrisronline self-requested a review August 20, 2021 16:02
Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

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

LGTM! One recommendation but this is great!

@YulNaumenko YulNaumenko changed the base branch from master to prepare-alerting-so-to-sharecapable August 24, 2021 00:07
Copy link
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

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

LGTM to merge into feature branch! We do have functional tests for alerting and actions migrations....could we add a functional test for these migrations as well?

@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 26, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Plugin Functional Tests.x-pack/test/plugin_api_integration/test_suites/task_manager/migrations·ts.task_manager migrations 8.0.0 migrates actions tasks from legacy id to saved object ids

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: task_manager
[00:00:00]           └-> "before all" hook in "task_manager"
[00:02:27]           └-: migrations
[00:02:27]             └-> "before all" hook for "8.0.0 migrates actions tasks with legacy id to saved object ids"
[00:02:27]             └-> "before all" hook for "8.0.0 migrates actions tasks with legacy id to saved object ids"
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Loading "mappings.json"
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Loading "data.json"
[00:02:27]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/lF0E42zrQT-rvcRJn61zyQ] deleting index
[00:02:27]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/KKsmZ_jbQlO2zzh0oJdJuQ] deleting index
[00:02:27]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/9oPZqJCZRly5Ct1xn82ZKw] deleting index
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Deleted existing index ".kibana_8.0.0_001"
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Deleted existing index ".kibana_1"
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Created index ".kibana_1"
[00:02:27]               │ debg [x-pack/test/functional/es_archives/task_manager_tasks] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:27]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_1/d0v7Bq3mQX275PNYlPFqWg] deleting index
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Deleted existing index ".kibana_task_manager_1"
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Created index ".kibana_task_manager_1"
[00:02:27]               │ debg [x-pack/test/functional/es_archives/task_manager_tasks] ".kibana_task_manager_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:27]               │ info [x-pack/test/functional/es_archives/task_manager_tasks] Indexed 2 docs into ".kibana_task_manager_1"
[00:02:27]               │ debg Migrating saved objects
[00:02:27]               │ proc [kibana]   log   [22:15:29.431] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 10ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.432] [info][savedobjects-service] [.kibana_task_manager] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 9ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.433] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 2ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.434] [info][savedobjects-service] [.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 2ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.436] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 3ms.
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/mvGHh698SyiXKAG-F5vNMw]]
[00:02:27]               │ proc [kibana]   log   [22:15:29.438] [info][savedobjects-service] [.kibana_task_manager] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 4ms.
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_task_manager_1/loVdkIGEQOCneHYrmLjOQA]]
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_task_manager_1]
[00:02:27]               │ proc [kibana]   log   [22:15:29.491] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 55ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.497] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 6ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.505] [info][savedobjects-service] [.kibana_task_manager] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 67ms.
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:02:27]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:02:27]               │ proc [kibana]   log   [22:15:29.509] [info][savedobjects-service] [.kibana_task_manager] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 4ms.
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:02:27]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:02:27]               │ proc [kibana]   log   [22:15:29.583] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 86ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.584] [info][savedobjects-service] [.kibana_task_manager] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 75ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.586] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 3ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.587] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 3ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.590] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 4ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.591] [info][savedobjects-service] [.kibana_task_manager] Starting to process 2 documents.
[00:02:27]               │ proc [kibana]   log   [22:15:29.592] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 4ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.594] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.595] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 4ms.
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/nRcBssOzRDaAbpsUEUA5Kw]]
[00:02:27]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp/qp69PaZvRyiivZBiaSTXKg] update_mapping [_doc]
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:02:27]               │ proc [kibana]   log   [22:15:29.650] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 56ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.656] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 61ms.
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:02:27]               │ proc [kibana]   log   [22:15:29.660] [info][savedobjects-service] [.kibana_task_manager] Processed 2 documents out of 2.
[00:02:27]               │ proc [kibana]   log   [22:15:29.661] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 4ms.
[00:02:27]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:02:27]               │ proc [kibana]   log   [22:15:29.663] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_task_manager_8.0.0_reindex_temp/qp69PaZvRyiivZBiaSTXKg]]
[00:02:27]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/dHw2PX0OSHyFnujP_mdsGA] create_mapping
[00:02:27]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:02:27]               │ proc [kibana]   log   [22:15:29.741] [info][savedobjects-service] [.kibana_task_manager] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 78ms.
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_task_manager_8.0.0_reindex_temp] metadata
[00:02:27]               │ proc [kibana]   log   [22:15:29.759] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 109ms.
[00:02:27]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:02:27]               │ proc [kibana]   log   [22:15:29.762] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:02:27]               │ 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:02:27]               │ proc [kibana]   log   [22:15:29.765] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.769] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 4ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.771] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:02:27]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/dHw2PX0OSHyFnujP_mdsGA] update_mapping [_doc]
[00:02:27]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_001/95OEeqeFRAWTlKw89vypJA] create_mapping
[00:02:27]               │ proc [kibana]   log   [22:15:29.839] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 68ms.
[00:02:27]               │ info [o.e.t.LoggingTaskListener] [node-01] 7775 finished with response BulkByScrollResponse[took=1.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:27]               │ proc [kibana]   log   [22:15:29.871] [info][savedobjects-service] [.kibana_task_manager] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 130ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.874] [info][savedobjects-service] [.kibana_task_manager] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.877] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.882] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 5ms.
[00:02:27]               │ proc [kibana]   log   [22:15:29.884] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:02:27]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_001/95OEeqeFRAWTlKw89vypJA] update_mapping [_doc]
[00:02:27]               │ proc [kibana]   log   [22:15:29.915] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 31ms.
[00:02:27]               │ info [o.e.t.LoggingTaskListener] [node-01] 7801 finished with response BulkByScrollResponse[took=15.7ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:28]               │ proc [kibana]   log   [22:15:29.945] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 106ms.
[00:02:28]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/nRcBssOzRDaAbpsUEUA5Kw] deleting index
[00:02:28]               │ proc [kibana]   log   [22:15:29.984] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 39ms.
[00:02:28]               │ proc [kibana]   log   [22:15:29.985] [info][savedobjects-service] [.kibana] Migration completed after 564ms
[00:02:28]               │ proc [kibana]   log   [22:15:30.020] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:02:28]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp/qp69PaZvRyiivZBiaSTXKg] deleting index
[00:02:28]               │ proc [kibana]   log   [22:15:30.059] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 39ms.
[00:02:28]               │ proc [kibana]   log   [22:15:30.060] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 637ms
[00:02:28]               │ debg [x-pack/test/functional/es_archives/task_manager_tasks] Migrated Kibana index after loading Kibana data
[00:02:28]               │ debg [x-pack/test/functional/es_archives/task_manager_tasks] Ensured that default space exists in .kibana
[00:02:28]             └-> 8.0.0 migrates actions tasks with legacy id to saved object ids
[00:02:28]               └-> "before each" hook: global before each for "8.0.0 migrates actions tasks with legacy id to saved object ids"
[00:02:28]               └- ✓ pass  (4ms) "task_manager migrations 8.0.0 migrates actions tasks with legacy id to saved object ids"
[00:02:28]             └-> 8.0.0 migrates actions tasks from legacy id to saved object ids
[00:02:28]               └-> "before each" hook: global before each for "8.0.0 migrates actions tasks from legacy id to saved object ids"
[00:02:28]               └- ✖ fail: task_manager migrations 8.0.0 migrates actions tasks from legacy id to saved object ids
[00:02:28]               │      Error: expected 0 to equal 1
[00:02:28]               │       at Assertion.assert (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:02:28]               │       at Assertion.equal (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:02:28]               │       at Context.<anonymous> (test/plugin_api_integration/test_suites/task_manager/migrations.ts:53:82)
[00:02:28]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:28]               │       at Object.apply (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:02:28]               │ 
[00:02:28]               │ 

Stack Trace

Error: expected 0 to equal 1
    at Assertion.assert (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.equal (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Context.<anonymous> (test/plugin_api_integration/test_suites/task_manager/migrations.ts:53:82)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Kibana Pipeline / general / X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook in "alerting api integration security and spaces enabled"
[00:04:01]           └-: Alerts
[00:04:01]             └-> "before all" hook in "Alerts"
[00:04:01]             └-: legacy alerts
[00:04:01]               └-> "before all" hook in "legacy alerts"
[00:04:01]               └-> "before all" hook in "legacy alerts"
[00:04:01]                 │ debg creating space
[00:04:02]                 │ debg created space
[00:04:02]                 │ debg creating space
[00:04:03]                 │ debg created space
[00:04:03]                 │ debg creating space
[00:04:04]                 │ debg created space
[00:04:04]                 │ debg creating user no_kibana_privileges
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [no_kibana_privileges]
[00:04:04]                 │ debg created user no_kibana_privileges
[00:04:04]                 │ debg creating role no_kibana_privileges
[00:04:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [no_kibana_privileges]
[00:04:04]                 │ debg creating user superuser
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [superuser]
[00:04:04]                 │ debg created user superuser
[00:04:04]                 │ debg creating user global_read
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [global_read]
[00:04:04]                 │ debg created user global_read
[00:04:04]                 │ debg creating role global_read_role
[00:04:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [global_read_role]
[00:04:04]                 │ debg creating user space_1_all
[00:04:04]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [space_1_all]
[00:04:04]                 │ debg created user space_1_all
[00:04:04]                 │ debg creating role space_1_all_role
[00:04:04]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [space_1_all_role]
[00:04:04]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:05]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [space_1_all_with_restricted_fixture]
[00:04:05]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:05]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:05]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [space_1_all_with_restricted_fixture_role]
[00:04:05]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:05]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [space_1_all_alerts_none_actions]
[00:04:05]                 │ debg created user space_1_all_alerts_none_actions
[00:04:05]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:05]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [space_1_all_alerts_none_actions_role]
[00:04:05]               └-: alerts
[00:04:05]                 └-> "before all" hook in "alerts"
[00:04:05]                 └-> "before all" hook in "alerts"
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Loading "mappings.json"
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Loading "data.json"
[00:04:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/F49rbVHoSSGa3ZPW9KZd5g] deleting index
[00:04:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/cESS2bjfRHusLvIXHYz7ug] deleting index
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Deleted existing index ".kibana_8.0.0_001"
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Created index ".kibana_1"
[00:04:05]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Created index ".kibana_task_manager_1"
[00:04:05]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] ".kibana_task_manager_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Indexed 6 docs into ".kibana_1"
[00:04:05]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Indexed 5 docs into ".kibana_task_manager_1"
[00:04:05]                   │ debg Migrating saved objects
[00:04:05]                   │ proc [kibana]   log   [21:25:23.526] [info][savedobjects-service] [.kibana_task_manager] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 6ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.532] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 15ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.534] [info][savedobjects-service] [.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 8ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.535] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.541] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.542] [info][savedobjects-service] [.kibana_task_manager] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 8ms.
[00:04:05]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/0XDPAJl3TAK1Hp1nCzQyFA]]
[00:04:05]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_task_manager_1/FGRpaO0CQdOOTkhIBHr0LQ]]
[00:04:05]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:04:05]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_task_manager_1]
[00:04:05]                   │ proc [kibana]   log   [21:25:23.621] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 80ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.630] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 9ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.642] [info][savedobjects-service] [.kibana_task_manager] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 100ms.
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:04:05]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:04:05]                   │ proc [kibana]   log   [21:25:23.647] [info][savedobjects-service] [.kibana_task_manager] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:04:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:04:05]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:04:05]                   │ proc [kibana]   log   [21:25:23.758] [info][savedobjects-service] [.kibana_task_manager] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 111ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.760] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 130ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.781] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 23ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.783] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 23ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.795] [info][savedobjects-service] [.kibana_task_manager] Starting to process 5 documents.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.796] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 14ms.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.798] [info][savedobjects-service] [.kibana] Starting to process 6 documents.
[00:04:05]                   │ proc [kibana]   log   [21:25:23.799] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 15ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.062] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 267ms.
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp/AIv0U6s4Th-QzSRqtZAWQA] update_mapping [_doc]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.120] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 58ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.176] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 378ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.178] [info][savedobjects-service] [.kibana_task_manager] Processed 5 documents out of 5.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.178] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 58ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.185] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 7ms.
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/N2jtVCtTRfqrXTNwl_i22A] update_mapping [_doc]
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_task_manager_8.0.0_reindex_temp/AIv0U6s4Th-QzSRqtZAWQA]]
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/N2jtVCtTRfqrXTNwl_i22A] update_mapping [_doc]
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.288] [info][savedobjects-service] [.kibana_task_manager] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 103ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.294] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 118ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.299] [info][savedobjects-service] [.kibana] Processed 6 documents out of 6.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.300] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 5ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_task_manager_8.0.0_reindex_temp] metadata
[00:04:06]                   │ proc [kibana]   log   [21:25:24.303] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:04:06]                   │ 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:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/N2jtVCtTRfqrXTNwl_i22A]]
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_001/kuiDO9KmSoC0RVPMNlYpkQ] create_mapping
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.438] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 135ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:04:06]                   │ proc [kibana]   log   [21:25:24.469] [info][savedobjects-service] [.kibana_task_manager] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 181ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.473] [info][savedobjects-service] [.kibana_task_manager] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:04:06]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.477] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.484] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.487] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_001/kuiDO9KmSoC0RVPMNlYpkQ] update_mapping [_doc]
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/3tvHEIALRlqI1NUqx9k40g] create_mapping
[00:04:06]                   │ proc [kibana]   log   [21:25:24.578] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 91ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.622] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 184ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.626] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:04:06]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.tasks]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.629] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.638] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 9ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.641] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:04:06]                   │ info [o.e.t.LoggingTaskListener] [node-01] 14543 finished with response BulkByScrollResponse[took=19.1ms,timed_out=false,sliceId=null,updated=5,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:06]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/3tvHEIALRlqI1NUqx9k40g] update_mapping [_doc]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.780] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 139ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.794] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 216ms.
[00:04:06]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp/AIv0U6s4Th-QzSRqtZAWQA] deleting index
[00:04:06]                   │ info [o.e.t.LoggingTaskListener] [node-01] 14585 finished with response BulkByScrollResponse[took=31.3ms,timed_out=false,sliceId=null,updated=6,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:06]                   │ proc [kibana]   log   [21:25:24.851] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 57ms.
[00:04:06]                   │ proc [kibana]   log   [21:25:24.852] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 1332ms
[00:04:06]                   │ proc [kibana]   log   [21:25:24.886] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 106ms.
[00:04:06]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/N2jtVCtTRfqrXTNwl_i22A] deleting index
[00:04:07]                   │ proc [kibana]   log   [21:25:24.944] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 58ms.
[00:04:07]                   │ proc [kibana]   log   [21:25:24.944] [info][savedobjects-service] [.kibana] Migration completed after 1427ms
[00:04:07]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] Migrated Kibana index after loading Kibana data
[00:04:07]                   │ proc [kibana]   log   [21:25:25.080] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.077Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.077Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792860273000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"f785e6fd-6401-567a-bf00-204bbf1fd347\"","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.081] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.081Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.081Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:05.197Z","schedule_delay":30792859884000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"84ddfcfe-5861-5156-9c3a-0deb623eab56\"","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.084] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.082Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.082Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b7f1f9d3-a78f-599d-9bf2-742925472199","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:03.152Z","schedule_delay":30792861930000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"b7f1f9d3-a78f-599d-9bf2-742925472199","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"b7f1f9d3-a78f-599d-9bf2-742925472199\"","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.088] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.085Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.085Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792860281000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"9c265e85-d6c5-5546-a802-d2830cb9ba75\"","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.090] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.089Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.089Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792860285000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b\"","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.095] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.081Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.081Z","end":"2021-08-26T21:25:25.095Z","duration":14000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:05.197Z","schedule_delay":30792859884000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/84ddfcfe-5861-5156-9c3a-0deb623eab56] not found"},"message":"test.always-firing:84ddfcfe-5861-5156-9c3a-0deb623eab56: execution failed","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.099] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.077Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.077Z","end":"2021-08-26T21:25:25.098Z","duration":21000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792860273000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found"},"message":"test.always-firing:f785e6fd-6401-567a-bf00-204bbf1fd347: execution failed","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.101] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.089Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.089Z","end":"2021-08-26T21:25:25.100Z","duration":11000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792860285000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b] not found"},"message":"test.always-firing:7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b: execution failed","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.103] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.082Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.082Z","end":"2021-08-26T21:25:25.103Z","duration":21000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b7f1f9d3-a78f-599d-9bf2-742925472199","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:03.152Z","schedule_delay":30792861930000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"b7f1f9d3-a78f-599d-9bf2-742925472199","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/b7f1f9d3-a78f-599d-9bf2-742925472199] not found"},"message":"test.always-firing:b7f1f9d3-a78f-599d-9bf2-742925472199: execution failed","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.105] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:25.085Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:25.085Z","end":"2021-08-26T21:25:25.104Z","duration":19000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792860281000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/9c265e85-d6c5-5546-a802-d2830cb9ba75] not found"},"message":"test.always-firing:9c265e85-d6c5-5546-a802-d2830cb9ba75: execution failed","ecs":{"version":"1.8.0"}})
[00:04:07]                   │ proc [kibana]   log   [21:25:25.106] [warning][alerting][plugins] Unable to execute rule "f785e6fd-6401-567a-bf00-204bbf1fd347" in the "space1" space because Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:07]                   │ proc [kibana]   log   [21:25:25.107] [error][plugins][taskManager] Task alerting:test.always-firing "e39a02f0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found
[00:04:07]                   │ proc [kibana]   log   [21:25:25.108] [warning][alerting][plugins] Unable to execute rule "7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b" in the "space1" space because Saved object [alert/7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:07]                   │ proc [kibana]   log   [21:25:25.108] [error][plugins][taskManager] Task alerting:test.always-firing "e4df5430-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b] not found
[00:04:07]                   │ proc [kibana]   log   [21:25:25.109] [warning][alerting][plugins] Unable to execute rule "b7f1f9d3-a78f-599d-9bf2-742925472199" in the "space1" space because Saved object [alert/b7f1f9d3-a78f-599d-9bf2-742925472199] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:07]                   │ proc [kibana]   log   [21:25:25.110] [error][plugins][taskManager] Task alerting:test.always-firing "e8885f00-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/b7f1f9d3-a78f-599d-9bf2-742925472199] not found
[00:04:07]                   │ proc [kibana]   log   [21:25:25.110] [warning][alerting][plugins] Unable to execute rule "84ddfcfe-5861-5156-9c3a-0deb623eab56" in the "space1" space because Saved object [alert/84ddfcfe-5861-5156-9c3a-0deb623eab56] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:07]                   │ proc [kibana]   log   [21:25:25.111] [error][plugins][taskManager] Task alerting:test.always-firing "e9c069d0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/84ddfcfe-5861-5156-9c3a-0deb623eab56] not found
[00:04:07]                   │ proc [kibana]   log   [21:25:25.112] [warning][alerting][plugins] Unable to execute rule "9c265e85-d6c5-5546-a802-d2830cb9ba75" in the "space1" space because Saved object [alert/9c265e85-d6c5-5546-a802-d2830cb9ba75] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:07]                   │ proc [kibana]   log   [21:25:25.112] [error][plugins][taskManager] Task alerting:test.always-firing "e616c2c0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/9c265e85-d6c5-5546-a802-d2830cb9ba75] not found
[00:04:07]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] Ensured that default space exists in .kibana
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana-alerting-test-data] creating index, cause [api], templates [], shards [1]/[1]
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana-test-authorization] creating index, cause [api], templates [], shards [1]/[1]
[00:04:07]                   │ debg creating space
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/3tvHEIALRlqI1NUqx9k40g] update_mapping [_doc]
[00:04:08]                   │ debg created space
[00:04:08]                   │ debg creating space
[00:04:09]                   │ debg created space
[00:04:09]                   │ debg creating space
[00:04:10]                   │ debg created space
[00:04:10]                   │ debg creating user no_kibana_privileges
[00:04:10]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [no_kibana_privileges]
[00:04:10]                   │ debg created user no_kibana_privileges
[00:04:10]                   │ debg creating role no_kibana_privileges
[00:04:10]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [no_kibana_privileges]
[00:04:10]                   │ debg creating user superuser
[00:04:10]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [superuser]
[00:04:10]                   │ debg created user superuser
[00:04:10]                   │ debg creating user global_read
[00:04:10]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [global_read]
[00:04:10]                   │ debg created user global_read
[00:04:10]                   │ debg creating role global_read_role
[00:04:11]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [global_read_role]
[00:04:11]                   │ debg creating user space_1_all
[00:04:11]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [space_1_all]
[00:04:11]                   │ debg created user space_1_all
[00:04:11]                   │ debg creating role space_1_all_role
[00:04:11]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [space_1_all_role]
[00:04:11]                   │ debg creating user space_1_all_with_restricted_fixture
[00:04:11]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [space_1_all_with_restricted_fixture]
[00:04:11]                   │ debg created user space_1_all_with_restricted_fixture
[00:04:11]                   │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:11]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [space_1_all_with_restricted_fixture_role]
[00:04:11]                   │ debg creating user space_1_all_alerts_none_actions
[00:04:11]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [space_1_all_alerts_none_actions]
[00:04:11]                   │ debg created user space_1_all_alerts_none_actions
[00:04:11]                   │ debg creating role space_1_all_alerts_none_actions_role
[00:04:11]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [space_1_all_alerts_none_actions_role]
[00:04:11]                 └-: superuser at space1
[00:04:11]                   └-> "before all" hook for "should schedule actions on legacy alerts"
[00:04:11]                   └-> "before all" hook for "should schedule actions on legacy alerts"
[00:04:11]                   └-> should schedule actions on legacy alerts
[00:04:11]                     └-> "before each" hook: global before each for "should schedule actions on legacy alerts"
[00:04:13]                     │ proc [kibana]   log   [21:25:31.076] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:31.074Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:31.074Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792866270000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"f785e6fd-6401-567a-bf00-204bbf1fd347\"","ecs":{"version":"1.8.0"}})
[00:04:13]                     │ proc [kibana]   log   [21:25:31.082] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:25:31.074Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:25:31.074Z","end":"2021-08-26T21:25:31.081Z","duration":7000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792866270000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found"},"message":"test.always-firing:f785e6fd-6401-567a-bf00-204bbf1fd347: execution failed","ecs":{"version":"1.8.0"}})
[00:04:13]                     │ proc [kibana]   log   [21:25:31.087] [warning][alerting][plugins] Unable to execute rule "f785e6fd-6401-567a-bf00-204bbf1fd347" in the "space1" space because Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:13]                     │ proc [kibana]   log   [21:25:31.088] [error][plugins][taskManager] Task alerting:test.always-firing "e39a02f0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found
[00:04:15]                     │ debg --- retry.try error: expected 0 to be above 0
[00:04:15]                     │ debg --- retry.try failed again with the same message...
[00:04:16]                     │ debg --- retry.try failed again with the same message...
[00:04:17]                     │ debg --- retry.try failed again with the same message...
[00:04:17]                     │ debg --- retry.try failed again with the same message...
[00:04:18]                     │ debg --- retry.try failed again with the same message...
[00:04:18]                     │ debg --- retry.try failed again with the same message...
[00:04:19]                     │ debg --- retry.try failed again with the same message...
[00:04:19]                     │ debg --- retry.try failed again with the same message...
[00:04:20]                     │ debg --- retry.try failed again with the same message...
[00:04:20]                     │ debg --- retry.try failed again with the same message...
[00:04:21]                     │ debg --- retry.try failed again with the same message...
[00:04:21]                     │ debg --- retry.try failed again with the same message...
[00:04:22]                     │ debg --- retry.try failed again with the same message...
[00:04:22]                     │ debg --- retry.try failed again with the same message...
[00:04:23]                     │ debg --- retry.try failed again with the same message...
[00:04:23]                     │ debg --- retry.try failed again with the same message...
[00:04:24]                     │ debg --- retry.try failed again with the same message...
[00:04:24]                     │ debg --- retry.try failed again with the same message...
[00:04:25]                     │ debg --- retry.try failed again with the same message...
[00:04:25]                     │ debg --- retry.try failed again with the same message...
[00:04:26]                     │ debg --- retry.try failed again with the same message...
[00:04:26]                     │ debg --- retry.try failed again with the same message...
[00:04:27]                     │ debg --- retry.try failed again with the same message...
[00:04:27]                     │ debg --- retry.try failed again with the same message...
[00:04:28]                     │ debg --- retry.try failed again with the same message...
[00:04:28]                     │ debg --- retry.try failed again with the same message...
[00:04:29]                     │ debg --- retry.try failed again with the same message...
[00:04:29]                     │ debg --- retry.try failed again with the same message...
[00:04:30]                     │ debg --- retry.try failed again with the same message...
[00:04:30]                     │ debg --- retry.try failed again with the same message...
[00:04:31]                     │ debg --- retry.try failed again with the same message...
[00:04:31]                     │ debg --- retry.try failed again with the same message...
[00:04:32]                     │ debg --- retry.try failed again with the same message...
[00:04:32]                     │ debg --- retry.try failed again with the same message...
[00:04:33]                     │ debg --- retry.try failed again with the same message...
[00:04:33]                     │ debg --- retry.try failed again with the same message...
[00:04:34]                     │ debg --- retry.try failed again with the same message...
[00:04:34]                     │ debg --- retry.try failed again with the same message...
[00:04:35]                     │ debg --- retry.try failed again with the same message...
[00:04:35]                     │ debg --- retry.try failed again with the same message...
[00:04:36]                     │ debg --- retry.try failed again with the same message...
[00:04:36]                     │ debg --- retry.try failed again with the same message...
[00:04:37]                     │ debg --- retry.try failed again with the same message...
[00:04:37]                     │ debg --- retry.try failed again with the same message...
[00:04:38]                     │ debg --- retry.try failed again with the same message...
[00:04:38]                     │ debg --- retry.try failed again with the same message...
[00:04:39]                     │ debg --- retry.try failed again with the same message...
[00:04:40]                     │ debg --- retry.try failed again with the same message...
[00:04:40]                     │ debg --- retry.try failed again with the same message...
[00:04:41]                     │ debg --- retry.try failed again with the same message...
[00:04:41]                     │ debg --- retry.try failed again with the same message...
[00:04:42]                     │ debg --- retry.try failed again with the same message...
[00:04:42]                     │ debg --- retry.try failed again with the same message...
[00:04:43]                     │ debg --- retry.try failed again with the same message...
[00:04:43]                     │ debg --- retry.try failed again with the same message...
[00:04:44]                     │ debg --- retry.try failed again with the same message...
[00:04:44]                     │ debg --- retry.try failed again with the same message...
[00:04:45]                     │ debg --- retry.try failed again with the same message...
[00:04:45]                     │ debg --- retry.try failed again with the same message...
[00:04:46]                     │ debg --- retry.try failed again with the same message...
[00:04:46]                     │ debg --- retry.try failed again with the same message...
[00:04:47]                     │ debg --- retry.try failed again with the same message...
[00:04:47]                     │ debg --- retry.try failed again with the same message...
[00:04:48]                     │ debg --- retry.try failed again with the same message...
[00:04:48]                     │ debg --- retry.try failed again with the same message...
[00:04:49]                     │ debg --- retry.try failed again with the same message...
[00:04:49]                     │ debg --- retry.try failed again with the same message...
[00:04:50]                     │ debg --- retry.try failed again with the same message...
[00:04:50]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/3tvHEIALRlqI1NUqx9k40g] update_mapping [_doc]
[00:04:50]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/3tvHEIALRlqI1NUqx9k40g] update_mapping [_doc]
[00:04:50]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/3tvHEIALRlqI1NUqx9k40g] update_mapping [_doc]
[00:04:50]                     │ proc [kibana]   log   [21:26:08.467] [warning][collector-set][plugins][usage-collection][usageCollection] ReferenceError: Cannot access 'error' before initialization
[00:04:50]                     │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/collectors/fleet_server_collector.js:43:27
[00:04:50]                     │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:50]                     │ proc [kibana]     at getFleetServerUsage (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/collectors/fleet_server_collector.js:38:24)
[00:04:50]                     │ proc [kibana]     at UsageCollector.fetch (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/collectors/register.js:41:23)
[00:04:50]                     │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/src/plugins/usage_collection/server/collector/collector_set.js:104:21
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 32)
[00:04:50]                     │ proc [kibana]     at Object.bulkFetch (/dev/shm/workspace/kibana-build-15/src/plugins/usage_collection/server/collector/collector_set.js:91:25)
[00:04:50]                     │ proc [kibana]     at getKibana (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry/server/telemetry_collection/get_kibana.js:68:17)
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 3)
[00:04:50]                     │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/src/plugins/telemetry/server/telemetry_collection/get_local_stats.js:79:76
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 0)
[00:04:50]                     │ proc [kibana]     at getLocalStats (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry/server/telemetry_collection/get_local_stats.js:78:10)
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 0)
[00:04:50]                     │ proc [kibana]     at Object.getStatsWithXpack [as statsGetter] (/dev/shm/workspace/kibana-build-15/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.js:27:48)
[00:04:50]                     │ proc [kibana]     at TelemetryCollectionManagerPlugin.getUsageForCollection (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry_collection_manager/server/plugin.js:256:19)
[00:04:50]                     │ proc [kibana]     at TelemetryCollectionManagerPlugin.getStats (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry_collection_manager/server/plugin.js:222:29)
[00:04:50]                     │ proc [kibana]   log   [21:26:08.472] [warning][collector-set][plugins][usage-collection][usageCollection] Unable to fetch data from fleet collector
[00:04:50]                     │ debg --- retry.try failed again with the same message...
[00:04:51]                     │ debg --- retry.try failed again with the same message...
[00:04:51]                     │ debg --- retry.try failed again with the same message...
[00:04:52]                     │ debg --- retry.try failed again with the same message...
[00:04:52]                     │ debg --- retry.try failed again with the same message...
[00:04:53]                     │ debg --- retry.try failed again with the same message...
[00:04:53]                     │ debg --- retry.try failed again with the same message...
[00:04:54]                     │ debg --- retry.try failed again with the same message...
[00:04:54]                     │ debg --- retry.try failed again with the same message...
[00:04:55]                     │ debg --- retry.try failed again with the same message...
[00:04:55]                     │ debg --- retry.try failed again with the same message...
[00:04:56]                     │ debg --- retry.try failed again with the same message...
[00:04:56]                     │ debg --- retry.try failed again with the same message...
[00:04:57]                     │ debg --- retry.try failed again with the same message...
[00:04:57]                     │ debg --- retry.try failed again with the same message...
[00:04:58]                     │ debg --- retry.try failed again with the same message...
[00:04:58]                     │ debg --- retry.try failed again with the same message...
[00:04:59]                     │ debg --- retry.try failed again with the same message...
[00:04:59]                     │ debg --- retry.try failed again with the same message...
[00:05:00]                     │ debg --- retry.try failed again with the same message...
[00:05:00]                     │ debg --- retry.try failed again with the same message...
[00:05:01]                     │ debg --- retry.try failed again with the same message...
[00:05:01]                     │ debg --- retry.try failed again with the same message...
[00:05:02]                     │ debg --- retry.try failed again with the same message...
[00:05:02]                     │ debg --- retry.try failed again with the same message...
[00:05:03]                     │ debg --- retry.try failed again with the same message...
[00:05:04]                     │ debg --- retry.try failed again with the same message...
[00:05:04]                     │ debg --- retry.try failed again with the same message...
[00:05:05]                     │ debg --- retry.try failed again with the same message...
[00:05:05]                     │ debg --- retry.try failed again with the same message...
[00:05:06]                     │ debg --- retry.try failed again with the same message...
[00:05:06]                     │ debg --- retry.try failed again with the same message...
[00:05:07]                     │ debg --- retry.try failed again with the same message...
[00:05:07]                     │ debg --- retry.try failed again with the same message...
[00:05:08]                     │ debg --- retry.try failed again with the same message...
[00:05:08]                     │ debg --- retry.try failed again with the same message...
[00:05:09]                     │ debg --- retry.try failed again with the same message...
[00:05:09]                     │ debg --- retry.try failed again with the same message...
[00:05:10]                     │ debg --- retry.try failed again with the same message...
[00:05:10]                     │ debg --- retry.try failed again with the same message...
[00:05:11]                     │ debg --- retry.try failed again with the same message...
[00:05:11]                     │ debg --- retry.try failed again with the same message...
[00:05:12]                     │ debg --- retry.try failed again with the same message...
[00:05:12]                     │ debg --- retry.try failed again with the same message...
[00:05:13]                     │ debg --- retry.try failed again with the same message...
[00:05:13]                     │ debg --- retry.try failed again with the same message...
[00:05:14]                     │ debg --- retry.try failed again with the same message...
[00:05:14]                     │ debg --- retry.try failed again with the same message...
[00:05:15]                     │ debg --- retry.try failed again with the same message...
[00:05:15]                     │ debg --- retry.try failed again with the same message...
[00:05:16]                     │ debg --- retry.try failed again with the same message...
[00:05:16]                     │ debg --- retry.try failed again with the same message...
[00:05:17]                     │ debg --- retry.try failed again with the same message...
[00:05:17]                     │ debg --- retry.try failed again with the same message...
[00:05:18]                     │ debg --- retry.try failed again with the same message...
[00:05:18]                     │ debg --- retry.try failed again with the same message...
[00:05:19]                     │ debg --- retry.try failed again with the same message...
[00:05:19]                     │ debg --- retry.try failed again with the same message...
[00:05:20]                     │ debg --- retry.try failed again with the same message...
[00:05:20]                     │ debg --- retry.try failed again with the same message...
[00:05:21]                     │ debg --- retry.try failed again with the same message...
[00:05:21]                     │ debg --- retry.try failed again with the same message...
[00:05:22]                     │ debg --- retry.try failed again with the same message...
[00:05:22]                     │ debg --- retry.try failed again with the same message...
[00:05:23]                     │ debg --- retry.try failed again with the same message...
[00:05:23]                     │ debg --- retry.try failed again with the same message...
[00:05:24]                     │ debg --- retry.try failed again with the same message...
[00:05:24]                     │ debg --- retry.try failed again with the same message...
[00:05:25]                     │ debg --- retry.try failed again with the same message...
[00:05:25]                     │ debg --- retry.try failed again with the same message...
[00:05:26]                     │ debg --- retry.try failed again with the same message...
[00:05:26]                     │ debg --- retry.try failed again with the same message...
[00:05:27]                     │ debg --- retry.try failed again with the same message...
[00:05:28]                     │ debg --- retry.try failed again with the same message...
[00:05:28]                     │ debg --- retry.try failed again with the same message...
[00:05:29]                     │ debg --- retry.try failed again with the same message...
[00:05:29]                     │ debg --- retry.try failed again with the same message...
[00:05:30]                     │ debg --- retry.try failed again with the same message...
[00:05:30]                     │ debg --- retry.try failed again with the same message...
[00:05:31]                     │ debg --- retry.try failed again with the same message...
[00:05:31]                     │ debg --- retry.try failed again with the same message...
[00:05:32]                     │ debg --- retry.try failed again with the same message...
[00:05:32]                     │ debg --- retry.try failed again with the same message...
[00:05:33]                     │ debg --- retry.try failed again with the same message...
[00:05:33]                     │ debg --- retry.try failed again with the same message...
[00:05:34]                     │ debg --- retry.try failed again with the same message...
[00:05:34]                     │ debg --- retry.try failed again with the same message...
[00:05:35]                     │ debg --- retry.try failed again with the same message...
[00:05:35]                     │ debg --- retry.try failed again with the same message...
[00:05:36]                     │ debg --- retry.try failed again with the same message...
[00:05:36]                     │ debg --- retry.try failed again with the same message...
[00:05:37]                     │ debg --- retry.try failed again with the same message...
[00:05:37]                     │ debg --- retry.try failed again with the same message...
[00:05:38]                     │ debg --- retry.try failed again with the same message...
[00:05:38]                     │ debg --- retry.try failed again with the same message...
[00:05:39]                     │ debg --- retry.try failed again with the same message...
[00:05:39]                     │ debg --- retry.try failed again with the same message...
[00:05:40]                     │ debg --- retry.try failed again with the same message...
[00:05:40]                     │ debg --- retry.try failed again with the same message...
[00:05:41]                     │ debg --- retry.try failed again with the same message...
[00:05:41]                     │ debg --- retry.try failed again with the same message...
[00:05:42]                     │ debg --- retry.try failed again with the same message...
[00:05:42]                     │ debg --- retry.try failed again with the same message...
[00:05:43]                     │ debg --- retry.try failed again with the same message...
[00:05:43]                     │ debg --- retry.try failed again with the same message...
[00:05:44]                     │ debg --- retry.try failed again with the same message...
[00:05:44]                     │ debg --- retry.try failed again with the same message...
[00:05:45]                     │ debg --- retry.try failed again with the same message...
[00:05:45]                     │ debg --- retry.try failed again with the same message...
[00:05:46]                     │ debg --- retry.try failed again with the same message...
[00:05:46]                     │ debg --- retry.try failed again with the same message...
[00:05:47]                     │ debg --- retry.try failed again with the same message...
[00:05:47]                     │ debg --- retry.try failed again with the same message...
[00:05:48]                     │ debg --- retry.try failed again with the same message...
[00:05:48]                     │ debg --- retry.try failed again with the same message...
[00:05:49]                     │ debg --- retry.try failed again with the same message...
[00:05:49]                     │ debg --- retry.try failed again with the same message...
[00:05:50]                     │ debg --- retry.try failed again with the same message...
[00:05:51]                     │ debg --- retry.try failed again with the same message...
[00:05:51]                     │ debg --- retry.try failed again with the same message...
[00:05:52]                     │ debg --- retry.try failed again with the same message...
[00:05:52]                     │ debg --- retry.try failed again with the same message...
[00:05:53]                     │ debg --- retry.try failed again with the same message...
[00:05:53]                     │ debg --- retry.try failed again with the same message...
[00:05:54]                     │ debg --- retry.try failed again with the same message...
[00:05:54]                     │ debg --- retry.try failed again with the same message...
[00:05:55]                     │ debg --- retry.try failed again with the same message...
[00:05:55]                     │ debg --- retry.try failed again with the same message...
[00:05:56]                     │ debg --- retry.try failed again with the same message...
[00:05:56]                     │ debg --- retry.try failed again with the same message...
[00:05:57]                     │ debg --- retry.try failed again with the same message...
[00:05:57]                     │ debg --- retry.try failed again with the same message...
[00:05:58]                     │ debg --- retry.try failed again with the same message...
[00:05:58]                     │ debg --- retry.try failed again with the same message...
[00:05:59]                     │ debg --- retry.try failed again with the same message...
[00:05:59]                     │ debg --- retry.try failed again with the same message...
[00:06:00]                     │ debg --- retry.try failed again with the same message...
[00:06:00]                     │ debg --- retry.try failed again with the same message...
[00:06:01]                     │ debg --- retry.try failed again with the same message...
[00:06:01]                     │ debg --- retry.try failed again with the same message...
[00:06:02]                     │ debg --- retry.try failed again with the same message...
[00:06:02]                     │ debg --- retry.try failed again with the same message...
[00:06:03]                     │ debg --- retry.try failed again with the same message...
[00:06:03]                     │ debg --- retry.try failed again with the same message...
[00:06:04]                     │ debg --- retry.try failed again with the same message...
[00:06:04]                     │ debg --- retry.try failed again with the same message...
[00:06:05]                     │ debg --- retry.try failed again with the same message...
[00:06:05]                     │ debg --- retry.try failed again with the same message...
[00:06:06]                     │ debg --- retry.try failed again with the same message...
[00:06:06]                     │ debg --- retry.try failed again with the same message...
[00:06:07]                     │ debg --- retry.try failed again with the same message...
[00:06:07]                     │ debg --- retry.try failed again with the same message...
[00:06:08]                     │ debg --- retry.try failed again with the same message...
[00:06:08]                     │ debg --- retry.try failed again with the same message...
[00:06:09]                     │ debg --- retry.try failed again with the same message...
[00:06:09]                     │ debg --- retry.try failed again with the same message...
[00:06:10]                     │ debg --- retry.try failed again with the same message...
[00:06:10]                     │ debg --- retry.try failed again with the same message...
[00:06:11]                     │ debg --- retry.try failed again with the same message...
[00:06:11]                     │ debg --- retry.try failed again with the same message...
[00:06:12]                     │ debg --- retry.try failed again with the same message...
[00:06:12]                     │ debg --- retry.try failed again with the same message...
[00:06:13]                     │ debg --- retry.try failed again with the same message...
[00:06:13]                     │ debg --- retry.try failed again with the same message...
[00:06:14]                     │ debg --- retry.try failed again with the same message...
[00:06:15]                     │ debg --- retry.try failed again with the same message...
[00:06:15]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts
[00:06:15]                     │      retry.try timeout: Error: expected 0 to be above 0
[00:06:15]                     │     at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:06:15]                     │     at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:317:8)
[00:06:15]                     │     at Function.greaterThan (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:531:15)
[00:06:15]                     │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:225:69
[00:06:15]                     │     at runMicrotasks (<anonymous>)
[00:06:15]                     │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:06:15]                     │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:15]                     │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:15]                     │     at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:15]                     │     at ensureAlertIsRunning (/dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
[00:06:15]                     │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
[00:06:15]                     │     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:06:15]                     │   Error: retry.try timeout: Error: expected 0 to be above 0
[00:06:15]                     │       at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:06:15]                     │       at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:317:8)
[00:06:15]                     │       at Function.greaterThan (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:531:15)
[00:06:15]                     │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:225:69
[00:06:15]                     │       at runMicrotasks (<anonymous>)
[00:06:15]                     │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:06:15]                     │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:15]                     │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:15]                     │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:15]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
[00:06:15]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
[00:06:15]                     │       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:06:15]                     │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:06:15]                     │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:06:15]                     │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:15]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
[00:06:15]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
[00:06:15]                     │       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:06:15]                     │ 
[00:06:15]                     │ 

Stack Trace

Error: retry.try timeout: Error: expected 0 to be above 0
    at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:317:8)
    at Function.greaterThan (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:531:15)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:225:69
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
    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:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
    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)

Kibana Pipeline / general / X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook in "alerting api integration security and spaces enabled"
[00:04:02]           └-: Alerts
[00:04:02]             └-> "before all" hook in "Alerts"
[00:04:02]             └-: legacy alerts
[00:04:02]               └-> "before all" hook in "legacy alerts"
[00:04:02]               └-> "before all" hook in "legacy alerts"
[00:04:02]                 │ debg creating space
[00:04:03]                 │ debg created space
[00:04:03]                 │ debg creating space
[00:04:04]                 │ debg created space
[00:04:04]                 │ debg creating space
[00:04:05]                 │ debg created space
[00:04:05]                 │ debg creating user no_kibana_privileges
[00:04:05]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [no_kibana_privileges]
[00:04:05]                 │ debg created user no_kibana_privileges
[00:04:05]                 │ debg creating role no_kibana_privileges
[00:04:05]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [no_kibana_privileges]
[00:04:05]                 │ debg creating user superuser
[00:04:05]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [superuser]
[00:04:05]                 │ debg created user superuser
[00:04:05]                 │ debg creating user global_read
[00:04:06]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [global_read]
[00:04:06]                 │ debg created user global_read
[00:04:06]                 │ debg creating role global_read_role
[00:04:06]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [global_read_role]
[00:04:06]                 │ debg creating user space_1_all
[00:04:06]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [space_1_all]
[00:04:06]                 │ debg created user space_1_all
[00:04:06]                 │ debg creating role space_1_all_role
[00:04:06]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [space_1_all_role]
[00:04:06]                 │ debg creating user space_1_all_with_restricted_fixture
[00:04:06]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [space_1_all_with_restricted_fixture]
[00:04:06]                 │ debg created user space_1_all_with_restricted_fixture
[00:04:06]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:06]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [space_1_all_with_restricted_fixture_role]
[00:04:06]                 │ debg creating user space_1_all_alerts_none_actions
[00:04:06]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [space_1_all_alerts_none_actions]
[00:04:06]                 │ debg created user space_1_all_alerts_none_actions
[00:04:06]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:04:06]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [space_1_all_alerts_none_actions_role]
[00:04:06]               └-: alerts
[00:04:06]                 └-> "before all" hook in "alerts"
[00:04:06]                 └-> "before all" hook in "alerts"
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Loading "mappings.json"
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Loading "data.json"
[00:04:06]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/i6iUy-ZwS8Glgl5rtSU3KQ] deleting index
[00:04:06]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/Q53uUGVPQZqIwFLK93zQ7g] deleting index
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Deleted existing index ".kibana_8.0.0_001"
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Created index ".kibana_1"
[00:04:06]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Created index ".kibana_task_manager_1"
[00:04:06]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] ".kibana_task_manager_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Indexed 6 docs into ".kibana_1"
[00:04:06]                   │ info [x-pack/test/functional/es_archives/alerts_legacy] Indexed 5 docs into ".kibana_task_manager_1"
[00:04:06]                   │ debg Migrating saved objects
[00:04:06]                   │ proc [kibana]   log   [21:17:44.521] [info][savedobjects-service] [.kibana_task_manager] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 7ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.526] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 15ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.527] [info][savedobjects-service] [.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 6ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.529] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.533] [info][savedobjects-service] [.kibana_task_manager] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.535] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/6E7yoN9qQDWupYFQZ8VjeA]]
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_task_manager_1/EvXGNV9hSzyaQHKyA6S_EA]]
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:04:06]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_task_manager_1]
[00:04:06]                   │ proc [kibana]   log   [21:17:44.615] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 80ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.624] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 9ms.
[00:04:06]                   │ proc [kibana]   log   [21:17:44.633] [info][savedobjects-service] [.kibana_task_manager] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 100ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:04:06]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:04:06]                   │ proc [kibana]   log   [21:17:44.642] [info][savedobjects-service] [.kibana_task_manager] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 9ms.
[00:04:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:04:06]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:04:07]                   │ proc [kibana]   log   [21:17:44.699] [error][plugins][taskManager] Failed to poll for work: {"took":5,"timed_out":false,"total":5,"updated":0,"deleted":0,"batches":1,"version_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1,"throttled_until_millis":0,"failures":[{"index":".kibana_task_manager_1","id":"task:e39a02f0-eea4-11ea-a285-352ee3aecffa","cause":{"type":"cluster_block_exception","reason":"index [.kibana_task_manager_1] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403},{"index":".kibana_task_manager_1","id":"task:e9c069d0-eea4-11ea-a285-352ee3aecffa","cause":{"type":"cluster_block_exception","reason":"index [.kibana_task_manager_1] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403},{"index":".kibana_task_manager_1","id":"task:e8885f00-eea4-11ea-a285-352ee3aecffa","cause":{"type":"cluster_block_exception","reason":"index [.kibana_task_manager_1] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403},{"index":".kibana_task_manager_1","id":"task:e616c2c0-eea4-11ea-a285-352ee3aecffa","cause":{"type":"cluster_block_exception","reason":"index [.kibana_task_manager_1] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403},{"index":".kibana_task_manager_1","id":"task:e4df5430-eea4-11ea-a285-352ee3aecffa","cause":{"type":"cluster_block_exception","reason":"index [.kibana_task_manager_1] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403}]}
[00:04:07]                   │ proc [kibana]   log   [21:17:44.723] [info][savedobjects-service] [.kibana_task_manager] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 81ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.725] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 101ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.749] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 26ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.751] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 26ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.762] [info][savedobjects-service] [.kibana] Starting to process 6 documents.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.763] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 11ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.765] [info][savedobjects-service] [.kibana_task_manager] Starting to process 5 documents.
[00:04:07]                   │ proc [kibana]   log   [21:17:44.766] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 16ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.027] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 262ms.
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp/bnNY6FxZTnqa_XMhZU_DiA] update_mapping [_doc]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.085] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 323ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.087] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 60ms.
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/qlZQg557RJClTlGEJ9XVhQ] update_mapping [_doc]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.094] [info][savedobjects-service] [.kibana_task_manager] Processed 5 documents out of 5.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.094] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 7ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.100] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 6ms.
[00:04:07]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_task_manager_8.0.0_reindex_temp/bnNY6FxZTnqa_XMhZU_DiA]]
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/qlZQg557RJClTlGEJ9XVhQ] update_mapping [_doc]
[00:04:07]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.185] [info][savedobjects-service] [.kibana_task_manager] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 85ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.191] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 106ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.197] [info][savedobjects-service] [.kibana] Processed 6 documents out of 6.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.197] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.200] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_task_manager_8.0.0_reindex_temp] metadata
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:04:07]                   │ 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:04:07]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/qlZQg557RJClTlGEJ9XVhQ]]
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_001/R_jCzbImRf-0lYSaeDLNlg] create_mapping
[00:04:07]                   │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.315] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 115ms.
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:04:07]                   │ proc [kibana]   log   [21:17:45.345] [info][savedobjects-service] [.kibana_task_manager] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 160ms.
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:04:07]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.349] [info][savedobjects-service] [.kibana_task_manager] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.353] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.359] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.362] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_8.0.0_001/R_jCzbImRf-0lYSaeDLNlg] update_mapping [_doc]
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/TRhTGyZDRXaHIYY5hSkKZA] create_mapping
[00:04:07]                   │ proc [kibana]   log   [21:17:45.419] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 57ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.452] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 137ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.456] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:04:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:04:07]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.tasks]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.459] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.468] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 9ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.470] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:04:07]                   │ info [o.e.t.LoggingTaskListener] [node-01] 14635 finished with response BulkByScrollResponse[took=21ms,timed_out=false,sliceId=null,updated=5,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.534] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 115ms.
[00:04:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/TRhTGyZDRXaHIYY5hSkKZA] update_mapping [_doc]
[00:04:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_reindex_temp/bnNY6FxZTnqa_XMhZU_DiA] deleting index
[00:04:07]                   │ proc [kibana]   log   [21:17:45.573] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 103ms.
[00:04:07]                   │ info [o.e.t.LoggingTaskListener] [node-01] 14680 finished with response BulkByScrollResponse[took=27.7ms,timed_out=false,sliceId=null,updated=6,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:07]                   │ proc [kibana]   log   [21:17:45.606] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 72ms.
[00:04:07]                   │ proc [kibana]   log   [21:17:45.607] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 1093ms
[00:04:08]                   │ proc [kibana]   log   [21:17:45.679] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 106ms.
[00:04:08]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/qlZQg557RJClTlGEJ9XVhQ] deleting index
[00:04:08]                   │ proc [kibana]   log   [21:17:45.727] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 48ms.
[00:04:08]                   │ proc [kibana]   log   [21:17:45.727] [info][savedobjects-service] [.kibana] Migration completed after 1216ms
[00:04:08]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] Migrated Kibana index after loading Kibana data
[00:04:08]                   │ debg [x-pack/test/functional/es_archives/alerts_legacy] Ensured that default space exists in .kibana
[00:04:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana-alerting-test-data] creating index, cause [api], templates [], shards [1]/[1]
[00:04:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana-test-authorization] creating index, cause [api], templates [], shards [1]/[1]
[00:04:08]                   │ debg creating space
[00:04:08]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/TRhTGyZDRXaHIYY5hSkKZA] update_mapping [_doc]
[00:04:09]                   │ debg created space
[00:04:09]                   │ debg creating space
[00:04:10]                   │ proc [kibana]   log   [21:17:47.754] [warning][plugins][taskManager] Detected potential performance issue with Task Manager. Set 'xpack.task_manager.monitored_stats_health_verbose_log.enabled: true' in your Kibana.yml to enable debug logging
[00:04:10]                   │ proc [kibana]   log   [21:17:47.993] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.989Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.989Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792403185000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"f785e6fd-6401-567a-bf00-204bbf1fd347\"","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:47.994] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.993Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.993Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:05.197Z","schedule_delay":30792402796000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"84ddfcfe-5861-5156-9c3a-0deb623eab56\"","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:47.995] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.994Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.994Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b7f1f9d3-a78f-599d-9bf2-742925472199","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:03.152Z","schedule_delay":30792404842000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"b7f1f9d3-a78f-599d-9bf2-742925472199","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"b7f1f9d3-a78f-599d-9bf2-742925472199\"","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:47.996] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.995Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.995Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792403191000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"9c265e85-d6c5-5546-a802-d2830cb9ba75\"","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:47.997] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.996Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.996Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792403192000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b\"","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:48.086] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.989Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.989Z","end":"2021-08-26T21:17:48.083Z","duration":94000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792403185000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found"},"message":"test.always-firing:f785e6fd-6401-567a-bf00-204bbf1fd347: execution failed","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:48.090] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.995Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.995Z","end":"2021-08-26T21:17:48.089Z","duration":94000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792403191000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"9c265e85-d6c5-5546-a802-d2830cb9ba75","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/9c265e85-d6c5-5546-a802-d2830cb9ba75] not found"},"message":"test.always-firing:9c265e85-d6c5-5546-a802-d2830cb9ba75: execution failed","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:48.097] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.993Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.993Z","end":"2021-08-26T21:17:48.095Z","duration":102000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:05.197Z","schedule_delay":30792402796000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"84ddfcfe-5861-5156-9c3a-0deb623eab56","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/84ddfcfe-5861-5156-9c3a-0deb623eab56] not found"},"message":"test.always-firing:84ddfcfe-5861-5156-9c3a-0deb623eab56: execution failed","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:48.102] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.996Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.996Z","end":"2021-08-26T21:17:48.100Z","duration":104000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:04.804Z","schedule_delay":30792403192000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b] not found"},"message":"test.always-firing:7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b: execution failed","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:48.107] [warning][eventLog][plugins] invalid event logged: [kibana.task.schedule_delay]: "kibana.task.schedule_delay" must be a safe number; {"@timestamp":"2021-08-26T21:17:47.994Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:47.994Z","end":"2021-08-26T21:17:48.105Z","duration":111000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b7f1f9d3-a78f-599d-9bf2-742925472199","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2020-09-04T11:51:03.152Z","schedule_delay":30792404842000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"b7f1f9d3-a78f-599d-9bf2-742925472199","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/b7f1f9d3-a78f-599d-9bf2-742925472199] not found"},"message":"test.always-firing:b7f1f9d3-a78f-599d-9bf2-742925472199: execution failed","ecs":{"version":"1.8.0"}})
[00:04:10]                   │ proc [kibana]   log   [21:17:48.281] [warning][alerting][plugins] Unable to execute rule "f785e6fd-6401-567a-bf00-204bbf1fd347" in the "space1" space because Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:10]                   │ proc [kibana]   log   [21:17:48.282] [error][plugins][taskManager] Task alerting:test.always-firing "e39a02f0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found
[00:04:10]                   │ proc [kibana]   log   [21:17:48.290] [warning][alerting][plugins] Unable to execute rule "9c265e85-d6c5-5546-a802-d2830cb9ba75" in the "space1" space because Saved object [alert/9c265e85-d6c5-5546-a802-d2830cb9ba75] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:10]                   │ proc [kibana]   log   [21:17:48.299] [error][plugins][taskManager] Task alerting:test.always-firing "e616c2c0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/9c265e85-d6c5-5546-a802-d2830cb9ba75] not found
[00:04:10]                   │ proc [kibana]   log   [21:17:48.301] [warning][alerting][plugins] Unable to execute rule "84ddfcfe-5861-5156-9c3a-0deb623eab56" in the "space1" space because Saved object [alert/84ddfcfe-5861-5156-9c3a-0deb623eab56] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:10]                   │ proc [kibana]   log   [21:17:48.310] [error][plugins][taskManager] Task alerting:test.always-firing "e9c069d0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/84ddfcfe-5861-5156-9c3a-0deb623eab56] not found
[00:04:10]                   │ proc [kibana]   log   [21:17:48.317] [warning][alerting][plugins] Unable to execute rule "7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b" in the "space1" space because Saved object [alert/7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:10]                   │ proc [kibana]   log   [21:17:48.318] [error][plugins][taskManager] Task alerting:test.always-firing "e4df5430-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/7c0a5b08-9d90-5df1-9c97-4b50e4dd8e1b] not found
[00:04:10]                   │ proc [kibana]   log   [21:17:48.325] [warning][alerting][plugins] Unable to execute rule "b7f1f9d3-a78f-599d-9bf2-742925472199" in the "space1" space because Saved object [alert/b7f1f9d3-a78f-599d-9bf2-742925472199] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:10]                   │ proc [kibana]   log   [21:17:48.326] [error][plugins][taskManager] Task alerting:test.always-firing "e8885f00-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/b7f1f9d3-a78f-599d-9bf2-742925472199] not found
[00:04:10]                   │ debg created space
[00:04:10]                   │ debg creating space
[00:04:11]                   │ proc [kibana]   log   [21:17:49.123] [info][status] Kibana is now unavailable (was available)
[00:04:11]                   │ debg created space
[00:04:11]                   │ debg creating user no_kibana_privileges
[00:04:11]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [no_kibana_privileges]
[00:04:11]                   │ debg created user no_kibana_privileges
[00:04:11]                   │ debg creating role no_kibana_privileges
[00:04:11]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [no_kibana_privileges]
[00:04:11]                   │ debg creating user superuser
[00:04:12]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [superuser]
[00:04:12]                   │ debg created user superuser
[00:04:12]                   │ debg creating user global_read
[00:04:12]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [global_read]
[00:04:12]                   │ debg created user global_read
[00:04:12]                   │ debg creating role global_read_role
[00:04:12]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [global_read_role]
[00:04:12]                   │ debg creating user space_1_all
[00:04:12]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [space_1_all]
[00:04:12]                   │ debg created user space_1_all
[00:04:12]                   │ debg creating role space_1_all_role
[00:04:12]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [space_1_all_role]
[00:04:12]                   │ debg creating user space_1_all_with_restricted_fixture
[00:04:12]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [space_1_all_with_restricted_fixture]
[00:04:12]                   │ debg created user space_1_all_with_restricted_fixture
[00:04:12]                   │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:12]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [space_1_all_with_restricted_fixture_role]
[00:04:12]                   │ debg creating user space_1_all_alerts_none_actions
[00:04:12]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [space_1_all_alerts_none_actions]
[00:04:12]                   │ debg created user space_1_all_alerts_none_actions
[00:04:12]                   │ debg creating role space_1_all_alerts_none_actions_role
[00:04:12]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] updated role [space_1_all_alerts_none_actions_role]
[00:04:12]                 └-: superuser at space1
[00:04:12]                   └-> "before all" hook for "should schedule actions on legacy alerts"
[00:04:12]                   └-> "before all" hook for "should schedule actions on legacy alerts"
[00:04:12]                   └-> should schedule actions on legacy alerts
[00:04:12]                     └-> "before each" hook: global before each for "should schedule actions on legacy alerts"
[00:04:15]                     │ debg --- retry.try error: expected 0 to be above 0
[00:04:16]                     │ debg --- retry.try failed again with the same message...
[00:04:16]                     │ debg --- retry.try failed again with the same message...
[00:04:17]                     │ proc [kibana]   log   [21:17:54.675] [info][status] Kibana is now available (was unavailable)
[00:04:17]                     │ debg --- retry.try failed again with the same message...
[00:04:17]                     │ debg --- retry.try failed again with the same message...
[00:04:18]                     │ debg --- retry.try failed again with the same message...
[00:04:18]                     │ debg --- retry.try failed again with the same message...
[00:04:19]                     │ proc [kibana]   log   [21:17:56.776] [info][eventLog][plugins] event logged: {"@timestamp":"2021-08-26T21:17:56.775Z","event":{"provider":"alerting","action":"execute-start","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:56.775Z"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2021-08-26T21:17:54.454Z","schedule_delay":2321000000},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"message":"alert execution start: \"f785e6fd-6401-567a-bf00-204bbf1fd347\"","ecs":{"version":"1.8.0"}}
[00:04:19]                     │ proc [kibana]   log   [21:17:56.780] [info][eventLog][plugins] event logged: {"@timestamp":"2021-08-26T21:17:56.775Z","event":{"provider":"alerting","action":"execute","kind":"alert","category":["alertsFixture"],"start":"2021-08-26T21:17:56.775Z","end":"2021-08-26T21:17:56.779Z","duration":4000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"f785e6fd-6401-567a-bf00-204bbf1fd347","type_id":"test.always-firing","namespace":"space1"}],"task":{"scheduled":"2021-08-26T21:17:54.454Z","schedule_delay":2321000000},"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"rule":{"id":"f785e6fd-6401-567a-bf00-204bbf1fd347","license":"basic","category":"test.always-firing","ruleset":"alertsFixture"},"error":{"message":"Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found"},"message":"test.always-firing:f785e6fd-6401-567a-bf00-204bbf1fd347: execution failed","ecs":{"version":"1.8.0"}}
[00:04:19]                     │ proc [kibana]   log   [21:17:56.782] [warning][alerting][plugins] Unable to execute rule "f785e6fd-6401-567a-bf00-204bbf1fd347" in the "space1" space because Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:04:19]                     │ proc [kibana]   log   [21:17:56.783] [error][plugins][taskManager] Task alerting:test.always-firing "e39a02f0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/f785e6fd-6401-567a-bf00-204bbf1fd347] not found
[00:04:19]                     │ debg --- retry.try failed again with the same message...
[00:04:19]                     │ debg --- retry.try failed again with the same message...
[00:04:20]                     │ debg --- retry.try failed again with the same message...
[00:04:20]                     │ debg --- retry.try failed again with the same message...
[00:04:21]                     │ debg --- retry.try failed again with the same message...
[00:04:21]                     │ debg --- retry.try failed again with the same message...
[00:04:22]                     │ debg --- retry.try failed again with the same message...
[00:04:22]                     │ debg --- retry.try failed again with the same message...
[00:04:23]                     │ debg --- retry.try failed again with the same message...
[00:04:23]                     │ debg --- retry.try failed again with the same message...
[00:04:24]                     │ debg --- retry.try failed again with the same message...
[00:04:24]                     │ debg --- retry.try failed again with the same message...
[00:04:25]                     │ debg --- retry.try failed again with the same message...
[00:04:25]                     │ debg --- retry.try failed again with the same message...
[00:04:26]                     │ debg --- retry.try failed again with the same message...
[00:04:26]                     │ debg --- retry.try failed again with the same message...
[00:04:27]                     │ debg --- retry.try failed again with the same message...
[00:04:27]                     │ debg --- retry.try failed again with the same message...
[00:04:28]                     │ debg --- retry.try failed again with the same message...
[00:04:28]                     │ debg --- retry.try failed again with the same message...
[00:04:29]                     │ debg --- retry.try failed again with the same message...
[00:04:29]                     │ debg --- retry.try failed again with the same message...
[00:04:30]                     │ debg --- retry.try failed again with the same message...
[00:04:30]                     │ debg --- retry.try failed again with the same message...
[00:04:31]                     │ debg --- retry.try failed again with the same message...
[00:04:31]                     │ debg --- retry.try failed again with the same message...
[00:04:32]                     │ debg --- retry.try failed again with the same message...
[00:04:33]                     │ debg --- retry.try failed again with the same message...
[00:04:33]                     │ debg --- retry.try failed again with the same message...
[00:04:34]                     │ debg --- retry.try failed again with the same message...
[00:04:34]                     │ debg --- retry.try failed again with the same message...
[00:04:35]                     │ debg --- retry.try failed again with the same message...
[00:04:35]                     │ debg --- retry.try failed again with the same message...
[00:04:36]                     │ debg --- retry.try failed again with the same message...
[00:04:36]                     │ debg --- retry.try failed again with the same message...
[00:04:37]                     │ debg --- retry.try failed again with the same message...
[00:04:37]                     │ debg --- retry.try failed again with the same message...
[00:04:38]                     │ debg --- retry.try failed again with the same message...
[00:04:38]                     │ debg --- retry.try failed again with the same message...
[00:04:39]                     │ debg --- retry.try failed again with the same message...
[00:04:39]                     │ debg --- retry.try failed again with the same message...
[00:04:40]                     │ debg --- retry.try failed again with the same message...
[00:04:40]                     │ debg --- retry.try failed again with the same message...
[00:04:41]                     │ debg --- retry.try failed again with the same message...
[00:04:41]                     │ debg --- retry.try failed again with the same message...
[00:04:42]                     │ debg --- retry.try failed again with the same message...
[00:04:42]                     │ debg --- retry.try failed again with the same message...
[00:04:43]                     │ debg --- retry.try failed again with the same message...
[00:04:43]                     │ debg --- retry.try failed again with the same message...
[00:04:44]                     │ debg --- retry.try failed again with the same message...
[00:04:44]                     │ debg --- retry.try failed again with the same message...
[00:04:45]                     │ debg --- retry.try failed again with the same message...
[00:04:45]                     │ debg --- retry.try failed again with the same message...
[00:04:46]                     │ debg --- retry.try failed again with the same message...
[00:04:46]                     │ debg --- retry.try failed again with the same message...
[00:04:47]                     │ debg --- retry.try failed again with the same message...
[00:04:47]                     │ debg --- retry.try failed again with the same message...
[00:04:48]                     │ debg --- retry.try failed again with the same message...
[00:04:48]                     │ debg --- retry.try failed again with the same message...
[00:04:49]                     │ debg --- retry.try failed again with the same message...
[00:04:49]                     │ debg --- retry.try failed again with the same message...
[00:04:50]                     │ debg --- retry.try failed again with the same message...
[00:04:50]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/TRhTGyZDRXaHIYY5hSkKZA] update_mapping [_doc]
[00:04:50]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/TRhTGyZDRXaHIYY5hSkKZA] update_mapping [_doc]
[00:04:50]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/TRhTGyZDRXaHIYY5hSkKZA] update_mapping [_doc]
[00:04:50]                     │ proc [kibana]   log   [21:18:28.357] [warning][collector-set][plugins][usage-collection][usageCollection] ReferenceError: Cannot access 'error' before initialization
[00:04:50]                     │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/collectors/fleet_server_collector.js:43:27
[00:04:50]                     │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:04:50]                     │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:50]                     │ proc [kibana]     at getFleetServerUsage (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/collectors/fleet_server_collector.js:38:24)
[00:04:50]                     │ proc [kibana]     at UsageCollector.fetch (/dev/shm/workspace/kibana-build-15/x-pack/plugins/fleet/server/collectors/register.js:41:23)
[00:04:50]                     │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/src/plugins/usage_collection/server/collector/collector_set.js:104:21
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 32)
[00:04:50]                     │ proc [kibana]     at Object.bulkFetch (/dev/shm/workspace/kibana-build-15/src/plugins/usage_collection/server/collector/collector_set.js:91:25)
[00:04:50]                     │ proc [kibana]     at getKibana (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry/server/telemetry_collection/get_kibana.js:68:17)
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 3)
[00:04:50]                     │ proc [kibana]     at /dev/shm/workspace/kibana-build-15/src/plugins/telemetry/server/telemetry_collection/get_local_stats.js:79:76
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 0)
[00:04:50]                     │ proc [kibana]     at getLocalStats (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry/server/telemetry_collection/get_local_stats.js:78:10)
[00:04:50]                     │ proc [kibana]     at async Promise.all (index 0)
[00:04:50]                     │ proc [kibana]     at Object.getStatsWithXpack [as statsGetter] (/dev/shm/workspace/kibana-build-15/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.js:27:48)
[00:04:50]                     │ proc [kibana]     at TelemetryCollectionManagerPlugin.getUsageForCollection (/dev/shm/workspace/kibana-build-15/src/plugins/telemetry_collection_manager/server/plugin.js:256:19)
[00:04:50]                     │ proc [kibana]   log   [21:18:28.362] [warning][collector-set][plugins][usage-collection][usageCollection] Unable to fetch data from fleet collector
[00:04:50]                     │ debg --- retry.try failed again with the same message...
[00:04:51]                     │ debg --- retry.try failed again with the same message...
[00:04:51]                     │ debg --- retry.try failed again with the same message...
[00:04:52]                     │ debg --- retry.try failed again with the same message...
[00:04:52]                     │ debg --- retry.try failed again with the same message...
[00:04:53]                     │ debg --- retry.try failed again with the same message...
[00:04:53]                     │ debg --- retry.try failed again with the same message...
[00:04:54]                     │ debg --- retry.try failed again with the same message...
[00:04:54]                     │ debg --- retry.try failed again with the same message...
[00:04:55]                     │ debg --- retry.try failed again with the same message...
[00:04:56]                     │ debg --- retry.try failed again with the same message...
[00:04:56]                     │ debg --- retry.try failed again with the same message...
[00:04:57]                     │ debg --- retry.try failed again with the same message...
[00:04:57]                     │ debg --- retry.try failed again with the same message...
[00:04:58]                     │ debg --- retry.try failed again with the same message...
[00:04:58]                     │ debg --- retry.try failed again with the same message...
[00:04:59]                     │ debg --- retry.try failed again with the same message...
[00:04:59]                     │ debg --- retry.try failed again with the same message...
[00:05:00]                     │ debg --- retry.try failed again with the same message...
[00:05:00]                     │ debg --- retry.try failed again with the same message...
[00:05:01]                     │ debg --- retry.try failed again with the same message...
[00:05:01]                     │ debg --- retry.try failed again with the same message...
[00:05:02]                     │ debg --- retry.try failed again with the same message...
[00:05:02]                     │ debg --- retry.try failed again with the same message...
[00:05:03]                     │ debg --- retry.try failed again with the same message...
[00:05:03]                     │ debg --- retry.try failed again with the same message...
[00:05:04]                     │ debg --- retry.try failed again with the same message...
[00:05:04]                     │ debg --- retry.try failed again with the same message...
[00:05:05]                     │ debg --- retry.try failed again with the same message...
[00:05:05]                     │ debg --- retry.try failed again with the same message...
[00:05:06]                     │ debg --- retry.try failed again with the same message...
[00:05:06]                     │ debg --- retry.try failed again with the same message...
[00:05:07]                     │ debg --- retry.try failed again with the same message...
[00:05:07]                     │ debg --- retry.try failed again with the same message...
[00:05:08]                     │ debg --- retry.try failed again with the same message...
[00:05:08]                     │ debg --- retry.try failed again with the same message...
[00:05:09]                     │ debg --- retry.try failed again with the same message...
[00:05:09]                     │ debg --- retry.try failed again with the same message...
[00:05:10]                     │ debg --- retry.try failed again with the same message...
[00:05:10]                     │ debg --- retry.try failed again with the same message...
[00:05:11]                     │ debg --- retry.try failed again with the same message...
[00:05:11]                     │ debg --- retry.try failed again with the same message...
[00:05:12]                     │ debg --- retry.try failed again with the same message...
[00:05:12]                     │ debg --- retry.try failed again with the same message...
[00:05:13]                     │ debg --- retry.try failed again with the same message...
[00:05:13]                     │ debg --- retry.try failed again with the same message...
[00:05:14]                     │ debg --- retry.try failed again with the same message...
[00:05:14]                     │ debg --- retry.try failed again with the same message...
[00:05:15]                     │ debg --- retry.try failed again with the same message...
[00:05:15]                     │ debg --- retry.try failed again with the same message...
[00:05:16]                     │ debg --- retry.try failed again with the same message...
[00:05:16]                     │ debg --- retry.try failed again with the same message...
[00:05:17]                     │ debg --- retry.try failed again with the same message...
[00:05:17]                     │ debg --- retry.try failed again with the same message...
[00:05:18]                     │ debg --- retry.try failed again with the same message...
[00:05:18]                     │ debg --- retry.try failed again with the same message...
[00:05:19]                     │ debg --- retry.try failed again with the same message...
[00:05:20]                     │ debg --- retry.try failed again with the same message...
[00:05:20]                     │ debg --- retry.try failed again with the same message...
[00:05:21]                     │ debg --- retry.try failed again with the same message...
[00:05:21]                     │ debg --- retry.try failed again with the same message...
[00:05:22]                     │ debg --- retry.try failed again with the same message...
[00:05:22]                     │ debg --- retry.try failed again with the same message...
[00:05:23]                     │ debg --- retry.try failed again with the same message...
[00:05:23]                     │ debg --- retry.try failed again with the same message...
[00:05:24]                     │ debg --- retry.try failed again with the same message...
[00:05:24]                     │ debg --- retry.try failed again with the same message...
[00:05:25]                     │ debg --- retry.try failed again with the same message...
[00:05:25]                     │ debg --- retry.try failed again with the same message...
[00:05:26]                     │ debg --- retry.try failed again with the same message...
[00:05:26]                     │ debg --- retry.try failed again with the same message...
[00:05:27]                     │ debg --- retry.try failed again with the same message...
[00:05:27]                     │ debg --- retry.try failed again with the same message...
[00:05:28]                     │ debg --- retry.try failed again with the same message...
[00:05:28]                     │ debg --- retry.try failed again with the same message...
[00:05:29]                     │ debg --- retry.try failed again with the same message...
[00:05:29]                     │ debg --- retry.try failed again with the same message...
[00:05:30]                     │ debg --- retry.try failed again with the same message...
[00:05:30]                     │ debg --- retry.try failed again with the same message...
[00:05:31]                     │ debg --- retry.try failed again with the same message...
[00:05:31]                     │ debg --- retry.try failed again with the same message...
[00:05:32]                     │ debg --- retry.try failed again with the same message...
[00:05:32]                     │ debg --- retry.try failed again with the same message...
[00:05:33]                     │ debg --- retry.try failed again with the same message...
[00:05:33]                     │ debg --- retry.try failed again with the same message...
[00:05:34]                     │ debg --- retry.try failed again with the same message...
[00:05:34]                     │ debg --- retry.try failed again with the same message...
[00:05:35]                     │ debg --- retry.try failed again with the same message...
[00:05:35]                     │ debg --- retry.try failed again with the same message...
[00:05:36]                     │ debg --- retry.try failed again with the same message...
[00:05:36]                     │ debg --- retry.try failed again with the same message...
[00:05:37]                     │ debg --- retry.try failed again with the same message...
[00:05:37]                     │ debg --- retry.try failed again with the same message...
[00:05:38]                     │ debg --- retry.try failed again with the same message...
[00:05:38]                     │ debg --- retry.try failed again with the same message...
[00:05:39]                     │ debg --- retry.try failed again with the same message...
[00:05:39]                     │ debg --- retry.try failed again with the same message...
[00:05:40]                     │ debg --- retry.try failed again with the same message...
[00:05:40]                     │ debg --- retry.try failed again with the same message...
[00:05:41]                     │ debg --- retry.try failed again with the same message...
[00:05:41]                     │ debg --- retry.try failed again with the same message...
[00:05:42]                     │ debg --- retry.try failed again with the same message...
[00:05:42]                     │ debg --- retry.try failed again with the same message...
[00:05:43]                     │ debg --- retry.try failed again with the same message...
[00:05:44]                     │ debg --- retry.try failed again with the same message...
[00:05:44]                     │ debg --- retry.try failed again with the same message...
[00:05:45]                     │ debg --- retry.try failed again with the same message...
[00:05:45]                     │ debg --- retry.try failed again with the same message...
[00:05:46]                     │ debg --- retry.try failed again with the same message...
[00:05:46]                     │ debg --- retry.try failed again with the same message...
[00:05:47]                     │ debg --- retry.try failed again with the same message...
[00:05:47]                     │ debg --- retry.try failed again with the same message...
[00:05:48]                     │ debg --- retry.try failed again with the same message...
[00:05:48]                     │ debg --- retry.try failed again with the same message...
[00:05:49]                     │ debg --- retry.try failed again with the same message...
[00:05:49]                     │ debg --- retry.try failed again with the same message...
[00:05:50]                     │ debg --- retry.try failed again with the same message...
[00:05:50]                     │ debg --- retry.try failed again with the same message...
[00:05:51]                     │ debg --- retry.try failed again with the same message...
[00:05:51]                     │ debg --- retry.try failed again with the same message...
[00:05:52]                     │ debg --- retry.try failed again with the same message...
[00:05:52]                     │ debg --- retry.try failed again with the same message...
[00:05:53]                     │ debg --- retry.try failed again with the same message...
[00:05:53]                     │ debg --- retry.try failed again with the same message...
[00:05:54]                     │ debg --- retry.try failed again with the same message...
[00:05:54]                     │ debg --- retry.try failed again with the same message...
[00:05:55]                     │ debg --- retry.try failed again with the same message...
[00:05:55]                     │ debg --- retry.try failed again with the same message...
[00:05:56]                     │ debg --- retry.try failed again with the same message...
[00:05:56]                     │ debg --- retry.try failed again with the same message...
[00:05:57]                     │ debg --- retry.try failed again with the same message...
[00:05:57]                     │ debg --- retry.try failed again with the same message...
[00:05:58]                     │ debg --- retry.try failed again with the same message...
[00:05:58]                     │ debg --- retry.try failed again with the same message...
[00:05:59]                     │ debg --- retry.try failed again with the same message...
[00:05:59]                     │ debg --- retry.try failed again with the same message...
[00:06:00]                     │ debg --- retry.try failed again with the same message...
[00:06:00]                     │ debg --- retry.try failed again with the same message...
[00:06:01]                     │ debg --- retry.try failed again with the same message...
[00:06:01]                     │ debg --- retry.try failed again with the same message...
[00:06:02]                     │ debg --- retry.try failed again with the same message...
[00:06:02]                     │ debg --- retry.try failed again with the same message...
[00:06:03]                     │ debg --- retry.try failed again with the same message...
[00:06:03]                     │ debg --- retry.try failed again with the same message...
[00:06:04]                     │ debg --- retry.try failed again with the same message...
[00:06:04]                     │ debg --- retry.try failed again with the same message...
[00:06:05]                     │ debg --- retry.try failed again with the same message...
[00:06:05]                     │ debg --- retry.try failed again with the same message...
[00:06:06]                     │ debg --- retry.try failed again with the same message...
[00:06:06]                     │ debg --- retry.try failed again with the same message...
[00:06:07]                     │ debg --- retry.try failed again with the same message...
[00:06:07]                     │ debg --- retry.try failed again with the same message...
[00:06:08]                     │ debg --- retry.try failed again with the same message...
[00:06:08]                     │ debg --- retry.try failed again with the same message...
[00:06:09]                     │ debg --- retry.try failed again with the same message...
[00:06:10]                     │ debg --- retry.try failed again with the same message...
[00:06:10]                     │ debg --- retry.try failed again with the same message...
[00:06:11]                     │ debg --- retry.try failed again with the same message...
[00:06:11]                     │ debg --- retry.try failed again with the same message...
[00:06:12]                     │ debg --- retry.try failed again with the same message...
[00:06:12]                     │ debg --- retry.try failed again with the same message...
[00:06:13]                     │ debg --- retry.try failed again with the same message...
[00:06:13]                     │ debg --- retry.try failed again with the same message...
[00:06:14]                     │ debg --- retry.try failed again with the same message...
[00:06:14]                     │ debg --- retry.try failed again with the same message...
[00:06:15]                     │ debg --- retry.try failed again with the same message...
[00:06:15]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts
[00:06:15]                     │      retry.try timeout: Error: expected 0 to be above 0
[00:06:15]                     │     at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:06:15]                     │     at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:317:8)
[00:06:15]                     │     at Function.greaterThan (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:531:15)
[00:06:15]                     │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:225:69
[00:06:15]                     │     at runMicrotasks (<anonymous>)
[00:06:15]                     │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:06:15]                     │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:15]                     │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:15]                     │     at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:15]                     │     at ensureAlertIsRunning (/dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
[00:06:15]                     │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
[00:06:15]                     │     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:06:15]                     │   Error: retry.try timeout: Error: expected 0 to be above 0
[00:06:15]                     │       at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:06:15]                     │       at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:317:8)
[00:06:15]                     │       at Function.greaterThan (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:531:15)
[00:06:15]                     │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:225:69
[00:06:15]                     │       at runMicrotasks (<anonymous>)
[00:06:15]                     │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:06:15]                     │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:15]                     │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:15]                     │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:15]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
[00:06:15]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
[00:06:15]                     │       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:06:15]                     │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:06:15]                     │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:06:15]                     │       at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
[00:06:15]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
[00:06:15]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
[00:06:15]                     │       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:06:15]                     │ 
[00:06:15]                     │ 

Stack Trace

Error: retry.try timeout: Error: expected 0 to be above 0
    at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:317:8)
    at Function.greaterThan (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:531:15)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:225:69
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
    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:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:31:12)
    at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:214:13)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:85:15)
    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)

History

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

cc @YulNaumenko

@YulNaumenko
Copy link
Contributor Author

@elasticmachine merge upstream

@YulNaumenko YulNaumenko merged commit 6973f69 into elastic:prepare-alerting-so-to-sharecapable Aug 27, 2021
YulNaumenko added a commit that referenced this pull request Aug 31, 2021
* [Alerting] [8.0] Prepare for making alerting saved objects sharecapable (#109990)

* [Alerting] [8.0] Prepare for making alerting saved objects sharecapable

* removed v8 check

* removed link

* added no op migration

* fixed name

Co-authored-by: Kibana Machine <[email protected]>

* [Actions] [8.0] Prepare for making action saved objects sharecapable. (#109756)

* [Actions] [8.0] Prepare for making action saved objects sharecapable.

* added more tests

* made it compatible to merge to 7.x

* fixed due to comments

* fixed tests

* added tests

* fixed tests

* fixed due to comments

* added no-opactions migration

* fixed test

* [Task Manager][8.0] Added migrations to savedObject Ids for "actions:* and "alerting:*" task types (#109180)

* [Task Manager][8.0] Added migrations to savedObject Ids for "actions:* and "alerting:*" task types

* fixed due to comments

* fixed typo

* added more tests

* added unit test

* added func test

* added func tests

* fixed test

Co-authored-by: Kibana Machine <[email protected]>

* fixed merge

* fixed legacy tests

* fixed tests

* fixed eslint

* Update migrations.ts

fixed action task

* fixed due to comments

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting/RulesFramework Issues related to the Alerting Rules Framework Feature:Task Manager release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task Manager] [8.0] Add migrations for "actions:* and "alerting:*" task types
5 participants