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] ClientYamlTestSuiteIT test {yaml=indices.create/10_basic/Create lookup index} failing #115605

Closed
elasticsearchmachine opened this issue Oct 24, 2024 · 3 comments · Fixed by #115659
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Search Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

Build Scans:

Reproduction Line:

./gradlew ":rest-api-spec:yamlRestTest" --tests "org.elasticsearch.test.rest.ClientYamlTestSuiteIT" -Dtests.method="test {yaml=indices.create/10_basic/Create lookup index}" -Dtests.seed=D55844A275A5FAFB -Dtests.locale=en-FJ -Dtests.timezone=Pacific/Honolulu -Druntime.java=22

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [indices.create/10_basic:162]: expected [2xx] status code but api [indices.create] returned [400 Bad Request] [{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"index with [lookup] mode must have [index.number_of_shards] set to 1 or unset; provided 2","stack_trace":"org.elasticsearch.ElasticsearchException$1: index with [lookup] mode must have [index.number_of_shards] set to 1 or unset; provided 2\n\tat [email protected]/org.elasticsearch.ElasticsearchException.guessRootCauses(ElasticsearchException.java:706)\n\tat [email protected]/org.elasticsearch.ElasticsearchException.generateFailureXContent(ElasticsearchException.java:634)\n\tat [email protected]/org.elasticsearch.rest.RestResponse.build(RestResponse.java:187)\n\tat [email protected]/org.elasticsearch.rest.RestResponse.<init>(RestResponse.java:146)\n\tat [email protected]/org.elasticsearch.rest.RestResponse.<init>(RestResponse.java:117)\n\tat [email protected]/org.elasticsearch.rest.action.RestActionListener.onFailure(RestActionListener.java:54)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.ActionListener$3.onFailure(ActionListener.java:410)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:215)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onFailure(ActionListenerImplementations.java:346)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.ActionListener$3.onFailure(ActionListener.java:410)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onFailure(ActionListenerImplementations.java:346)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.ActionListener$3.onFailure(ActionListener.java:410)\n\tat [email protected]/org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:235)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$DelegatingResponseActionListener.acceptException(ActionListenerImplementations.java:188)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$DelegatingResponseActionListener.onFailure(ActionListenerImplementations.java:193)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.cluster.routing.allocation.allocator.AllocationActionListener.lambda$notifyListenerFailed$1(AllocationActionListener.java:53)\n\tat [email protected]/org.elasticsearch.cluster.routing.allocation.allocator.AllocationActionListener.executeInContext(AllocationActionListener.java:59)\n\tat [email protected]/org.elasticsearch.cluster.routing.allocation.allocator.AllocationActionListener.notifyListenerFailed(AllocationActionListener.java:53)\n\tat [email protected]/org.elasticsearch.cluster.routing.allocation.allocator.AllocationActionListener$1.onFailure(AllocationActionListener.java:85)\n\tat [email protected]/org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:92)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:335)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$ExecutionResult.notifyFailure(MasterService.java:1003)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$ExecutionResult.onClusterStateUnchanged(MasterService.java:966)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:257)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1685)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:452)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1682)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1277)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:452)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1256)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1023)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\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)\nCaused by: java.lang.IllegalArgumentException: index with [lookup] mode must have [index.number_of_shards] set to 1 or unset; provided 2\n\tat [email protected]/org.elasticsearch.index.IndexMode$4.validateWithOtherSettings(IndexMode.java:321)\n\tat [email protected]/org.elasticsearch.index.IndexSettings$2.validate(IndexSettings.java:683)\n\tat [email protected]/org.elasticsearch.index.IndexSettings$2.validate(IndexSettings.java:677)\n\tat [email protected]/org.elasticsearch.common.settings.Setting.get(Setting.java:558)\n\tat [email protected]/org.elasticsearch.common.settings.Setting.get(Setting.java:530)\n\tat [email protected]/org.elasticsearch.common.settings.Setting.get(Setting.java:689)\n\tat [email protected]/org.elasticsearch.common.settings.AbstractScopedSettings.get(AbstractScopedSettings.java:747)\n\tat [email protected]/org.elasticsearch.index.IndexSettings.<init>(IndexSettings.java:929)\n\tat [email protected]/org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:735)\n\tat [email protected]/org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:707)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:498)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:621)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:446)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:325)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$UnbatchedExecutor.execute(MasterService.java:573)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1069)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1032)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:244)\n\t... 11 more\n"}],"type":"illegal_argument_exception","reason":"index with [lookup] mode must have [index.number_of_shards] set to 1 or unset; provided 2","stack_trace":"java.lang.IllegalArgumentException: index with [lookup] mode must have [index.number_of_shards] set to 1 or unset; provided 2\n\tat [email protected]/org.elasticsearch.index.IndexMode$4.validateWithOtherSettings(IndexMode.java:321)\n\tat [email protected]/org.elasticsearch.index.IndexSettings$2.validate(IndexSettings.java:683)\n\tat [email protected]/org.elasticsearch.index.IndexSettings$2.validate(IndexSettings.java:677)\n\tat [email protected]/org.elasticsearch.common.settings.Setting.get(Setting.java:558)\n\tat [email protected]/org.elasticsearch.common.settings.Setting.get(Setting.java:530)\n\tat [email protected]/org.elasticsearch.common.settings.Setting.get(Setting.java:689)\n\tat [email protected]/org.elasticsearch.common.settings.AbstractScopedSettings.get(AbstractScopedSettings.java:747)\n\tat [email protected]/org.elasticsearch.index.IndexSettings.<init>(IndexSettings.java:929)\n\tat [email protected]/org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:735)\n\tat [email protected]/org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:707)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:498)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:621)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:446)\n\tat [email protected]/org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:325)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$UnbatchedExecutor.execute(MasterService.java:573)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1069)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1032)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:244)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1685)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:452)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1682)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1277)\n\tat [email protected]/org.elasticsearch.action.ActionListener.run(ActionListener.java:452)\n\tat [email protected]/org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1256)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1023)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\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:

  • [main] 2 failures in test test {yaml=indices.create/10_basic/Create lookup index} (15.4% fail rate in 13 executions)

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

@elasticsearchmachine elasticsearchmachine added :Search Relevance/Analysis How text is split into tokens >test-failure Triaged test failures from CI labels Oct 24, 2024
elasticsearchmachine added a commit that referenced this issue Oct 24, 2024
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch main

Mute Reasons:

  • [main] 2 failures in test test {yaml=indices.create/10_basic/Create lookup index} (15.4% fail rate in 13 executions)

Build Scans:

@elasticsearchmachine elasticsearchmachine added needs:risk Requires assignment of a risk label (low, medium, blocker) Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Oct 24, 2024
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-search-relevance (Team:Search Relevance)

georgewallace pushed a commit to georgewallace/elasticsearch that referenced this issue Oct 25, 2024
@benwtrent
Copy link
Member

Looks like the test mute was late: #115608

benwtrent added a commit to benwtrent/elasticsearch that referenced this issue Oct 25, 2024
benwtrent added a commit that referenced this issue Oct 25, 2024
* Unmuting test issue #115605

* fixing

---------

Co-authored-by: Elastic Machine <[email protected]>
jfreden pushed a commit to jfreden/elasticsearch that referenced this issue Nov 4, 2024
jfreden pushed a commit to jfreden/elasticsearch that referenced this issue Nov 4, 2024
* Unmuting test issue elastic#115605

* fixing

---------

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Search Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants