[ 
https://issues.apache.org/jira/browse/SOLR-15856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Houston Putman resolved SOLR-15856.
-----------------------------------
    Fix Version/s: 9.0
         Assignee: Houston Putman
       Resolution: Fixed

> 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
>            Assignee: Houston Putman
>            Priority: Major
>             Fix For: 9.0
>
>         Attachments: Skjermbilde 2022-02-03 kl. 14.38.36.png, 
> image-2022-02-03-14-18-11-868.png, testRandom.png
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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