elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.03k stars 24.83k forks source link

[CI] MapperMurmur3ClientYamlTestSuiteIT test {yaml=mapper_murmur3/10_basic/Mumur3 script fields api} failing #111677

Open elasticsearchmachine opened 3 months ago

elasticsearchmachine commented 3 months ago

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&_a=(controlGroupInput:(chainingSystem:HIERARCHICAL,controlStyle:twoLine,ignoreParentSettings:(ignoreFilters:!f,ignoreQuery:!f,ignoreTimerange:!f,ignoreValidations:!t),panels:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:task.keyword,grow:!t,id:'0c0c9cb8-ccd2-45c6-9b13-96bac4abc542',searchTechnique:wildcard,selectedOptions:!(),singleSelect:!t,title:'Gradle%20Task',width:medium),grow:!t,order:0,type:optionsListControl,width:small),'144933da-5c1b-4257-a969-7f43455a7901':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:name.keyword,grow:!t,id:'144933da-5c1b-4257-a969-7f43455a7901',searchTechnique:wildcard,selectedOptions:!('test%20%7Byaml%3Dmapper_murmur3%2F10_basic%2FMumur3%20script%20fields%20api%7D'),title:Test,width:medium),grow:!t,order:2,type:optionsListControl,width:medium),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:className.keyword,grow:!t,id:'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850',searchTechnique:wildcard,selectedOptions:!('org.elasticsearch.index.mapper.murmur3.MapperMurmur3ClientYamlTestSuiteIT'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))

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 org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validateIndexName(MetadataCreateIndexService.java:177)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validate(MetadataCreateIndexService.java:1371)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:345)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:300)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$UnbatchedExecutor.execute(MasterService.java:568)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1059)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1022)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:232)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1675)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1672)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1267)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1246)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/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 org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validateIndexName(MetadataCreateIndexService.java:177)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.validate(MetadataCreateIndexService.java:1371)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:345)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:300)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$UnbatchedExecutor.execute(MasterService.java:568)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1059)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1022)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:232)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1675)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1672)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1267)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.action.ActionListener.run(ActionListener.java:356)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1246)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.14.4-SNAPSHOT/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:

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

elasticsearchmachine commented 3 months ago

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

elasticsearchmachine commented 3 months ago

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

mark-vieira commented 3 months ago

Probably the same as https://github.com/elastic/elasticsearch/issues/111678

cbuescher commented 1 week ago

Labeling as low risk because this looks like a test infrastructure problem that is quite common. "resource_already_exists_exception" indicates that a formerly run test didn't clean up its index resources properly of there are timing issues.