[jira] Created: (LUCENE-2705) TestThreadSafety.testLazyLoadThreadSafety test failure

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

[jira] Created: (LUCENE-2705) TestThreadSafety.testLazyLoadThreadSafety test failure

Sebastian Nagel (Jira)
TestThreadSafety.testLazyLoadThreadSafety test failure
------------------------------------------------------

                 Key: LUCENE-2705
                 URL: https://issues.apache.org/jira/browse/LUCENE-2705
             Project: Lucene - Java
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.1, 4.0
         Environment: Hudson
            Reporter: Robert Muir
             Fix For: 3.1, 4.0


TestThreadSafety.testLazyLoadThreadSafety failed with this error:

unable to create new native thread

Maybe because of SimpleText

Here is the stacktrace:
{noformat}
 [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
    [junit] Testcase: testLazyLoadThreadSafety(org.apache.lucene.search.TestThreadSafe): Caused an ERROR
    [junit] unable to create new native thread
    [junit] java.lang.OutOfMemoryError: unable to create new native thread
    [junit] at java.lang.Thread.start0(Native Method)
    [junit] at java.lang.Thread.start(Thread.java:614)
    [junit] at org.apache.lucene.search.TestThreadSafe.doTest(TestThreadSafe.java:129)
    [junit] at org.apache.lucene.search.TestThreadSafe.testLazyLoadThreadSafety(TestThreadSafe.java:148)
    [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
    [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
    [junit]
    [junit]
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 6.051 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestThreadSafe -Dtestmethod=testLazyLoadThreadSafety -Dtests.seed=-277698010445513699:-89599297372877779
    [junit] NOTE: test params are: codec=SimpleText, locale=zh_SG, timezone=Pacific/Tongatapu
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.lucene.search.TestThreadSafe FAILED
{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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2705) TestThreadSafety.testLazyLoadThreadSafety test failure

Sebastian Nagel (Jira)

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

Michael McCandless commented on LUCENE-2705:
--------------------------------------------

This test creates 100 threads at once, and does this 300 times... I think that's excessive... we should drop it to 10 threads at once.  Maybe threads are heavier on FreeBSD.

I'll commit.

> TestThreadSafety.testLazyLoadThreadSafety test failure
> ------------------------------------------------------
>
>                 Key: LUCENE-2705
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2705
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.1, 4.0
>         Environment: Hudson
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> TestThreadSafety.testLazyLoadThreadSafety failed with this error:
> unable to create new native thread
> Maybe because of SimpleText
> Here is the stacktrace:
> {noformat}
>  [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>     [junit] Testcase: testLazyLoadThreadSafety(org.apache.lucene.search.TestThreadSafe): Caused an ERROR
>     [junit] unable to create new native thread
>     [junit] java.lang.OutOfMemoryError: unable to create new native thread
>     [junit] at java.lang.Thread.start0(Native Method)
>     [junit] at java.lang.Thread.start(Thread.java:614)
>     [junit] at org.apache.lucene.search.TestThreadSafe.doTest(TestThreadSafe.java:129)
>     [junit] at org.apache.lucene.search.TestThreadSafe.testLazyLoadThreadSafety(TestThreadSafe.java:148)
>     [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
>     [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
>     [junit]
>     [junit]
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 6.051 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestThreadSafe -Dtestmethod=testLazyLoadThreadSafety -Dtests.seed=-277698010445513699:-89599297372877779
>     [junit] NOTE: test params are: codec=SimpleText, locale=zh_SG, timezone=Pacific/Tongatapu
>     [junit] ------------- ---------------- ---------------
>     [junit] TEST org.apache.lucene.search.TestThreadSafe FAILED
> {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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (LUCENE-2705) TestThreadSafety.testLazyLoadThreadSafety test failure

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

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

Michael McCandless resolved LUCENE-2705.
----------------------------------------

    Resolution: Fixed

Optimistically resolving.... we can reopen if the test still fails on hudson while(1) test.

> TestThreadSafety.testLazyLoadThreadSafety test failure
> ------------------------------------------------------
>
>                 Key: LUCENE-2705
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2705
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.1, 4.0
>         Environment: Hudson
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> TestThreadSafety.testLazyLoadThreadSafety failed with this error:
> unable to create new native thread
> Maybe because of SimpleText
> Here is the stacktrace:
> {noformat}
>  [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>     [junit] Testcase: testLazyLoadThreadSafety(org.apache.lucene.search.TestThreadSafe): Caused an ERROR
>     [junit] unable to create new native thread
>     [junit] java.lang.OutOfMemoryError: unable to create new native thread
>     [junit] at java.lang.Thread.start0(Native Method)
>     [junit] at java.lang.Thread.start(Thread.java:614)
>     [junit] at org.apache.lucene.search.TestThreadSafe.doTest(TestThreadSafe.java:129)
>     [junit] at org.apache.lucene.search.TestThreadSafe.testLazyLoadThreadSafety(TestThreadSafe.java:148)
>     [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
>     [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
>     [junit]
>     [junit]
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 6.051 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestThreadSafe -Dtestmethod=testLazyLoadThreadSafety -Dtests.seed=-277698010445513699:-89599297372877779
>     [junit] NOTE: test params are: codec=SimpleText, locale=zh_SG, timezone=Pacific/Tongatapu
>     [junit] ------------- ---------------- ---------------
>     [junit] TEST org.apache.lucene.search.TestThreadSafe FAILED
> {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: [hidden email]
For additional commands, e-mail: [hidden email]