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/group3 - incompatible_cluster_routing_allocation retries the INIT action with a descriptive message when cluster settings are incompatible #158318

Closed
kibanamachine opened this issue May 23, 2023 · 54 comments · Fixed by #165319, #197429, #198794 or #204561
Assignees
Labels
failed-es-promotion 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 May 23, 2023

A test failed on a tracked branch

Error: Missing version for public endpoint GET /api/observability_onboarding/custom_logs/step/{name}
    at parseEndpoint (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/packages/kbn-server-route-repository/src/parse_endpoint.ts:23:11)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/x-pack/plugins/observability_onboarding/server/routes/register_routes.ts:39:47
    at Array.forEach (<anonymous>)
    at forEach (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/x-pack/plugins/observability_onboarding/server/routes/register_routes.ts:37:10)
    at ObservabilityOnboardingPlugin.setup (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/x-pack/plugins/observability_onboarding/server/plugin.ts:66:19)
    at PluginWrapper.setup (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/packages/core/plugins/core-plugins-server-internal/src/plugin.ts:105:26)
    at PluginsSystem.setup [as setupPlugins] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/packages/core/plugins/core-plugins-server-internal/src/plugins_system.ts:131:40)
    at PluginsService.setupPlugins [as setup] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/packages/core/plugins/core-plugins-server-internal/src/plugins_service.ts:166:52)
    at Server.setup (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/server.ts:348:26)
    at Root.setup (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/root/index.ts:66:14)
    at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-05ef58b5d43908c8/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/migrations/group3/incompatible_cluster_routing_allocation.test.ts:126:5)

First failure: CI Build - main

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

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

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@dokmic
Copy link
Contributor

dokmic commented Jul 28, 2023

This was caused by #157802, which is unrelated to the failed test. The issue can be safely closed.

@dokmic dokmic closed this as completed Jul 28, 2023
@kibanamachine kibanamachine reopened this Aug 7, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@afharo
Copy link
Member

afharo commented Aug 24, 2023

This time, caused by the same reason as #163273. Closing.

@afharo afharo closed this as completed Aug 24, 2023
andrew-goldstein added a commit to andrew-goldstein/kibana that referenced this issue Aug 28, 2023
…/jest_integration_node/jest-preset.js` to resolve the following error:

```
Jest Integration Tests
src/core/server/integration_tests/saved_objects/migrations/group3
incompatible_cluster_routing_allocation retries the INIT action with a descriptive message when cluster settings are incompatible

Failures in tracked branches: 4
elastic#158318

Buildkite Job
https://buildkite.com/elastic/kibana-pull-request/builds/153873#018a3421-e8f1-48e5-afdf-43496e4d1b0d

Jest encountered an unexpected token

Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

By default "node_modules" folder is ignored by transformers.

Here's what you can do:
 • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
 • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
 • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
 • If you need a custom transformation specify a "transform" option in your config.
 • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

You'll find more details and examples of these config options in the docs:
https://jestjs.io/docs/configuration
For information about custom transformations, see:
https://jestjs.io/docs/code-transformation

Details:

/var/lib/buildkite-agent/builds/kb-n2-4-spot-f55f234db461f53e/elastic/kibana-pull-request/kibana/node_modules/langsmith/dist/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { Client } from "./client.js";
```
@kibanamachine kibanamachine reopened this Aug 28, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@afharo
Copy link
Member

afharo commented Aug 28, 2023

The error is

Error: Plugin "translations" can't be started since it isn't set up.
    at PluginWrapper.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-2d4ab435ffee02e8/elastic/kibana-on-merge/kibana/packages/core/plugins/core-plugins-server-internal/src/plugin.ts:117:13)
    at PluginsSystem.start [as startPlugins] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-2d4ab435ffee02e8/elastic/kibana-on-merge/kibana/packages/core/plugins/core-plugins-server-internal/src/plugins_system.ts:188:40)
    at PluginsService.startPlugins [as start] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-2d4ab435ffee02e8/elastic/kibana-on-merge/kibana/packages/core/plugins/core-plugins-server-internal/src/plugins_service.ts:194:56)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Server.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-2d4ab435ffee02e8/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/server.ts:419:5)
    at Root.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-2d4ab435ffee02e8/elastic/kibana-on-merge/kibana/packages/core/root/core-root-server-internal/src/root/index.ts:77:14)

It seems unrelated again.

@afharo afharo closed this as completed Aug 28, 2023
@kibanamachine kibanamachine reopened this Aug 29, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@jbudz
Copy link
Member

jbudz commented Nov 25, 2024

Skipped

main: d44f70f

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@kibanamachine
Copy link
Contributor Author

@afharo afharo closed this as completed in 523372f Dec 17, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Dec 17, 2024
## Summary

Bumping the data archives to 8.last (8.18 at the moment) so that ES 9.0
finds it compatible.

Resolves elastic#158318.
Resolves elastic#163254.
Resolves elastic#163255.
Resolves elastic#166190.
Resolves elastic#166199.
Resolves elastic#167676.

(cherry picked from commit 523372f)
kibanamachine added a commit that referenced this issue Dec 17, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Update data archives for SO integration tests
(#204561)](#204561)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-17T14:18:48Z","message":"Update
data archives for SO integration tests (#204561)\n\n##
Summary\n\nBumping the data archives to 8.last (8.18 at the moment) so
that ES 9.0\nfinds it compatible.\n\nResolves #158318.\nResolves
#163254.\nResolves #163255.\nResolves #166190.\nResolves
#166199.\nResolves
#167676.","sha":"523372fd6e3c04134f70c9fc05ead121b6922181","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"title":"Update
data archives for SO integration
tests","number":204561,"url":"https://github.com/elastic/kibana/pull/204561","mergeCommit":{"message":"Update
data archives for SO integration tests (#204561)\n\n##
Summary\n\nBumping the data archives to 8.last (8.18 at the moment) so
that ES 9.0\nfinds it compatible.\n\nResolves #158318.\nResolves
#163254.\nResolves #163255.\nResolves #166190.\nResolves
#166199.\nResolves
#167676.","sha":"523372fd6e3c04134f70c9fc05ead121b6922181"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204561","number":204561,"mergeCommit":{"message":"Update
data archives for SO integration tests (#204561)\n\n##
Summary\n\nBumping the data archives to 8.last (8.18 at the moment) so
that ES 9.0\nfinds it compatible.\n\nResolves #158318.\nResolves
#163254.\nResolves #163255.\nResolves #166190.\nResolves
#166199.\nResolves
#167676.","sha":"523372fd6e3c04134f70c9fc05ead121b6922181"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <[email protected]>
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this issue Dec 19, 2024
## Summary

Bumping the data archives to 8.last (8.18 at the moment) so that ES 9.0
finds it compatible.

Resolves elastic#158318.
Resolves elastic#163254.
Resolves elastic#163255.
Resolves elastic#166190.
Resolves elastic#166199.
Resolves elastic#167676.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-es-promotion 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
8 participants