Test 650 on 32-bit ARM · curl curl · Discussion #11882 · GitHub
Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Test 650 on 32-bit ARM #11882 Unanswered Cellesti asked this question in Q&A Test 650 on 32-bit ARM #11882 Cellesti Sep 19, 2023 · 7 comments · 2 replies Return to top Discussion options Uh oh!
There was an error while loading. Please reload this page . Cellesti Sep 19, 2023 Hello, while testing curl 8.3.0 in Alpine Linux's Gitlab CI, i ran into issues with test 650 on 32-bit ARM. Alpine Linus uses musl libc, and here is curl's info: * curl 8.3.0 (armv7-alpine-linux-musleabihf) * libcurl/8.3.0 OpenSSL/3.1.2 zlib/1.3 brotli/1.0.9 c-ares/1.19.1 libidn2/2.3.4 nghttp2/1.56.0 * Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB SSL threadsafe TLS-SRP UnixSockets This is the output from test 650 .
I would appreciate it if someone could tell me if this looks safe to ignore, or if it could be indicative of a more serious bug. You must be logged in to vote All reactions Replies: 7 comments · 2 replies Comment options Uh oh! There was an error while loading. Please reload this page . dfandrich Sep 19, 2023 Maintainer This test succeeds on our MUSL CI builds and in our 32-bit CI builds. The difference seems to be this line: * Cannot rewind mime/post data which doesn't happen when the test succeeds.
The test program stops at that point so the rest of the transfer lines aren't sent resulting in a truncated file and that large diff. I don't know offhand why that would occur in your case and not in mine; whether it succeeds should be a factor of how the test is set up and not the platform. You must be logged in to vote All reactions 2 replies Comment options Uh oh! There was an error while loading. Please reload this page . bagder Sep 19, 2023 Maintainer Agreed.
This does not seem to be 32 bit related. It is difficult to spot why this code would fail on a particular target. All reactions Comment options Uh oh! There was an error while loading. Please reload this page . ncopa Sep 21, 2023 There have historically been issues with locales with musl libc in the past. https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51528#note_339112 It is still a mistery why it only happens on 32 bit arm and not x86.
All reactions Comment options Uh oh! There was an error while loading. Please reload this page . ncopa Sep 21, 2023 The test also passes on Alpine Linux 32 bit x86 You must be logged in to vote All reactions 0 replies Comment options Uh oh! There was an error while loading. Please reload this page . ncopa Sep 21, 2023 I created a logfile using cd tests && ./runtests.pl -a -p 650 >logfile 2>&1 : ********* System characteristics ******** * curl 8.3.0 (armv7-alpine-linux-musleabihf) * libcurl/8.3.0 OpenSSL/3.1.3 zlib/1.2.13 brotli/1.0.9 c-ares/1.19.1 libidn2/2.3.4 nghttp2/1.55.1 * Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB SSL threadsafe TLS-SRP UnixSockets * Disabled: * Host: ncopa-edge-armv7 * System: Linux ncopa-edge-armv7 6.1.36-0-lts #1-Alpine SMP Wed, 28 Jun 2023 15:27:12 +0000 armv8l Linux * OS: linux * Env: * Seed: 235704 * Servers: HTTP-IPv6 HTTP-unix FTP-IPv6 ***************************************** test 0650...[HTTP formpost using form API - with redirect and re-POST] 650: protocol FAILED: --- log/check-expected +++ log/check-generated @@ -70,75 +70,3 @@ [CR][LF] 0[CR][LF] [CR][LF] -POST /6500002 HTTP/1.1[CR][LF] -Host: 127.0.0.1:43565[CR][LF] -Accept: */*[CR][LF] -Transfer-Encoding: chunked[CR][LF] -Content-Type: multipart/form-data; boundary=----------------------------[CR][LF] -Expect: 100-continue[CR][LF] -[CR][LF] -361[CR][LF] -------------------------------[CR][LF] -Content-Disposition: form-data; name="fieldname"[CR][LF] -Content-Type: text/plain[CR][LF] -X-customheader-1: Header 1 data[CR][LF] -X-customheader-2: Header 2 data[CR][LF] -[CR][LF] -this is what we post to the silly web server[CR][LF] -------------------------------[CR][LF] -Content-Disposition: form-data; name="fieldnam"[CR][LF] -[CR][LF] -uhis is what we post to the silly web serve[CR][LF] -------------------------------[CR][LF] -Content-Disposition: form-data; name="multifile"[CR][LF] -Content-Type: multipart/mixed; boundary=----------------------------[CR][LF] -[CR][LF] -------------------------------[CR][LF] -Content-Disposition: attachment; filename="test650.filedata"[CR][LF] -Content-Type: application/octet-stream[CR][LF] -[CR][LF] -This is data from a file.[LF] -[CR][LF] -------------------------------[CR][LF] -Content-Disposition: attachment; filename="test650.filedata"[CR][LF] -Content-Type: text/whatever[CR][LF] -[CR][LF] -[CR][LF] -a5[CR][LF] -This is data from a file.[LF] -[CR][LF] -------------------------------[CR][LF] -Content-Disposition: attachment; filename="test650.filedata"[CR][LF] -Content-Type: text/whatever[CR][LF] -[CR][LF] -[CR][LF] -af[CR][LF] -This is data from a file.[LF] -[CR][LF] ---------------------------------[CR][LF] -[CR][LF] -------------------------------[CR][LF] -Content-Disposition: form-data; name="filecontents"[CR][LF] -[CR][LF] -[CR][LF] -10f[CR][LF] -This is data from a file.[LF] -[CR][LF] -------------------------------[CR][LF] -Content-Disposition: form-data; name="formlength"[CR][LF] -[CR][LF] -1367[CR][LF] -------------------------------[CR][LF] -Content-Disposition: form-data; name="standardinput"[CR][LF] -Content-Type: application/octet-stream[CR][LF] -[CR][LF] -[CR][LF] -16[CR][LF] - Some data from stdin[LF] -[CR][LF] -30[CR][LF] -[CR][LF] ---------------------------------[CR][LF] -[CR][LF] -0[CR][LF] -[CR][LF] == Contents of files in the log/ dir after test 650 === Start of file check-expected POST /650 HTTP/1.1[CR][LF] Host: 127.0.0.1:43565[CR][LF] Accept: */*[CR][LF] Transfer-Encoding: chunked[CR][LF] Content-Type: multipart/form-data; boundary=----------------------------[CR][LF] Expect: 100-continue[CR][LF] [CR][LF] 361[CR][LF] ------------------------------[CR][LF] Content-Disposition: form-data; name="fieldname"[CR][LF] Content-Type: text/plain[CR][LF] X-customheader-1: Header 1 data[CR][LF] X-customheader-2: Header 2 data[CR][LF] [CR][LF] this is what we post to the silly web server[CR][LF] ------------------------------[CR][LF] Content-Disposition: form-data; name="fieldnam"[CR][LF] [CR][LF] uhis is what we post to the silly web serve[CR][LF] ------------------------------[CR][LF] Content-Disposition: form-data; name="multifile"[CR][LF] Content-Type: multipart/mixed; boundary=----------------------------[CR][LF] [CR][LF] ------------------------------[CR][LF] Content-Disposition: attachment; filename="test650.filedata"[CR][LF] Content-Type: application/octet-stream[CR][LF] [CR][LF] This is data from a file.[LF] [CR][LF] ------------------------------[CR][LF] Content-Disposition: attachment; filename="test650.filedata"[CR][LF] Content-Type: text/whatever[CR][LF] [CR][LF] [CR][LF] a5[CR][LF] This is data from a file.[LF] [CR][LF] ------------------------------[CR][LF] Content-Disposition: attachment; filename="test650.filedata"[CR][LF] Content-Type: text/whatever[CR][LF] [CR][LF] [CR][LF] af[CR][LF] This is data from a file.[LF] [CR][LF] --------------------------------[CR][LF] [CR][LF] ------------------------------[CR][LF] Content-Disposition: form-data; name="filecontents"[CR][LF] [CR][LF] [CR][LF] 10f[CR][LF] This is data from a file.[LF] [CR][LF] ------------------------------[CR][LF] Content-Disposition: form-data; name="formlength"[CR][LF] [CR][LF] 1367[CR][LF] ------------------------------[CR][LF] Content-Disposition: form-data; name="standardinput"[CR][LF] Content-Type: application/octet-stream[CR][LF] [CR][LF] [CR][LF] 16[CR][LF] Some data from stdin[LF] [CR][LF] 30[CR][LF] [CR][LF] --------------------------------[CR][LF] [CR][LF] 0[CR][LF] [CR][LF] POST /650000
The rest of this page is on the live site.