Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8038768

(se) TEST_BUG: java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh failing intermittently (sol)

XMLWordPrintable

    • 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

            Unassigned Unassigned
            tyan Tristan Yan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: