harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3508) [jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest intermittently fails
Date Tue, 27 Mar 2007 13:08:32 GMT
[jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest
intermittently fails
----------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3508
                 URL: https://issues.apache.org/jira/browse/HARMONY-3508
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: Windows/ia32, Harmony-jdk-r522623
            Reporter: Ivan Popov
            Priority: Minor


The following JDWP test

  org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest

very rarely fails during whole test run mostly on Windows/ia32 on a slow single-cpu machine.

Typical test output:

<...>
send HoldEvents
allow to start thread
[SYNC] Message sent: continue
STDOUT> [SYNC] Received message: continue
STDOUT> starting thread
no events were received
send ReleaseEvents
<...>
org.apache.harmony.jpda.tests.framework.TestErrorException: org.apache.harmony.jpda.tests.framework.jdwp.exceptions.TimeoutException:
Timeout was exceeded
	at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveEvent(VmMirror.java:1693)
	at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveCertainEvent(VmMirror.java:1728)
	at org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest.testHoldEvents001(HoldEventsTest.java:94)
	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
Caused by: org.apache.harmony.jpda.tests.framework.jdwp.exceptions.TimeoutException: Timeout
was exceeded
	at org.apache.harmony.jpda.tests.framework.jdwp.PacketDispatcher$EventsSynchronyzer.waitForNextEvent(PacketDispatcher.java:173)
	at org.apache.harmony.jpda.tests.framework.jdwp.PacketDispatcher.receiveEvent(PacketDispatcher.java:639)
	at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveEvent(VmMirror.java:1712)
	at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveEvent(VmMirror.java:1691)
	at org.apache.harmony.jpda.tests.framework.jdwp.VmMirror.receiveCertainEvent(VmMirror.java:1728)
	... 14 more

It seems that THREAD_START event generated while events were held does not reach debugger
after events are released.
I cannot reproduce this failure in standalone mode. I'm going to include this test into exclude
list for intermittent failures.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message