zilla icon indicating copy to clipboard operation
zilla copied to clipboard

`StartingIT.shouldUpgradeViaPriorKnowledgeWithTlsAndAlpn` fails only on Github Actions

Open jfallows opened this issue 1 year ago • 0 comments

Build (17)

Error:  io.aklivity.zilla.runtime.binding.http.internal.streams.rfc7540.client.StartingIT.shouldUpgradeViaPriorKnowledgeWithTlsAndAlpn
Error:    Run 1: StartingIT.shouldUpgradeViaPriorKnowledgeWithTlsAndAlpn Specified behavior did not match expected:<...orld"

write close

[read zilla:begin.ext ${http:beginEx()
                           .typeId(zilla:id("http"))
                           .header(":status", "200")
                           .header("server", "CERN/3.0 libwww/2.17")
                           .header("date", "Wed, 01 Feb 2017 19:12:46 GMT")
                                 .build()
                               .info()
                                 .alpn("h2")
                                 .authority("localhost")
                                 .secure()
                                   .version("TLSv1.3")
                                   .build()
                                 .build()
                               .build()}

connected

# server connection preface - SETTINGS frame
write [0x00 0x00 0x12]                   # length = 18
      [0x04]                             # HTTP2 SETTINGS frame
      [0x00]                             # flags = 0x00
      [0x00 0x00 0x00 0x00]              # stream_id = 0
      [0x00 0x03 0x00 0x00 0x00 0x64]    # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100
      [0x00 0x04 0x00 0x00 0x00 0x00]    # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0
      [0x00 0x06 0x00 0x00 0x20 0x00]    # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192
write flush

# client connection preface
read "PRI * HTTP/2.0\r\n"
     "\r\n"
     "SM\r\n"
     "\r\n"

read  [0x00 0x00 0x0c]                   # length = 18
      [0x04]                             # HTTP2 SETTINGS frame
      [0x00]                             # flags = 0x00
      [0x00 0x00 0x00 0x00]              # stream_id = 0
      [0x00 0x03 0x00 0x00 0x00 0x64]    # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100
      [0x00 0x04 0x00 0x00 0xff 0xff]    # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535

write [0x00 0x00 0x00]                  # length = 0
      [0x04]                            # HTTP2 SETTINGS frame
      [0x01]                            # ACK
      [0x00 0x00 0x00 0x00]             # stream_id = 0
write flush

read  [0x00 0x00 0x33]                                      # length = 51
      [0x01]                                                # HEADERS frame
      [0x04]                                                # END_HEADERS
      [0x00 0x00 0x00 0x01]                                 # stream_id = 1
      [0x86]                                                # :scheme: http
      [0x83]                                                # :method: POST
      [0x84]                                                # :path: /
      [0x01] [0x0e] "localhost:8080"                        # :authority: localhost:8080
      [0x0f 0x10] [0x18] "text/plain;charset=UTF-8"         # content-type
      [0x0f 0x0d] [0x02] "12"                               # content-length

read [0x00 0x00 0x00]]
>
Error:    Run 2: StartingIT.shouldUpgradeViaPriorKnowledgeWithTlsAndAlpn:64 » TestTimedOut test...
[INFO] 
[INFO] 
Error:  Tests run: 210, Failures: 0, Errors: 1, Skipped: 53

jfallows avatar Feb 06 '24 22:02 jfallows