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

[Upgrade Assistant] Fix getFlatSettings() request #89616

Merged
merged 6 commits into from
Feb 1, 2021

Conversation

alisonelizabeth
Copy link
Contributor

This fixes a regression of #89207.

I incorrectly migrated:

      const flatSettings = await callAsUser('transport.request', {
        path: `/${encodeURIComponent(indexName)}?flat_settings=true`,
      });

to await esClient.indices.getSettings() instead of await esClient.indices.get(); indices.getSettings() will only return the index settings and not the mappings.

This was caught in the backport PR (#89435), since we are checking for types there. I've updated the tests as part of this PR, however, note that it passed originally since we were mocking the response correctly.

@alisonelizabeth alisonelizabeth added v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes Feature:Upgrade Assistant v7.12.0 labels Jan 28, 2021
@alisonelizabeth
Copy link
Contributor Author

@elasticmachine merge upstream

@alisonelizabeth alisonelizabeth marked this pull request as ready for review January 29, 2021 19:58
@alisonelizabeth alisonelizabeth requested a review from a team as a code owner January 29, 2021 19:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@jloleysens
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Great finding and thanks for fixing this @alisonelizabeth ! I did not re-test locally, since I tested the previous refactor locally and everything seemed to go OK.

Would it be worth adding a test to confirm that mappings + settings we expect on the reindexed index are present? From the code it looks like the result of this call is being used here:

const { settings, mappings } = transformFlatSettings(flatSettings);

@alisonelizabeth
Copy link
Contributor Author

Thanks for the review @jloleysens! I've added a line to the existing reindexing integration test to verify mappings exist on the new index.

@alisonelizabeth
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

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 2 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
[00:04:01]           └-: Alerts
[00:04:01]             └-> "before all" hook
[00:04:01]             └-: legacy alerts
[00:04:01]               └-> "before all" hook
[00:04:01]               └-: alerts
[00:04:01]                 └-> "before all" hook
[00:04:01]                 └-> "before all" hook
[00:04:01]                   │ info [alerts_legacy] Loading "mappings.json"
[00:04:01]                   │ info [alerts_legacy] Loading "data.json"
[00:04:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001/qkIB7VceSzWzNgu8SY4P_A] deleting index
[00:04:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_001/JekOMCXARFOdUqcqhjV7wA] deleting index
[00:04:01]                   │ info [alerts_legacy] Deleted existing index [".kibana_8.0.0_001",".kibana_task_manager_8.0.0_001"]
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:02]                   │ info [alerts_legacy] Created index ".kibana_1"
[00:04:02]                   │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_1] creating index, cause [api], templates [], shards [1]/[0]
[00:04:02]                   │ info [alerts_legacy] Created index ".kibana_task_manager_1"
[00:04:02]                   │ debg [alerts_legacy] ".kibana_task_manager_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:02]                   │ info [alerts_legacy] Indexed 6 docs into ".kibana_1"
[00:04:02]                   │ info [alerts_legacy] Indexed 5 docs into ".kibana_task_manager_1"
[00:04:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_1/pP92nuSYRyia-SLN1YllIg] update_mapping [_doc]
[00:04:02]                   │ debg Migrating saved objects
[00:04:02]                   │ proc [kibana]   log   [19:09:10.054] [info][savedobjects-service] [.kibana_task_manager] INIT -> SET_SOURCE_WRITE_BLOCK
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] adding block write to indices [[.kibana_task_manager_1/0G2_d-YrQ5CaWydp8qvVoQ]]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.067] [info][savedobjects-service] [.kibana] INIT -> SET_SOURCE_WRITE_BLOCK
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] adding block write to indices [[.kibana_1/pP92nuSYRyia-SLN1YllIg]]
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] completed adding block write to indices [.kibana_task_manager_1]
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] completed adding block write to indices [.kibana_1]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.117] [info][savedobjects-service] [.kibana_task_manager] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.133] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:04:02]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:04:02]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.207] [info][savedobjects-service] [.kibana_task_manager] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:04:02]                   │ proc [kibana]   log   [19:09:10.222] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:04:02]                   │ proc [kibana]   log   [19:09:10.227] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:04:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_reindex_temp/oexpOIpXQje9FGotH4FR3A] update_mapping [_doc]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.234] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:04:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_reindex_temp/JyqOLCQ7Slile3NKG2ErUw] update_mapping [_doc]
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:04:02]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] updating number_of_replicas to [0] for indices [.tasks]
[00:04:02]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] 11843 finished with response BulkByScrollResponse[took=85ms,timed_out=false,sliceId=null,updated=0,created=6,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:02]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] 11835 finished with response BulkByScrollResponse[took=40.4ms,timed_out=false,sliceId=null,updated=0,created=5,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.339] [info][savedobjects-service] [.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] adding block write to indices [[.kibana_task_manager_8.0.0_reindex_temp/oexpOIpXQje9FGotH4FR3A]]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.344] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] adding block write to indices [[.kibana_8.0.0_reindex_temp/JyqOLCQ7Slile3NKG2ErUw]]
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] completed adding block write to indices [.kibana_task_manager_8.0.0_reindex_temp]
[00:04:02]                   │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:04:02]                   │ proc [kibana]   log   [19:09:10.407] [info][savedobjects-service] [.kibana_task_manager] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] applying create index request using existing index [.kibana_task_manager_8.0.0_reindex_temp] metadata
[00:04:02]                   │ proc [kibana]   log   [19:09:10.422] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:04:02]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:04:02]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:04:02]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:04:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_001/WU3Uu5vXS1S38rGciENr0Q] create_mapping
[00:04:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001/eAeX3N1eTsedgQXOSz1aSg] create_mapping
[00:04:02]                   │ proc [kibana]   log   [19:09:10.578] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:04:02]                   │ proc [kibana]   log   [19:09:10.581] [info][savedobjects-service] [.kibana_task_manager] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:04:02]                   │ proc [kibana]   log   [19:09:10.589] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:04:02]                   │ proc [kibana]   log   [19:09:10.594] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:04:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_001/WU3Uu5vXS1S38rGciENr0Q] update_mapping [_doc]
[00:04:02]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] 11933 finished with response BulkByScrollResponse[took=19.4ms,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:02]                   │ proc [kibana]   log   [19:09:10.676] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:04:02]                   │ proc [kibana]   log   [19:09:10.716] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:04:02]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_task_manager_8.0.0_reindex_temp/oexpOIpXQje9FGotH4FR3A] deleting index
[00:04:02]                   │ proc [kibana]   log   [19:09:10.758] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:04:02]                   │ proc [kibana]   log   [19:09:10.759] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 713ms
[00:04:03]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001/eAeX3N1eTsedgQXOSz1aSg] update_mapping [_doc]
[00:04:03]                   │ proc [kibana]   log   [19:09:10.908] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-01T19:09:10.902Z","event":{"provider":"alerting","action":"execute","start":"2021-02-01T19:09:10.902Z","end":"2021-02-01T19:09:10.907Z","duration":5000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"d41a6abb-b93b-46df-a80a-926221ea847c","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/d41a6abb-b93b-46df-a80a-926221ea847c] not found"},"message":"test.always-firing:d41a6abb-b93b-46df-a80a-926221ea847c: execution failed","ecs":{"version":"1.6.0"}}
[00:04:03]                   │ proc [kibana]   log   [19:09:10.911] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-01T19:09:10.902Z","event":{"provider":"alerting","action":"execute","start":"2021-02-01T19:09:10.902Z","end":"2021-02-01T19:09:10.910Z","duration":8000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"5cc59319-74ee-4edc-8646-a79ea91067cd","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/5cc59319-74ee-4edc-8646-a79ea91067cd] not found"},"message":"test.always-firing:5cc59319-74ee-4edc-8646-a79ea91067cd: execution failed","ecs":{"version":"1.6.0"}}
[00:04:03]                   │ proc [kibana]   log   [19:09:10.913] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-01T19:09:10.902Z","event":{"provider":"alerting","action":"execute","start":"2021-02-01T19:09:10.902Z","end":"2021-02-01T19:09:10.912Z","duration":10000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"6ee9630a-a20e-44af-9465-217a3717d2ab","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/6ee9630a-a20e-44af-9465-217a3717d2ab] not found"},"message":"test.always-firing:6ee9630a-a20e-44af-9465-217a3717d2ab: execution failed","ecs":{"version":"1.6.0"}}
[00:04:03]                   │ proc [kibana]   log   [19:09:10.914] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-01T19:09:10.902Z","event":{"provider":"alerting","action":"execute","start":"2021-02-01T19:09:10.902Z","end":"2021-02-01T19:09:10.914Z","duration":12000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"362e362b-a137-4aa2-9434-43e3d0d84a34","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/362e362b-a137-4aa2-9434-43e3d0d84a34] not found"},"message":"test.always-firing:362e362b-a137-4aa2-9434-43e3d0d84a34: execution failed","ecs":{"version":"1.6.0"}}
[00:04:03]                   │ proc [kibana]   log   [19:09:10.917] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-01T19:09:10.901Z","event":{"provider":"alerting","action":"execute","start":"2021-02-01T19:09:10.902Z","end":"2021-02-01T19:09:10.916Z","duration":14000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b384be60-ec53-4b26-857e-0253ee55b277","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/b384be60-ec53-4b26-857e-0253ee55b277] not found"},"message":"test.always-firing:b384be60-ec53-4b26-857e-0253ee55b277: execution failed","ecs":{"version":"1.6.0"}}
[00:04:03]                   │ proc [kibana]   log   [19:09:10.918] [error][alerting][alerts][plugins][plugins] error updating alert execution status for test.always-firing:d41a6abb-b93b-46df-a80a-926221ea847c Saved object index alias [.kibana_8.0.0] not found: index_not_found_exception
[00:04:03]                   │ proc [kibana]   log   [19:09:10.919] [error][plugins][taskManager] Task alerting:test.always-firing "e616c2c0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/d41a6abb-b93b-46df-a80a-926221ea847c] not found
[00:04:03]                   │ proc [kibana]   log   [19:09:10.920] [error][alerting][alerts][plugins][plugins] error updating alert execution status for test.always-firing:5cc59319-74ee-4edc-8646-a79ea91067cd Saved object index alias [.kibana_8.0.0] not found: index_not_found_exception
[00:04:03]                   │ proc [kibana]   log   [19:09:10.920] [error][plugins][taskManager] Task alerting:test.always-firing "e8885f00-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/5cc59319-74ee-4edc-8646-a79ea91067cd] not found
[00:04:03]                   │ proc [kibana]   log   [19:09:10.921] [error][alerting][alerts][plugins][plugins] error updating alert execution status for test.always-firing:6ee9630a-a20e-44af-9465-217a3717d2ab Saved object index alias [.kibana_8.0.0] not found: index_not_found_exception
[00:04:03]                   │ proc [kibana]   log   [19:09:10.922] [error][plugins][taskManager] Task alerting:test.always-firing "e9c069d0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/6ee9630a-a20e-44af-9465-217a3717d2ab] not found
[00:04:03]                   │ proc [kibana]   log   [19:09:10.922] [error][alerting][alerts][plugins][plugins] error updating alert execution status for test.always-firing:362e362b-a137-4aa2-9434-43e3d0d84a34 Saved object index alias [.kibana_8.0.0] not found: index_not_found_exception
[00:04:03]                   │ proc [kibana]   log   [19:09:10.923] [error][plugins][taskManager] Task alerting:test.always-firing "e4df5430-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/362e362b-a137-4aa2-9434-43e3d0d84a34] not found
[00:04:03]                   │ proc [kibana]   log   [19:09:10.924] [error][alerting][alerts][plugins][plugins] error updating alert execution status for test.always-firing:b384be60-ec53-4b26-857e-0253ee55b277 Saved object index alias [.kibana_8.0.0] not found: index_not_found_exception
[00:04:03]                   │ proc [kibana]   log   [19:09:10.924] [error][plugins][taskManager] Task alerting:test.always-firing "e39a02f0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/b384be60-ec53-4b26-857e-0253ee55b277] not found
[00:04:03]                   │ proc [kibana]   log   [19:09:11.493] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:04:03]                   │ proc [kibana]   log   [19:09:11.502] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:04:03]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001/eAeX3N1eTsedgQXOSz1aSg] update_mapping [_doc]
[00:04:03]                   │ proc [kibana]   log   [19:09:11.573] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:04:03]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] 12010 finished with response BulkByScrollResponse[took=24.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:03]                   │ proc [kibana]   log   [19:09:11.682] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:04:03]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_reindex_temp/JyqOLCQ7Slile3NKG2ErUw] deleting index
[00:04:03]                   │ proc [kibana]   log   [19:09:11.734] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:04:03]                   │ proc [kibana]   log   [19:09:11.735] [info][savedobjects-service] [.kibana] Migration completed after 1690ms
[00:04:03]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana-alerting-test-data] creating index, cause [api], templates [], shards [1]/[1]
[00:04:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana-test-authorization] creating index, cause [api], templates [], shards [1]/[1]
[00:04:04]                   │ debg creating space
[00:04:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001/eAeX3N1eTsedgQXOSz1aSg] update_mapping [_doc]
[00:04:04]                   │ debg created space
[00:04:04]                   │ debg creating space
[00:04:05]                   │ debg created space
[00:04:05]                   │ debg creating space
[00:04:06]                   │ debg created space
[00:04:06]                   │ debg creating user no_kibana_privileges
[00:04:06]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added user [no_kibana_privileges]
[00:04:06]                   │ debg created user no_kibana_privileges
[00:04:06]                   │ debg creating role no_kibana_privileges
[00:04:06]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added role [no_kibana_privileges]
[00:04:06]                   │ debg creating user superuser
[00:04:06]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added user [superuser]
[00:04:06]                   │ debg created user superuser
[00:04:06]                   │ debg creating user global_read
[00:04:07]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added user [global_read]
[00:04:07]                   │ debg created user global_read
[00:04:07]                   │ debg creating role global_read_role
[00:04:07]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added role [global_read_role]
[00:04:07]                   │ debg creating user space_1_all
[00:04:07]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added user [space_1_all]
[00:04:07]                   │ debg created user space_1_all
[00:04:07]                   │ debg creating role space_1_all_role
[00:04:07]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added role [space_1_all_role]
[00:04:07]                   │ debg creating user space_1_all_with_restricted_fixture
[00:04:07]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added user [space_1_all_with_restricted_fixture]
[00:04:07]                   │ debg created user space_1_all_with_restricted_fixture
[00:04:07]                   │ debg creating role space_1_all_with_restricted_fixture_role
[00:04:07]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added role [space_1_all_with_restricted_fixture_role]
[00:04:07]                   │ debg creating user space_1_all_alerts_none_actions
[00:04:07]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added user [space_1_all_alerts_none_actions]
[00:04:07]                   │ debg created user space_1_all_alerts_none_actions
[00:04:07]                   │ debg creating role space_1_all_alerts_none_actions_role
[00:04:07]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] added role [space_1_all_alerts_none_actions_role]
[00:04:07]                 └-: superuser at space1
[00:04:07]                   └-> "before all" hook
[00:04:07]                   └-> "before all" hook
[00:04:07]                   └-> should schedule actions on legacy alerts
[00:04:07]                     └-> "before each" hook: global before each
[00:04:09]                     │ debg --- retry.try error: expected 0 to be above 0
[00:04:10]                     │ debg --- retry.try failed again with the same message...
[00:04:10]                     │ debg --- retry.try failed again with the same message...
[00:04:11]                     │ debg --- retry.try failed again with the same message...
[00:04:11]                     │ debg --- retry.try failed again with the same message...
[00:04:12]                     │ debg --- retry.try failed again with the same message...
[00:04:12]                     │ debg --- retry.try failed again with the same message...
[00:04:13]                     │ debg --- retry.try failed again with the same message...
[00:04:13]                     │ debg --- retry.try failed again with the same message...
[00:04:14]                     │ debg --- retry.try failed again with the same message...
[00:04:14]                     │ debg --- retry.try failed again with the same message...
[00:04:15]                     │ debg --- retry.try failed again with the same message...
[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: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: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: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: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]                     │ 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]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612204233287206387] [.kibana_8.0.0_001/eAeX3N1eTsedgQXOSz1aSg] update_mapping [_doc]
[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: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: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: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: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: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]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts
[00:06:09]                     │      retry.try timeout: Error: expected 0 to be above 0
[00:06:09]                     │     at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:100:11)
[00:06:09]                     │     at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:317:8)
[00:06:09]                     │     at Function.greaterThan (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:531:15)
[00:06:09]                     │     at /dev/shm/workspace/parallel/24/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:196:64
[00:06:09]                     │     at runMicrotasks (<anonymous>)
[00:06:09]                     │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:06:09]                     │     at runAttempt (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:09]                     │     at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:09]                     │     at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
[00:06:09]                     │     at ensureAlertIsRunning (/dev/shm/workspace/parallel/24/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
[00:06:09]                     │     at Context.<anonymous> (/dev/shm/workspace/parallel/24/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
[00:06:09]                     │     at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:06:09]                     │   Error: retry.try timeout: Error: expected 0 to be above 0
[00:06:09]                     │       at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:100:11)
[00:06:09]                     │       at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:317:8)
[00:06:09]                     │       at Function.greaterThan (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:531:15)
[00:06:09]                     │       at /dev/shm/workspace/parallel/24/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:196:64
[00:06:09]                     │       at runMicrotasks (<anonymous>)
[00:06:09]                     │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:06:09]                     │       at runAttempt (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:09]                     │       at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:09]                     │       at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
[00:06:09]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
[00:06:09]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
[00:06:09]                     │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:06:09]                     │       at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:06:09]                     │       at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:06:09]                     │       at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
[00:06:09]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
[00:06:09]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
[00:06:09]                     │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:06:09]                     │ 
[00:06:09]                     │ 

Stack Trace

Error: retry.try timeout: Error: expected 0 to be above 0
    at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:317:8)
    at Function.greaterThan (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:531:15)
    at /dev/shm/workspace/parallel/24/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:196:64
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runAttempt (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
    at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
    at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Upgrade Assistant release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants