[ 
https://issues.apache.org/jira/browse/SOLR-15856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486436#comment-17486436
 ] 

Jan Høydahl commented on SOLR-15856:
------------------------------------

This keeps failing with a 9% failure rate. Did we conclude whether this might 
be a Lucene bug or not?

[~magibney] 's seed above reproduces consistently on my Mac running {{OpenJDK 
Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9)}}

Even without the {{tests.jvmargs}} the seed {{AAD40B94A69376B2}} seems to 
trigger the index out of bounds:
{code:java}
gradlew :solr:core:test --tests 
"org.apache.solr.TestRandomDVFaceting.testRandomFaceting" 
-Ptests.seed=AAD40B94A69376B2{code}
 

> Reproducing test failure for TestRandomDVFaceting
> -------------------------------------------------
>
>                 Key: SOLR-15856
>                 URL: https://issues.apache.org/jira/browse/SOLR-15856
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 9.0
>            Reporter: Gus Heck
>            Priority: Major
>
> Was testing out my new laptop and I hit this reproducing failure:
> {code:java}
> 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
> {code}
> This might be similar to SOLR-14990 but that issue didn't record a stack 
> trace or error message. For this issue I see
> {code}
>    >         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
> {code}
> Which might be a lucene level issue anyway, don't have time to properly 
> investigate, but opening this to track.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to