Daniel Stenberg via curl-library <curl-library@lists.haxx.se> wrote on 
2022-09-30 at 09:12:58:

> On Thu, 29 Sep 2022, Daniel Stenberg via curl-library wrote:
> 
> >> Would it be possible to (temporarily) push the attached patch to enable 
> >> valgrind?
> >
> > I created this with your patch => https://github.com/curl/curl/pull/9618
> 
> For some reason I can't understand, that didn't enable valgrind in the tests 
> anyway... :-/

Is there an URL to the CI test output in text format
that can be requested with curl?

I setup a FreeBSD 13.1 system that is running in bhyve and tried
to reproduce the issue. Test 1452 fails most of the time even when
not running with valgrind which seems to confirm the theory that
this could be a timing issue:

[fk@freebsd ~/git/curl/tests]$ ./runtests.pl -a -n -v --repeat=100
CMD (0): ../src/curl --version 1>log/curlverout.log 2>log/curlvererr.log
********* System characteristics ******** 
* curl 7.86.0-DEV (amd64-unknown-freebsd13.1) 
* libcurl/7.86.0-DEV OpenSSL/1.1.1o zlib/1.2.12 brotli/1.0.9 libidn2/2.3.2 
libpsl/0.21.1 (+libidn2/2.3.2) libssh2/1.10.0 nghttp2/1.48.0 librtmp/2.3
* Features: alt-svc AsynchDNS brotli Debug GSS-API HSTS HTTP2 HTTPS-proxy IDN 
IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP 
TrackMemory UnixSockets
* Disabled: 
* Host: freebsd
* System: FreeBSD freebsd 13.1-RELEASE FreeBSD 13.1-RELEASE 
releng/13.1-n250148-fc952ac2212 GENERIC amd64
* OS: freebsd
*
*** DISABLES memory tracking when using threaded resolver
*
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6 
* Env: 
* Seed: 218102
* Unix socket paths:
*   HTTP-Unix:http10300.sock
*   Socks-Unix:/usr/home/fk/git/curl/tests/socks10300.sock
***************************************** 
[...]
startnew: ./negtelnetserver.py --port 32716 --pidfile ".telnet_server.pid" 
--logfile "log/telnet_server.log" --srcdir "."
RUN: TELNET server PID 10348 port 32716
* pid neg TELNET => 10348 10348
test 1452...[Basic TELNET negotiation]
../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
CMD (0): ../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
s------e--- OK (1   out of 100, remaining: 01:48, took 1.099s, duration: 00:01)
test 1452...[Basic TELNET negotiation]
../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
CMD (0): ../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
s------e--- OK (2   out of 100, remaining: 00:55, took 0.040s, duration: 00:01)
test 1452...[Basic TELNET negotiation]
../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
CMD (0): ../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
s------e--- OK (3   out of 100, remaining: 00:38, took 0.041s, duration: 00:01)
test 1452...[Basic TELNET negotiation]
../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
CMD (14336): ../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452

curl returned 56, when expecting 0
 exit FAILED
test 1452...[Basic TELNET negotiation]
../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
CMD (14336): ../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452

curl returned 56, when expecting 0
 exit FAILED
[...]
test 1452...[Basic TELNET negotiation]
../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452
CMD (14336): ../src/curl --include --trace-ascii log/trace1452 --trace-time 
telnet://127.0.0.1:32716 --upload-file - <log/stdin-for-1452 >log/stdout1452 
2>log/stderr1452

curl returned 56, when expecting 0
 exit FAILED
* kill pid for telnet => 10348
RUN: Process with pid 10348 signalled to die
RUN: Process with pid 10348 forced to die with SIGKILL
TESTDONE: 100 tests were considered during 6 seconds.
TESTDONE: 3 tests out of 100 reported OK: 3%

TESTFAIL: These test cases failed: 1452 1452 1452 1452 1452 1452 1452 1452 1452 
1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 
1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 
1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 
1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 
1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 1452 
1452 1452 1452 1452 1452 1452 1452 1452 

Fabian

Attachment: pgp4qM_QTAGPG.pgp
Description: OpenPGP digital signature

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

Reply via email to