p5-Protocol-HTTP2 icon indicating copy to clipboard operation
p5-Protocol-HTTP2 copied to clipboard

t/09_client_server_tcp.t fails on Ubuntu

Open dviererbe opened this issue 2 years ago • 1 comments

The current release 1.10 fails test t/09_client_server_tcp.t with the following error:

    #   Failed test 'no errors'
    #   at t/09_client_server_tcp.t line 115.
    #          got: 'Can't call method "push_write" on an undefined value at t/lib/PH2ClientServerTest.pm line 182.
    # '
    #     expected: ''

    #   Failed test 'no errors'
    #   at t/09_client_server_tcp.t line 115.
    #          got: 'Can't call method "push_write" on an undefined value at t/lib/PH2ClientServerTest.pm line 182.
    # '
    #     expected: ''
    # Looks like you failed 2 tests of 6.

#   Failed test 'client/server'
#   at t/09_client_server_tcp.t line 117.
# Looks like you failed 1 test of 1.
t/09_client_server_tcp.t .. 
# Subtest: client/server
    # test: without tls
    ok 1 - get response headers
    ok 2 - get body
    ok 3 - no errors
    # test: without tls, upgrade
    ok 4 - no errors
    # test: tls/npn
connection error
    not ok 5 - no errors
    # test: tls/alpn
connection error
    not ok 6 - no errors
    1..6
not ok 1 - client/server
1..1
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Ubuntu Bug: https://bugs.launchpad.net/ubuntu/+source/libprotocol-http2-perl/+bug/2023586

Note: The same package builds on Debian.

dviererbe avatar Jul 06 '23 13:07 dviererbe

I see the same error when trying to build 1.09.

dviererbe avatar Jul 06 '23 13:07 dviererbe