You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2018/07/31 02:54:00 UTC

[jira] [Resolved] (SOLR-12606) InfixSuggestersTest.testShutdownDuringBuild() failures

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

Steve Rowe resolved SOLR-12606.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 7.5
                   master (8.0)

Committed.

Forgot to include the issue in the log message, so jirabot won't post here.  From the commits@ email:

{noformat}
Repository: lucene-solr
Updated Branches:
 refs/heads/branch_7x d448921b3 -> 02689f2b2
 refs/heads/master 8d28bbc90 -> a08eadb48

Fix InfixSuggestersTest.testShutdownDuringBuild() failures
{noformat}

> InfixSuggestersTest.testShutdownDuringBuild() failures
> ------------------------------------------------------
>
>                 Key: SOLR-12606
>                 URL: https://issues.apache.org/jira/browse/SOLR-12606
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>         Attachments: SOLR-12606.patch
>
>
> From [https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/1082/]:
> {noformat}
>    [smoker]    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=InfixSuggestersTest -Dtests.method=testShutdownDuringBuild -Dtests.seed=52931F3B5B6B1523 -Dtests.multiplier=2 -Dtests.locale=sk-SK -Dtests.timezone=Asia/Oral -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [smoker]    [junit4] ERROR   1.37s J0 | InfixSuggestersTest.testShutdownDuringBuild <<<
>    [smoker]    [junit4]    > Throwable #1: java.util.concurrent.ExecutionException: junit.framework.AssertionFailedError: Unexpected wrapped exception type, expected CoreIsClosedException
>    [smoker]    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([52931F3B5B6B1523:8D1E7D8465024041]:0)
>    [smoker]    [junit4]    > 	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>    [smoker]    [junit4]    > 	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>    [smoker]    [junit4]    > 	at org.apache.solr.handler.component.InfixSuggestersTest.testShutdownDuringBuild(InfixSuggestersTest.java:130)
>    [smoker]    [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
>    [smoker]    [junit4]    > Caused by: junit.framework.AssertionFailedError: Unexpected wrapped exception type, expected CoreIsClosedException
>    [smoker]    [junit4]    > 	at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2734)
>    [smoker]    [junit4]    > 	at org.apache.solr.handler.component.InfixSuggestersTest.lambda$testShutdownDuringBuild$3(InfixSuggestersTest.java:121)
>    [smoker]    [junit4]    > 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>    [smoker]    [junit4]    > 	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
>    [smoker]    [junit4]    > 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>    [smoker]    [junit4]    > 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>    [smoker]    [junit4]    > 	... 1 more
>    [smoker]    [junit4]    > Caused by: java.lang.RuntimeException: Exception during query
>    [smoker]    [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:917)
>    [smoker]    [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:877)
>    [smoker]    [junit4]    > 	at org.apache.solr.handler.component.InfixSuggestersTest.lambda$null$2(InfixSuggestersTest.java:122)
>    [smoker]    [junit4]    > 	at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2726)
>    [smoker]    [junit4]    > 	... 6 more
>    [smoker]    [junit4]    > Caused by: org.apache.solr.common.SolrException: SolrCoreState already closed.
>    [smoker]    [junit4]    > 	at org.apache.solr.update.DefaultSolrCoreState.lock(DefaultSolrCoreState.java:186)
>    [smoker]    [junit4]    > 	at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:121)
>    [smoker]    [junit4]    > 	at org.apache.solr.update.SolrCoreState.getTragicException(SolrCoreState.java:198)
>    [smoker]    [junit4]    > 	at org.apache.solr.core.CoreContainer.checkTragicException(CoreContainer.java:1812)
>    [smoker]    [junit4]    > 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:212)
>    [smoker]    [junit4]    > 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:2541)
>    [smoker]    [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>    [smoker]    [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>    [smoker]    [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:891)
>    [smoker]    [junit4]    > 	... 9 more
> {noformat}



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

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