TestDrillSideways.testRandom reproducing failure [LUCENE-9421]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
I have not looked yet, but it does repro:
```
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestDrillSideways -Dtests.method=testRandom -Dtests.seed=8336CD729D6DA8A8 -Dtests.slow=true -Dtests.badapples=true -Dtests.local\
e=bs-Latn -Dtests.timezone=Asia/Kuching -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 0.32s | TestDrillSideways.testRandom <<<
[junit4] > Throwable #1: java.lang.AssertionError
[junit4] > at __randomizedtesting.SeedInfo.seed([8336CD729D6DA8A8:F17AE87D2C0D1EDB]:0)
[junit4] > at org.apache.lucene.facet.TestDrillSideways.verifyEquals(TestDrillSideways.java:1124)
[junit4] > at org.apache.lucene.facet.TestDrillSideways.testRandom(TestDrillSideways.java:832)
[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: test params are: codec=Asserting(Lucene86): {dim4=PostingsFormat(name=LuceneVarGapDocFreqInterval), $full_path$=PostingsFormat(name=Direct), $facets=PostingsFormat(n\
ame=LuceneVarGapDocFreqInterval), dim3=PostingsFormat(name=Direct), dim2=BlockTreeOrds(blocksize=128), $payloads$=PostingsFormat(name=Direct), dim1=PostingsFormat(name=LuceneFixedGap), dim\
0=PostingsFormat(name=LuceneVarGapDocFreqInterval), id=PostingsFormat(name=Direct), content=PostingsFormat(name=LuceneFixedGap)}, docValues:{$facets=DocValuesFormat(name=Lucene80), id=DocV\
aluesFormat(name=Asserting)}, maxPointsInLeafNode=818, maxMBSortInHeap=6.4081279656609755, sim=Asserting(RandomSimilarity(queryNorm=true): {$facets=DFR I(F)B1, content=DFR I(ne)L2}), local\
e=bs-Latn, timezone=Asia/Kuching
[junit4] 2> NOTE: Linux 5.5.6-arch1-1 amd64/Oracle Corporation 11.0.6 (64-bit)/cpus=128,threads=1,free=458496400,total=536870912
[junit4] 2> NOTE: All tests run in this JVM: [TestDrillSideways]
[junit4] Completed [1/1 (1!)] in 0.58s, 1 test, 1 failure <<< FAILURES!
```
---
Migrated from [LUCENE-9421](https://issues.apache.org/jira/browse/LUCENE-9421) by Michael McCandless (@mikemccand)
Contributor guide
Research direction
Run the reproduced command for TestDrillSideways.testRandom with seed 8336CD729D6DA8A8. Inspect TestDrillSideways.java around testRandom line 832 and verifyEquals line 1124; done means determining the cause of the reported AssertionError and addressing the failing test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100