curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

[Help Requested] Test Differences on 64-bit vs. 32-bit NonStop

From: Randall via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 9 Sep 2022 13:33:41 -0400

Hi Curl,

I'm having some difficulties trying to build curl in 64 bits (big endian) on
NonStop. It works fine, with only 3 minor issues in 32-bit but when
compiling for 64-bit, a whole bunch of issues come up:

TESTFAIL: These test cases failed: 9 39 41 44 64 65 70 71 72 88 153 154 158
163 166 167 168 169 170 173 186 206 245 246 258 259 273 277 327 335 405 440
441 493 506 540 551 552 554 565 579 584 587 643 645 646 647 648 649 650 651
652 653 654 666 667 668 669 670 671 672 673 1001 1002 1030 1053 1060 1061
1071 1072 1079 1095 1119 1133 1158 1167 1186 1187 1189 1190 1191 1192 1193
1194 1195 1196 1198 1199 1229 1284 1285 1286 1293 1315 1404 1408 1412 1418
1437 1521 1553 1568 1590 1916 1917 2028 2030 2058 2059 2060 2061 2062 2063
2064 2065 2066 2067 2068 2069 2073 2076 2200 2201 2202 2203 2204 2205 3017
3018


A sample of the failure is running test 9 in debug. I get the following,
which seems to indicate a problem writing server.input. I'm at a loss on
this.

./runtests.pl -a -n -p -v -d 9
CMD (0): ../src/curl --version 1>log/curlverout.log 2>log/curlvererr.log
********* System characteristics ********
* curl 7.84.0 (nsx-tandem-nskL21)
* libcurl/7.84.0 OpenSSL/3.0.4
* Features: alt-svc HSTS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP
UnixSockets
* Disabled:
* Host: Cgnac1
* System: NONSTOP_KERNEL cgnac1 L21 11 NSX-D NSX NSX-D NonStop Kernel
* OS: nonstop_kernel
* Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
* Seed: 235040
* Unix socket paths:
* HTTP-Unix:http1845493932.sock
* Socks-Unix:/home/ituglib/randall/curl-7.84.0/tests/socks1845493932.sock
*****************************************
DISABLED: test 323
DISABLED: test 594
DISABLED: test 836
DISABLED: test 882
DISABLED: test 938
DISABLED: test 1182
DISABLED: test 1184
DISABLED: test 1209
DISABLED: test 1211
DISABLED: test 1307
DISABLED: test 1316
DISABLED: test 1510
DISABLED: test 1512
DISABLED: test 1801
DISABLED: test 2086
DISABLED: test 2043
startnew: perl -I. ./httpserver.pl --verbose --pidfile ".http_server.pid"
--logfile "log/http_server.log" --portfile .http_server.port --ipv4 --port 0
--srcdir "./data/.."
RUN: server/sws --pidfile ".http_server.pid" --logfile "log/http_server.log"
--portfile ".http_server.port" --ipv4 --port 0 --srcdir "./data/.."
RUN: ../src/curl --max-time 13 --output log/http_verify.out --silent
--verbose --globoff http://127.0.0.1:61886/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:61886/verifiedserver
2>log/http_verify.log
RUN: HTTP server is on PID 654311580 port 61886
* pid http => 654311580 654311580
test 0009...[HTTP RFC1867-type formposting]
../src/curl --output log/curl9.out --include --trace-ascii log/trace9
--trace-time http://127.0.0.1:61886/we/want/9 -F name=daniel -F tool=curl -F
mailto:file=_at_log/test9.txt >log/stdout9 2>log/stderr9
CMD (11): ../src/curl --output log/curl9.out --include --trace-ascii
log/trace9 --trace-time http://127.0.0.1:61886/we/want/9 -F name=daniel -F
tool=curl -F mailto:file=_at_log/test9.txt >log/stdout9 2>log/stderr9

 9: protocol FAILED!
 There was no content at all in the file log/server.input.
 Server glitch? Total curl failure? Returned: 2011
== Contents of files in the log/ dir after test 9
=== Start of file commands.log
 ../src/curl --output log/curl9.out --include --trace-ascii log/trace9
--trace-time http://127.0.0.1:61886/we/want/9 -F name=daniel -F tool=curl -F
mailto:file=_at_log/test9.txt >log/stdout9 2>log/stderr9
=== End of file commands.log
=== Start of file ftpserver.cmd
 Testnum 9
=== End of file ftpserver.cmd
=== Start of file http_server.log
 10:08:36.219558 Running HTTP IPv4 version on port 61886
 10:08:36.267788 Wrote pid 654311580 to .http_server.pid
 10:08:36.292622 Wrote port 61886 to .http_server.port
 10:08:37.230035 ====> Client connect
 10:08:37.230299 accept_connection 3 returned 4
 10:08:37.230550 accept_connection 3 returned 0
 10:08:37.230768 Read 93 bytes
 10:08:37.230969 Process 93 bytes request
 10:08:37.231186 Got request: GET /verifiedserver HTTP/1.1
 10:08:37.231387 Are-we-friendly question received
 10:08:37.245989 Wrote request (93 bytes) input to log/server.input
 10:08:37.258411 Identifying ourselves as friends
 10:08:37.281963 Response sent (60 bytes) and written to log/server.response
 10:08:37.282268 special request received, no persistency
 10:08:37.282576 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
 * Trying 127.0.0.1:61886...
 * Connected to 127.0.0.1 (127.0.0.1) port 61886 (#0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:61886
> User-Agent: curl/7.84.0
> Accept: */*
>
 * Mark bundle as not supporting multiuse
 < HTTP/1.1 200 OK
 < Content-Length: 21
 <
 { [21 bytes data]
 * Connection #0 to host 127.0.0.1 left intact
=== End of file http_verify.log
=== Start of file http_verify.out
 WE ROOLZ: 654311580
=== End of file http_verify.out
=== Start of file server.response
 HTTP/1.1 200 OK
 Content-Length: 21
 WE ROOLZ: 654311580
=== End of file server.response
=== Start of file test9.txt
 foo-
 This is a moo-
 bar
=== End of file test9.txt
* kill pid for http => 654311580
RUN: Process with pid 654311580 signalled to die
RUN: Process with pid 654311580 forced to die with SIGKILL
TESTDONE: 1 tests were considered during 1 seconds.
TESTDONE: 0 tests out of 1 reported OK: 0%

TESTFAIL: These test cases failed: 9

Pointers on where to look next would be appreciated.

Thanks,
Randall

-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-09