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

[CI] MapperMurmur3ClientYamlTestSuiteIT test {yaml=mapper_murmur3/10_basic/Mapper Murmur3} failing #111678

Closed
elasticsearchmachine opened this issue Aug 7, 2024 · 4 comments
Assignees
Labels
low-risk An open issue or test failure that is a low risk to future releases :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

Build Scans:

Reproduction Line:

./gradlew ':plugins:mapper-murmur3:yamlRestTest' --tests "org.elasticsearch.index.mapper.murmur3.MapperMurmur3ClientYamlTestSuiteIT.test {yaml=mapper_murmur3/10_basic/Mumur3 script fields api}" -Dtests.seed=2EECA1EFC8499CB3 -Dtests.locale=it-IT -Dtests.timezone=America/Belize -Druntime.java=22

Applicable branches:
8.14

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [mapper_murmur3/10_basic:5]: expected [2xx] status code but api [indices.create] returned [400 Bad Request] [{"error":{"root_cause":[{"type":"resource_already_exists_exception","reason":"index [test/SiIDwXsySbaCjqtfAlxhEQ] already exists","index_uuid":"SiIDwXsySbaCjqtfAlxhEQ","index":"test","stack_trace":"[test/SiIDwXsySbaCjqtfAlxhEQ] org.elasticsearch.ResourceAlreadyExistsException: index [test/SiIDwXsySbaCjqtfAlxhEQ] already exists\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validateIndexName(MetadataCreateIndexService.java:177)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validate(MetadataCreateIndexService.java:1371)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:345)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:300)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$UnbatchedExecutor.execute(MasterService.java:568)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1059)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1022)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:232)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1675)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1672)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1267)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1246)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1570)\n"}],"type":"resource_already_exists_exception","reason":"index [test/SiIDwXsySbaCjqtfAlxhEQ] already exists","index_uuid":"SiIDwXsySbaCjqtfAlxhEQ","index":"test","stack_trace":"[test/SiIDwXsySbaCjqtfAlxhEQ] org.elasticsearch.ResourceAlreadyExistsException: index [test/SiIDwXsySbaCjqtfAlxhEQ] already exists\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validateIndexName(MetadataCreateIndexService.java:177)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validate(MetadataCreateIndexService.java:1371)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:345)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:300)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$UnbatchedExecutor.execute(MasterService.java:568)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1059)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1022)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:232)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1675)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1672)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1267)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1246)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1570)\n"},"status":400}]

Issue Reasons:

  • [8.14] 2 failures in test test {yaml=mapper_murmur3/10_basic/Mapper Murmur3} (0.3% fail rate in 593 executions)
  • [8.14] 2 failures in step amazonlinux-2023_platform-support-aws (11.8% fail rate in 17 executions)
  • [8.14] 2 failures in pipeline elasticsearch-periodic-platform-support (10.5% fail rate in 19 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

@elasticsearchmachine elasticsearchmachine added :Delivery/Build Build or test infrastructure >test-failure Triaged test failures from CI Team:Delivery Meta label for Delivery team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Aug 7, 2024
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-delivery (Team:Delivery)

@mark-vieira mark-vieira added :Search Foundations/Mapping Index mappings, including merging and defining field types and removed :Delivery/Build Build or test infrastructure labels Aug 7, 2024
@mark-vieira
Copy link
Contributor

Probably the same as #111677

@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Aug 7, 2024
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@elasticsearchmachine elasticsearchmachine removed the Team:Delivery Meta label for Delivery team label Aug 7, 2024
@cbuescher cbuescher added low-risk An open issue or test failure that is a low risk to future releases and removed needs:risk Requires assignment of a risk label (low, medium, blocker) labels Oct 29, 2024
@cbuescher cbuescher self-assigned this Nov 22, 2024
@cbuescher
Copy link
Member

cbuescher commented Jan 10, 2025

The latest failures I could find of this test suite are from Nov 22nd but with a different error message ("Unable to locate module 'mapper-murmur3'. Ensure you've added the following to the build script for project ':plugins:mapper-murmur3':") that was probably due to the PR that triggered those CI runs (since it touched some yaml test modules).

Before that the latest failure I could find with a "resource_already_exists_exception" was on Oct 28th, https://gradle-enterprise.elastic.co/s/lmkke2qtnsktg/tests/task/:plugins:mapper-murmur3:yamlRestTest/details/org.elasticsearch.index.mapper.murmur3.MapperMurmur3ClientYamlTestSuiteIT/test%20%7Byaml%3Dmapper_murmur3%2F10_basic%2FMurmur3%20docvalue_fields%20api%7D?top-execution=1

That error however is no uncommon with other test suites as well since it seems to be an infrequent problem of index creation in your yaml rest tests. Because of that I'm going to close this particular failure and spent some more time on trying to find if there are common patterns an potentially open a more general issue for this kind of failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-risk An open issue or test failure that is a low risk to future releases :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants