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

java/net/httpclient/http2/ServerPush.java failed intermittently because of timeout during ExecutorService shutdown

    Details

      Description

      ----------System.out:(31/2389)----------
      [TestNG] Running:
        java/net/httpclient/http2/ServerPush.java

      ServerSettings: SETTINGS: length=30, streamid=0, flags=0 Settings: HEADER_TABLE_SIZE=4096 ENABLE_PUSH=1 MAX_CONCURRENT_STREAMS=35 INITIAL_WINDOW_SIZE=65535 MAX_FRAME_SIZE=16384
      ClientSettings: SETTINGS: length=30, streamid=0, flags=0 Settings: HEADER_TABLE_SIZE=16384 ENABLE_PUSH=1 MAX_CONCURRENT_STREAMS=16 INITIAL_WINDOW_SIZE=65535 MAX_FRAME_SIZE=16384
      TEST OK: sleeping for 5 sec
      test ServerPush.test(): failure
      org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.test() didn't finish within the time-out 30000
      at java.base@10-internal/java.lang.Thread.interrupt(Thread.java:1016)
      at java.base@10-internal/java.util.concurrent.ThreadPoolExecutor$Worker.interruptIfStarted(ThreadPoolExecutor.java:670)
      at java.base@10-internal/java.util.concurrent.ThreadPoolExecutor.interruptWorkers(ThreadPoolExecutor.java:768)
      at java.base@10-internal/java.util.concurrent.ThreadPoolExecutor.shutdownNow(ThreadPoolExecutor.java:1417)
      at app//ServerPush.test(ServerPush.java:103)


      TestServer: Connection writer stopping
      Dec 06, 2017 3:41:01 PM jdk.incubator.http.PlainHttpConnection close
      INFO: ERROR: Closing: PlainHttpConnection: HttpConnection: java.nio.channels.SocketChannel[connected local=/127.0.0.1:52954 remote=/127.0.0.1:52951]
      Dec 06, 2017 3:41:01 PM jdk.incubator.http.Http2Connection shutdown
      INFO: ERROR: java.io.IOException: Connection aborted
      at jdk.incubator.httpclient/jdk.incubator.http.PlainHttpConnection.shutdown(PlainHttpConnection.java:284)
      at jdk.incubator.httpclient/jdk.incubator.http.PlainHttpConnection.asyncRead(PlainHttpConnection.java:304)
      at jdk.incubator.httpclient/jdk.incubator.http.PlainHttpConnection$ReadEvent.handle(PlainHttpConnection.java:396)
      at jdk.incubator.httpclient/jdk.incubator.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:438)
      at jdk.incubator.httpclient/jdk.incubator.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:408)

        Attachments

          Activity

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              fyuan Frank Yuan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: