You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/08/19 21:18:27 UTC

[jira] [Created] (LUCENE-3384) TestIWExceptions.testRandomExceptionsThreads sometimes fails

TestIWExceptions.testRandomExceptionsThreads sometimes fails
------------------------------------------------------------

                 Key: LUCENE-3384
                 URL: https://issues.apache.org/jira/browse/LUCENE-3384
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 3.4
            Reporter: Robert Muir


failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.

the problem with this test method is that seeds never reproduce.

But I made it fail just by doing this:
{noformat}
ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
{noformat}

--
This message is automatically generated by JIRA.
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


[jira] [Commented] (LUCENE-3384) TestIWExceptions.testRandomExceptionsThreads sometimes fails

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

Steven Rowe commented on LUCENE-3384:
-------------------------------------

The following seed, which triggered [a failure in today's branch_3x Jenkins Maven build|https://builds.apache.org/job/Lucene-Solr-Maven-3.x/227/testReport/junit/org.apache.lucene.index/TestIndexWriterExceptions/testRandomExceptionsThreads/] seems to trigger more failures for me locally in a 100-iter run - from one to five - than when no seed is specified (I get at most one, and sometimes zero failures, when I don't specify a seed):

{noformat}
41ed40f98cc00a8d:-5acf0be3eb47ba24:-3ad389ca2e929955
{noformat}

> TestIWExceptions.testRandomExceptionsThreads sometimes fails
> ------------------------------------------------------------
>
>                 Key: LUCENE-3384
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3384
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: Robert Muir
>
> failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.
> the problem with this test method is that seeds never reproduce.
> But I made it fail just by doing this:
> {noformat}
> ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
> {noformat}

--
This message is automatically generated by JIRA.
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


[jira] [Commented] (LUCENE-3384) TestIWExceptions.testRandomExceptionsThreads sometimes fails

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

Steven Rowe commented on LUCENE-3384:
-------------------------------------

On a different computer, the above seed improves the likelihood of failure, but is not always reproducible with a 100-iter run:

||Patch applied?||With above seed?||-Dtests.iter||\# Runs||\# Runs with at least one failure||
|No|No|100|6|0|
|No|Yes|100|6|3|
|Yes|No|100|6|0| 
|Yes|Yes|100|6|3|

So the patch doesn't seem to have any effect - still 50% reproducible with the above seed.

> TestIWExceptions.testRandomExceptionsThreads sometimes fails
> ------------------------------------------------------------
>
>                 Key: LUCENE-3384
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3384
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: Robert Muir
>         Attachments: LUCENE-3384.patch
>
>
> failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.
> the problem with this test method is that seeds never reproduce.
> But I made it fail just by doing this:
> {noformat}
> ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
> {noformat}

--
This message is automatically generated by JIRA.
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


[jira] [Commented] (LUCENE-3384) TestIWExceptions.testRandomExceptionsThreads sometimes fails

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

Robert Muir commented on LUCENE-3384:
-------------------------------------

Thanks for testing Steve... don't yet know why the patch doesnt fix it.

However, i fixed some reproducibility bugs in this test, maybe its "more reproducible" now.

> TestIWExceptions.testRandomExceptionsThreads sometimes fails
> ------------------------------------------------------------
>
>                 Key: LUCENE-3384
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3384
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: Robert Muir
>         Attachments: LUCENE-3384.patch
>
>
> failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.
> the problem with this test method is that seeds never reproduce.
> But I made it fail just by doing this:
> {noformat}
> ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
> {noformat}

--
This message is automatically generated by JIRA.
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


[jira] [Commented] (LUCENE-3384) TestIWExceptions.testRandomExceptionsThreads sometimes fails

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

Steven Rowe commented on LUCENE-3384:
-------------------------------------

After updating from svn, then applying the patch, I got 3 runs with at least one failure out of 12 100-iter runs.  So it seems to be "less reproducible" now - 25% vs. 50% previously...

> TestIWExceptions.testRandomExceptionsThreads sometimes fails
> ------------------------------------------------------------
>
>                 Key: LUCENE-3384
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3384
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: Robert Muir
>         Attachments: LUCENE-3384.patch
>
>
> failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.
> the problem with this test method is that seeds never reproduce.
> But I made it fail just by doing this:
> {noformat}
> ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
> {noformat}

--
This message is automatically generated by JIRA.
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


[jira] [Updated] (LUCENE-3384) TestIWExceptions.testRandomExceptionsThreads sometimes fails

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

Robert Muir updated LUCENE-3384:
--------------------------------

    Attachment: LUCENE-3384.patch

> TestIWExceptions.testRandomExceptionsThreads sometimes fails
> ------------------------------------------------------------
>
>                 Key: LUCENE-3384
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3384
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: Robert Muir
>         Attachments: LUCENE-3384.patch
>
>
> failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.
> the problem with this test method is that seeds never reproduce.
> But I made it fail just by doing this:
> {noformat}
> ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
> {noformat}

--
This message is automatically generated by JIRA.
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