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

javax/management/remote/mandatory/connection/FailedConnectionTest.java failed due to "SocketTimeoutException: Read timed out" on Solaris-X64

XMLWordPrintable

      The following test failed due to an exception on Solaris-X64
      in the slowdebug config using jdk11+25 bits:

      javax/management/remote/mandatory/connection/FailedConnectionTest.java

      The test only failed in 1 of 3 'slowdebug' bits runs so I'm
      tagging this bug as intermittent. It did not fail at all in the
      'fastdebug' or 'release' bits runs.

      Here is a snippet from the log file:

      ----------System.out:(37/2388)----------
      >>> test to get an IOException when calling getConnectionID on a closed connection.
      >>> Test for protocol rmi
      >>> Test failed for rmi
      java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
              java.net.SocketTimeoutException: Read timed out
              at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:300)
              at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)
              at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
              at java.management.rmi/javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
              at java.management.rmi/javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2105)
              at java.management.rmi/javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:321)
              at java.management/javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
              at FailedConnectionTest.test(FailedConnectionTest.java:97)
              at FailedConnectionTest.main(FailedConnectionTest.java:54)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.net.SocketTimeoutException: Read timed out
              at java.base/java.net.SocketInputStream.socketRead0(Native Method)
              at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
              at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
              at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
              at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
              at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
              at java.base/java.io.DataInputStream.readByte(DataInputStream.java:270)
              at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:239)
              ... 14 more
      >>> Test for protocol iiop
      Skipping unsupported URL iiop
      >>> Test successed for iiop
      >>> Test for protocol jmxmp
      Skipping unsupported URL jmxmp
      >>> Test successed for jmxmp
      >>> TEST FAILED
      ----------System.err:(0/0)----------
      ----------rerun:(32/3689)*----------

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: