curl / Mailing Lists / curl-library / Single Mail

curl-library

Several SSH (and others) test failures

From: Alessandro Ghedini via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 12 Jan 2019 17:03:42 +0000

Hello,

While packaging 7.63 for Debian I've noticed several tests failing (most of
them seem to be related to SSH, except for 323 which is for TLS-SRP), which I
seem to be able to reproduce with the latest curl master as well:

  TESTFAIL: These test cases failed: 323 582 600 601 602 603 604 605 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 633 634 635 636 637 638 639 640 641 642 1446 2004

Is this a known problem? Am I doing something wrong?

Below is s the test output, any other information I can provide?

Cheers

 % ./runtests.pl -a 323 582 600 601 602 603 604 605 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 633 634 635 636 637 638 639 640 641 642 1446 2004
********* System characteristics ********
* curl 7.64.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.64.0-DEV OpenSSL/1.1.1a zlib/1.2.11 libssh2/1.8.0
* Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
* Host: pinky
* System: Linux pinky 4.19.0-1-amd64 #1 SMP Debian 4.19.13-1 (2018-12-30) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0323...[TLS-SRP to non-TLS-SRP server]

curl returned 52, when expecting 35
 exit FAILED
test 0582...[SFTP upload using multi interface]

lib582 returned 127, when expecting 0
 exit FAILED
test 0600...[SFTP retrieval]

 600: data FAILED:
--- log/check-expected 2019-01-12 17:00:44.456811952 +0000
+++ log/check-generated 2019-01-12 17:00:44.456811952 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh test[LF]
test 0601...[SCP retrieval]

 601: data FAILED:
--- log/check-expected 2019-01-12 17:00:44.704814436 +0000
+++ log/check-generated 2019-01-12 17:00:44.704814436 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh test[LF]
test 0602...[SFTP put]

 602: upload FAILED:
--- log/check-expected 2019-01-12 17:00:44.952816919 +0000
+++ log/check-generated 2019-01-12 17:00:44.948816879 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh upload test[LF]
test 0603...[SCP upload]

 603: upload FAILED:
--- log/check-expected 2019-01-12 17:00:45.200819403 +0000
+++ log/check-generated 2019-01-12 17:00:45.200819403 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh upload test[LF]
test 0604...[SFTP retrieval of nonexistent file]

curl returned 67, when expecting 78
 exit FAILED
test 0605...[SCP retrieval of nonexistent file]

curl returned 67, when expecting 78
 exit FAILED
test 0608...[SFTP post-quote rename]
Path /home/ghedo/devel/third-party/curl/tests/log/file608.txt exists at ./libtest/test610.pl line 27.
 postcheck FAILED
test 0609...[SFTP post-quote mkdir failure]

 609: data FAILED:
--- log/check-expected 2019-01-12 17:00:46.176829173 +0000
+++ log/check-generated 2019-01-12 17:00:46.176829173 +0000
@@ -1 +0,0 @@
-Test file for mkdir test[LF]
test 0610...[SFTP post-quote rmdir]
Path /home/ghedo/devel/third-party/curl/tests/log/test610.dir exists at ./libtest/test610.pl line 27.
 postcheck FAILED
test 0611...[SFTP post-quote rename]
No such file or directory at ./libtest/test610.pl line 17.
 postcheck FAILED
test 0612...[SFTP post-quote remove file]

 612: upload FAILED:
--- log/check-expected 2019-01-12 17:00:46.976837185 +0000
+++ log/check-generated 2019-01-12 17:00:46.976837185 +0000
@@ -1 +0,0 @@
-Dummy test file for remove test[LF]
test 0613...[SFTP directory retrieval]
No such file or directory at ./libtest/test613.pl line 77.
 postcheck FAILED
test 0614...[SFTP pre-quote chmod]
No such file or directory at ./libtest/test613.pl line 77.
 postcheck FAILED
test 0615...[SFTP put remote failure]

curl returned 67, when expecting 9
 exit FAILED
test 0616...[SFTP retrieval of empty file]

curl returned 67, when expecting 0
 exit FAILED
test 0617...[SCP retrieval of empty file]

curl returned 67, when expecting 0
 exit FAILED
test 0618...[SFTP retrieval of two files]

 618: stdout FAILED:
--- log/check-expected 2019-01-12 17:00:48.660854045 +0000
+++ log/check-generated 2019-01-12 17:00:48.660854045 +0000
@@ -1,4 +0,0 @@
-Test data[LF]
-for ssh test[LF]
-Test data[LF]
-for ssh test[LF]
test 0619...[SCP retrieval of two files]

 619: stdout FAILED:
--- log/check-expected 2019-01-12 17:00:49.116858610 +0000
+++ log/check-generated 2019-01-12 17:00:49.116858610 +0000
@@ -1,4 +0,0 @@
-Test data[LF]
-for ssh test[LF]
-Test data[LF]
-for ssh test[LF]
test 0620...[SFTP retrieval of missing file followed by good file]

 620: stdout FAILED:
--- log/check-expected 2019-01-12 17:00:49.572863177 +0000
+++ log/check-generated 2019-01-12 17:00:49.572863177 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh test[LF]
test 0621...[SCP retrieval of missing file followed by good file]

 621: stdout FAILED:
--- log/check-expected 2019-01-12 17:00:50.024867703 +0000
+++ log/check-generated 2019-01-12 17:00:50.024867703 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh test[LF]
test 0622...[SFTP put failure]

curl returned 67, when expecting 78
 exit FAILED
test 0623...[SCP upload failure]

curl returned 67, when expecting 25
 exit FAILED
test 0624...[SFTP put with --ftp-create-dirs]
No such file or directory at ./libtest/test610.pl line 24.
 postcheck FAILED
test 0625...[SFTP put with --ftp-create-dirs twice]
No such file or directory at ./libtest/test610.pl line 24.
 postcheck FAILED
test 0626...[SFTP invalid quote command]

curl returned 67, when expecting 21
 exit FAILED
test 0627...[SFTP quote remove file with NOBODY]

curl returned 67, when expecting 0
 exit FAILED
test 0633...[SFTP retrieval with byte range]

 633: data FAILED:
--- log/check-expected 2019-01-12 17:00:51.944886926 +0000
+++ log/check-generated 2019-01-12 17:00:51.944886926 +0000
@@ -1 +0,0 @@
-data[LF]
test 0634...[SFTP retrieval with byte range past end of file]

 634: data FAILED:
--- log/check-expected 2019-01-12 17:00:52.196889452 +0000
+++ log/check-generated 2019-01-12 17:00:52.196889452 +0000
@@ -1,2 +0,0 @@
-data[LF]
-for ssh test[LF]
test 0635...[SFTP retrieval with byte range relative to end of file]

 635: data FAILED:
--- log/check-expected 2019-01-12 17:00:52.444891929 +0000
+++ log/check-generated 2019-01-12 17:00:52.444891929 +0000
@@ -1 +0,0 @@
-ssh test[LF]
test 0636...[SFTP retrieval with X- byte range]

 636: data FAILED:
--- log/check-expected 2019-01-12 17:00:52.692894417 +0000
+++ log/check-generated 2019-01-12 17:00:52.692894417 +0000
@@ -1,2 +0,0 @@
-data[LF]
-for ssh test[LF]
test 0637...[SFTP retrieval with invalid X- range]

curl returned 67, when expecting 36
 exit FAILED
test 0638...[SFTP post-quote rename * asterisk accept-fail]
No such file or directory at ./libtest/test610.pl line 17.
 postcheck FAILED
test 0639...[SFTP post-quote rename * asterisk accept-fail]

 639: data FAILED:
--- log/check-expected 2019-01-12 17:00:53.524902748 +0000
+++ log/check-generated 2019-01-12 17:00:53.524902748 +0000
@@ -1 +0,0 @@
-Dummy test file for rename test[LF]
test 0640...[SFTP --head retrieval]

curl returned 67, when expecting 0
 exit FAILED
test 0641...[SCP --head retrieval]

curl returned 67, when expecting 0
 exit FAILED
test 0642...[SFTP retrieval]

 642: data FAILED:
--- log/check-expected 2019-01-12 17:00:54.236909877 +0000
+++ log/check-generated 2019-01-12 17:00:54.236909877 +0000
@@ -1,2 +0,0 @@
-Test data[LF]
-for ssh test[LF]
test 1446...[SFTP with --remote-time]
 postcheck FAILED
test 2004...[TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order]

 2004: stdout FAILED:
--- log/check-expected 2019-01-12 17:00:57.216939718 +0000
+++ log/check-generated 2019-01-12 17:00:57.216939718 +0000
@@ -4,11 +4,5 @@
 for several protocols[LF]
 This is test data[LF]
 for several protocols[LF]
-This is test data[LF]
-for several protocols[LF]
-This is test data[LF]
-for several protocols[LF]
-This is test data[LF]
-for several protocols[LF]
 Test data file[LF]
 for tftp test[LF]
TESTDONE: 0 tests out of 40 reported OK: 0%
TESTFAIL: These test cases failed: 323 582 600 601 602 603 604 605 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 633 634 635 636 637 638 639 640 641 642 1446 2004
TESTDONE: 40 tests were considered during 20 seconds.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-12