Bug #99273 says net-misc/curl-7.15.0 would fix the test issues, but apperently it doesn't. Reproducible: Always Steps to Reproduce: 1. glsa-check -f new Actual Results: ********* System characteristics ******** * curl 7.15.0 (i586-pc-linux-gnu) * libcurl/7.15.0 OpenSSL/0.9.7e zlib/1.2.3 * Features: IPv6 Largefile NTLM SSL libz * Host: cube * System: Linux cube 2.6.11.6-infra-cube-1 #1 Tue Apr 19 03:17:52 CEST 2005 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux * Server SSL: ON * libcurl SSL: ON * libcurl debug: OFF * valgrind: OFF * HTTP IPv6 ON * FTP IPv6 ON * HTTP port: 8990 * FTP port: 8992 * FTP port 2: 8995 * HTTPS port: 8991 * HTTP IPv6 port: 8994 * FTP IPv6 port: 8996 * TFTP port: 8997 * SSL library: OpenSSL ***************************************** test 001...OK (1 out of 298, remaining: 04:57) [...] test 031...FAILED [...] test 046...FAILED [...] test 061...FAILED [...] test 272...OK (267 out of 298, remaining: 00:13) RUN: HTTPS server failed verification RUN: HTTPS server failed verification RUN: HTTPS server failed verification RUN: HTTPS server failed verification RUN: HTTPS server failed verification RUN: HTTPS server failed verification RUN: HTTPS server failed verification test 500...OK (275 out of 298, remaining: 00:15) [...] test 506...FAILED test 507...OK (282 out of 298, remaining: 00:10) test 508...OK (283 out of 298, remaining: 00:10) RUN: HTTPS server failed verification test 510...OK (285 out of 298, remaining: 00:09) [...] test 517...FAILED [...] TESTDONE: 277 tests out of 282 reported OK: 98% TESTFAIL: These test cases failed: 31 46 61 506 517 TESTDONE: 298 tests were considered during 206 seconds. TESTINFO: 16 tests were skipped due to these restraints: TESTINFO: "failed starting HTTPS server (stunnel)" 8 times (300, 301, 302, 303, 304, 305, 306, 509) TESTINFO: "rlimit problems" 1 times (518) TESTINFO: "curl lacks idn support" 1 times (165) TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257) make[1]: *** [quiet-test] Error 1 make: *** [test] Error 2 !!! ERROR: net-misc/curl-7.15.0 failed. !!! Function src_test, Line 566, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Successfully complete the test suite and install the security update. Gentoo Base System version 1.6.13 Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.11.6-infra-cube-1 i686) ================================================================= System uname: 2.6.11.6-infra-cube-1 i686 AMD Athlon(tm) XP 1700+ distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" LANG="en_US" LINGUAS="en,de" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0" SYNC="rsync://copper.sascha.silbe.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X a52 aac accessibility acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdparanoia cdr chipcard cjk crypt curl doc dts dv dvd dvdr dvdread ecc eds emboss encode examples fam fame ffmpeg flac foomaticdb fortran gd gdbm geldkarte gif gimpprint gmp gstreamer gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg jpeg2k lapack lcms libg++ libwww lm_sensors lvm1 lzo mad maildir makecheck mbox mikmod mjpeg mmx mmxext monitor mozsvg mp3 mpeg mysql nas ncurses nls nodrm offensive ogg oggvorbis openal opengl oss pam pda pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey smartcard speex spell sqlite sse ssl svg sysfs test tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs xine xml xml2 xv xvid yv12 zlib linguas_en,de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
I was unable to replicate these errors. I tried building with the same CFLAGS, FEATURES and USE flags, as well as with distcc enabled (2 hosts), but it always passed the test phase.
Still happens on my host. The only difference to the posted output are these lines: Changed: * libcurl/7.15.0 OpenSSL/0.9.7e zlib/1.2.3 libidn/0.5.15 Removed: TESTINFO: "curl lacks idn support" 1 times (165)
Created attachment 74337 [details] output (stdout) of ./runtests.pl -a -v It seems like some timestamps are differing, but I don't know what's the cause.
Created attachment 74637 [details] log/stderr255 test 252...OK (247 out of 301, remaining: 00:27) test 253...sh: line 1: 30662 Aborted ../src/curl --output log/curl253.out --include -v --trace-time -g "ftp://[::1]:8996/" -P - >>log/stdout253 2>>log/stderr253 FAILED test 254...OK (249 out of 301, remaining: 00:26) test 255...sh: line 1: 30694 Aborted ../src/curl --output log/curl255.out --include -v --trace-time -g "ftp://[::1]:8996/" -P - --disable-eprt >>log/stdout255 2>>log/stderr255 FAILED test 256...OK (251 out of 301, remaining: 00:25) TESTDONE: 270 tests out of 272 reported OK: 99% TESTFAIL: These test cases failed: 253 255 TESTDONE: 301 tests were considered during 163 seconds. TESTINFO: 29 tests were skipped due to these restraints: TESTINFO: "rlimit problems" 1 times (518) TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257) TESTINFO: "curl lacks OpenSSL support" 1 times (509) TESTINFO: "curl lacks NTLM support" 21 times (67, 68, 69, 70, 81, 89, 90, 91, 150, 155, 159, 162, 169, 170, 176, 209, 213, 239, 243, 265, 267) make[1]: *** [quiet-test] Error 1 make[1]: Leaving directory `/var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests' make: *** [test] Error 2 !!! ERROR: net-misc/curl-7.15.1 failed. to get more results cd /var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests ./runtests.pl 255 look in the log/* for the exact error and attach that file. In this case log/stderr255 Portage 2.0.53 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.16 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -g -ggdb3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect cvs distlocks keepwork nostrip sandbox sfperms sign strict test userpriv usersandbox verify-rdepend" GENTOO_MIRRORS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aac aalib acl acpi adns alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl directfb divx4linux dlloader ecc encode ethereal exif expat extensions fam fastcgi ffmpeg fla flac fortran gd ggi gif glut gmp gnutls gphoto2 gstreamer gtk gtk2 gtkhtml guile hardened hpn i8x0 idn imagemagick imlib ipv6 jack java javacomm jpeg junit kde kdeenablefinal kerberos lcms libgda libwww lzo mad matroska mbox mhash mikmod ming mmx mng motif mozilla mp3 mpeg multitarget mysql nas nptl nptlonly ntlm ogg oggvorbis openal operanom2 pam pcre pdflib perl php pic png postgres ppds python qt quicktime readline samba sdl sguil slp snmp socks5 sox speex spell sqlite sse ssl svga tcltk tetex tiff true-type truetype type1-fonts udev usb userlocales vhosts vorbis x86 xine xinerama xml xml2 xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 74638 [details] log/stderr253 23:26:32.107027 * Connection accepted from server lt-curl: stack smashing attack in function AllowServerConnect() same for test 253
please attach stderr for the failed tests: e.g. for 255 cd /var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests ./runtests.pl 255 look in the log/* for the exact error and attach that file. In this case log/stderr255
Created attachment 74710 [details] log/stderr31
Created attachment 74711 [details] log/stderr46
Created attachment 74712 [details] log/stderr61
Created attachment 74713 [details] log/stderr506
Created attachment 74714 [details] log/stderr517
*** Bug 127064 has been marked as a duplicate of this bug. ***
Created attachment 82754 [details] log/stdout46 (bug 127064) output of failing ./runtests.pl 46 with curl 7.15.1-r1 (from bug #127064)
Created attachment 82755 [details] log/stderr46 (bug 127064) log/stderr46 from ./runtests.pl 46 with curl 7.15.1-r1 (bug #127064)
Created attachment 82756 [details] log/stderr46 (bug 127064) stdout and stderr were not from the same machine (different USEs, as shown in HTTP User-Agent)
(In reply to comment #14) > Created an attachment (id=82755) [edit] > log/stderr46 (bug 127064) > > log/stderr46 from ./runtests.pl 46 with curl 7.15.1-r1 (bug #127064) > The cookie in the test 46 has expired see http://curl.haxx.se/mail/archive-2006-02/0033.html
I also get errors with FEATURES="test" and curl: <quote> TESTFAIL: These test cases failed: 46 TESTDONE: 301 tests were considered during 198 seconds. TESTINFO: 24 tests were skipped due to these restraints: TESTINFO: "no stunnel" 8 times (300, 301, 302, 303, 304, 305, 306, 509) TESTINFO: "curl lacks ipv6 support" 9 times (212, 240, 241, 242, 252, 253, 254, 255, 263) TESTINFO: "rlimit problems" 1 times (518) TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257) </quote> You can skip the ipv6-part, i have USE ipv6 and no ipv6-support in my kernel. But from "no stunnel" i get, that curl with USE="test" should depend on net-misc/stunnel. I'll check that.
(In reply to comment #17) > You can skip the ipv6-part, i have USE ipv6 and no ipv6-support in my kernel. > But from "no stunnel" i get, that curl with USE="test" should depend on > net-misc/stunnel. I'll check that. Forget what i wrote, i mixed failing tests with skipped tests.
(In reply to comment #16) > The cookie in the test 46 has expired > see http://curl.haxx.se/mail/archive-2006-02/0033.html There is a patch for the wrong testfile on this page. Adding this patch to the ebuild should solve the problem. If not, removing curl-7.15.1-r1/tests/data/test46 solves the problem.
Created attachment 85758 [details, diff] Patch from link mentioned in comment #16
Created attachment 85759 [details, diff] patch for curl-7.15.1-r1.ebuild This solves the problem.
Thanks for the patch. This patch is now in portage for 7.15.1, and its already fixed upstream for 7.15.3
It still fails for me for these tests: 31 46 61 506 517 These are all UTC vs. TAI issues. See bug #137705 for an explanation.
Created attachment 92428 [details] Output of "runtests.pl -k -v -a 31 46 61 506 517"
Sascha can you describe how you created the UTC/TAI differences that illistrate this bug and report this upstream http://sourceforge.net/tracker/?group_id=976&atid=100976