[jira] [Created] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
Not getting random-seed/reproduce-with if a test fails from another thread
--------------------------------------------------------------------------

                 Key: LUCENE-3895
                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
             Project: Lucene - Java
          Issue Type: Bug
          Components: general/test
    Affects Versions: 4.0
            Reporter: Robert Muir


See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.

This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org

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

Robert Muir commented on LUCENE-3895:
-------------------------------------

A good example of this is to un-@Ignore TestKuromojiTokenizer.testRandomHugeStrings (LUCENE-3897)
in modules/analysis/kuromoji, it fails from another thread but there is no seed.
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Robert Muir updated LUCENE-3895:
--------------------------------

    Attachment: LUCENE-3895.patch

Here's a really hackish solution. Hopefully Dawid hates it and knows of a way to fix it cleanly :)

               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Christian Moen commented on LUCENE-3895:
----------------------------------------

Thanks, Robert.  I'm trying this in order to reproduce a failing case for LUCENE-3897.
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Christian Moen commented on LUCENE-3895:
----------------------------------------

This does the job very well and I can reproduce a case now.  Thanks!
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Dawid Weiss commented on LUCENE-3895:
-------------------------------------

bq. Hopefully Dawid hates it and knows of a way to fix it cleanly

It's fine for the trunk. It will be redundant in LUCENE-3808 (the seed is reported at master build level there + exceptions have an injected fake stack trace entry with the current master/test seed combination, even though the test seed is redundant most of the time because it's derived).


               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Dawid Weiss updated LUCENE-3895:
--------------------------------

    Attachment: LUCENE-3895.patch

Added a JUnit test to verify test seed is printed.
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch, LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Dawid Weiss commented on LUCENE-3895:
-------------------------------------

Feel free to commit in (4.0/3.x?), Robert.
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch, LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Robert Muir commented on LUCENE-3895:
-------------------------------------

Thanks Dawid (and also for the cool test!). I'll commit soon.
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3895.patch, LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (LUCENE-3895) Not getting random-seed/reproduce-with if a test fails from another thread

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Robert Muir resolved LUCENE-3895.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.6

I committed the fix. Dawid has a cleaner solution (the new runner) long-term.
               

> Not getting random-seed/reproduce-with if a test fails from another thread
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3895
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>             Fix For: 3.6, 4.0
>
>         Attachments: LUCENE-3895.patch, LUCENE-3895.patch
>
>
> See https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12822/console as an example.
> This is at least affecting 4.0, maybe 3.x too

--
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: [hidden email]
For additional commands, e-mail: [hidden email]