Skip to content

Commit d3f98bd

Browse files
committed
DAOS-18503 test: suppress GLIBC leaks on EL9.7
Note: getpwnam_r() suppression was found previously but: - the call stack on EL9.7 is slightly different so I made it a little bit more permissive. - NLT tests which re-discovered it on EL9.7 use a different suppression file so for now I just made a copy of this single suppression. Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
1 parent e39d8d8 commit d3f98bd

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

src/cart/utils/memcheck-cart.supp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,3 +795,24 @@
795795
fun:_cgo_b590e4e2531a_Cfunc_daos_init
796796
fun:runtime.asmcgocall.abi0
797797
}
798+
{
799+
getpwnam_r() leak
800+
Memcheck:Leak
801+
fun:calloc
802+
...
803+
fun:getpwnam_r*
804+
}
805+
{
806+
getpwuid_r() leak
807+
Memcheck:Leak
808+
fun:calloc
809+
...
810+
fun:getpwuid_r*
811+
}
812+
{
813+
localtime() leak
814+
Memcheck:Leak
815+
fun:malloc
816+
...
817+
fun:__tz_convert
818+
}

utils/test_memcheck.supp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,11 @@
356356
fun:start_thread
357357
}
358358
{
359-
getpwnam_r leak
359+
getpwnam_r() leak
360360
Memcheck:Leak
361+
fun:calloc
361362
...
362-
fun:_nss_systemd_getpwnam_r
363363
fun:getpwnam_r*
364-
fun:daos_acl_principal_to_uid
365364
}
366365
{
367366
getgrgid_r leak

0 commit comments

Comments
 (0)