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] MixedClusterClientYamlTestSuiteIT test {p0=search.vectors/40_knn_search/kNN search in _knn_search endpoint} failing #111767

Closed
elasticsearchmachine opened this issue Aug 9, 2024 · 1 comment · Fixed by #111794
Assignees
Labels
:Delivery/Build Build or test infrastructure needs:risk Requires assignment of a risk label (low, medium, blocker) Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Aug 9, 2024

Build Scans:

Reproduction Line:

./gradlew ':qa:mixed-cluster:v8.2.3#mixedClusterTest' -Dtests.class="org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT" -Dtests.method="test {p0=search.vectors/40_knn_search/kNN search in _knn_search endpoint}" -Dtests.seed=B8A02E30EC76880D -Dtests.bwc=true -Dtests.locale=ru -Dtests.timezone=Asia/Taipei -Druntime.java=22

Applicable branches:
8.15

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [search.vectors/40_knn_search:32]: expected [2xx] status code but api [indices.create] returned [400 Bad Request] [{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Missing required parameter [dims] for field [vector]","stack_trace":"org.elasticsearch.index.mapper.MapperParsingException: Missing required parameter [dims] for field [vector]\n\tat org.elasticsearch.xpack.vectors.mapper.DenseVectorFieldMapper$Builder.lambda$new$3(DenseVectorFieldMapper.java:79)\n\tat org.elasticsearch.index.mapper.FieldMapper$Parameter.validate(FieldMapper.java:804)\n\tat org.elasticsearch.index.mapper.FieldMapper$Builder.validate(FieldMapper.java:1198)\n\tat org.elasticsearch.index.mapper.FieldMapper$Builder.parse(FieldMapper.java:1343)\n\tat org.elasticsearch.index.mapper.FieldMapper$TypeParser.parse(FieldMapper.java:1403)\n\tat org.elasticsearch.index.mapper.FieldMapper$TypeParser.parse(FieldMapper.java:1378)\n\tat org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:271)\n\tat org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:216)\n\tat org.elasticsearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:160)\n\tat org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:99)\n\tat org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:94)\n\tat org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:370)\n\tat org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:347)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:1230)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$3(MetadataCreateIndexService.java:435)\n\tat org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:671)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:433)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:546)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:395)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:402)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:295)\n\tat org.elasticsearch.cluster.ClusterStateTaskExecutor$1.execute(ClusterStateTaskExecutor.java:95)\n\tat org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:901)\n\tat org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:871)\n\tat org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:253)\n\tat org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:153)\n\tat org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:114)\n\tat org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:170)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:714)\n\tat org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:260)\n\tat org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:223)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.lang.Thread.run(Thread.java:833)\n"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping: Missing required parameter [dims] for field [vector]","caused_by":{"type":"mapper_parsing_exception","reason":"Missing required parameter [dims] for field [vector]","stack_trace":"org.elasticsearch.index.mapper.MapperParsingException: Missing required parameter [dims] for field [vector]\n\tat org.elasticsearch.xpack.vectors.mapper.DenseVectorFieldMapper$Builder.lambda$new$3(DenseVectorFieldMapper.java:79)\n\tat org.elasticsearch.index.mapper.FieldMapper$Parameter.validate(FieldMapper.java:804)\n\tat org.elasticsearch.index.mapper.FieldMapper$Builder.validate(FieldMapper.java:1198)\n\tat org.elasticsearch.index.mapper.FieldMapper$Builder.parse(FieldMapper.java:1343)\n\tat org.elasticsearch.index.mapper.FieldMapper$TypeParser.parse(FieldMapper.java:1403)\n\tat org.elasticsearch.index.mapper.FieldMapper$TypeParser.parse(FieldMapper.java:1378)\n\tat org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:271)\n\tat org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:216)\n\tat org.elasticsearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:160)\n\tat org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:99)\n\tat org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:94)\n\tat org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:370)\n\tat org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:347)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:1230)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$3(MetadataCreateIndexService.java:435)\n\tat org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:671)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:433)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:546)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:395)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:402)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:295)\n\tat org.elasticsearch.cluster.ClusterStateTaskExecutor$1.execute(ClusterStateTaskExecutor.java:95)\n\tat org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:901)\n\tat org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:871)\n\tat org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:253)\n\tat org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:153)\n\tat org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:114)\n\tat org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:170)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:714)\n\tat org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:260)\n\tat org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:223)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.lang.Thread.run(Thread.java:833)\n"},"stack_trace":"org.elasticsearch.index.mapper.MapperParsingException: Failed to parse mapping: Missing required parameter [dims] for field [vector]\n\tat org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:372)\n\tat org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:347)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:1230)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$3(MetadataCreateIndexService.java:435)\n\tat org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:671)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:433)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:546)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:395)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:402)\n\tat org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:295)\n\tat org.elasticsearch.cluster.ClusterStateTaskExecutor$1.execute(ClusterStateTaskExecutor.java:95)\n\tat org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:901)\n\tat org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:871)\n\tat org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:253)\n\tat org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:153)\n\tat org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:114)\n\tat org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:170)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:714)\n\tat org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:260)\n\tat org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:223)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.lang.Thread.run(Thread.java:833)\nCaused by: org.elasticsearch.index.mapper.MapperParsingException: Missing required parameter [dims] for field [vector]\n\tat org.elasticsearch.xpack.vectors.mapper.DenseVectorFieldMapper$Builder.lambda$new$3(DenseVectorFieldMapper.java:79)\n\tat org.elasticsearch.index.mapper.FieldMapper$Parameter.validate(FieldMapper.java:804)\n\tat org.elasticsearch.index.mapper.FieldMapper$Builder.validate(FieldMapper.java:1198)\n\tat org.elasticsearch.index.mapper.FieldMapper$Builder.parse(FieldMapper.java:1343)\n\tat org.elasticsearch.index.mapper.FieldMapper$TypeParser.parse(FieldMapper.java:1403)\n\tat org.elasticsearch.index.mapper.FieldMapper$TypeParser.parse(FieldMapper.java:1378)\n\tat org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:271)\n\tat org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:216)\n\tat org.elasticsearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:160)\n\tat org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:99)\n\tat org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:94)\n\tat org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:370)\n\t... 22 more\n"},"status":400}]

Issue Reasons:

  • [8.15] 8 consecutive failures in test test {p0=search.vectors/40_knn_search/kNN search in _knn_search endpoint}
  • [8.15] 11 consecutive failures in step 8.2.3_bwc
  • [8.15] 11 consecutive failures in step 8.5.3_bwc
  • [8.15] 11 consecutive failures in step 8.0.1_bwc
  • [8.15] 11 consecutive failures in step 8.8.2_bwc
  • [8.15] 11 consecutive failures in step 8.4.3_bwc
  • [8.15] 11 consecutive failures in step 8.9.2_bwc
  • [8.15] 2 consecutive failures in step 8.1.3_bwc
  • [8.15] 11 consecutive failures in step 8.3.3_bwc
  • [8.15] 10 consecutive failures in step 8.7.1_bwc
  • [8.15] 10 consecutive failures in step 8.10.4_bwc
  • [8.15] 10 consecutive failures in step 8.6.2_bwc
  • [8.15] 117 failures in test test {p0=search.vectors/40_knn_search/kNN search in _knn_search endpoint} (74.1% fail rate in 158 executions)
  • [8.15] 11 failures in step 8.2.3_bwc (100.0% fail rate in 11 executions)
  • [8.15] 11 failures in step 8.5.3_bwc (100.0% fail rate in 11 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 9, 2024
@elasticsearchmachine
Copy link
Collaborator Author

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

@benwtrent benwtrent self-assigned this Aug 12, 2024
benwtrent added a commit to benwtrent/elasticsearch that referenced this issue Aug 14, 2024
We should do set up just in the test as that is the only place that uses
this index. This way we get around any weird bwc checks around
previously required parameters.

Additionally, this adjusts the bwc version skip as the code fix has been
backported.

closes: elastic#111765 closes:
elastic#111766 closes:
elastic#111767 closes:
elastic#111768
(cherry picked from commit d0bd1f2)
elasticsearchmachine pushed a commit that referenced this issue Aug 14, 2024
We should do set up just in the test as that is the only place that uses
this index. This way we get around any weird bwc checks around
previously required parameters.

Additionally, this adjusts the bwc version skip as the code fix has been
backported.

closes: #111765 closes:
#111766 closes:
#111767 closes:
#111768
(cherry picked from commit d0bd1f2)
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Sep 4, 2024
We should do set up just in the test as that is the only place that uses
this index. This way we get around any weird bwc checks around
previously required parameters.

Additionally, this adjusts the bwc version skip as the code fix has been
backported.

closes: elastic#111765 closes:
elastic#111766 closes:
elastic#111767 closes:
elastic#111768
davidkyle pushed a commit to davidkyle/elasticsearch that referenced this issue Sep 5, 2024
We should do set up just in the test as that is the only place that uses
this index. This way we get around any weird bwc checks around
previously required parameters.

Additionally, this adjusts the bwc version skip as the code fix has been
backported.

closes: elastic#111765 closes:
elastic#111766 closes:
elastic#111767 closes:
elastic#111768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure needs:risk Requires assignment of a risk label (low, medium, blocker) Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants