From 10655033e13a3f99e1735036535028c516aac167 Mon Sep 17 00:00:00 2001 From: Kris Jacque Date: Fri, 5 Jun 2026 15:42:34 +0000 Subject: [PATCH] DAOS-19084 test: Suppress Cgo syscall false positives The syscall function signature changed, so suppressions needed to be updated. Also added a suppression related to an internal runtime context.Context implementation. Signed-off-by: Kris Jacque --- src/cart/utils/memcheck-cart.supp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/cart/utils/memcheck-cart.supp b/src/cart/utils/memcheck-cart.supp index f79813604ed..5bdf8278a33 100644 --- a/src/cart/utils/memcheck-cart.supp +++ b/src/cart/utils/memcheck-cart.supp @@ -552,10 +552,21 @@ ... } { - Go syscall. + Go syscall write Memcheck:Param write(buf) - fun:syscall.Syscall.abi0 + fun:internal/runtime/*Syscall6 +} +{ + Go syscall read + Memcheck:Param + read(buf) + fun:internal/runtime/*Syscall6 +} +{ + context Err() + Memcheck:Addr8 + fun:context.(*valueCtx).Err } { Racecall cgo malloc @@ -582,12 +593,6 @@ Memcheck:Value8 fun:aeshashbody } -{ - DAOS-15159 - Memcheck:Param - write(buf) - fun:internal/runtime/syscall.Syscall6 -} { DAOS-15548 Memcheck:Addr1 @@ -696,12 +701,6 @@ Memcheck:Addr8 fun:racecalladdr } -{ - Syscall6 param - Memcheck:Param - read(buf) - fun:internal/runtime/syscall.Syscall6 -} { __tsan_go_atomic32_load Memcheck:Addr4