harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1625) [drlvm] ThreadGroupTest of classlib fails
Date Fri, 20 Oct 2006 12:31:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1625?page=all ]

Elena Semukhina updated HARMONY-1625:
-------------------------------------

    Attachment: H-1625_kernel_tests.patch

I attached a patch for drlvm kernel ThreadGroupTest.java which should follow RI's bug as well
:(.

So three H-1625 patches should be applied: 
H-1625ThreadGroup and H-1625_kernel_tests to drlvm/trunk

and H-1625_ThreadGroupTest to classlib/trunk.


> [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
>         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

        

Mime
View raw message