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

java/net/httpclient/FlowAdapterPublisherTest.java timed out: Invalid preface: \u0000

XMLWordPrintable

    • x86_64
    • os_x

      The following test timed out in the JDK18 CI:

      java/net/httpclient/FlowAdapterPublisherTest.java

      Here's a snippet from the log file:

      ----------System.out:(43/3722)----------
      config FlowAdapterPublisherTest.setup(): success
      test FlowAdapterPublisherTest.testAPIExceptions(): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherFixedLength("http://localhost:56620/http1/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherFixedLength("https://localhost:56621/https1/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherFixedLength("http://localhost:56622/http2/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherFixedLength("https://localhost:56623/https2/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherUnknownLength("http://localhost:56620/http1/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherUnknownLength("https://localhost:56621/https1/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherUnknownLength("http://localhost:56622/http2/echo"): success
      You know it's summer in Ireland when the rain gets warmer.
      test FlowAdapterPublisherTest.testByteBufferPublisherUnknownLength("https://localhost:56623/https2/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherFixedLength("http://localhost:56620/http1/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherFixedLength("https://localhost:56621/https1/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherFixedLength("http://localhost:56622/http2/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherFixedLength("https://localhost:56623/https2/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherUnknownLength("http://localhost:56620/http1/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherUnknownLength("https://localhost:56621/https1/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherUnknownLength("http://localhost:56622/http2/echo"): success
      God invented whiskey to keep the Irish from ruling the world.
      test FlowAdapterPublisherTest.testMappedByteBufferPublisherUnknownLength("https://localhost:56623/https2/echo"): success
      test FlowAdapterPublisherTest.testPublishTooFew("http://localhost:56620/http1/echo"): success
      test FlowAdapterPublisherTest.testPublishTooFew("https://localhost:56621/https1/echo"): success
      test FlowAdapterPublisherTest.testPublishTooFew("http://localhost:56622/http2/echo"): success
      test FlowAdapterPublisherTest.testPublishTooFew("https://localhost:56623/https2/echo"): success
      test FlowAdapterPublisherTest.testPublishTooMany("http://localhost:56620/http1/echo"): success
      test FlowAdapterPublisherTest.testPublishTooMany("https://localhost:56621/https1/echo"): success
      test FlowAdapterPublisherTest.testPublishTooMany("http://localhost:56622/http2/echo"): success
      test FlowAdapterPublisherTest.testPublishTooMany("https://localhost:56623/https2/echo"): success
      Timeout refired 480 times
      ----------System.err:(90/5202)*----------
      TestServer: New connection from Socket[addr=/127.0.0.1,port=56626,localport=56622]
      TestServer: POST /http2/echo
      Server: creating input stream for stream 1
      Using handler for: /http2/echo
      Sent response headers 200
      TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56627, Session(1632786334686|SSL_NULL_WITH_NULL_NULL)]
      TestServer: POST /https2/echo
      Server: creating input stream for stream 1
      Using handler for: /https2/echo
      Sent response headers 200
      TestServer: New connection from Socket[addr=/127.0.0.1,port=56630,localport=56622]
      TestServer: POST /http2/echo
      Server: creating input stream for stream 1
      Using handler for: /http2/echo
      Sent response headers 200
      TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56631, Session(1632786336377|SSL_NULL_WITH_NULL_NULL)]
      TestServer: POST /https2/echo
      Server: creating input stream for stream 1
      Using handler for: /https2/echo
      Sent response headers 200
      TestServer: New connection from Socket[addr=/127.0.0.1,port=56634,localport=56622]
      TestServer: POST /http2/echo
      Server: creating input stream for stream 1
      Using handler for: /http2/echo
      Sent response headers 200
      TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56635, Session(1632786336517|SSL_NULL_WITH_NULL_NULL)]
      TestServer: POST /https2/echo
      Server: creating input stream for stream 1
      Using handler for: /https2/echo
      Sent response headers 200
      TestServer: New connection from Socket[addr=/127.0.0.1,port=56638,localport=56622]
      TestServer: POST /http2/echo
      Server: creating input stream for stream 1
      Using handler for: /http2/echo
      Sent response headers 200
      TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56639, Session(1632786336635|SSL_NULL_WITH_NULL_NULL)]
      TestServer: POST /https2/echo
      Server: creating input stream for stream 1
      Using handler for: /https2/echo
      Sent response headers 200
      TestServer: New connection from Socket[addr=/127.0.0.1,port=56642,localport=56622]
      Invalid preface: read 0/24 bytes
      Server connection to /127.0.0.1:56642 stopping. 0 streams
      TestServer: start exception: java.io.IOException: Invalid preface: \u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000
      TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56643, Session(1632786336776|SSL_NULL_WITH_NULL_NULL)]
      TestServer: POST /https2/echo
      Server: creating input stream for stream 1
      Using handler for: /https2/echo
      Sent response headers 200
      TestServer: Stream 1 closed: java.io.IOException: closed
      TestServer: New connection from Socket[addr=/127.0.0.1,port=56646,localport=56622]
      Invalid preface: read 0/24 bytes
      Server connection to /127.0.0.1:56646 stopping. 0 streams
      TestServer: start exception: java.io.IOException: Invalid preface: \u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000
      TestServer: New connection from SSLSocket[hostname=127.0.0.1, port=56647, Session(1632786336917|SSL_NULL_WITH_NULL_NULL)]
      TestServer: POST /https2/echo
      Server: creating input stream for stream 1
      Using handler for: /https2/echo
      Sent response headers 200
      TestServer: Stream 1 closed: java.io.IOException: closed
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56626 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56627 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56630 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56631 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56634 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56635 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56638 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56639 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56643 stopping. 1 streams
      TestServer: Connection writer stopping
      Closing: GOAWAY: length=25, streamid=0, flags=0 Error: Not an error Debugdata: Requested by user
      Server connection to /127.0.0.1:56647 stopping. 1 streams
      TestServer: Connection writer stopping
      ----------rerun:(41/9214)*----------

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

              Created:
              Updated: