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

java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped"

    XMLWordPrintable

Details

    • b12
    • x86_64
    • windows
    • Verified

    Backports

      Description

        The following test failed in the JDK20 CI:

        java/net/httpclient/SpecialHeadersTest.java

        Here's some log file snippets:

        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Exchange lambda$wrapForLog$11
        INFO: RESPONSE: (GET https://localhost:54947/https2?name=REFERER) 200 HTTP_2 Local port: 56779
        TestServer(2): connection accepted
        TestServer(2): stopping is: false
        TestServer(2): accepting connections
        TestServer(2): creating connection
        TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56784, Session(1660586378507|SSL_NULL_WITH_NULL_NULL)]
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Server connection to /127.0.0.1:56561 stopping. 1 streams
        Server connection to /127.0.0.1:56442 stopping. 1 streams
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Server connection to /127.0.0.1:56590 stopping. 1 streams
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Server connection to /127.0.0.1:56613 stopping. 1 streams
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Server connection to /127.0.0.1:56767 stopping. 3 streams
        Server connection to /127.0.0.1:56408 stopping. 1 streams
        TestServer: Connection writer stopping
        TestServer: Connection writer stopping
        Server connection to /127.0.0.1:56448 stopping. 1 streams
        TestServer: Connection writer stopping
        TestServer: Connection writer stopping
        Server connection to /127.0.0.1:56538 stopping. 1 streams
        TestServer: Connection writer stopping
        Server connection to /127.0.0.1:56596 stopping. 1 streams
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        TestServer: Connection writer stopping
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        TestServer: Connection writer stopping
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:38 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: Shutting down connection: HTTP/2 client stopped
        Aug 15, 2022 5:59:41 PM jdk.internal.net.http.Http2Connection shutdown
        INFO: ERROR: java.io.IOException: selector manager closed
        at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.selectorClosedException(HttpClientImpl.java:1015)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.selectorClosedException(HttpClientImpl.java:804)
        at java.net.http/jdk.internal.net.http.SocketTube$InternalWriteSubscriber.tryFlushCurrent(SocketTube.java:345)
        at java.net.http/jdk.internal.net.http.SocketTube$InternalWriteSubscriber.onNext(SocketTube.java:317)
        at java.net.http/jdk.internal.net.http.SocketTube.onNext(SocketTube.java:135)
        at java.net.http/jdk.internal.net.http.SocketTube.onNext(SocketTube.java:58)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run1(SubscriberWrapper.java:316)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run(SubscriberWrapper.java:259)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:205)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.outgoing(SubscriberWrapper.java:232)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.outgoing(SubscriberWrapper.java:198)
        at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Writer.sendResultBytes(SSLFlowDelegate.java:935)
        at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Writer.processData(SSLFlowDelegate.java:818)
        at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Writer$WriterDownstreamPusher.run(SSLFlowDelegate.java:694)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
        at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Writer.incoming(SSLFlowDelegate.java:718)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.incomingCaller(SubscriberWrapper.java:438)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.onNext(SubscriberWrapper.java:379)
        at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.onNext(SubscriberWrapper.java:57)
        at java.net.http/jdk.internal.net.http.common.SSLTube.onNext(SSLTube.java:662)
        at java.net.http/jdk.internal.net.http.common.SSLTube.onNext(SSLTube.java:68)
        at java.net.http/jdk.internal.net.http.HttpConnection$PlainHttpPublisher$HttpWriteSubscription.flush(HttpConnection.java:519)
        at java.net.http/jdk.internal.net.http.HttpConnection$PlainHttpPublisher.flushTask(HttpConnection.java:473)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
        at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
        at java.net.http/jdk.internal.net.http.HttpConnection$PlainHttpPublisher.signal(HttpConnection.java:480)
        at java.net.http/jdk.internal.net.http.HttpConnection$PlainHttpPublisher.signalEnqueued(HttpConnection.java:542)
        at java.net.http/jdk.internal.net.http.Http2Connection.sendFrame(Http2Connection.java:1317)
        at java.net.http/jdk.internal.net.http.Http2Connection.close(Http2Connection.java:634)
        at java.net.http/jdk.internal.net.http.Http2ClientImpl.close(Http2ClientImpl.java:215)
        at java.base/java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4783)
        at java.net.http/jdk.internal.net.http.Http2ClientImpl.stop(Http2ClientImpl.java:207)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.stop(HttpClientImpl.java:527)
        at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.shutdown(HttpClientImpl.java:1119)
        at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:1317)

        Starting this bug off as a P3 since this is a Tier2 failure.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: