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

[FlakyTest]org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.testGeoHexGridBucket #260

Open
heemin32 opened this issue Apr 19, 2023 · 0 comments
Labels

Comments

@heemin32
Copy link
Collaborator

What is the bug?

REPRODUCE WITH: ./gradlew ':integTest' --tests "org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.testGeoHexGridBucket" -Dtests.seed=9906CEDA8615A7A5 -Dtests.security.manager=false -Dtests.locale=mk -Dtests.timezone=Asia/Atyrau -Druntime.java=17

org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT > testGeoHexGridBucket FAILED
    java.lang.IllegalStateException: Duplicate key POINT (180.0 0.0) (attempted merging values 847eb57ffffffff and 847eb57ffffffff)
        at __randomizedtesting.SeedInfo.seed([9906CEDA8615A7A5:5BDBA61A9B340B0D]:0)
        at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:135)
        at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:182)
        at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
        at java.base/java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180)
        at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104)
        at java.base/java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:711)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
        at org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.generateRandomPointH3CellMap(GeoHexAggregationIT.java:170)
        at org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.testGeoHexGridBucket(GeoHexAggregationIT.java:64)

How can one reproduce the bug?

REPRODUCE WITH: ./gradlew ':integTest' --tests "org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.testGeoHexGridBucket" -Dtests.seed=9906CEDA8615A7A5 -Dtests.security.manager=false -Dtests.locale=mk -Dtests.timezone=Asia/Atyrau -Druntime.java=17

What is the expected behavior?
Pass the test

@heemin32 heemin32 added the good first issue Good for newcomers label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants