[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
From:       "Steve Rowe (JIRA)" <jira () apache ! org>
Date:       2017-01-31 21:41:51
Message-ID: JIRA.12673620.1381691073000.2847.1485898911699 () Atlassian ! JIRA
[Download RAW message or body]


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

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

There's a new reproducing failure on ASF Jenkins: \
[https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1227] - the expected \
hit count range is [3,13] while the actual is 14:

{noformat}
Checking out Revision d8d61ff61d1d798f5e3853ef66bc485d0d403f18 \
(refs/remotes/origin/master) [...]
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=SpellCheckCollatorTest \
-Dtests.method=testEstimatedHitCounts -Dtests.seed=F75C4ADA09152961 \
-Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true \
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt \
-Dtests.locale=lt-LT -Dtests.timezone=CNT -Dtests.asserts=true \
-Dtests.file.encoding=UTF-8  [junit4] ERROR   0.33s J2 | \
SpellCheckCollatorTest.testEstimatedHitCounts <<<  [junit4]    > Throwable #1: \
java.lang.RuntimeException: Exception during query  [junit4]    > 	at \
__randomizedtesting.SeedInfo.seed([F75C4ADA09152961:C6E7F4EFAC2A39B1]:0)  [junit4]    \
> 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:857)  [junit4]    > \
> at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:824)
   [junit4]    > 	at \
org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:569)
  [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
   [junit4]    > Caused by: java.lang.RuntimeException: REQUEST FAILED: \
xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/int[@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">2</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><int \
name="hits">14</int><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.collateExte \
ndedResults=true&qt=spellCheckCompRH&q=teststop:everother&spellcheck.collateMaxCollectDocs=5
  [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:850)
   [junit4]    > 	... 41 more
[...]
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): \
{start1=Lucene50(blocksize=128), range_facet_l_dv=PostingsFormat(name=MockRandom), \
lowerfilt1=Lucene50(blocksize=128), \
multiDefault=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
teststop=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
intDefault=PostingsFormat(name=Memory), range_facet_l=PostingsFormat(name=Memory), \
lowerfilt1and2=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
end4=Lucene50(blocksize=128), \
end3=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
end2=PostingsFormat(name=MockRandom), end1=PostingsFormat(name=Memory), \
lowerfilt=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
gram1=PostingsFormat(name=Memory), id=PostingsFormat(name=MockRandom), \
range_facet_i_dv=PostingsFormat(name=Memory), gram2=PostingsFormat(name=MockRandom), \
gram3=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
start3=PostingsFormat(name=MockRandom), gram4=Lucene50(blocksize=128), \
start2=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), \
word=PostingsFormat(name=Memory), timestamp=PostingsFormat(name=Memory), \
start4=PostingsFormat(name=Memory)}, \
docValues:{range_facet_l_dv=DocValuesFormat(name=Asserting), \
range_facet_i_dv=DocValuesFormat(name=Lucene70), \
intDvoDefault=DocValuesFormat(name=Direct), \
timestamp=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=549, \
maxMBSortInHeap=6.553211483764787, sim=RandomSimilarity(queryNorm=false): {}, \
locale=lt-LT, timezone=CNT  [junit4]   2> NOTE: Linux 3.13.0-85-generic amd64/Oracle \
Corporation 1.8.0_102 (64-bit)/cpus=4,threads=1,free=254106768,total=532152320 \
{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
> 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
(v6.3.15#6346)

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic