You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (JIRA)" <ji...@apache.org> on 2015/12/03 16:33:11 UTC
[jira] [Commented] (SOLR-8364) SpellCheckComponentTest occasionally
fails
[ https://issues.apache.org/jira/browse/SOLR-8364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037936#comment-15037936 ]
James Dyer commented on SOLR-8364:
----------------------------------
: Date: Wed, 2 Dec 2015 16:20:52 -0600
: From: "Dyer, James" <Ja...@ingramcontent.com>
: Reply-To: dev@lucene.apache.org
: To: "dev@lucene.apache.org" <de...@lucene.apache.org>
: Subject: RE: [JENKINS] Lucene-Solr-trunk-Windows (64bit/jdk1.8.0_66) - Build #
: 5439 - Failure!
:
: I'm looking at this failure. I cannot reproduce this on Linux using:
:
: ant test -Dtests.class="*.SpellCheckComponentTest" -Dtests.seed=110D525A21D16B1:8944EAFF0CE17B49
James - not sure if you noticed but assertJQ logs the entire response when
an assertion fails...
[junit4] 2> expected=/spellcheck=={'suggestions':['documemt',{'numFound':1,'startOffset':0,'endOffset':8,'suggestion':['document']}]}
[junit4] 2> response = {
[junit4] 2> "responseHeader":{
[junit4] 2> "status":0,
[junit4] 2> "QTime":0},
[junit4] 2> "response":{"numFound":0,"start":0,"docs":[]
[junit4] 2> },
[junit4] 2> "spellcheck":{
[junit4] 2> "suggestions":[]}}
[junit4] 2>
[junit4] 2> request = q=documemt&qt=spellCheckCompRH&spellcheck=true&wt=xml
...I haven't dug into the code being tested, or even the logs from
jenkins, but if it's rebuilding any spellcheck structures in a newSearcher
listener, then maybe that's slowing down opening the searcher so that when
the test is run the docs (and suggestions) aren't always visible yet?
maybe try adding a waitSearcher=true to the commit() calls? or switch to
some explicitly blocking client call to generate those spellcheck
structures/indexes?
> SpellCheckComponentTest occasionally fails
> ------------------------------------------
>
> Key: SOLR-8364
> URL: https://issues.apache.org/jira/browse/SOLR-8364
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 6.0
> Reporter: James Dyer
> Priority: Minor
>
> This failure did not reproduce for me in Linux or Windows with the same seed.
> {quote}
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/5439/
> : Java: 64bit/jdk1.8.0_66 -XX:-UseCompressedOops -XX:+UseConcMarkSweepGC
> :
> : 1 tests failed.
> : FAILED: org.apache.solr.handler.component.SpellCheckComponentTest.test
> :
> : Error Message:
> : List size mismatch @ spellcheck/suggestions
> :
> : Stack Trace:
> : java.lang.RuntimeException: List size mismatch @ spellcheck/suggestions
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org