You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/10/24 15:08:21 UTC

[jira] Assigned: (HARMONY-1625) [drlvm] ThreadGroupTest of classlib fails

     [ http://issues.apache.org/jira/browse/HARMONY-1625?page=all ]

Geir Magnusson Jr reassigned HARMONY-1625:
------------------------------------------

    Assignee: Geir Magnusson Jr

> [drlvm] ThreadGroupTest of classlib fails
> -----------------------------------------
>
>                 Key: HARMONY-1625
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1625
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux IA32 multiprocessor
>            Reporter: Alexey Varlamov
>         Assigned To: Geir Magnusson Jr
>         Attachments: H-1625_kernel_tests.patch, H-1625_ThreadGroup.patch, H-1625_ThreadGroupTest.patch, ThreadGroupTest.patch
>
>
> The org.apache.harmony.luni.tests.java.lang.ThreadGroupTest stably fails if run individually:
> 1)  <testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadGroupTest" name="test_setMaxPriorityI" time="0.053">
>     <failure message="setMaxPriority: Any value smaller than MIN_PRIORITY is adjusted to MIN_PRIORITY. Before: 10 , after: 10" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: setMaxPriority: Any value smaller than MIN_PRIORITY is adjusted to MIN_PRIORITY. Before: 10 , after: 10
> 	at junit.framework.AssertionFailedError.&lt;init&gt;(AssertionFailedError.java:11)
> 	at org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_setMaxPriorityI(ThreadGroupTest.java:648)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 2)  <testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadGroupTest" name="test_suspend" time="3.86">
>     <error message="The thread group Test group is not empty" type="java.lang.IllegalThreadStateException">java.lang.IllegalThreadStateException: The thread group Test group is not empty
> 	at java.lang.ThreadGroup.destroy(Unknown Source)
> 	at org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend(ThreadGroupTest.java:856)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 3)   <testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadGroupTest" name="test_list" time="0.213">
>       <failure message="Either &apos;list&apos; is wrong or other tests are leaving side-effects. Result from list:  -----------------  java.lang.ThreadGroup[name=system,maxpri=10]     Thread[Thread-1,5,system]     Thread[Thread-0,5,system]     Thread[System thread,5,system]     java.lang.ThreadGroup[name=Finalizer Threads Group,maxpri=10]         Thread[FinalizerThread,5,Finalizer Threads Group]     java.lang.ThreadGroup[name=activeCount,maxpri=10]     java.lang.ThreadGroup[name=Test group,maxpri=10]  -----------------  " type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: Either &apos;list&apos; is wrong or other tests are leaving side-effects.
> Result from list:
>  -----------------
>  java.lang.ThreadGroup[name=system,maxpri=10]
>     Thread[Thread-1,5,system]
>     Thread[Thread-0,5,system]
>     Thread[System thread,5,system]
>     java.lang.ThreadGroup[name=Finalizer Threads Group,maxpri=10]
>         Thread[FinalizerThread,5,Finalizer Threads Group]
>     java.lang.ThreadGroup[name=activeCount,maxpri=10]
>     java.lang.ThreadGroup[name=Test group,maxpri=10]
> -----------------
>  
> 	at org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_list(ThreadGroupTest.java:481)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> This test sporadically crashes when all luni tests are run, but that is probably another story.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira