Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b119
-
Verified
Description
TESTFAIL:java/net/Socket/LingerTest.java
#Test Results (version 2)
#Fri Nov 15 17:37:28 PST 2013
#checksum:a5311aab4e479ba
#-----testdescription-----
$file=C\:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket\\LingerTest.java
$root=C\:\\Users\\aurora\\sandbox_keepme\\testbase\\test
keywords=bug4796166
run=ASSUMED_ACTION main LingerTest\r\n
source=LingerTest.java
title=Linger interval delays usage of released file descriptor
#-----environment-----
#-----testresult-----
description=file\:/C\:/Users/aurora/sandbox_keepme/testbase/test/java/net/Socket/LingerTest.java
elapsed=38696 0\:00\:38.696
end=Fri Nov 15 17\:37\:28 PST 2013
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Another thread is blocked
hostname=SC11136076.us.oracle.com
javatestOS=Windows 7 6.1 (amd64)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b07
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Fri Nov 15 17\:36\:50 PST 2013
test=java/net/Socket/LingerTest.java
user.name=aurora
work=C\:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\java\\net\\Socket
#section:script_messages
----------messages:(5/195)*----------
JDK under test: (C:\\Users\\aurora\\SANDBO~1\\jdk)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b115)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode)
#section:build
----------messages:(3/98)----------
command: build LingerTest
reason: Named class compiled on demand
elapsed time (seconds): 0.102
result: Passed. Build successful
#section:compile
----------messages:(3/213)*----------
command: compile -XDignore.symbol.file=true C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket\\LingerTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.101
----------rerun:(23/2145)*----------
'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
SystemDrive=C: \\
'SystemRoot=C:\\Windows' \\
'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'windir=C:\\Windows' \\
'C:\\Users\\aurora\\SANDBO~1\\jdk\\bin\\javac' \\
-J-ea \\
-J-esa \\
-J-Xmx512m \\
-J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
-J-Dcompile.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-J-Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-J-Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
-J-Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-J-Dtest.timeout.factor=4.0 \\
-J-Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-J-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-J-Dtest.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-J-Dtest.java.opts= \\
-J-Dtest.compiler.opts= \\
-d 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' -classpath 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket;C:\\Users\\aurora\\SANDBO~1\\jdk\\lib\\tools.jar' -sourcepath 'C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' -XDignore.symbol.file=true 'C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket\\LingerTest.java'
result: Passed. Compilation successful
#section:main
----------messages:(3/123)----------
command: main LingerTest
reason: Assumed action based on file name: run main LingerTest
elapsed time (seconds): 38.592
----------rerun:(21/1772)*----------
'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
SystemDrive=C: \\
'SystemRoot=C:\\Windows' \\
'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'windir=C:\\Windows' \\
'C:\\Users\\aurora\\SANDBO~1\\jdk\\bin\\java' \\
-Dtest.vm.opts='-ea -esa -Xmx512m' \\
-Dcompile.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
-Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-Dtest.timeout.factor=4.0 \\
-Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-Dtest.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-Dtest.java.opts= \\
-Dtest.compiler.opts= \\
-classpath 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket;C:\\Users\\aurora\\SANDBO~1\\jdk\\lib\\tools.jar' \\
LingerTest
----------System.out:(6/86)----------
Sender starts
Sender ends
Another starts
Closer starts
Another ends
Closer ends
----------System.err:(26/1482)----------
java.lang.RuntimeException: Another thread is blocked
at LingerTest.main(LingerTest.java:135)
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:483)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:363)
at java.net.Socket.connect(Socket.java:585)
at java.net.Socket.connect(Socket.java:534)
at java.net.Socket.<init>(Socket.java:430)
at java.net.Socket.<init>(Socket.java:211)
at LingerTest$Another.run(LingerTest.java:85)
at java.lang.Thread.run(Thread.java:744)
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Another thread is blocked
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Another thread is blocked
#Test Results (version 2)
#Fri Nov 15 17:37:28 PST 2013
#checksum:a5311aab4e479ba
#-----testdescription-----
$file=C\:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket\\LingerTest.java
$root=C\:\\Users\\aurora\\sandbox_keepme\\testbase\\test
keywords=bug4796166
run=ASSUMED_ACTION main LingerTest\r\n
source=LingerTest.java
title=Linger interval delays usage of released file descriptor
#-----environment-----
#-----testresult-----
description=file\:/C\:/Users/aurora/sandbox_keepme/testbase/test/java/net/Socket/LingerTest.java
elapsed=38696 0\:00\:38.696
end=Fri Nov 15 17\:37\:28 PST 2013
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Another thread is blocked
hostname=SC11136076.us.oracle.com
javatestOS=Windows 7 6.1 (amd64)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b07
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Fri Nov 15 17\:36\:50 PST 2013
test=java/net/Socket/LingerTest.java
user.name=aurora
work=C\:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\java\\net\\Socket
#section:script_messages
----------messages:(5/195)*----------
JDK under test: (C:\\Users\\aurora\\SANDBO~1\\jdk)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b115)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode)
#section:build
----------messages:(3/98)----------
command: build LingerTest
reason: Named class compiled on demand
elapsed time (seconds): 0.102
result: Passed. Build successful
#section:compile
----------messages:(3/213)*----------
command: compile -XDignore.symbol.file=true C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket\\LingerTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.101
----------rerun:(23/2145)*----------
'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
SystemDrive=C: \\
'SystemRoot=C:\\Windows' \\
'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'windir=C:\\Windows' \\
'C:\\Users\\aurora\\SANDBO~1\\jdk\\bin\\javac' \\
-J-ea \\
-J-esa \\
-J-Xmx512m \\
-J-Dtest.vm.opts='-ea -esa -Xmx512m' \\
-J-Dcompile.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-J-Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-J-Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
-J-Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-J-Dtest.timeout.factor=4.0 \\
-J-Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-J-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-J-Dtest.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-J-Dtest.java.opts= \\
-J-Dtest.compiler.opts= \\
-d 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' -classpath 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket;C:\\Users\\aurora\\SANDBO~1\\jdk\\lib\\tools.jar' -sourcepath 'C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' -XDignore.symbol.file=true 'C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket\\LingerTest.java'
result: Passed. Compilation successful
#section:main
----------messages:(3/123)----------
command: main LingerTest
reason: Assumed action based on file name: run main LingerTest
elapsed time (seconds): 38.592
----------rerun:(21/1772)*----------
'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
SystemDrive=C: \\
'SystemRoot=C:\\Windows' \\
'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
'windir=C:\\Windows' \\
'C:\\Users\\aurora\\SANDBO~1\\jdk\\bin\\java' \\
-Dtest.vm.opts='-ea -esa -Xmx512m' \\
-Dcompile.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
-Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-Dtest.timeout.factor=4.0 \\
-Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket' \\
-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket' \\
-Dtest.jdk='C:\\Users\\aurora\\SANDBO~1\\jdk' \\
-Dtest.java.opts= \\
-Dtest.compiler.opts= \\
-classpath 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_43\\testoutput\\jdk_net\\JTwork\\classes\\java\\net\\Socket;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\net\\Socket;C:\\Users\\aurora\\SANDBO~1\\jdk\\lib\\tools.jar' \\
LingerTest
----------System.out:(6/86)----------
Sender starts
Sender ends
Another starts
Closer starts
Another ends
Closer ends
----------System.err:(26/1482)----------
java.lang.RuntimeException: Another thread is blocked
at LingerTest.main(LingerTest.java:135)
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:483)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:363)
at java.net.Socket.connect(Socket.java:585)
at java.net.Socket.connect(Socket.java:534)
at java.net.Socket.<init>(Socket.java:430)
at java.net.Socket.<init>(Socket.java:211)
at LingerTest$Another.run(LingerTest.java:85)
at java.lang.Thread.run(Thread.java:744)
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Another thread is blocked
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Another thread is blocked