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] GeoBoundingBoxQueryGeoShapeIT testLimit2BoundingBox failing #72602

Closed
iverase opened this issue May 3, 2021 · 1 comment · Fixed by #72605
Closed

[CI] GeoBoundingBoxQueryGeoShapeIT testLimit2BoundingBox failing #72602

iverase opened this issue May 3, 2021 · 1 comment · Fixed by #72605
Labels
:Analytics/Geo Indexing, search aggregations of geo points and shapes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI

Comments

@iverase
Copy link
Contributor

iverase commented May 3, 2021

Test is failing after #70850

Build scan:
https://gradle-enterprise.elastic.co/s/py3dzaodrbg2o/tests/:server:internalClusterTest/org.elasticsearch.search.geo.GeoBoundingBoxQueryGeoShapeIT/testLimit2BoundingBox

Reproduction line:
./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.search.geo.GeoBoundingBoxQueryGeoShapeIT.testLimit2BoundingBox" -Dtests.seed=D3765D3D92140835 -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dtests.locale=ru -Dtests.timezone=America/Argentina/San_Juan -Druntime.java=11

Applicable branches:
master

Reproduces locally?:
Yes

Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.search.geo.GeoBoundingBoxQueryGeoShapeIT&tests.test=testLimit2BoundingBox

Failure excerpt:

org.elasticsearch.index.mapper.MapperParsingException: Failed to parse mapping: using deprecated parameters [strategy] in mapper [location] of type [geo_shape] is no longer allowed

  at __randomizedtesting.SeedInfo.seed([D3765D3D92140835:EF8E03E81CBDEDC3]:0)
  at org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:288)
  at org.elasticsearch.index.mapper.MapperService.mergeAndApplyMappings(MapperService.java:266)
  at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:250)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:983)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$2(MetadataCreateIndexService.java:408)
  at org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:628)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:406)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:483)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:369)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:376)
  at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:293)
  at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:48)
  at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:686)
  at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:308)
  at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:203)
  at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:140)
  at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:139)
  at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:177)
  at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:669)
  at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:241)
  at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:204)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  at java.lang.Thread.run(Thread.java:834)

  Caused by: java.lang.IllegalArgumentException: using deprecated parameters [strategy] in mapper [location] of type [geo_shape] is no longer allowed

    at org.elasticsearch.index.mapper.GeoShapeFieldMapper.lambda$static$0(GeoShapeFieldMapper.java:150)
    at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:318)
    at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:237)
    at org.elasticsearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:153)
    at org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:102)
    at org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:96)
    at org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:286)
    at org.elasticsearch.index.mapper.MapperService.mergeAndApplyMappings(MapperService.java:266)
    at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:250)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:983)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$2(MetadataCreateIndexService.java:408)
    at org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:628)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:406)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:483)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:369)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:376)
    at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:293)
    at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:48)
    at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:686)
    at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:308)
    at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:203)
    at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:140)
    at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:139)
    at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:177)
    at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:669)
    at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:241)
    at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:204)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.lang.Thread.run(Thread.java:834)

@iverase iverase added :Analytics/Geo Indexing, search aggregations of geo points and shapes >test-failure Triaged test failures from CI labels May 3, 2021
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label May 3, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Geo Indexing, search aggregations of geo points and shapes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants