Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 757342

Summary: >=net-misc/curl-7.73.0 fails tests: test 1564 and 1565 fails
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matt Jolly <kangie>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, whissi
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/curl/curl/issues/6300
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-misc:curl-7.73.0:20201128-051042.log
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2020-11-28 10:17:34 UTC
make[1]: *** [Makefile:797: quiet-test] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/curl-7.73.0/work/curl-7.73.0-abi_x86_64.amd64/tests'
make: *** [Makefile:1453: test] Error 2
 * ERROR: net-misc/curl-7.73.0::gentoo failed (test phase):
 *   Make check failed. See above for details.
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-test-20201127-102027

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Nov 28 01:35:22 AM UTC 2020

emerge -qpvO net-misc/curl
[ebuild     U ] net-misc/curl-7.73.0 [7.72.0] USE="adns* ftp http2 imap ipv6 openssl pop3 progress-meter smtp ssl test* tftp -alt-svc -brotli -gnutls -gopher -idn -kerberos -ldap -libressl -mbedtls -metalink (-nghttp3) -nss -quiche -rtmp -samba -ssh -static-libs -telnet -threads (-winssl) -zstd%" CURL_SSL="openssl -gnutls -libressl -mbedtls -nss (-winssl)"
Comment 1 Toralf Förster gentoo-dev 2020-11-28 10:17:36 UTC
Created attachment 675487 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-28 10:17:38 UTC
Created attachment 675490 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-28 10:17:39 UTC
Created attachment 675493 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-28 10:17:40 UTC
Created attachment 675496 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-28 10:17:42 UTC
Created attachment 675499 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-28 10:17:44 UTC
Created attachment 675502 [details]
net-misc:curl-7.73.0:20201128-051042.log
Comment 7 Toralf Förster gentoo-dev 2020-11-28 10:17:46 UTC
Created attachment 675505 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-11-28 10:17:48 UTC
Created attachment 675508 [details]
tests.tbz2
Comment 9 Rolf Eike Beer archtester 2020-12-10 18:50:20 UTC
Same on sparc.
Comment 10 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-10 21:19:41 UTC
Same for x86, reported upstream: https://github.com/curl/curl/issues/6300

Regression, passing in 7.72.
Comment 11 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-10 21:21:50 UTC
I see failures for both, test 1564 and 1565. Error message looks the same.

https://github.com/curl/curl/issues/6299
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-10 23:44:40 UTC
Removing blocker, tests are only failing because they are testing disabled features.
Comment 13 Matt Jolly gentoo-dev 2023-02-20 07:09:26 UTC
This was resolved upstream in https://github.com/curl/curl/commit/eddae974060dc2f54d873aaab304fed853ec2cab

tl;dr: These tests now refuse to run if the software is configured without `--enable-socketpair` (and pass if the software _is_ configured that way).

It's another question whether or not that should be the default (there are some overheads for e.g. embedded systems) or toggable by users.

Regardless, this no longer impacts any versions of cURL in ::gentoo.