test: add valgrind suppression for libucs used by MPI

This commit is contained in:
Tommaso Pecorella
2024-02-23 14:33:48 -06:00
parent af67f5501e
commit ec8b9a57b1
2 changed files with 12 additions and 2 deletions

10
.ns3.supp Normal file
View File

@@ -0,0 +1,10 @@
# This is the valgrind suppression file for ns-3.
# libucs is included by openMPI. Added Feb 2024.
# Errors generated by openucx 1.15.0-2
{
ignore_libucs_init_memory_leak
Memcheck:Leak
...
obj:*/libucs.so.*
}

View File

@@ -800,8 +800,8 @@ def make_paths():
# no longer needed. If it is needed again in the future, define the # no longer needed. If it is needed again in the future, define the
# below variable again, and remove the alternative definition to None # below variable again, and remove the alternative definition to None
# #
# VALGRIND_SUPPRESSIONS_FILE = "testpy.supp" VALGRIND_SUPPRESSIONS_FILE = ".ns3.supp"
VALGRIND_SUPPRESSIONS_FILE = None # VALGRIND_SUPPRESSIONS_FILE = None
def run_job_synchronously(shell_command, directory, valgrind, is_python, build_path=""): def run_job_synchronously(shell_command, directory, valgrind, is_python, build_path=""):