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

Test java/net/httpclient/http3/GetHTTP3Test.java intermittent fails java.io.IOException: QUIC endpoint closed when run with -Xcomp -XX:-TieredCompilation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • core-libs
    • x86_64
    • linux

      Test log snippet:
      AssertionError: Found some outstanding operations or unreleased resources in HttpClientImpl(1) after 100 iterations and 6569 ms, waited 1000 ms
      test GetHTTP3Test.testAsync("https://127.0.0.1:57501/h3/testH3/GET", HTTP_2, false, Optional.empty): failure [24068ms]
      java.lang.AssertionError: WARNING: tracker for HttpClientImpl(1) has outstanding operations:
      Pending HTTP Requests: 0
      Pending HTTP/1.1 operations: 0
      Pending HTTP/2 streams: 0
      Pending HTTP/3 streams: 0
      Pending WebSocket operations: 0
      Pending TCP connections: 1
      Pending Subscribers: 0
      Total pending operations: 0
      Facade referenced: false
      Selector alive: true
      at ReferenceTracker.check(ReferenceTracker.java:273)
      at ReferenceTracker.check(ReferenceTracker.java:111)
      at GetHTTP3Test.testAsync(GetHTTP3Test.java:351)
      ......

      DEBUG: [pool-1-thread-2] [26s 405ms] H3(QuicConnection(HttpClientImpl(1), QuicClientConnection(1))) schedule 1 bytes for writing on control stream
      DEBUG: [pool-1-thread-2] [26s 406ms] H3(QuicConnection(HttpClientImpl(1), QuicClientConnection(1))) Failed to write to control stream java.io.IOException: QUIC endpoint closed - no error
      java.io.IOException: QUIC endpoint closed - no error
      at java.net.http/jdk.internal.net.http.quic.TerminationCause.toReportedCause(TerminationCause.java:129)
      at java.net.http/jdk.internal.net.http.quic.TerminationCause.<init>(TerminationCause.java:56)
      at java.net.http/jdk.internal.net.http.quic.TerminationCause$SilentTermination.<init>(TerminationCause.java:203)
      at java.net.http/jdk.internal.net.http.quic.TerminationCause.forSilentTermination(TerminationCause.java:96)
      at java.net.http/jdk.internal.net.http.quic.QuicEndpoint.silentTerminateConnection(QuicEndpoint.java:1277)
      at java.net.http/jdk.internal.net.http.quic.QuicEndpoint.close(QuicEndpoint.java:1347)
      ......

      "MainThread" prio=5 Id=47 RUNNABLE
      at java.management@26/sun.management.ThreadImpl.dumpThreads0(Native Method)
      at java.management@26/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:505)
      at java.management@26/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:493)
      at app//ReferenceTracker.printThreads(ReferenceTracker.java:221)
      at app//ReferenceTracker.check(ReferenceTracker.java:283)
      at app//ReferenceTracker.check(ReferenceTracker.java:111)
      at app//GetHTTP3Test.testAsync(GetHTTP3Test.java:351)
      ......

      DEBUG: [Thread(QuicSelector(h2-server-1))] [28s 965ms] QuicSelector(h2-server-1) wait(1500) wakeups:24 (+0), waited: 1500
      java.lang.Exception: config failures: 0, test failures: 1
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:111)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:63)

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: