You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2010/12/13 18:22:05 UTC

[jira] Created: (LUCENE-2813) TestIndexWriterDelete fails randomly

TestIndexWriterDelete fails randomly
------------------------------------

                 Key: LUCENE-2813
                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Simon Willnauer


10 out of 9 runs with that see fail on my trunk:

ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField


with this result:

{code}

junit-sequential:
    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
    [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
    [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestIndexWriterDelete]
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
    [junit] 
    [junit] junit.framework.AssertionFailedError: 
    [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
    [junit] 
    [junit] 
    [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
    [junit] ConcurrentMergeScheduler hit unhandled exceptions
    [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
    [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
    [junit] 
    [junit] 
    [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
{code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-2813:
--------------------------------

    Attachment: output.txt

output with -Dtests.verbose=true

> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>         Attachments: output.txt
>
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-2813:
---------------------------------------

    Attachment: LUCENE-2813.patch

OK thanks for the output Robert.

It's a test bug -- the mock failure was throwing into a merge thread instead of the main thread.  Can you try the attached patch?

> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>         Attachments: LUCENE-2813.patch, output.txt
>
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971061#action_12971061 ] 

Simon Willnauer commented on LUCENE-2813:
-----------------------------------------

bq. i tried windows 32bit, 64bit, linux 32bit, all with 500 iterations, this test never fails.
weird thing - I was just gonna dig deeper but you fixed it already :) thanks mike & robert...

simon

> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2813.patch, output.txt
>
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970964#action_12970964 ] 

Robert Muir commented on LUCENE-2813:
-------------------------------------

Patch works here, i tried 100 times with Simon's seed, then 100 times normally... no problems.

> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>         Attachments: LUCENE-2813.patch, output.txt
>
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-2813.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.1

Test only bug.

> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2813.patch, output.txt
>
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970945#action_12970945 ] 

Robert Muir commented on LUCENE-2813:
-------------------------------------

we should dig deeper. i reproduced trivially on the mac.

i tried windows 32bit, 64bit, linux 32bit, all with 500 iterations, this test never fails.

first try on the mac: boom

Darwin new-host.home 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 i386
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)


> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2813) TestIndexWriterDelete fails randomly

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970926#action_12970926 ] 

Michael McCandless commented on LUCENE-2813:
--------------------------------------------

Hmm I can't reproduce this, neither w/ that seed nor w/ the while1 tester.  Not good that we have a repro bug.

That assertion trip means that the mock-failure the test tries to throw failed to throw.

Also, what's up w/ the additional CMS unhandled exc failure?  You don't see any other exceptions printed for CMS threads?

I just committed some verbosity -- can you make a failure happen w/ -Dtests.verbose=true and post the output?

> TestIndexWriterDelete fails randomly
> ------------------------------------
>
>                 Key: LUCENE-2813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2813
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>
> 10 out of 9 runs with that see fail on my trunk:
> ant test-core -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
> with this result:
> {code}
> junit-sequential:
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 1.725 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testErrorAfterApplyDeletes -Dtests.seed=4269712067829708991:1888184886355172227 -Dtests.codec=randomPerField
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {id=Standard, contents=SimpleText, city=MockSep}, locale=ar_QA, timezone=VST
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestIndexWriterDelete]
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testErrorAfterApplyDeletes(TestIndexWriterDelete.java:736)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testErrorAfterApplyDeletes(org.apache.lucene.index.TestIndexWriterDelete):	FAILED
>     [junit] ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit unhandled exceptions
>     [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:503)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestIndexWriterDelete FAILED
> {code}

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org