From d029abfa5abbc229a08334aa80dfee42590e2140 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 30 May 2013 11:25:32 -0700 Subject: [PATCH] valgrind: update suppressions for leveldb, libc leaks from mon These result in clean valgrind leak checks on the mon (at least with my limited vstart testing). --- teuthology/task/valgrind.supp | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/teuthology/task/valgrind.supp b/teuthology/task/valgrind.supp index e25a62f8c85..5cd5fbca961 100644 --- a/teuthology/task/valgrind.supp +++ b/teuthology/task/valgrind.supp @@ -1,3 +1,28 @@ +{ + ceph global: deliberate onexit leak + Memcheck:Leak + ... + fun:*set_flush_on_exit* + ... +} +{ + leveldb leaks its environment and various other things + Memcheck:Leak + ... + fun:pthread_once + ... + fun:*leveldb*Env*Default* + ... +} +{ + leveldb leaks a thread + Memcheck:Leak + ... + fun:pthread_create* + ... + fun:*leveldb*PosixEnv*Schedule* + ... +} { strptime suckage Memcheck:Cond @@ -36,10 +61,11 @@ ... } { - deliberate onexit leak + weird thing from libc Memcheck:Leak ... - fun:*set_flush_on_exit* + fun:*sub_I_comparator* + fun:__libc_csu_init ... } {