Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204130 - net-misc/curl-7.17.1 fails test 405 (FTPS operation to FTP port)
Summary: net-misc/curl-7.17.1 fails test 405 (FTPS operation to FTP port)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 23:10 UTC by Michał Kiedrowicz
Modified: 2008-04-01 13:53 UTC (History)
0 users

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


Attachments
build log (log,127.95 KB, text/plain)
2008-01-02 23:11 UTC, Michał Kiedrowicz
Details
output of ./runtests.pl -v -d -k -p 405 (test log,13.91 KB, text/plain)
2008-01-02 23:12 UTC, Michał Kiedrowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Kiedrowicz 2008-01-02 23:10:11 UTC
test 296...OK (290 out of 403, remaining: 02:37)
test 297...OK (291 out of 403, remaining: 02:35)
test 298...OK (292 out of 403, remaining: 02:34)
test 350...OK (302 out of 403, remaining: 02:16)
test 351...OK (303 out of 403, remaining: 02:14)
test 352...OK (304 out of 403, remaining: 02:13)
test 353...OK (305 out of 403, remaining: 02:12)
test 354...OK (306 out of 403, remaining: 02:10)
test 402...OK (309 out of 403, remaining: 02:05)
test 405... exit FAILED
test 500...OK (317 out of 403, remaining: 03:14)
test 501...OK (318 out of 403, remaining: 03:11)
test 502...OK (319 out of 403, remaining: 03:09)
test 503...OK (320 out of 403, remaining: 03:07)
test 504...OK (321 out of 403, remaining: 03:04)
test 505...OK (322 out of 403, remaining: 03:01)
test 506...OK (323 out of 403, remaining: 02:59)

test 2000...OK (399 out of 403, remaining: 00:08)
test 2001...OK (400 out of 403, remaining: 00:06)
test 2002...OK (401 out of 403, remaining: 00:04)
test 2003...OK (402 out of 403, remaining: 00:02)
TESTDONE: 327 tests out of 328 reported OK: 99%
TESTFAIL: These test cases failed: 405 
TESTDONE: 403 tests were considered during 842 seconds.
TESTINFO: 75 tests were skipped due to these restraints:
TESTINFO: "curl lacks any scp support" 4 times (601, 603, 605, 607)
TESTINFO: "curl lacks any sftp support" 13 times (600, 602, 604, 606, 608, 609, 
610, 611, 612, 613, 614, 615, 2004)
TESTINFO: "rlimit problem: fds needed 1050 > system limit 1024" 1 times (518)
TESTINFO: "curl lacks ipv6 support" 10 times (116, 212, 240, 241, 242, 252, 253,
 254, 255, 263)
TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257
)
TESTINFO: "curl lacks OpenSSL support" 3 times (307, 308, 509)
TESTINFO: "no stunnel" 15 times (300, 301, 302, 303, 304, 305, 306, 400, 401, 403, 404, 406, 407, 408, 409)
TESTINFO: "curl lacks idn support" 1 times (165)
TESTINFO: "curl lacks NTLM support" 22 times (67, 68, 69, 70, 81, 89, 90, 91, 150, 155, 159, 162, 169, 170, 176, 209, 213, 239, 243, 265, 267, 1008)
make[1]: *** [quiet-test] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/curl-7.17.1/work/curl-7.17.1/tests'
make: *** [test] Error 2

Reproducible: Always




Portage 2.1.4_rc14 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-tuxonice-r4 x86_64)
=================================================================
System uname: 2.6.23-tuxonice-r4 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Wed, 02 Jan 2008 13:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -ggdb"
DISTDIR="/usr/portage.distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl ftp://gentoo.po.opole.pl ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 apache2 bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode flac gdbm gif gnutls gpm gstreamer gtk hal iconv java jpeg kdeenablefinal kdehiddenvisibility lcms logrotate mad midi mmx mp3 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png postgres python quicktime readline sasl sdl session slang spell spl sse sse2 ssl svg tcpd threads truetype truetype-fonts type1-fonts unicode vim-syntax vorbis xcomposite xml xorg xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="i810 i830 i915 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Kiedrowicz 2008-01-02 23:11:05 UTC
Created attachment 139917 [details]
build log
Comment 2 Michał Kiedrowicz 2008-01-02 23:12:17 UTC
Created attachment 139919 [details]
output of ./runtests.pl -v -d -k -p 405
Comment 3 Daniel Stenberg 2008-01-28 11:42:10 UTC
This happens because the GnuTLS-related code in libcurl doesn't return the same error code as the OpenSSL-related code, for which this test case works. This should be fixed by either changing the GnuTLS-related code to return the proper value (if even possible) or by changing the test case to check for different return values depending on which lib that is used.
Comment 4 Daniel Stenberg 2008-02-20 20:52:52 UTC
this is now fixed in upstream CVS
Comment 5 Daniel Black (RETIRED) gentoo-dev 2008-04-01 13:53:36 UTC
attempted a workaround by disabling the test case in  7.17.1. lucky its fixed in 7.18.1

thanks for the bug report.