From: Sage Weil Date: Fri, 9 Nov 2018 14:53:03 +0000 (-0600) Subject: valgind: ignore all leaks relating to CPython code X-Git-Tag: 1.1.0~290^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1235%2Fhead;p=teuthology.git 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 --- diff --git a/teuthology/task/install/valgrind.supp b/teuthology/task/install/valgrind.supp index 06865f662..8c73a2a40 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