You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2006/10/07 02:05:22 UTC
[jira] Commented: (HARMONY-1625) [drlvm] ThreadGroupTest of
classlib fails
[ http://issues.apache.org/jira/browse/HARMONY-1625?page=comments#action_12440626 ]
Alexei Fedotov commented on HARMONY-1625:
-----------------------------------------
[drlvm][unit] Blocks http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM
> [drlvm] ThreadGroupTest of classlib fails
> -----------------------------------------
>
> Key: HARMONY-1625
> URL: http://issues.apache.org/jira/browse/HARMONY-1625
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux IA32 multiprocessor
> Reporter: Alexey Varlamov
> Attachments: 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.<init>(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 'list' 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 'list' 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