From f6dd7512a135a0324314cf848815d9d6c9ec3020 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 Nov 2018 08:53:03 -0600 Subject: [PATCH] valgind: ignore all leaks relating to CPython code Yes, this is a big hammer, and we are ignoring a lot. However, it is a HUGE step forward to what we do now, which is not check for ceph-mgr leaks at all. By adding this suppress I found and fixed 3 separate ceph-mgr leaks. This will let us prevent others (in non-Py code) from being introduced. Signed-off-by: Sage Weil --- teuthology/task/install/valgrind.supp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/teuthology/task/install/valgrind.supp b/teuthology/task/install/valgrind.supp index 06865f662b..8c73a2a402 100644 --- a/teuthology/task/install/valgrind.supp +++ b/teuthology/task/install/valgrind.supp @@ -562,3 +562,12 @@ fun:*boost*detail*set_tss_data* ... } + +{ + ignore *all* ceph-mgr python crap. this is overkill, but better than nothing + Memcheck:Leak + match-leak-kinds: all + ... + fun:Py* + ... +} \ No newline at end of file -- 2.39.5