[
https://issues.apache.org/jira/browse/LUCENE-9470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ignacio Vera resolved LUCENE-9470.
----------------------------------
Fix Version/s: 8.7
Assignee: Ignacio Vera
Resolution: Fixed
> TestXYMultiPolygonShapeQueries reproducing failure
> --------------------------------------------------
>
> Key: LUCENE-9470
> URL: https://issues.apache.org/jira/browse/LUCENE-9470
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: master (9.0)
> Reporter: Michael McCandless
> Assignee: Ignacio Vera
> Priority: Major
> Fix For: 8.7
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I hit this while beasting tests against [~simonw]'s PR to add "merge segments
> during getReader":
> It reproduces for me on current
> ({{77a4d495cc553ec80001346376fd87d6b73a6059}}) mainline:
> {noformat}
> [junit4:pickseed] Seed property 'tests.seed' already defined:
> 50C3891F4E0641A4
> [junit4] <JUnit4> says g'day! Master seed: 50C3891F4E0641A4
> [junit4] Executing 1 suite with 1 JVM.
> [junit4]
> [junit4] Started J0 PID(1993475@localhost).
> [junit4] Suite: org.apache.lucene.document.TestXYMultiPolygonShapeQueries
> [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestXYMultiPolygonShapeQueries -Dtests.method=testRandomBig
> -Dtests.seed=50C3891F4E0641A4 -Dtests.nightly=true -Dtests.slow=true
> -Dtests.badap\
> ples=true
> -Dtests.linedocsfile=/l/simon/lucene/test-framework/src/resources/org/apache/lucene/util/2000mb.txt.gz
> -Dtests.locale=en-IM -Dtests.timezone=America/Lima -Dtests.asserts=true
> -Dtests.file.enco\
> ding=UTF-8
> [junit4] FAILURE 51.3s | TestXYMultiPolygonShapeQueries.testRandomBig <<<
> [junit4] > Throwable #1: java.lang.AssertionError: wrong hit (first of
> possibly more):
> [junit4] > FAIL: id=8233 should match but did not
> [junit4] > relation=CONTAINS
> [junit4] > query=XYShapeQuery: field=shape:[XYLINE([3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38, 3.4028235E38][3.40282\
> 3E38, 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.40282\
> 35E38][3.402823E38, 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38, 3.4028235E38][3.4\
> 028229E38, 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229\
> E38, 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3\
> .4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.40282\
> 35E38][3.4028229E38, 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028235E38][3.4028229E38,
> 3.4028235E38][3.4028229E38, 3.4028233E38][3.4028229E38, 3.4028233E38]\
> [3.4028229E38, 3.4028233E38][3.4028229E38, 3.4028233E38][3.4028229E38,
> 3.4028233E38][3.4028229E38, 3.4028233E38][3.4028229E38,
> 3.4028233E38][3.4028229E38, 3.4028233E38][3.4028229E38, 3.4028233E38][3.402\
> 8227E38, 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E3\
> 8, 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4\
> 028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233E38][3.4028227E38,
> 3.4028233E38][3.4028227E38, 3.4028233\
> ...
> 3E38][3.4028235E38, 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38, 3.4028233E38][\
> 3.4028235E38, 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028\
> 235E38, 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38\
> , 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028235E38, 3.4028233E38][3.4028235E38,
> 3.4028233E38][3.4028233E38, 3.4028233E38][3.4028233E38,
> 3.4028233E38][3.4028233E38, 3.40\
> 28233E38][3.4028233E38, 3.4028233E38][3.4028233E38,
> 3.4028233E38][3.4028233E38, 3.4028233E38][3.4028233E38,
> 3.4028233E38][3.4028233E38, 3.4028233E38][3.4028233E38,
> 3.4028233E38][3.4028233E38, 3.4028235E\
> 38][3.4028233E38, 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38, 3.4028235E38][3.\
> 4028233E38, 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.402823\
> 3E38, 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, \
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028235E38][3.4028233E38,
> 3.4028235E38][3.4028233E38, 3.4028\
> 235E38][3.402823E38, 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38, 3.4028235E38][3.402\
> 823E38, 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.4028235E38][3.402823E38,
> 3.4028235E38][3.402823E38, 3.402\
> 8235E38][3.402823E38, 3.4028235E38])
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([50C3891F4E0641A4:D794F490DF5F3D24]:0)
> [junit4] > at
> org.apache.lucene.document.BaseShapeTestCase.verifyRandomLineQueries(BaseShapeTestCase.java:469)
> [junit4] > at
> org.apache.lucene.document.BaseShapeTestCase.verifyRandomQueries(BaseShapeTestCase.java:270)
> [junit4] > at
> org.apache.lucene.document.BaseShapeTestCase.verify(BaseShapeTestCase.java:236)
> [junit4] > at
> org.apache.lucene.document.BaseShapeTestCase.doTestRandom(BaseShapeTestCase.java:139)
> [junit4] > at
> org.apache.lucene.document.TestXYMultiPolygonShapeQueries.testRandomBig(TestXYMultiPolygonShapeQueries.java:145)
> [junit4] > at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [junit4] > at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [junit4] > at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [junit4] > at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> [junit4] > at java.base/java.lang.Thread.run(Thread.java:834)
> [junit4] 2> NOTE: leaving temporary files on disk at:
> /l/simon/lucene/build/core/test/J0/temp/lucene.document.TestXYMultiPolygonShapeQueries_50C3891F4E0641A4-001
> [junit4] 2> NOTE: test params are: codec=Asserting(Lucene86):
> {id=Lucene84}
> , docValues:
> {id=DocValuesFormat(name=Lucene80)}
> , maxPointsInLeafNode=325, maxMBSortInHeap=5.333302723590623, sim=Asserting\
> (RandomSimilarity(queryNorm=true): {}), locale=en-IM, timezone=America/Lima
> [junit4] 2> NOTE: Linux 5.5.6-arch1-1 amd64/Oracle Corporation 11.0.6
> (64-bit)/cpus=128,threads=1,free=390585216,total=536870912
> [junit4] 2> NOTE: All tests run in this JVM: [TestXYMultiPolygonShapeQueries]
> [junit4] Completed [1/1 (1!)] in 51.54s, 1 test, 1 failure <<< FAILURES!
> [junit4]
> [junit4]
> [junit4] Tests with failures [seed: 50C3891F4E0641A4]:
> [junit4] -
> org.apache.lucene.document.TestXYMultiPolygonShapeQueries.testRandomBig
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]