[ https://issues.apache.org/jira/browse/LUCENE-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923949#action_12923949 ]
Yonik Seeley commented on LUCENE-2576: -------------------------------------- {noformat} [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitThreadSafety -Dtests.seed=6167627923175702792:-1637309306537989375 [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=84), locale=es_CL, timezone=Antarctica/South_Pole [junit] ------------- ---------------- --------------- [junit] ------------- Standard Error ----------------- [junit] The following exceptions were thrown by threads: [junit] *** Thread: Thread-1148 *** [junit] java.lang.RuntimeException: java.lang.AssertionError: term=f:2_37; r=DirectoryReader(_3c:C106 ) expected:<1> but was:<0> [junit] at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4690) [junit] Caused by: java.lang.AssertionError: term=f:2_37; r=DirectoryReader(_3c:C106 ) expected:<1> but was:<0> [junit] at org.junit.Assert.fail(Assert.java:91) [junit] at org.junit.Assert.failNotEquals(Assert.java:645) [junit] at org.junit.Assert.assertEquals(Assert.java:126) [junit] at org.junit.Assert.assertEquals(Assert.java:470) [junit] at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4684) [junit] *** Thread: Thread-1149 *** [junit] java.lang.RuntimeException: java.lang.AssertionError: term=f:3_3; r=DirectoryReader(_3c:C106 ) expected:<1> but was:<0> [junit] at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4690) [junit] Caused by: java.lang.AssertionError: term=f:3_3; r=DirectoryReader(_3c:C106 ) expected:<1> but was:<0> [junit] at org.junit.Assert.fail(Assert.java:91) [junit] at org.junit.Assert.failNotEquals(Assert.java:645) [junit] at org.junit.Assert.assertEquals(Assert.java:126) [junit] at org.junit.Assert.assertEquals(Assert.java:470) [junit] at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4684) [junit] *** Thread: Thread-1147 *** [junit] java.lang.RuntimeException: java.lang.AssertionError: term=f:1_4; r=DirectoryReader(_3c:C106 ) expected:<1> but was:<0> [junit] at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4690) [junit] Caused by: java.lang.AssertionError: term=f:1_4; r=DirectoryReader(_3c:C106 ) expected:<1> but was:<0> [junit] at org.junit.Assert.fail(Assert.java:91) [junit] at org.junit.Assert.failNotEquals(Assert.java:645) [junit] at org.junit.Assert.assertEquals(Assert.java:126) [junit] at org.junit.Assert.assertEquals(Assert.java:470) [junit] at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4684) [junit] NOTE: all tests run in this JVM: [junit] [TestMergeSchedulerExternal, TestSimpleAttributeImpls, TestAddIndexes, TestCrash, TestFlex, TestIndexWriter] {noformat} > Intermittent failure in TestIndexWriter.testCommitThreadSafety > -------------------------------------------------------------- > > Key: LUCENE-2576 > URL: https://issues.apache.org/jira/browse/LUCENE-2576 > Project: Lucene - Java > Issue Type: Bug > Reporter: Michael McCandless > Fix For: 4.0 > > Attachments: LUCENE-2576.patch > > > Mark's while(1) hudson box found this failure (and I can repro it too): > {noformat} > Error Message > MockRAMDirectory: cannot close: there are still open files: {_1m.cfs=1, > _1k.cfs=1, _14.cfs=1, _1g.cfs=1, _1h.cfs=1, _1f.cfs=1, _1n.cfs=1, > _1i.cfs=1, _1j.cfs=1, _1l.cfs=1} > Stacktrace > java.lang.RuntimeException: MockRAMDirectory: cannot close: there are > still open files: {_1m.cfs=1, _1k.cfs=1, _14.cfs=1, _1g.cfs=1, > _1h.cfs=1, _1f.cfs=1, _1n.cfs=1, _1i.cfs=1, _1j.cfs=1, _1l.cfs=1} > at > org.apache.lucene.store.MockRAMDirectory.close(MockRAMDirectory.java:282) > at > org.apache.lucene.index.TestIndexWriter.testCommitThreadSafety(TestIndexWriter.java:4616) > at > org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328) > Standard Output > NOTE: random codec of testcase 'testCommitThreadSafety' was: Sep > Standard Error > The following exceptions were thrown by threads: > *** Thread: Thread-1784 *** > java.lang.RuntimeException: junit.framework.AssertionFailedError: null > at > org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4606) > Caused by: junit.framework.AssertionFailedError: null > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertTrue(Assert.java:27) > at > org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4597) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org