You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2022/02/03 14:19:00 UTC

[jira] [Comment Edited] (SOLR-15856) Reproducing test failure for TestRandomDVFaceting

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

Jan Høydahl edited comment on SOLR-15856 at 2/3/22, 2:18 PM:
-------------------------------------------------------------

And here is the situation right before the exception... ({{{}DirectMonotonicReader line 161{}}})

!Skjermbilde 2022-02-03 kl. 14.38.36.png!


was (Author: janhoy):
And here is the situation right before the exception...

!Skjermbilde 2022-02-03 kl. 14.38.36.png!

> 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
>         Attachments: Skjermbilde 2022-02-03 kl. 14.38.36.png, image-2022-02-03-14-18-11-868.png, testRandom.png
>
>
> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org