summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2016-04-26 23:58:20 +0000
committerJustin Ross <jross@apache.org>2016-04-26 23:58:20 +0000
commit426827689d37268e72d40c221d325db319a9f3a9 (patch)
tree81a98e6384ecf920c3972a07a32a53a6df1d6046
parent6a4e46206481ae665e846d27f58e842631dc3ee1 (diff)
downloadqpid-python-426827689d37268e72d40c221d325db319a9f3a9.tar.gz
QPID-7207: Add provisional valgrind suppressions
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741123 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/tests/.valgrind.supp73
-rw-r--r--qpid/cpp/src/tests/common.py1
2 files changed, 74 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/.valgrind.supp b/qpid/cpp/src/tests/.valgrind.supp
index 1a24a9178e..0581a386fb 100644
--- a/qpid/cpp/src/tests/.valgrind.supp
+++ b/qpid/cpp/src/tests/.valgrind.supp
@@ -177,3 +177,76 @@
fun:(below main)
}
+{
+ Leak reported in acl_tests
+ Memcheck:Cond
+ fun:_ZN4qpid3acl9AclReader16loadDecisionDataEN5boost10shared_ptrINS0_7AclDataEEE
+ fun:_ZN4qpid3acl9AclReader4readERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEEN5boost10shared_ptrINS0_7AclDataEEE
+ fun:_ZN4qpid3acl3Acl11readAclFileERNSt7*basic_stringIcSt11char_traitsIcESaIcEEES8_
+ ...
+}
+
+{
+ Leak reported in acl_tests and queue_redirect_tests
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ ...
+ fun:_ZN4qpid6broker14QueueFlowLimit11createLimitERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsE
+ ...
+ fun:accept
+ ...
+}
+
+{
+ Leak reported in python_tests
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ fun:allocate
+ fun:allocate
+ fun:_M_get_node
+ fun:_M_create_node
+ ...
+ fun:accept
+ ...
+ fun:start_thread
+ fun:clone
+}
+
+{
+ Leak reported in python_tests
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ fun:_ZN4qpid6broker5Queue18scheduleAutoDeleteEb
+ ...
+ fun:start_thread
+ fun:clone
+}
+
+{
+ Leak reported in python_tests
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ fun:_ZN4qpid6broker12QueueFactory6createERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsE
+ fun:_ZN4qpid6broker13QueueRegistry7declareERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsEN5boost10shared_ptrINS0_8ExchangeEEEbPKNS0_14OwnershipTokenES7_S7_
+ fun:_ZN4qpid6broker6Broker11createQueueERKNSt7*basic_stringIcSt11char_traitsIcESaIcEEERKNS0_13QueueSettingsEPKNS0_14OwnershipTokenES9_S9_S9_
+ ...
+ fun:accept
+ ...
+ fun:start_thread
+ fun:clone
+}
+
+{
+ Leak reported in linearstore_python_tests
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ fun:_ZN4qpid11linearstore7journal20EmptyFilePoolManager15insertPartitionEtRKNSt7*basic_stringIcSt11char_traitsIcESaIcEEE
+ fun:_ZN4qpid11linearstore7journal20EmptyFilePoolManager17findEfpPartitionsEv
+ ...
+ fun:(below main)
+}
diff --git a/qpid/cpp/src/tests/common.py b/qpid/cpp/src/tests/common.py
index 606f3784c1..10c637b1a1 100644
--- a/qpid/cpp/src/tests/common.py
+++ b/qpid/cpp/src/tests/common.py
@@ -58,6 +58,7 @@ def _init_valgrind_command(command):
VALGRIND,
"--leak-check=full --num-callers=25 --error-exitcode=100",
"--log-file={0}".format(log_file),
+ "--gen-suppressions=all",
"--suppressions={0}".format(suppressions_file),
"--",
command,