Bug 1701797
| Summary: | Wget built from sources 'make check' fails due to Perl IPv6 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeffrey Walton <noloader> |
| Component: | perl | Assignee: | Jitka Plesnikova <jplesnik> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 29 | CC: | caillon+fedoraproject, iarnell, jplesnik, kasal, mmaslano, perl-devel, ppisar, psabata, rhughes, sandmann, tcallawa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-23 10:00:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jeffrey Walton
2019-04-22 01:25:44 UTC
Could you please show us the exact Perl code that fails for you? I'm sorry, but I'm not going to wade through some tests of a foreign package. If you blame Perl, then provide a Perl reproducer. From the logs you posted: Found wgettestingserver in host_name_addresses_map (0x5561cf524560) Connecting to wgettestingserver (wgettestingserver)|::1|:24443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... Closed fd 3 failed: Connection refused. Releasing 0x00005561cf524560 (new refcount 1). Releasing 0x00005561cf524560 (new refcount 0). Deleting unused 0x00005561cf524560. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:24443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... Closed fd 3 failed: Connection refused. Releasing 0x00005561cf53c150 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-pfs.px (exit status: 1) I can see something (wget?) connects to [::1]:24443 but nothing listens there. Then it retries to 127.0.0.1, but also nothing listens there. It seems your TCP server does not listen on port 24443. Please provide more details. By the way linked <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887590> is about HTTP::Daemon missing IPv6 support. This true for upstream's code, not for Fedoras one that has already been patched to support IPv6. I worry found a bug in a non-Fedora code. I just tried running the tests and all the tests that failed for you are actually skipped with an explanation: Failed to resolve WgetTestingServer, using /home/test/fedora/wget/wget-1.20.3/tests/certs/wgethosts They are skipped because Fedora's glibc does not respect HOSTALIASES environment variable that e.g. Test-https-pfs.px test uses to fake a domain name. You can see that in an official Fedora build system too <https://kojipkgs.fedoraproject.org//packages/wget/1.20.3/1.fc29/data/logs/x86_64/build.log>. (In reply to Petr Pisar from comment #3) > They are skipped because Fedora's glibc does not respect HOSTALIASES > environment variable Reported as glibc bug #1702218. If I add WgetTestingServer entry into /etc/hosts (IPv4 only, IPv6 only, or both), all tests pass for me except of tests/Test-https-weboftrust.px that is skipped always (it calls "exit 77;" unconditionally).
I conclude you have installed HTTP::Daemon from upstream (CPAN) instead of using Fedora's one ("dnf install 'perl(HTTP::Daemon)'").
I performed a dnf update today. The updated perl-IO-Socket-SSL cleared the issue: ============================================================================ Testsuite summary for wget 1.20.3 ============================================================================ # TOTAL: 44 # PASS: 44 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 Close this out. Sorry about the shitty report. I don't know Perl, so there was nothing I could do to help you. Thanks for the help. |