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

java/net/httpclient/ShortRequestBody.java failed intermittently

    Details

      Description

      ----------System.out:(1/54)----------
      Unexpectedjava.net.SocketException: Connection reset
      ----------System.err:(242/11487)----------

      ---- next supplier ----

      Server: got connection
      Server: count=0, offset=0
      Server: expecting 11 bytes
      Server: actually read 11 bytes
      Server: writing 57 bytes
      Response code: 200
      Server: got connection
      Server: count=1, offset=0
      Server: expecting 4 bytes
      Server: actually read 4 bytes
      Server: writing 57 bytes
      Response code: 200
      Server: got connection
      Server: count=2, offset=0
      Server: expecting 17 bytes
      Server: actually read 17 bytes
      Server: writing 57 bytes
      Response code: 200
      Server: got connection
      Server: count=3, offset=0
      Server: expecting 11 bytes
      Server: actually read 11 bytes
      Server: writing 57 bytes
      Response code: 200
      Server: got connection
      Server: count=4, offset=0
      Server: expecting 4 bytes
      Server: actually read 4 bytes
      Server: writing 57 bytes
      Response code: 200
      Server: got connection
      Server: count=5, offset=0
      Server: expecting 17 bytes
      Server: actually read 17 bytes
      Server: writing 57 bytes
      Response code: 200
      Server: got connection
      Server: count=6, offset=1
      Server: expecting 12 bytes
      Server: actually read 11 bytes
      Caught expected: java.io.IOException: SocketTube(7) [HttpClient-8-Worker-2] Too few bytes returned by the publisher (11/12)
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(8) [HttpClient-9-Worker-2] Too few bytes returned by the publisher (4/5)
      Server: count=7, offset=1
      Server: expecting 5 bytes
      Server: actually read 4 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(9) [HttpClient-10-Worker-2] Too few bytes returned by the publisher (17/18)
      Server: count=8, offset=1
      Server: expecting 18 bytes
      Server: actually read 17 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(10) [HttpClient-11-Worker-2] Too few bytes returned by the publisher (11/12)
      Server: count=9, offset=1
      Server: expecting 12 bytes
      Server: actually read 11 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(11) [HttpClient-12-Worker-2] Too few bytes returned by the publisher (4/5)
      Server: count=10, offset=1
      Server: expecting 5 bytes
      Server: actually read 4 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(12) [HttpClient-13-Worker-2] Too few bytes returned by the publisher (17/18)
      Server: count=11, offset=1
      Server: expecting 18 bytes
      Server: actually read 17 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(13) [HttpClient-14-Worker-0] Too many bytes in request body. Expected: 10, got: 11
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(14) [HttpClient-15-Worker-2] Too many bytes in request body. Expected: 3, got: 4
      Server: count=12, offset=2
      Server: expecting 10 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(15) [HttpClient-16-Worker-2] Too many bytes in request body. Expected: 16, got: 17
      Server: count=13, offset=2
      Server: expecting 3 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(16) [HttpClient-17-Worker-2] Too many bytes in request body. Expected: 10, got: 11
      Server: count=14, offset=2
      Server: expecting 16 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(17) [HttpClient-18-Worker-2] Too many bytes in request body. Expected: 3, got: 4
      Server: count=15, offset=2
      Server: expecting 10 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(18) [HttpClient-19-Worker-2] Too many bytes in request body. Expected: 16, got: 17
      Server: count=16, offset=2
      Server: expecting 3 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(19) [HttpClient-20-Worker-0] Too few bytes returned by the publisher (11/13)
      Server: count=17, offset=2
      Server: expecting 16 bytes
      Server: actually read 11 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(20) [HttpClient-21-Worker-2] Too few bytes returned by the publisher (4/6)
      Server: count=18, offset=3
      Server: expecting 13 bytes
      Server: actually read 4 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(21) [HttpClient-22-Worker-2] Too few bytes returned by the publisher (17/19)
      Server: count=19, offset=3
      Server: expecting 6 bytes
      Server: actually read 6 bytes
      Server: writing 57 bytes
      Server: got connection
      Server: count=20, offset=3
      Server: expecting 19 bytes
      Server: actually read 11 bytes
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(22) [HttpClient-23-Worker-2] Too few bytes returned by the publisher (11/13)
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(23) [HttpClient-24-Worker-2] Too few bytes returned by the publisher (4/6)
      Server: count=21, offset=3
      Server: expecting 13 bytes
      Server: actually read 4 bytes
      Server: got connection
      Server: count=22, offset=3
      Server: expecting 6 bytes
      Server: actually read 6 bytes
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(24) [HttpClient-25-Worker-2] Too few bytes returned by the publisher (17/19)
      Server: writing 57 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(25) [HttpClient-26-Worker-2] Too many bytes in request body. Expected: 9, got: 11
      Server: count=23, offset=3
      Server: expecting 19 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(26) [HttpClient-27-Worker-2] Too many bytes in request body. Expected: 2, got: 4
      Server: count=24, offset=4
      Server: expecting 9 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(27) [HttpClient-28-Worker-2] Too many bytes in request body. Expected: 15, got: 17
      Server: count=25, offset=4
      Server: expecting 2 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(28) [HttpClient-29-Worker-2] Too many bytes in request body. Expected: 9, got: 11
      Server: count=26, offset=4
      Server: expecting 15 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(29) [HttpClient-30-Worker-2] Too many bytes in request body. Expected: 2, got: 4
      Server: count=27, offset=4
      Server: expecting 9 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(30) [HttpClient-31-Worker-2] Too many bytes in request body. Expected: 15, got: 17
      Server: count=28, offset=4
      Server: expecting 2 bytes
      Server: actually read 0 bytes
      Server: got connection
      Server: count=29, offset=4
      Server: expecting 15 bytes
      Caught expected: java.io.IOException: SocketTube(31) [HttpClient-32-Worker-2] Too few bytes returned by the publisher (11/14)
      Server: actually read 11 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(32) [HttpClient-33-Worker-2] Too few bytes returned by the publisher (4/7)
      Server: count=30, offset=5
      Server: expecting 14 bytes
      Server: actually read 4 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(33) [HttpClient-34-Worker-2] Too few bytes returned by the publisher (17/20)
      Server: count=31, offset=5
      Server: expecting 7 bytes
      Server: actually read 7 bytes
      Server: writing 57 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(34) [HttpClient-35-Worker-2] Too few bytes returned by the publisher (11/14)
      Server: count=32, offset=5
      Server: expecting 20 bytes
      Server: actually read 11 bytes
      Server: got connection
      Server: count=33, offset=5
      Server: expecting 14 bytes
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(35) [HttpClient-36-Worker-2] Too few bytes returned by the publisher (4/7)
      Server: actually read 4 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(36) [HttpClient-37-Worker-0] Too few bytes returned by the publisher (17/20)
      Server: count=34, offset=5
      Server: expecting 7 bytes
      Server: actually read 7 bytes
      Server: writing 57 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(37) [HttpClient-38-Worker-2] Too many bytes in request body. Expected: 8, got: 11
      Server: count=35, offset=5
      Server: expecting 20 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(38) [HttpClient-39-Worker-2] Too many bytes in request body. Expected: 1, got: 4
      Server: count=36, offset=6
      Server: expecting 8 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.io.IOException: SocketTube(39) [HttpClient-40-Worker-2] Too many bytes in request body. Expected: 14, got: 17
      Server: count=37, offset=6
      Server: expecting 1 bytes
      Server: actually read 0 bytes
      Server: got connection
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(40) [HttpClient-41-Worker-2] Too many bytes in request body. Expected: 8, got: 11
      Server: count=38, offset=6
      Server: expecting 14 bytes
      Server: actually read 0 bytes
      Server: got connection
      Server: count=39, offset=6
      Server: expecting 8 bytes
      Server: actually read 0 bytes
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(41) [HttpClient-42-Worker-2] Too many bytes in request body. Expected: 1, got: 4
      Server: got connection
      Server: count=40, offset=6
      Server: expecting 1 bytes
      Server: actually read 0 bytes
      Caught expected: java.util.concurrent.ExecutionException: java.io.IOException: SocketTube(42) [HttpClient-43-Worker-2] Too many bytes in request body. Expected: 14, got: 17

      ---- next supplier ----

      Server: got connection
      Server: count=41, offset=6
      Server: expecting 14 bytes
      java.util.concurrent.TimeoutException
      at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1957)
      at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2092)
      at ShortRequestBody.success(ShortRequestBody.java:171)
      at ShortRequestBody.main(ShortRequestBody.java:140)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                fyuan Frank Yuan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: