JDK-6987312 : TEST_BUG: timeout: com/sun/jdi/DoubleAgentTest.java
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 6u23,7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-09-24
  • Updated: 2023-12-14
  • Resolved: 2012-11-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Description
Happened on JPRT job, linux 32bit only.

I'm filing this because the test ran for 480 seconds, which seems extreme. So it probably timed out.
I'm pretty sure this testcase should run very quickly.

--------------------------------------------------
TEST: com/sun/jdi/DoubleAgentTest.java
JDK under test: (/tmp/jprt/P1/T/022306.ohair/testproduct/linux_i586_2.6-product)
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-jprtadm_2010_09_24_07_44-b00)
Java HotSpot(TM) Server VM (build 19.0-b05, mixed mode)

ACTION: build -- Passed. Build successful
REASON: User specified action: run build VMConnection DoubleAgentTest Exit0 
TIME:   0.039 seconds
messages:
command: build VMConnection DoubleAgentTest Exit0
reason: User specified action: run build VMConnection DoubleAgentTest Exit0 
elapsed time (seconds): 0.039

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.038 seconds
messages:
command: compile /tmp/jprt/P1/T/022306.ohair/source/jdk/test/com/sun/jdi/DoubleAgentTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.038

ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME:   0.0 seconds
messages:
command: build DoubleAgentTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.InterruptedException
REASON: User specified action: run main DoubleAgentTest 
TIME:   480.007 seconds
messages:
command: main DoubleAgentTest
reason: User specified action: run main DoubleAgentTest 
Timeout signalled after 480 seconds
elapsed time (seconds): 480.007
STDOUT:
Starting: /tmp/jprt/P1/T/022306.ohair/testproduct/linux_i586_2.6-product/jre/bin/java -classpath /tmp/jprt/P1/T/022306.ohair/source/jdk/build/linux-i586/testoutput/jdk_tools1/JTwork/classes/com/sun/jdi  -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=34343 -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=34343 Exit0
Error occurred during initialization of VM
agent library failed to init: jdwp
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
STDERR:
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:504)
	at DoubleAgentTest.main(DoubleAgentTest.java:137)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
	at java.lang.Thread.run(Thread.java:729)

JavaTest Message: Test threw exception: java.lang.InterruptedException
JavaTest Message: shutting down test


TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.InterruptedException
--------------------------------------------------
Removed test-fail-linux since we have failures on other platforms.

Comments
It is a clear dup of the: JDK-6909804 TEST_BUG: com/sun/jdi/DoubleAgentTest.java gets InterruptedException
28-11-2012