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.

Re: Test 1452 failing on ElectroBSD when executed with valgrind

From: Fabian Keil via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 30 Sep 2022 16:51:38 +0200

Fabian Keil via curl-library <curl-library_at_lists.haxx.se> wrote on 2022-09-30 at 15:12:28:

> 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:

Interestingly enough valgrind is picked up properly and lets
test 1542 work reliably:

[fk_at_freebsd ~/git/curl/tests]$ ./runtests.pl -a -v --repeat=100 1452
[...]
test 1452...[Basic TELNET negotiation]
../libtool --mode=execute /usr/local/bin/valgrind --tool=memcheck --quiet --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind1452 ../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): ../libtool --mode=execute /usr/local/bin/valgrind --tool=memcheck --quiet --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind1452 ../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-v- OK (100 out of 100, remaining: 00:00, took 2.409s, duration: 04:32)
* kill pid for telnet => 78476
RUN: Process with pid 78476 signalled to die
RUN: Process with pid 78476 forced to die with SIGKILL
TESTDONE: 100 tests were considered during 272 seconds.
TESTDONE: 100 tests out of 100 reported OK: 100%

Fabian


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