-
Bug
-
Resolution: Other
-
P4
-
9
-
b05
-
x86
-
solaris_11
TESTFAIL:java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh
java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh fails intermittently.
Log shows
/Users/aurora/sandbox_keepme/jdk/bin/java -ea -esa -Xmx512m StateTest
Exception in thread "main" java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:435)
at sun.nio.ch.Net.connect(Net.java:427)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:643)
at java.nio.channels.SocketChannel.open(SocketChannel.java:189)
at Launcher.launchWithServerSocketChannel(Launcher.java:103)
at StateTest.main(StateTest.java:170)
Possible reason is launch0 use fork1 to start a new process and do execvp, there is a chance that JVM hasn't been loaded fully before client tries to connect. If this is the reason; we may need think how to sync new created process and client
java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh fails intermittently.
Log shows
/Users/aurora/sandbox_keepme/jdk/bin/java -ea -esa -Xmx512m StateTest
Exception in thread "main" java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:435)
at sun.nio.ch.Net.connect(Net.java:427)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:643)
at java.nio.channels.SocketChannel.open(SocketChannel.java:189)
at Launcher.launchWithServerSocketChannel(Launcher.java:103)
at StateTest.main(StateTest.java:170)
Possible reason is launch0 use fork1 to start a new process and do execvp, there is a chance that JVM hasn't been loaded fully before client tries to connect. If this is the reason; we may need think how to sync new created process and client
- duplicates
-
JDK-8039998 java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh failed once in single binary run
- Closed
- relates to
-
JDK-8156900 java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh failed with "Timed out waiting for service to report test result"
- Closed