From d26c8eeebb2b82510632dbca92f502a5f81e2376 Mon Sep 17 00:00:00 2001 From: Jacek Migacz Date: Tue, 2 Jul 2024 18:26:40 +0200 Subject: [PATCH] Temporarily disable several tests related to openssl and failing in valgrind Related: RHEL-39995 --- curl.spec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/curl.spec b/curl.spec index 4ab8cee..f450c08 100644 --- a/curl.spec +++ b/curl.spec @@ -351,6 +351,39 @@ printf "702\n703\n716\n" >> tests/data/DISABLED printf "2034\n2037\n2041\n" >> tests/data/DISABLED %endif +# temporarily (really!, not like these above) disable tests related to openssl +# and reported by valgrind. All of it are failing with similar stack trace: +#=== Start of file valgrind3000 +# ==92709== Syscall param openat(filename) points to unaddressable byte(s) +# ==92709== at 0x49D9784: open (open64.c:48) +# ==92709== by 0x495E095: _IO_file_open (fileops.c:189) +# ==92709== by 0x495E26A: _IO_file_fopen@@GLIBC_2.2.5 (fileops.c:281) +# ==92709== by 0x49524CC: __fopen_internal (iofopen.c:75) +# ==92709== by 0x4B37F2E: load_system_str (ssl_ciph.c:1472) +# ==92709== by 0x4B43118: ssl_create_cipher_list (ssl_ciph.c:1528) +# ==92709== by 0x4B4FCFF: UnknownInlinedFun (ssl_lib.c:3938) +# ==92709== by 0x4B4FCFF: SSL_CTX_new_ex (ssl_lib.c:3823) +# ==92709== by 0x48ABFA1: ossl_connect_step1.lto_priv.0 (openssl.c:2621) +# ==92709== by 0x48BAF16: ossl_connect_common (openssl.c:4042) +# ==92709== by 0x48B3D16: UnknownInlinedFun (vtls.c:370) +# ==92709== by 0x48B3D16: Curl_ssl_connect_nonblocking (vtls.c:353) +# ==92709== by 0x48873BB: UnknownInlinedFun (http.c:1595) +# ==92709== by 0x48873BB: Curl_http_connect (http.c:1518) +# ==92709== by 0x4895575: UnknownInlinedFun (multi.c:1514) +# ==92709== by 0x4895575: multi_runsingle (multi.c:1847) +# ==92709== by 0x48978AD: curl_multi_perform (multi.c:2403) +# ==92709== by 0x4874152: UnknownInlinedFun (easy.c:606) +# ==92709== by 0x4874152: UnknownInlinedFun (easy.c:696) +# ==92709== by 0x4874152: curl_easy_perform (easy.c:715) +# ==92709== by 0x11478B: UnknownInlinedFun (tool_operate.c:2379) +# ==92709== by 0x11478B: UnknownInlinedFun (tool_operate.c:2553) +# ==92709== by 0x11478B: UnknownInlinedFun (tool_operate.c:2669) +# ==92709== by 0x11478B: main (tool_main.c:277) +# ==92709== Address 0xffffffffff000804 is not stack'd, malloc'd or (recently) free'd +# ==92709== +#=== End of file valgrind3000 +printf "300\n301\n303\n304\n305\n306\n309\n310\n311\n312\n313\n320\n321\n322\n324\n325\n400\n401\n403\n404\n405\n406\n407\n408\n409\n410\n560\n1272\n1561\n1562\n1630\n1631\n1632\n2034\n2035\n2037\n2038\n2041\n2042\n2048\n3000\n3001\n" >> tests/data/DISABLED + # adapt test 323 for updated OpenSSL sed -e 's|^35$|35,52|' -i tests/data/test323