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 at the same time #148258

Closed
kibanamachine opened this issue Jan 1, 2023 · 1 comment · 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

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-3a15db9253c66d31/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-3a15db9253c66d31/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-3a15db9253c66d31/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-3a15db9253c66d31/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/root/index.ts:75:14)
    at async Promise.all (index 2)
    at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-3a15db9253c66d31/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/migrations/multiple_kibana_nodes.test.ts:189:5)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 1, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 1, 2023
@kibanamachine kibanamachine added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jan 1, 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 1, 2023
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.

2 participants