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

sun/security/ec/TestEC.java failed intermittently

    XMLWordPrintable

    Details

      Description

      ** Failed TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 in TLSv1.2 mode with ECDSA client authentication**
      ----------System.err:(97/7132)----------
      java.net.SocketTimeoutException: Read timed out
      at java.base/java.net.SocketInputStream.socketRead0(Native Method)
      at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:171)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:141)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:425)
      at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:154)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1031)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
      at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
      at java.base/sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(SSLSocketImpl.java:907)
      at java.base/sun.security.ssl.AppInputStream.read(AppInputStream.java:144)
      at java.base/sun.security.ssl.AppInputStream.read(AppInputStream.java:84)
      at CipherTest$Server.handleRequest(CipherTest.java:80)
      at JSSEServer$1.run(JSSEServer.java:83)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.net.SocketException: Broken pipe (Write failed)
      at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
      at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:155)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:236)
      at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:79)
      at java.base/sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1182)
      at java.base/sun.security.ssl.ServerHandshaker.sendChangeCipherAndFinish(ServerHandshaker.java:1990)
      at java.base/sun.security.ssl.ServerHandshaker.clientFinished(ServerHandshaker.java:1947)
      at java.base/sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:334)
      at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1072)
      at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1000)
      at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
      at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
      at java.base/sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(SSLSocketImpl.java:907)
      at java.base/sun.security.ssl.AppInputStream.read(AppInputStream.java:144)
      at java.base/sun.security.ssl.AppInputStream.read(AppInputStream.java:84)
      at CipherTest$Server.handleRequest(CipherTest.java:80)
      at JSSEServer$1.run(JSSEServer.java:83)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      javax.net.ssl.SSLException: Received close_notify during handshake
      at java.base/sun.security.ssl.Alerts.getSSLException(Alerts.java:214)
      at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1974)
      at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1921)
      at java.base/sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2025)
      at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1207)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
      at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
      at java.base/sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(SSLSocketImpl.java:907)
      at java.base/sun.security.ssl.AppInputStream.read(AppInputStream.java:144)
      at java.base/sun.security.ssl.AppInputStream.read(AppInputStream.java:84)
      at CipherTest$Server.handleRequest(CipherTest.java:80)
      at JSSEServer$1.run(JSSEServer.java:83)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.net.SocketException: Broken pipe (Write failed)
      at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
      at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:155)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:236)
      at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:79)
      at java.base/sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1254)
      at java.base/sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:418)
      at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1072)
      at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1000)
      at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
      at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
      at java.base/sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:733)
      at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67)
      at java.base/java.io.OutputStream.write(OutputStream.java:75)
      at CipherTest$Client.sendRequest(CipherTest.java:390)
      at JSSEClient.runTest(JSSEClient.java:74)
      at CipherTest$Client.run(CipherTest.java:373)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
      at CipherTest.run(CipherTest.java:330)
      at CipherTest.main(CipherTest.java:458)
      at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:67)
      at TestEC.main0(TestEC.java:112)
      at TestEC.main(TestEC.java:79)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rhalade Rajan Halade
              Reporter:
              jjiang John Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: