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/group6 - split .kibana index into multiple system indices failure cases when the .kibana migrator fails on the UPDATE_TARGET_MAPPINGS_PROPERTIES state is capable of successfully performing the split migration in subsequent restart #174309

Closed
kibanamachine opened this issue Jan 4, 2024 · 4 comments
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 4, 2024

A test failed on a tracked branch

Error: Command failed with exit code 1: ./bin/elasticsearch-keystore create
Exception in thread "main" org.elasticsearch.common.settings.SettingsException: Failed to load settings from [elasticsearch.yml]
	at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1249)
	at org.elasticsearch.node.InternalSettingsPreparer.loadConfigWithSubstitutions(InternalSettingsPreparer.java:126)
	at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:52)
	at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:110)
	at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:54)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
	at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:94)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
	at org.elasticsearch.cli.Command.main(Command.java:50)
	at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:64)
Caused by: org.elasticsearch.xcontent.XContentParseException: [85:23] Duplicate field 'xpack.security.enabled'
 at [Source: (ByteArrayInputStream); line: 85, column: 23]
	at org.elasticsearch.xcontent.provider.json.JsonXContentParser.newXContentParseException(JsonXContentParser.java:52)
	at org.elasticsearch.xcontent.provider.json.JsonXContentParser.nextFieldName(JsonXContentParser.java:71)
	at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:768)
	at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:736)
	at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1245)
	... 9 more
Caused by: com.fasterxml.jackson.core.JsonParseException: Duplicate field 'xpack.security.enabled'
 at [Source: (ByteArrayInputStream); line: 85, column: 23]
	at com.fasterxml.jackson.core.json.JsonReadContext._checkDup(JsonReadContext.java:243)
	at com.fasterxml.jackson.core.json.JsonReadContext.setCurrentName(JsonReadContext.java:237)
	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:482)
	at com.fasterxml.jackson.core.JsonParser.nextFieldName(JsonParser.java:1091)
	at org.elasticsearch.xcontent.provider.json.JsonXContentParser.nextFieldName(JsonXContentParser.java:69)
	... 12 more
    at makeError (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at configureKeystore (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-es/src/install/install_archive.ts:98:3)
    at installArchive (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-es/src/install/install_archive.ts:74:3)
    at installSnapshot (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-es/src/install/install_snapshot.ts:64:10)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-es/src/cluster.ts:118:31
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-tooling-log/src/tooling_log.ts:84:18
    at Cluster.installSnapshot (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-es/src/cluster.ts:117:12)
    at TestCluster.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/kbn-test/src/es/test_es_cluster.ts:243:24)
    at startES (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/packages/core/test-helpers/core-test-helpers-kbn-server/src/create_root.ts:268:7)
    at startElasticsearch (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/migrations/kibana_migrator_test_kit.ts:110:10)
    at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-b43b563fdb5e18f6/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/migrations/group6/single_migrator_failures.test.ts:68:18)

First failure: CI Build - main

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

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 4, 2024
@kibanamachine kibanamachine reopened this Sep 12, 2024
@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

@gsoldevila
Copy link
Contributor

Addressed by #193699, #193328, #193856, #193696

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

No branches or pull requests

4 participants