harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1625) [drlvm] ThreadGroupTest of classlib fails
Date Thu, 28 Sep 2006 10:14:50 GMT
[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


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