-
Bug
-
Resolution: Won't Fix
-
P4
-
9
com/sun/jdi/OptionTest.java fails intermittently with bind failed: Address already in use
----------System.out:(32/1140)----------
vmOpts: '-ea -esa -Xmx512m'
javaOpts: ''
runCommand method about to execute: /scratch/aurora/sandbox_keepme/jdk/bin/java -classpath /scratch/aurora/sandbox_keepme/results/run_4/testoutput/tier2/JTwork/classes/2/com/sun/jdi -ea -esa -Xmx512m -agentlib:jdwp=transport=dt_socket,address=5316,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: '-ea -esa -Xmx512m'
javaOpts: ''
runCommand method about to execute: /scratch/aurora/sandbox_keepme/jdk/bin/java -classpath /scratch/aurora/sandbox_keepme/results/run_4/testoutput/tier2/JTwork/classes/2/com/sun/jdi -ea -esa -Xmx512m -agentlib:jdwp=transport=dt_socket,address=5316,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y HelloWorld
--- Return code was:
2
--- Return stdout was:
--- Return stderr was:
ERROR: transport error 202: bind failed: Address already in use
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:(12/739)----------
java.lang.Exception: Test failed: jdwp doesn't like -agentlib:jdwp=transport=dt_socket,address=5316,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y
at OptionTest.main(OptionTest.java:159)
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:502)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed: jdwp doesn't like -agentlib:jdwp=transport=dt_socket,address=5316,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y
----------System.out:(32/1140)----------
vmOpts: '-ea -esa -Xmx512m'
javaOpts: ''
runCommand method about to execute: /scratch/aurora/sandbox_keepme/jdk/bin/java -classpath /scratch/aurora/sandbox_keepme/results/run_4/testoutput/tier2/JTwork/classes/2/com/sun/jdi -ea -esa -Xmx512m -agentlib:jdwp=transport=dt_socket,address=5316,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: '-ea -esa -Xmx512m'
javaOpts: ''
runCommand method about to execute: /scratch/aurora/sandbox_keepme/jdk/bin/java -classpath /scratch/aurora/sandbox_keepme/results/run_4/testoutput/tier2/JTwork/classes/2/com/sun/jdi -ea -esa -Xmx512m -agentlib:jdwp=transport=dt_socket,address=5316,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y HelloWorld
--- Return code was:
2
--- Return stdout was:
--- Return stderr was:
ERROR: transport error 202: bind failed: Address already in use
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:(12/739)----------
java.lang.Exception: Test failed: jdwp doesn't like -agentlib:jdwp=transport=dt_socket,address=5316,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y
at OptionTest.main(OptionTest.java:159)
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:502)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed: jdwp doesn't like -agentlib:jdwp=transport=dt_socket,address=5316,server=y,suspend=n,timeout=200000,mutf8=n,quiet=n,stdalloc=n,strict=y
- is cloned by
-
JDK-8181383 com/sun/jdi/OptionTest.java fails intermittently with bind failed: Address already in use
- Resolved