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

java/net/httpclient/HandshakeFailureTest.java failed with "RuntimeException: Not found expected SSLHandshakeException in java.io.IOException"

    XMLWordPrintable

Details

    • b12
    • aarch64
    • linux
    • Verified

    Backports

      Description

        The following test failed in the JDK17 CI:

        java/net/httpclient/HandshakeFailureTest.java

        Here's a snippet from the log file:

        DEBUG: [HttpClient-61-Worker-0] [11s 214ms] ExchangeImpl handling HTTP/2 connection creation result
        DEBUG: [HttpClient-61-Worker-0] [11s 214ms] ExchangeImpl handling HTTP/2 connection creation failed: java.util.concurrent.CompletionException: java.lang.AssertionError
        DEBUG: [HttpClient-61-Worker-0] [11s 214ms] ExchangeImpl HTTP/2 connection creation failed with unexpected exception: java.lang.AssertionError
        DEBUG: [HttpClient-61-Worker-0] [11s 214ms] Exchange checkFor407: no response - java.lang.AssertionError
        DEBUG: [HttpClient-61-Worker-0] [11s 215ms] HttpClientImpl(61) ClientImpl (async) elapsed 28 millis for GET to https://127.0.0.1:38959/
        java.lang.RuntimeException: Not found expected SSLHandshakeException in java.io.IOException
        at HandshakeFailureTest.checkExceptionOrCause(HandshakeFailureTest.java:267)
        at HandshakeFailureTest$ExceptionChecker.check(HandshakeFailureTest.java:99)
        at HandshakeFailureTest.testSyncDiffClient(HandshakeFailureTest.java:186)
        at HandshakeFailureTest.main(HandshakeFailureTest.java:131)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        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:831)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Not found expected SSLHandshakeException in java.io.IOException
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Not found expected SSLHandshakeException in java.io.IOException
        ----------rerun:(39/5959)*----------

        Since this is a Tier2 test failure, I'm starting this as a P3.

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: