Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655228 - net-misc/wget: test failures on IPv6 capable host
Summary: net-misc/wget: test failures on IPv6 capable host
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on: 655230
Blocks:
  Show dependency tree
 
Reported: 2018-05-07 23:36 UTC by Thomas Deutschmann
Modified: 2018-06-26 02:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2018-05-07 23:36:54 UTC
> =======================================
>    wget 1.19.5: tests/test-suite.log
> =======================================
> 
> # TOTAL: 93
> # PASS:  86
> # SKIP:  1
> # XFAIL: 0
> # FAIL:  6
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: Test-https-pfs
> ====================
> 
> Running test Test-https-pfs
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --secure-protocol=PFS --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:24443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:04--  https://wgettestingserver:24443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:24443... connected.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:05--  (try: 2)  https://wgettestingserver:24443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:24443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:24443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 0)
> FAIL Test-https-pfs.px (exit status: 1)
> 
> FAIL: Test-https-tlsv1
> ======================
> 
> Running test Test-https-tlsv1
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --secure-protocol=TLSv1 --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:28443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:04--  https://wgettestingserver:28443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:28443... connected.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:05--  (try: 2)  https://wgettestingserver:28443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:28443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:28443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:28443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:28443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 0)
> FAIL Test-https-tlsv1.px (exit status: 1)
> 
> FAIL: Test-https-tlsv1x
> =======================
> 
> Running test Test-https-tlsv1x
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --secure-protocol=TLSv1_1 --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:29443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:04--  https://wgettestingserver:29443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:29443... connected.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:05--  (try: 2)  https://wgettestingserver:29443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:29443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:29443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:29443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:29443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 0)
> FAIL Test-https-tlsv1x.px (exit status: 1)
> 
> FAIL: Test-https-selfsigned
> ===========================
> 
> Running test Test-https-selfsigned
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:26443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:04--  https://wgettestingserver:26443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:26443... connected.
> ERROR: The certificate of 'wgettestingserver' is not trusted.
> ERROR: The certificate of 'wgettestingserver' hasn't got a known issuer.
> Test failed: file somefile.txt not downloaded
> Running test Test-https-selfsigned
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --no-check-certificate  --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:27443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:04--  https://wgettestingserver:27443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:27443... connected.
> WARNING: The certificate of 'wgettestingserver' is not trusted.
> WARNING: The certificate of 'wgettestingserver' hasn't got a known issuer.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:05--  (try: 2)  https://wgettestingserver:27443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:27443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:27443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:27443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:27443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 0)
> FAIL Test-https-selfsigned.px (exit status: 1)
> 
> SKIP: Test-https-weboftrust
> ===========================
> 
> SKIP Test-https-weboftrust.px (exit status: 77)
> 
> FAIL: Test-https-clientcert
> ===========================
> 
> Running test Test-https-clientcert
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/client.crt  --private-key=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/server.key  --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:21443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:04--  https://wgettestingserver:21443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:21443... connected.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:05--  (try: 2)  https://wgettestingserver:21443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:21443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:21443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:21443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:21443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 5)
> Running test Test-https-clientcert
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/client.crt --private-key=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/client.key  --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:22443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:05--  https://wgettestingserver:22443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:22443... connected.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:06--  (try: 2)  https://wgettestingserver:22443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:22443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:22443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:22443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:22443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 0)
> FAIL Test-https-clientcert.px (exit status: 1)
> 
> FAIL: Test-https-crl
> ====================
> 
> Running test Test-https-crl
> Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:32443/somefile.txt
> Debugging support not compiled in. Ignoring --debug flag.
> --2018-05-08 01:19:05--  https://wgettestingserver:32443/somefile.txt
> Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem'
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:32443... connected.
> HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51.
> No data received.
> Retrying.
> 
> --2018-05-08 01:19:06--  (try: 2)  https://wgettestingserver:32443/somefile.txt
> Connecting to wgettestingserver (wgettestingserver)|::1|:32443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:32443... failed: Connection refused.
> Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
> Connecting to wgettestingserver (wgettestingserver)|::1|:32443... failed: Connection refused.
> Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:32443... failed: Connection refused.
> Test failed: wrong code returned (was: 4, expected: 0)
> FAIL Test-https-crl.px (exit status: 255)
>
Comment 1 Thomas Deutschmann gentoo-dev Security 2018-05-07 23:38:00 UTC
This is due to missing IPv6 support in dev-perl/HTTP-Daemon. Passing tests when dev-perl/HTTP-Daemon is patched with https://rt.cpan.org/Ticket/Attachment/1699040/912443/0001-Add-IPv6-support.patch.