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

javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "java.lang.Exception: Unexpected EOF"

    Details

      Backports

        Description

        Test:
        javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java

        Log:
        command: main SSLSocketSSLEngineTemplate
        reason: User specified action: run main/othervm SSLSocketSSLEngineTemplate
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 3.024
        ----------configuration:(0/0)----------
        ----------System.out:(79/2182)----------
        Testing SSLv3
        -------------------------------------
        Testing SSLv3 for direct buffers ...
        ================
        The format of the SSLEngineResult is:
        "getStatus() / getHandshakeStatus()" +
        "bytesConsumed() / bytesProduced()"

        server unwrap: OK/NEED_TASK, 179/0 bytes
        running delegated task...
        new HandshakeStatus: NEED_WRAP
        ----
        server wrap: OK/NEED_UNWRAP, 0/716 bytes
        ================
        server unwrap: OK/NEED_TASK, 42/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
        ================
        server unwrap: OK/NEED_WRAP, 53/0 bytes
        ----
        server wrap: OK/NEED_WRAP, 0/727 bytes
        ================
        server unwrap: BUFFER_UNDERFLOW/NEED_WRAP, 0/0 bytes
        ----
        server wrap: OK/NEED_WRAP, 0/6 bytes
        ================
        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, 85/49 bytes
        ----
        server wrap: OK/NOT_HANDSHAKING, 30/69 bytes
        ================
        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 for indirect buffers ...
        ================
        server unwrap: OK/NEED_TASK, 923/0 bytes
        running delegated task...
        new HandshakeStatus: NEED_WRAP
        ----
        server wrap: OK/NEED_WRAP, 0/776 bytes
        ================
        server unwrap: OK/NEED_WRAP, 0/0 bytes
        ----
        server wrap: OK/NEED_WRAP, 0/6 bytes
        ================
        server unwrap: OK/NEED_WRAP, 0/0 bytes
        ----
        server wrap: OK/NEED_UNWRAP, 0/53 bytes
        ================
        server unwrap: OK/NEED_UNWRAP, 6/0 bytes
        ----
        server wrap: OK/NEED_UNWRAP, 0/0 bytes
        ================
        server unwrap: OK/FINISHED, 53/0 bytes
        ...ready for application data
        ----
        server wrap: OK/NOT_HANDSHAKING, 30/69 bytes
        Need to read more from client
        ================
        server unwrap: OK/NOT_HANDSHAKING, 85/49 bytes
        ----
        server wrap: OK/NOT_HANDSHAKING, 0/0 bytes
        ================
        ----------System.err:(14/866)----------
        java.lang.Exception: Unexpected EOF
        at SSLSocketSSLEngineTemplate.runTest(SSLSocketSSLEngineTemplate.java:264)
        at SSLSocketSSLEngineTemplate.main(SSLSocketSSLEngineTemplate.java:164)
        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:127)
        at java.base/java.lang.Thread.run(Thread.java:830)

        JavaTest Message: Test threw exception: java.lang.Exception: Unexpected EOF
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.Exception: Unexpected EOF

          Attachments

            Issue Links

            There are no Sub-Tasks for this issue.

              Activity

                People

                • Assignee:
                  jjiang John Jiang
                  Reporter:
                  ssahoo Sibabrata Sahoo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: