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

SSLEngineBadBufferArrayAccess.java failed due to Unexpected EOF

    Details

      Description

      ----------System.out:(99/3428)----------
      Testing SSLv3:true
      ================
      The format of the SSLEngineResult is:
      "getStatus() / getHandshakeStatus()" +
      "bytesConsumed() / bytesProduced()"

      server unwrap: OK/NEED_TASK, 158/0 bytes
      running delegated task...
      new HandshakeStatus: NEED_WRAP
      ----
      server wrap: OK/NEED_UNWRAP, 0/745 bytes
      ================
      server unwrap: OK/NEED_TASK, 75/0 bytes
      running delegated task...
      new HandshakeStatus: NEED_UNWRAP
      ----
      server wrap: OK/NEED_UNWRAP, 0/0 bytes
      ================
      server unwrap: OK/NEED_UNWRAP, 6/0 bytes
      ----
      server wrap: OK/NEED_UNWRAP, 0/0 bytes
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: OK/NEED_WRAP, 53/0 bytes
      ----
      server wrap: OK/NEED_WRAP, 0/6 bytes
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: BUFFER_UNDERFLOW/NEED_WRAP, 0/0 bytes
      ----
      server wrap: OK/FINISHED, 0/53 bytes
      ...ready for application data
      ================
      server unwrap: OK/NOT_HANDSHAKING, 53/26 bytes
      ----
      server wrap: OK/NOT_HANDSHAKING, 29/69 bytes
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: BUFFER_UNDERFLOW/NEED_WRAP, 0/0 bytes
      ----
      server wrap: CLOSED/NOT_HANDSHAKING, 0/37 bytes
      ================
      server unwrap: CLOSED/NOT_HANDSHAKING, 37/0 bytes
      ----
      server wrap: CLOSED/NOT_HANDSHAKING, 0/0 bytes
      Testing SSLv3:false
      ================
      server unwrap: OK/NEED_TASK, 158/0 bytes
      running delegated task...
      new HandshakeStatus: NEED_WRAP
      ----
      server wrap: OK/NEED_UNWRAP, 0/747 bytes
      ================
      server unwrap: OK/NEED_TASK, 75/0 bytes
      running delegated task...
      new HandshakeStatus: NEED_UNWRAP
      ----
      server wrap: OK/NEED_UNWRAP, 0/0 bytes
      ================
      server unwrap: OK/NEED_UNWRAP, 6/0 bytes
      ----
      server wrap: OK/NEED_UNWRAP, 0/0 bytes
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: OK/NEED_WRAP, 53/0 bytes
      ----
      server wrap: OK/NEED_WRAP, 0/6 bytes
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: BUFFER_UNDERFLOW/NEED_WRAP, 0/0 bytes
      ----
      server wrap: OK/FINISHED, 0/53 bytes
      ...ready for application data
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: BUFFER_UNDERFLOW/NOT_HANDSHAKING, 0/0 bytes
      ----
      server wrap: OK/NOT_HANDSHAKING, 29/69 bytes
      ================
      Warning: java.net.SocketTimeoutException: Read timed out
      server unwrap: BUFFER_UNDERFLOW/NOT_HANDSHAKING, 0/0 bytes
      ----
      server wrap: OK/NOT_HANDSHAKING, 0/0 bytes
      ================
      server unwrap: OK/NOT_HANDSHAKING, 53/26 bytes
      ----
      server wrap: OK/NOT_HANDSHAKING, 0/0 bytes
      ================
      Server died ...
      java.lang.Exception: Unexpected EOF
      at SSLEngineBadBufferArrayAccess.runServerApplication(SSLEngineBadBufferArrayAccess.java:333)
      at SSLEngineBadBufferArrayAccess.runTest(SSLEngineBadBufferArrayAccess.java:267)
      at SSLEngineBadBufferArrayAccess.main(SSLEngineBadBufferArrayAccess.java:172)
      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:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)
      ----------System.err:(14/890)----------
      java.lang.RuntimeException: Test failed
      at SSLEngineBadBufferArrayAccess.runTest(SSLEngineBadBufferArrayAccess.java:290)
      at SSLEngineBadBufferArrayAccess.main(SSLEngineBadBufferArrayAccess.java:172)
      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:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhalade Rajan Halade
                Reporter:
                jwang Joy Wang (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: