-
Notifications
You must be signed in to change notification settings - Fork 25.8k
GeoWKTShapeParserTests#testParseGeometryCollection fails with an IllegalArgumentException #37894
Copy link
Copy link
Closed
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>test-failureTriaged test failures from CITriaged test failures from CI
Description
This reproduces for me locally with the line below. It seems to only fail on master, and not 6.x.
Link to the build:https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+corretto-periodic/ES_BUILD_JAVA=java11,label=amazon/75/
Command to reproduce:
./gradlew :server:unitTest \
-Dtests.seed=31C073EB0CC10A18 \
-Dtests.class=org.elasticsearch.common.geo.GeoWKTShapeParserTests \
-Dtests.method="testParseGeometryCollection" \
-Dtests.security.manager=true \
-Dtests.locale=fr-FR \
-Dtests.timezone=America/Danmarkshavn \
-Dcompiler.java=11 \
-Druntime.java=8
Relevant excerpt from the logs:
ERROR 0.60s | GeoWKTShapeParserTests.testParseGeometryCollection <<< FAILURES!
> Throwable #1: java.lang.IllegalArgumentException: the list of shapes cannot be null or empty
> at __randomizedtesting.SeedInfo.seed([31C073EB0CC10A18:BF67513903E6CFA7]:0)
> at org.elasticsearch.geo.geometry.GeometryCollection.<init>(GeometryCollection.java:40)
> at org.elasticsearch.common.geo.builders.GeometryCollectionBuilder.buildGeometry(GeometryCollectionBuilder.java:195)
> at org.elasticsearch.common.geo.GeoWKTShapeParserTests.testParseGeometryCollection(GeoWKTShapeParserTests.java:441)
> at java.lang.Thread.run(Thread.java:748)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>test-failureTriaged test failures from CITriaged test failures from CI
Type
Fields
Give feedbackNo fields configured for issues without a type.