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

sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server"

    XMLWordPrintable

Details

    • b09
    • x86_64
    • linux

    Backports

      Description

        The following test failed in the JDK19 CI:

        sun/net/www/http/KeepAliveCache/KeepAliveProperty.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(4/238)----------
        command: main -Dhttp.keepAlive.time.server=30 KeepAliveProperty long
        reason: User specified action: run main/othervm -Dhttp.keepAlive.time.server=30 KeepAliveProperty long
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 3.132
        ----------configuration:(0/0)----------
        ----------System.out:(1/28)----------
        URL: http://127.0.0.1:38087
        ----------System.err:(27/2032)----------
        Apr 28, 2022 3:24:02 PM sun.net.www.protocol.http.HttpURLConnection writeRequests
        FINE: www.MessageHeader@47654f865'>sun.net.www.MessageHeader@47654f865 pairs: {GET / HTTP/1.1: null}{User-Agent: Java/19-ea}{Host: 127.0.0.1:38087}{Accept: */*}{Connection: keep-alive}
        Apr 28, 2022 3:24:02 PM sun.net.www.http.HttpClient logFinest
        FINEST: KeepAlive stream used: http://127.0.0.1:38087
        Apr 28, 2022 3:24:02 PM sun.net.www.protocol.http.HttpURLConnection getInputStream0
        FINE: www.MessageHeader@47d0c1473'>sun.net.www.MessageHeader@47d0c1473 pairs: {null: HTTP/1.1 200 OK}{Content-Type: text/plain; charset=iso-8859-1}{Content-Length: 11}
        Apr 28, 2022 3:24:05 PM sun.net.www.http.ClientVector get
        FINEST: cached HttpClient was idle for 3000
        Apr 28, 2022 3:24:05 PM sun.net.www.http.HttpClient logFinest
        FINEST: KeepAlive stream retrieved from the cache, sun.net.www.http.HttpClient(http://127.0.0.1:38087)
        Apr 28, 2022 3:24:05 PM sun.net.www.protocol.http.HttpURLConnection writeRequests
        FINE: www.MessageHeader@4b6ea5ee5'>sun.net.www.MessageHeader@4b6ea5ee5 pairs: {GET / HTTP/1.1: null}{User-Agent: Java/19-ea}{Host: 127.0.0.1:38087}{Accept: */*}{Connection: keep-alive}
        Apr 28, 2022 3:24:05 PM sun.net.www.http.HttpClient logFinest
        FINEST: KeepAlive stream used: http://127.0.0.1:38087
        Apr 28, 2022 3:24:05 PM sun.net.www.protocol.http.HttpURLConnection getInputStream0
        FINE: www.MessageHeader@54e77e33'>sun.net.www.MessageHeader@54e77e33 pairs: {null: HTTP/1.1 200 OK}{Content-Type: text/plain; charset=iso-8859-1}{Content-Length: 13}
        java.lang.RuntimeException: Failed in server
        at KeepAliveProperty.main(KeepAliveProperty.java:176)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:828)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed in server
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed in server
        ----------rerun:(36/6726)*----------

        Attachments

          Issue Links

            Activity

              People

                djelinski Daniel Jelinski
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: