harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6388) [jdktools][jdwp] Test failure in MultiSession.ClassObjectIDTest
Date Thu, 26 Nov 2009 10:32:39 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782832#action_12782832
] 

Mark Hindess commented on HARMONY-6388:
---------------------------------------

FYI: I can't reproduce this on Linux.


> [jdktools][jdwp] Test failure in MultiSession.ClassObjectIDTest
> ---------------------------------------------------------------
>
>                 Key: HARMONY-6388
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6388
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software
Foundation or its licensors, as applicable.
> java version "1.5.0"
> Apache Harmony (1.5.0)
> DRLVM (11.2.0)
> pre-alpha : not complete or compatible
> svn = r884022, (Nov 25 2009), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
>            Reporter: Tim Ellison
>             Fix For: 5.0M12
>
>
> Debuggee process did not finish during timeout
> org.apache.harmony.jpda.tests.framework.TestErrorException: Debuggee process did not
finish during timeout
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeProcessWrapper.WaitForProcessExit(JDWPUnitDebuggeeProcessWrapper.java:283)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeProcessWrapper.finishProcessAndRedirectors(JDWPUnitDebuggeeProcessWrapper.java:86)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeWrapper.stop(JDWPUnitDebuggeeWrapper.java:108)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase.internalTearDown(JDWPTestCase.java:107)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPSyncTestCase.internalTearDown(JDWPSyncTestCase.java:82)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPRawTestCase.tearDown(JDWPRawTestCase.java:117)
> Caused by: java.lang.IllegalThreadStateException: process has not exited
> at java.lang.Runtime$SubProcess.exitValue(Runtime.java:356)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeProcessWrapper.WaitForProcessExit(JDWPUnitDebuggeeProcessWrapper.java:278)
> at org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeProcessWrapper.finishProcessAndRedirectors(JDWPUnitDebuggeeProcessWrapper.java:86)
> Lots of console output:
> =====================================>>>
> Run: org.apache.harmony.jpda.tests.jdwp.MultiSession.ClassObjectIDTest.testClassObjectID001
> ----------------------------------------
> ATTACH connector kind
> [SYNC] Binding socket on port: 0
> [SYNC] Bound socket on port: 1659
> Attach to: 127.0.0.1:9898
> Launch: D:\Harmony\target\hdk\jdk\jre/bin/java -cp "D:\Harmony\working_jdktools\build\tests\classes;D:\Harmony\working_jdktools\modules\jpda;C:\Program
Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\Program Files\apache-ant-1.7.0\lib\junit.jar;C:\Program
Files\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Program Files\apache-ant-1.7.0\lib\ant.jar;C:\Program
Files\apache-ant-1.7.0\lib\ant-junit.jar" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9898,server=y,suspend=y
 -Djpda.settings.verbose=true -Djpda.settings.syncPort=1659 org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee
> Launch process: D:\Harmony\target\hdk\jdk\jre/bin/java -cp "D:\Harmony\working_jdktools\build\tests\classes;D:\Harmony\working_jdktools\modules\jpda;C:\Program
Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\Program Files\apache-ant-1.7.0\lib\junit.jar;C:\Program
Files\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Program Files\apache-ant-1.7.0\lib\ant.jar;C:\Program
Files\apache-ant-1.7.0\lib\ant-junit.jar" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9898,server=y,suspend=y
 -Djpda.settings.verbose=true -Djpda.settings.syncPort=1659 org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee
> Splitted command line: [D:\Harmony\target\hdk\jdk\jre/bin/java, -cp, D:\Harmony\working_jdktools\build\tests\classes;D:\Harmony\working_jdktools\modules\jpda;C:\Program
Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\Program Files\apache-ant-1.7.0\lib\junit.jar;C:\Program
Files\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Program Files\apache-ant-1.7.0\lib\ant.jar;C:\Program
Files\apache-ant-1.7.0\lib\ant-junit.jar, -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9898,server=y,suspend=y,
-Djpda.settings.verbose=true, -Djpda.settings.syncPort=1659, org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee]
> Launched process
> Start redirectors
> Redirector started: STDERR
> Redirector started: STDOUT
> Started redirectors
> Launched debuggee process
> Attaching for JDWP connection
> STDOUT>  INFO: [TransportManager.cpp:205] transport is listening on 9898
> Established transport connection
> Established JDWP connection with debuggee VM
> Received inital VM_INIT event
> Adjusted VM-dependent type lengths
> Resumed debuggee VM
> [SYNC] Accepting socket connection
> STDOUT> [SYNC] Attaching socket to: localhost:1659
> [SYNC] Accepted socket connection
> Established sync connection
> ----------------------------------------
> [SYNC] Waiting for message: ready
> STDOUT> [SYNC] Attached socket
> STDOUT> Debuggee is started
> [SYNC] Received message: ready
> => CLOSE CONNECTION..
> STDOUT> [SYNC] Message sent: ready
> STDOUT> [SYNC] Waiting for message: continue
> Closed transport connection
> => CONNECTION CLOSED
> => OPEN NEW CONNECTION..
> Attaching for JDWP connection
> Opened transport connection
> Adjusted VM-dependent type lengths
> => CONNECTION OPENED
> => Trying to get classID using old classObjectID
> => TEST PASSED, because INVALID_OBJECT exception was occurred
> [SYNC] Message sent: continue
> [SYNC] Waiting for message: ready
> [SYNC] Received message: ready
> [SYNC] Message sent: continue
> ----------------------------------------
> [SYNC] Closed socket
> Completed sync connection
> Waiting for process exit
> STDOUT> [SYNC] Received message: continue
> STDOUT> FROM DEBUGGEE: thread was resumed
> STDOUT> [SYNC] Message sent: ready
> STDOUT> Hello World ---- 
> STDOUT> [SYNC] Message sent: ready
> STDOUT> -> MultiSessionDebuggee: wait for signal to continue...
> STDOUT> [SYNC] Waiting for message: continue
> STDOUT> java.net.SocketException: The operation timed out
> STDOUT> 	at org.apache.harmony.luni.platform.OSNetworkSystem.read(OSNetworkSystem.java)
> STDOUT> 	at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:557)
> STDOUT> 	at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:88)
> STDOUT> 	at java.io.DataInputStream.readToBuff(DataInputStream.java:149)
> STDOUT> 	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:405)
> STDOUT> 	at java.io.DataInputStream.readUTF(DataInputStream.java:424)
> STDOUT> 	at org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer.receiveMessage(JPDADebuggeeSynchronizer.java:107)
> STDOUT> 	at org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee.run(MultiSessionDebuggee.java:49)
> STDOUT> 	at org.apache.harmony.jpda.tests.share.Debuggee.runDebuggee(Debuggee.java:84)
> STDOUT> 	at org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee.main(MultiSessionDebuggee.java:63)
> STDOUT> [SYNC] Waiting for message: continue
> STDOUT> java.net.SocketException: The operation timed out
> STDOUT> 	at org.apache.harmony.luni.platform.OSNetworkSystem.read(OSNetworkSystem.java)
> STDOUT> 	at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:557)
> STDOUT> 	at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:88)
> STDOUT> 	at java.io.DataInputStream.readToBuff(DataInputStream.java:149)
> STDOUT> 	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:405)
> STDOUT> 	at java.io.DataInputStream.readUTF(DataInputStream.java:424)
> STDOUT> 	at org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer.receiveMessage(JPDADebuggeeSynchronizer.java:107)
> STDOUT> 	at org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee.run(MultiSessionDebuggee.java:49)
> STDOUT> 	at org.apache.harmony.jpda.tests.share.Debuggee.runDebuggee(Debuggee.java:84)
> STDOUT> 	at org.apache.harmony.jpda.tests.jdwp.MultiSession.MultiSessionDebuggee.main(MultiSessionDebuggee.java:63)
> ad nauseum

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