Greg Miller created LUCENE-10595:
------------------------------------

             Summary: TestGroupFacetCollector#testRandom has caught 
IndexOutOfBoundsException a couple times
                 Key: LUCENE-10595
                 URL: https://issues.apache.org/jira/browse/LUCENE-10595
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/grouping
            Reporter: Greg Miller


Random testing has caught an {{IndexOutOfBoundsException}} a couple times now 
in {{org.apache.lucene.search.grouping.TestGroupFacetCollector.testRandom}}. I 
was able to reproduce locally with {{./gradlew :lucene:grouping:test --tests 
"org.apache.lucene.search.grouping.TestGroupFacetCollector.testRandom" 
-Ptests.jvms=4 -Ptests.haltonfailure=false 
-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=91EC8BE9DE2A5BAB 
-Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII}}.

>From what I can tell, the exception is coming from way down in 
>{{ByteBuffersDataInput#readBytes}} on [this 
>line|https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/store/ByteBuffersDataInput.java#L155].
> Popping the stack a bit, it seems like the issue is maybe in 
>{{TermGroupFacetCollector$MV$SegmentResult#nextTerm}}.

I'm not totally sure if this is an actual bug or a bug in testing methodology. 
Haven't had time to dig in further and likely won't in the near future, so 
opening this Jira to track.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to