Subject: | tests fail / hang on fresh Ubuntu 20.04 install |
Here is part of the test oputput:
t/local/39_pkcs12.t .................... ok
t/local/40_npn_support.t ............... Use of uninitialized value in string eq at t/local/40_npn_support.t line 93.
Use of uninitialized value in numeric eq (==) at t/local/40_npn_support.t line 94.
t/local/40_npn_support.t ............... 1/7
# Failed test 'P_next_proto_negotiated/server'
# at t/local/40_npn_support.t line 59.
# got: 'spdy/2'
# expected: undef
# Failed test 'ssl_read_all compare'
# at t/local/40_npn_support.t line 62.
# got: ''
# expected: 'ssleay-npn-test'
# Failed test 'P_next_proto_negotiated/client'
# at /usr/share/perl/5.30/Test/Builder.pm line 152.
# Failed test 'P_next_proto_last_status/client'
# at /usr/share/perl/5.30/Test/Builder.pm line 152.
# Looks like you failed 2 tests of 7.
t/local/40_npn_support.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/7 subtests
t/local/41_alpn_support.t .............. Use of uninitialized value in string eq at t/local/41_alpn_support.t line 92.
t/local/41_alpn_support.t .............. 1/6
# Failed test 'P_alpn_selected/server'
# at t/local/41_alpn_support.t line 58.
# got: undef
# expected: 'spdy/2'
# Failed test 'ssl_read_all compare'
# at t/local/41_alpn_support.t line 61.
# got: ''
# expected: 'ssleay-alpn-test'
# Failed test 'P_alpn_selected/client'
# at /usr/share/perl/5.30/Test/Builder.pm line 152.
# Looks like you failed 1 test of 6.
t/local/41_alpn_support.t .............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 3/6 subtests
t/local/42_info_callback.t ............. 1/2
# Failed test 'ctx: CB_HANDSHAKE_START CB_CONNECT_EXIT'
# at t/local/42_info_callback.t line 100.
# Failed test 'ssl: CB_HANDSHAKE_START CB_CONNECT_EXIT'
# at t/local/42_info_callback.t line 100.
# Looks like you failed 2 tests of 2.
t/local/42_info_callback.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/local/43_misc_functions.t ............ ok
t/local/44_sess.t ...................... Use of uninitialized value $end in string eq at t/local/44_sess.t line 219.
t/local/44_sess.t ...................... Failed 58/58 subtests
t/local/45_exporter.t ..................
Tested both with the system perl 5.30.0 and by building 5.31.10 from source.
patches from here:
http://archive.ubuntu.com/ubuntu/pool/main/libn/libnet-ssleay-perl/libnet-ssleay-perl_1.88-2ubuntu1.debian.tar.xz
specifically debian/patches/tlsv1.2min.patch fixes it, although is probably not (without some modifications) appropriate for other systems.
Test machine happens to be a Raspberry Pi running 64bit, but I don't think that is relevant.