Subject: | Fails t/local/06_tcpecho.t and t/local/07_sslecho.t under network sandbox |
Gentoo executes package tests under a network sandbox that's supposed to prevent external network IO, while still having local network IO within the sandbox.
However, under these conditions, most tests run properly, including the network consuming ones ( in that they just auto-skip instead of failing )
But 2 tests in the "local" test suite currently fail for whatever reason:
t/local/06_tcpecho.t actually runs indefinitely with a hung child blocked in accept()
t/local/06_tcpecho.t ...................
1..4
Use of uninitialized value $got in string eq at t/local/06_tcpecho.t line 66.
63 my @results;
64 {
65 my ($got) = Net::SSLeay::tcpcat('localhost', $port, $msg);
66 push @results, [ $got eq uc($msg), 'sent and received correctly' ];
67 }
t/local/07_sslecho.t actually finishes, but indicates some problem interfacing with Socket.pm:
t/local/07_sslecho.t ...................
1..78
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib64/perl5/5.26.2/x86_64-linux/Socket.pm line 834.
Show quoted text
Failed 78/78 subtests
Its not clear to me why these tests only *now* fail for me, despite being fine months ago, but I have openssl 1.1.0j installed now, and that *could* be a significant factor
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
However, under these conditions, most tests run properly, including the network consuming ones ( in that they just auto-skip instead of failing )
But 2 tests in the "local" test suite currently fail for whatever reason:
t/local/06_tcpecho.t actually runs indefinitely with a hung child blocked in accept()
t/local/06_tcpecho.t ...................
1..4
Use of uninitialized value $got in string eq at t/local/06_tcpecho.t line 66.
63 my @results;
64 {
65 my ($got) = Net::SSLeay::tcpcat('localhost', $port, $msg);
66 push @results, [ $got eq uc($msg), 'sent and received correctly' ];
67 }
t/local/07_sslecho.t actually finishes, but indicates some problem interfacing with Socket.pm:
t/local/07_sslecho.t ...................
1..78
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib64/perl5/5.26.2/x86_64-linux/Socket.pm line 834.
Show quoted text
# Looks like your test exited with 11 just after 51.
Dubious, test returned 11 (wstat 2816, 0xb00)Failed 78/78 subtests
Its not clear to me why these tests only *now* fail for me, despite being fine months ago, but I have openssl 1.1.0j installed now, and that *could* be a significant factor
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )