Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4456 closed enhancement (fixed)

curl-7.34.0

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description


Change History (6)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 10 years ago

http://curl.haxx.se/dev/release-notes.html This release includes the following security fix:

o gtls: respect *VERIFYHOST independently of *VERIFYPEER [26]

...

Read also: libcurl cert name check ignore GnuTLS: http://curl.haxx.se/docs/adv_20131217.html

comment:3 by Fernando de Oliveira, 10 years ago

Tests 20 507 534 have been failing for me since Oct 2013:

http://www.mail-archive.com/blfs-dev@linuxfromscratch.org/msg15509.html

Perhaps I have finally the reason at:

http://permalink.gmane.org/gmane.comp.web.curl.general/13282:

This might be due to a broken DNS implementation on this machine or its
recursive DNS resolver.

I do not have httpd nor bind.

Is this analysis correct?

The logs:

only test 20 executed

CMD (256): valgrind >/dev/null 2>&1
CMD (0): valgrind --help 2>&1 | grep -- --tool > /dev/null 2>&1
CMD (0): ../src/curl --version 1>log/curlverout.log 2>log/curlvererr.log
********* System characteristics ******** 
* curl 7.34.0 (i686-pc-linux-gnu) 
* libcurl/7.34.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28
* Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP 
* Host: VMWLFS74
* System: Linux VMWLFS74 3.11.1 #1 SMP Thu Sep 19 08:53:45 BRT 2013 i686 GNU/Linux
* Server SSL:        OFF  libcurl SSL:  ON 
* debug build:       OFF  track memory: OFF
* valgrind:          ON   HTTP IPv6     ON 
* FTP IPv6           ON   Libtool lib:  OFF
* Shared build:      yes
* SSL library:       OpenSSL
* Ports:
*   HTTP/8990 FTP/8992 FTP2/8995 RTSP/9007 
*   TFTP/8997 HTTP-IPv6/8994 RTSP-IPv6/9008 FTP-IPv6/8996 
*   GOPHER/9009 GOPHER-IPv6/9009
*   SSH/8999 SOCKS/9000 POP3/9001 IMAP/9003 SMTP/9005
*   POP3-IPv6/9002 IMAP-IPv6/9004 SMTP-IPv6/9006
*   HTTPTLS/9011 HTTPTLS-IPv6/9012 
*   HTTP-PIPE/9014 
***************************************** 
* starts no server
test 020...[attempt connect to non-existing host name]
../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind20 ../src/curl --output log/curl20.out  --include --trace-ascii log/trace20 --trace-time non-existing-host.haxx.se. >log/stdout20 2>log/stderr20
CMD (1792): ../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind20 ../src/curl --output log/curl20.out  --include --trace-ascii log/trace20 --trace-time non-existing-host.haxx.se. >log/stdout20 2>log/stderr20

curl returned 7, when expecting 6
 exit FAILED
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 20 
TESTDONE: 1 tests were considered during 129 seconds.

only 507 executed

CMD (256): valgrind >/dev/null 2>&1
CMD (0): valgrind --help 2>&1 | grep -- --tool > /dev/null 2>&1
CMD (0): ../src/curl --version 1>log/curlverout.log 2>log/curlvererr.log
********* System characteristics ******** 
* curl 7.34.0 (i686-pc-linux-gnu) 
* libcurl/7.34.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28
* Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP 
* Host: VMWLFS74
* System: Linux VMWLFS74 3.11.1 #1 SMP Thu Sep 19 08:53:45 BRT 2013 i686 GNU/Linux
* Server SSL:        OFF  libcurl SSL:  ON 
* debug build:       OFF  track memory: OFF
* valgrind:          ON   HTTP IPv6     ON 
* FTP IPv6           ON   Libtool lib:  OFF
* Shared build:      yes
* SSL library:       OpenSSL
* Ports:
*   HTTP/8990 FTP/8992 FTP2/8995 RTSP/9007 
*   TFTP/8997 HTTP-IPv6/8994 RTSP-IPv6/9008 FTP-IPv6/8996 
*   GOPHER/9009 GOPHER-IPv6/9009
*   SSH/8999 SOCKS/9000 POP3/9001 IMAP/9003 SMTP/9005
*   POP3-IPv6/9002 IMAP-IPv6/9004 SMTP-IPv6/9006
*   HTTPTLS/9011 HTTPTLS-IPv6/9012 
*   HTTP-PIPE/9014 
***************************************** 
startnew: perl -I. ./httpserver.pl --pidfile ".http_server.pid" --logfile "log/http_server.log" --ipv4 --port 8990 --srcdir "."
RUN: ../src/curl --max-time 13 --output log/http_verify.out --silent --verbose --globoff "http://127.0.0.1:8990/verifiedserver" 2>log/http_verify.log
CMD (0): ../src/curl --max-time 13 --output log/http_verify.out --silent --verbose --globoff "http://127.0.0.1:8990/verifiedserver" 2>log/http_verify.log
RUN: HTTP server is now running PID 9045
* pid http => 9045 9045
test 507...[multi interface get with non-existing host name]
../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind507 ./libtest/lib507 http://non-existing-host.haxx.se/ >log/stdout507 2>log/stderr507
CMD (0): ../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind507 ./libtest/lib507 http://non-existing-host.haxx.se/ >log/stdout507 2>log/stderr507

lib507 returned 0, when expecting 6
 exit FAILED

 - abort tests
* kill pid for http => 9045
RUN: Process with pid 9045 signalled to die
RUN: Process with pid 9045 forced to die with SIGKILL
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 507 
TESTDONE: 1 tests were considered during 5 seconds.

only test 534 executed

CMD (256): valgrind >/dev/null 2>&1
CMD (0): valgrind --help 2>&1 | grep -- --tool > /dev/null 2>&1
CMD (0): ../src/curl --version 1>log/curlverout.log 2>log/curlvererr.log
********* System characteristics ******** 
* curl 7.34.0 (i686-pc-linux-gnu) 
* libcurl/7.34.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28
* Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP 
* Host: VMWLFS74
* System: Linux VMWLFS74 3.11.1 #1 SMP Thu Sep 19 08:53:45 BRT 2013 i686 GNU/Linux
* Server SSL:        OFF  libcurl SSL:  ON 
* debug build:       OFF  track memory: OFF
* valgrind:          ON   HTTP IPv6     ON 
* FTP IPv6           ON   Libtool lib:  OFF
* Shared build:      yes
* SSL library:       OpenSSL
* Ports:
*   HTTP/8990 FTP/8992 FTP2/8995 RTSP/9007 
*   TFTP/8997 HTTP-IPv6/8994 RTSP-IPv6/9008 FTP-IPv6/8996 
*   GOPHER/9009 GOPHER-IPv6/9009
*   SSH/8999 SOCKS/9000 POP3/9001 IMAP/9003 SMTP/9005
*   POP3-IPv6/9002 IMAP-IPv6/9004 SMTP-IPv6/9006
*   HTTPTLS/9011 HTTPTLS-IPv6/9012 
*   HTTP-PIPE/9014 
***************************************** 
startnew: perl -I. ./ftpserver.pl --pidfile ".ftp_server.pid" --logfile "log/ftp_server.log" --srcdir "." --proto ftp --ipv4 --port 8992 --addr "127.0.0.1"
RUN: ../src/curl --max-time 13 --silent --verbose --globoff "ftp://127.0.0.1:8992/verifiedserver" 2>log/ftp_verify.log
RUN: Verifying our test ftp server took 0 seconds
RUN: FTP server is now running PID 9127
* pid ftp => 9127 9127
test 534...[FTP RETR twice using multi: non-existing host and non-existing file]
../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind534 ./libtest/lib533 ftp://non-existing-host.haxx.se/path/534 ftp://127.0.0.1:8992/path/534 >log/stdout534 2>log/stderr534
CMD (32000): ../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind534 ./libtest/lib533 ftp://non-existing-host.haxx.se/path/534 ftp://127.0.0.1:8992/path/534 >log/stdout534 2>log/stderr534

 534: protocol FAILED:
--- log/check-expected	2013-12-17 08:58:42.217710158 -0300
+++ log/check-generated	2013-12-17 08:58:42.217710158 -0300
@@ -1,9 +0,0 @@
-USER anonymous
-PASS ftp@example.com
-PWD
-CWD path
-EPSV
-TYPE I
-SIZE 534
-RETR 534
-QUIT

 - abort tests
* kill pid for ftp-ctrl => 9128
* kill pid for ftp => 9127
RUN: Process with pid 9127 signalled to die
RUN: Process with pid 9127 forced to die with SIGKILL
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 534 
TESTDONE: 1 tests were considered during 64 seconds.

comment:4 by Fernando de Oliveira, 10 years ago

Tests not updated.

Fixed at r12410.

Leaving open for a while, for possible discussions about the tests.

comment:5 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Did more builds, more search, no solution. Still, think this might be only in my dev machine, although found failures reported since 2009.

Closing, but leave tests as they are in current curl/BLFS.

comment:6 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.