Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
9.0
-
None
-
None
Description
Was testing out my new laptop and I hit this reproducing failure:
ERROR: The following test(s) have failed:
- org.apache.solr.TestRandomDVFaceting.testRandomFaceting (:solr:core)
Test output: /Users/gus/projects/apache/solr/code/solr/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.TestRandomDVFaceting.txt
Reproduce with: gradlew :solr:core:test --tests "org.apache.solr.TestRandomDVFaceting.testRandomFaceting" -Ptests.jvms=10 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=D7D46A8DCC1CFDE6 -Ptests.file.encoding=US-ASCII
This might be similar to SOLR-14990 but that issue didn't record a stack trace or error message. For this issue I see
> Caused by:
> java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1
> at org.apache.lucene.util.packed.DirectMonotonicReader.get(DirectMonotonicReader.java:149)
> at org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$TermsDict.getTermFromIndex(Lucene90DocValuesProducer.java:1077)
> at org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$TermsDict.seekTermsIndex(Lucene90DocValuesProducer.java:1089)
> at org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$TermsDict.seekBlock(Lucene90DocValuesProducer.java:1115)
> at org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$TermsDict.seekCeil(Lucene90DocValuesProducer.java:1146)
> at org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$BaseSortedDocValues.lookupTerm(Lucene90DocValuesProducer.java:941)
> at org.apache.lucene.index.SingletonSortedSetDocValues.lookupTerm(SingletonSortedSetDocValues.java:100)
> at org.apache.solr.request.DocValuesFacets.getCounts(DocValuesFacets.java:107)
> at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:588)
> at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:420)
> at org.apache.solr.request.SimpleFacets.lambda$getFacetFieldCounts$0(SimpleFacets.java:828)
> ... 59 more
Which might be a lucene level issue anyway, don't have time to properly investigate, but opening this to track.
Attachments
Attachments
Issue Links
- is duplicated by
-
SOLR-16051 TestRandomDVFaceting test broken due to Lucene Bug
- Resolved
- relates to
-
SOLR-14990 Reproducing test failure for TestRandomDVFaceting, trunk and 8x
- Resolved
-
LUCENE-10329 Use Computed Mask For DirectMonotonicReader#get
- Closed
- links to