From bb62d5c0055e5fbdce569709907889362a1fbc99 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 26 Apr 2017 17:58:23 +0800 Subject: [PATCH] valgrind: suppression for python embedded in ceph-mgr Signed-off-by: Kefu Chai --- teuthology/task/install/valgrind.supp | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/teuthology/task/install/valgrind.supp b/teuthology/task/install/valgrind.supp index cde31c5a0c..fff9455d3d 100644 --- a/teuthology/task/install/valgrind.supp +++ b/teuthology/task/install/valgrind.supp @@ -393,3 +393,48 @@ fun:_ZN11CephContextC1Eji ... } +{ + python does not reset the member field when dealloc an object + Memcheck:Leak + match-leak-kinds: possible + ... + fun:Py_InitializeEx + ... +} +{ + python should be able to take care of itself + Memcheck:Leak + match-leak-kinds: possible + ... + fun:PyEval_EvalCode +} +{ + python should be able to take care of itself + Memcheck:Leak + match-leak-kinds: possible + ... + fun:PyImport_ImportModuleLevel +} +{ + python should be able to take care of itself + Memcheck:Leak + match-leak-kinds: possible + ... + fun:PyEval_CallObjectWithKeywords +} +{ + python should be able to take care of itself + Memcheck:Leak + match-leak-kinds: possible + ... + fun:PyEval_EvalFrameEx + ... + obj:/usr/lib64/libpython2.7.so.1.0 +} +{ + python should be able to take care of itself + Memcheck:Leak + match-leak-kinds: possible + ... + fun:PyObject_Call +} -- 2.39.5