You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (Commented) (JIRA)" <ji...@apache.org> on 2011/11/10 15:09:51 UTC

[jira] [Commented] (SOLR-2874) Test failure in SoftAutoCommitTest

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

Mark Miller commented on SOLR-2874:
-----------------------------------

I got this occasionally in the past, I think when tests where going really slow. When I was running tests on ext4 this happened more often as threads piled on top of each other waiting for fsync. Back to ext3, and tests are between 3 and 4 times faster and I have not seen this.

We can crank the timeouts I think though - you really can't count on anything time based with parallel tests, so we might as well bump them up.
                
> Test failure in SoftAutoCommitTest
> ----------------------------------
>
>                 Key: SOLR-2874
>                 URL: https://issues.apache.org/jira/browse/SOLR-2874
>             Project: Solr
>          Issue Type: Bug
>         Environment: trunk / r1197118
>            Reporter: Sami Siren
>
> {code}
> <testcase classname="org.apache.solr.update.SoftAutoCommitTest" name="testSoftAndHardCommitMaxTimeDelete" time="8.188">
>     <failure message="hard529 wasn&apos;t fast enough" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: hard529 wasn&apos;t fast enough
>         at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>         at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
>         at org.apache.solr.update.SoftAutoCommitTest.testSoftAndHardCommitMaxTimeDelete(SoftAutoCommitTest.java:230)
>         at org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:615)
>     </failure>
> </testcase>
> {code}
> {code}
> GRAVE: auto commit error...:java.lang.RuntimeException: org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1164)
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1018)
>         at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:351)
>         at org.apache.solr.update.CommitTracker.run(CommitTracker.java:184)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
>         at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:644)
>         at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:84)
>         at org.apache.lucene.index.IndexReader.open(IndexReader.java:536)
>         at org.apache.lucene.index.IndexReader.open(IndexReader.java:495)
>         at org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
>         at org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:109)
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1153)
>         ... 11 more
> Caused by: java.lang.InterruptedException: sleep interrupted
>         at java.lang.Thread.sleep(Native Method)
>         at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:642)
>         ... 17 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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