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

SSLSession/TestEnabledProtocols.java failed due to SSLException: Connection reset

XMLWordPrintable

      The following test failed in the JDK15 CI:

      javax/net/ssl/SSLSession/TestEnabledProtocols.java

      Here's a snippet from the log file:

      ----------System.err:(38/2593)----------
      java.lang.RuntimeException: javax.net.ssl.SSLException: Connection reset
      at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:144)
      at SSLSocketTemplate.doClientSide(SSLSocketTemplate.java:359)
      at SSLSocketTemplate$2.run(SSLSocketTemplate.java:598)
      Caused by: javax.net.ssl.SSLException: Connection reset
      at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:324)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:262)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144)
      at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1466)
      at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1372)
      at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:437)
      at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:108)
      ... 2 more
      Suppressed: java.net.SocketException: Connection reset by peer
      at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:420)
      at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440)
      at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:826)
      at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1052)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:355)
      ... 9 more
      Caused by: java.net.SocketException: Connection reset
      at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
      at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
      at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:982)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:469)
      at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:463)
      at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: javax.net.ssl.SSLException: Connection reset
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: javax.net.ssl.SSLException: Connection reset

      Starting this bug as a P3 since this is a Tier2 failure.

            rhalade Rajan Halade
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: