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

Failing test: Jest Integration Tests.src/core/server/integration_tests/saved_objects/migrations - migration v2 migrates saved objects normally when multiple Kibana instances are started with a small interval #148263

Closed
kibanamachine opened this issue Jan 2, 2023 · 7 comments · Fixed by #148534
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 2, 2023

A test failed on a tracked branch

Error: Unable to complete saved object migrations for the [.kibana] index: Multiple versions of Kibana are attempting a migration in parallel. Another Kibana instance on version 7.13.0 completed this migration (this instance is running 8.7.0). Ensure that all Kibana instances are running on same version and try again.
    at migrationStateActionMachine (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f1924b771bbd6d56/elastic/kibana-on-merge/kibana/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_action_machine.ts:174:9)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
    at SavedObjectsService.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f1924b771bbd6d56/elastic/kibana-on-merge/kibana/packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.ts:272:9)
    at Server.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f1924b771bbd6d56/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/server.ts:383:31)
    at Root.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f1924b771bbd6d56/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/root/index.ts:75:14)
    at async Promise.all (index 1)
    at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f1924b771bbd6d56/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/migrations/multiple_kibana_nodes.test.ts:208:5)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 2, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 2, 2023
@kibanamachine kibanamachine added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jan 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 2, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@pgayvallet
Copy link
Contributor

May be caused by / related to #147371

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

jbudz added a commit that referenced this issue Jan 3, 2023
@jbudz
Copy link
Member

jbudz commented Jan 3, 2023

Skipped

main: 1c3dc4a

@jloleysens
Copy link
Contributor

Related elastic/elasticsearch#92677

jloleysens added a commit that referenced this issue Jan 9, 2023
Closes #148258
Closes #148263

Related: elastic/elasticsearch#92677

--- 

Did not test in the flaky test runner (looks like we cannot run Jest
integration tests there?), ran locally 5 times without failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants