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

Steve Rowe commented on SOLR-5344:
----------------------------------

Another reproducing failure from 
[https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/2880/]:

{noformat}
Checking out Revision 688fe19d5a76596b1d45a9644af5f7f9ba246e84 
(refs/remotes/origin/branch_7x)
[...]
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts 
-Dtests.seed=E24A64F535A759FA -Dtests.multiplier=3 -Dtests.slow=true 
-Dtests.locale=mzn -Dtests.timezone=Antarctica/Vostok -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
   [junit4] ERROR   0.36s J0 | SpellCheckCollatorTest.testEstimatedHitCounts <<<
   [junit4]    > Throwable #1: java.lang.RuntimeException: Exception during 
query
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([E24A64F535A759FA:D3F1DAC09098492A]:0)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:917)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:877)
   [junit4]    >        at 
org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:569)
   [junit4]    >        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]    >        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [junit4]    >        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    >        at 
java.base/java.lang.reflect.Method.invoke(Method.java:566)
   [junit4]    >        at java.base/java.lang.Thread.run(Thread.java:835)
   [junit4]    > Caused by: java.lang.RuntimeException: REQUEST FAILED: 
xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/long[@name='hits'
 and 3 <= . and . <= 13]
   [junit4]    >        xml response was: <?xml version="1.0" encoding="UTF-8"?>
   [junit4]    > <response>
   [junit4]    > <lst name="responseHeader"><int name="status">0</int><int 
name="QTime">3</int></lst><result name="response" numFound="0" 
start="0"></result><lst name="spellcheck"><lst name="suggestions"><lst 
name="everother"><int name="numFound">1</int><int 
name="startOffset">9</int><int name="endOffset">18</int><arr 
name="suggestion"><str>everyother</str></arr></lst></lst><lst 
name="collations"><lst name="collation"><str 
name="collationQuery">teststop:everyother</str><long name="hits">14</long><lst 
name="misspellingsAndCorrections"><str 
name="everother">everyother</str></lst></lst></lst></lst>
   [junit4]    > </response>
   [junit4]    >        request 
was:spellcheck=true&spellcheck.dictionary=direct&spellcheck.count=1&spellcheck.collate=true&spellcheck.maxCollationTries=1&spellcheck.maxCollations=1&spellcheck.collateExtendedResults=true&qt=/spellCheckCompRH&q=teststop:everother&spellcheck.collateMaxCollectDocs=5
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:910)
   [junit4]    >        ... 40 more
[...]
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
{start1=PostingsFormat(name=Memory), lowerfilt1=PostingsFormat(name=Memory), 
multiDefault=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 
teststop=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 
lowerfilt1and2=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 end4=PostingsFormat(name=Memory), 
end3=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 end2=PostingsFormat(name=Asserting), end1=PostingsFormat(name=MockRandom), 
lowerfilt=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 gram1=PostingsFormat(name=MockRandom), id=PostingsFormat(name=Asserting), 
gram2=PostingsFormat(name=Asserting), 
gram3=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 start3=PostingsFormat(name=Asserting), gram4=PostingsFormat(name=Memory), 
start2=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
 word=PostingsFormat(name=MockRandom), start4=PostingsFormat(name=MockRandom)}, 
docValues:{range_facet_l_dv=DocValuesFormat(name=Lucene70), 
range_facet_i_dv=DocValuesFormat(name=Memory), 
intDvoDefault=DocValuesFormat(name=Asserting), 
timestamp=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=750, 
maxMBSortInHeap=6.055347638060191, sim=RandomSimilarity(queryNorm=false): {}, 
locale=mzn, timezone=Antarctica/Vostok
   [junit4]   2> NOTE: Linux 4.15.0-36-generic amd64/Oracle Corporation 12-ea 
(64-bit)/cpus=8,threads=1,free=161239760,total=492830720
{noformat}

> SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to 
> time
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-5344
>                 URL: https://issues.apache.org/jira/browse/SOLR-5344
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: James Dyer
>            Priority: Major
>         Attachments: SOLR-5344.patch
>
>
> Doesn't happen very often, but maybe one I can fix. I'll look into it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to