JDK-8049226 : com/sun/jdi/OptionTest.java test times out again
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-03
  • Updated: 2016-10-13
  • Resolved: 2014-08-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.
JDK 8 JDK 9
8u112Fixed 9 b29Fixed
Related Reports
Relates :  
Description
From the run:

----------System.out:(117/6680)----------
vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=39934,server=y,suspend=n,timeout=0,mutf8=y,quiet=y,stdalloc=y,strict=n HelloWorld


--- Return code was: 
0

--- Return stdout was: 
Hello, world!


--- Return stderr was: 

vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=39934,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y HelloWorld


--- Return code was: 
0

--- Return stdout was: 
Listening for transport dt_socket at address: 39934
Hello, world!


--- Return stderr was: 

Testing invalid address string
vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=:,server=y,suspend=n HelloWorld


--- Return code was: 
6

--- Return stdout was: 
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Current thread is 2
Dumping core ...


--- Return stderr was: 
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:730]

vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=localhost:,server=y,suspend=n HelloWorld


--- Return code was: 
6

--- Return stdout was: 
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Current thread is 2
Dumping core ...


--- Return stderr was: 
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:730]

vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=localhost:abc,server=y,suspend=n HelloWorld


--- Return code was: 
6

--- Return stdout was: 
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Current thread is 2
Dumping core ...


--- Return stderr was: 
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:730]

vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=localhost:65536,server=y,suspend=n HelloWorld


--- Return code was: 
6

--- Return stdout was: 
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Current thread is 2
Dumping core ...


--- Return stderr was: 
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:730]

vmOpts: -d64
javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

runCommand method about to execute:  /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=localhost:65F,server=y,suspend=n HelloWorld

----------System.err:(0/0)----------
----------rerun:(22/2064)*----------
'DISPLAY=$DISPLAY_SITE' \\
GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\
HOME=/export/local/localhome/root \\
JTREG_HOME=/export/local/aurora/sandbox/sca/vmsqe/tool/jtreg/execution/ \\
LANG=C \\
PATH=/bin:/usr/bin \\
TZ=UTC \\
CLASSPATH=/export/local/aurora/sandbox/sca/vmsqe/tool/jtreg/execution/lib/javatest.jar:/export/local/aurora/sandbox/sca/vmsqe/tool/jtreg/execution/lib/jtreg.jar:/export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi:/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/comp_baseline/JT_JDK/test/com/sun/jdi:/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/lib/tools.jar \\
    /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/bin/java \\
        -Dtest.vm.opts=-d64 \\
        -Dcompile.jdk=/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64 \\
        -Dtest.src.path=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/comp_baseline/JT_JDK/test/com/sun/jdi \\
        -Dtest.src=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/comp_baseline/JT_JDK/test/com/sun/jdi \\
        -Dtest.tool.vm.opts=-J-d64 \\
        -Dtest.class.path=/export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi \\
        -Dtest.timeout.factor=8.0 \\
        -Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi \\
        -Dtest.jdk=/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64 \\
        -Dtest.java.opts='-Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions' \\
        -Dtest.compiler.opts= \\
        -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions \\
        com.sun.javatest.regtest.MainWrapper /export/local/aurora/sandbox/results/workDir/classes/10/com/sun/jdi/OptionTest.jta
result: Error. Program `/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/bin/java' interrupted! (timed out?)


test result: Error. Program `/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-amd64/bin/java' interrupted! (timed out?)

ILW=MLH=P4
Comments
Same test, different failure on sparc: ----------System.out:(58/3166)---------- vmOpts: -d64 javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions runCommand method about to execute: /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=62909,server=y,suspend=n,timeout=0,mutf8=y,quiet=y,stdalloc=y,strict=n HelloWorld --- Return code was: 0 --- Return stdout was: Hello, world! --- Return stderr was: Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. vmOpts: -d64 javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions runCommand method about to execute: /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=62909,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y HelloWorld --- Return code was: 0 --- Return stdout was: Listening for transport dt_socket at address: 62909 Hello, world! --- Return stderr was: Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. Testing invalid address string vmOpts: -d64 javaOpts: -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions runCommand method about to execute: /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9/jre/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -agentlib:jdwp=transport=dt_socket,address=:,server=y,suspend=n HelloWorld --- Return code was: 6 --- Return stdout was: FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) Current thread is 2 Dumping core ... --- Return stderr was: Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. ERROR: transport error 103: invalid port number specified ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:730] ----------System.err:(15/906)---------- Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. Java HotSpot(TM) 64-Bit Server VM warning: Attempt to use MPSS failed. java.lang.Exception: Test failed: jdwp accept invalid address ':' at OptionTest.main(OptionTest.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:484) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: java.lang.Exception: Test failed: jdwp accept invalid address ':' JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: Test failed: jdwp accept invalid address ':' ----------rerun:(22/2038)*---------- 'DISPLAY=$DISPLAY_SITE' \\ HOME=/export/local/localhome/root \\ JTREG_HOME=/export/local/aurora/sandbox/sca/vmsqe/tool/jtreg/execution/ \\ LANG=C \\ LC_ALL= \\ PATH=/bin:/usr/bin \\ TZ=localtime \\ CLASSPATH=/export/local/aurora/sandbox/sca/vmsqe/tool/jtreg/execution/lib/javatest.jar:/export/local/aurora/sandbox/sca/vmsqe/tool/jtreg/execution/lib/jtreg.jar:/export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi:/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/comp_baseline/JT_JDK/test/com/sun/jdi:/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9/lib/tools.jar \\ /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9/bin/java \\ -Dtest.vm.opts=-d64 \\ -Dcompile.jdk=/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9 \\ -Dtest.src.path=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/comp_baseline/JT_JDK/test/com/sun/jdi \\ -Dtest.src=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/comp_baseline/JT_JDK/test/com/sun/jdi \\ -Dtest.tool.vm.opts=-J-d64 \\ -Dtest.class.path=/export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi \\ -Dtest.timeout.factor=8.0 \\ -Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi \\ -Dtest.jdk=/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/comp_baseline/solaris-sparcv9 \\ -Dtest.java.opts='-Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions' \\ -Dtest.compiler.opts= \\ -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions \\ com.sun.javatest.regtest.MainWrapper /export/local/aurora/sandbox/results/workDir/classes/1/com/sun/jdi/OptionTest.jta result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed: jdwp accept invalid address ':' test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed: jdwp accept invalid address ':'
03-07-2014