forked from NVIDIA/DALI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable sanitizers in regular CI runs (NVIDIA#3422)
* Enable sanitizers in regular CI runs - adds a suppression list that should disable all detected and not DALI originated errors - makes all leaks to fail the test job - turns off `fast_unwind_on_malloc` to make the stack trace more accurate (but slower) and allow more accurate suppressions, when the frame pointer is not preserved (python binary) - shortens tests TF based L0 test and excludes numpy_reader test when sanitizers are on Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
- Loading branch information
Showing
4 changed files
with
69 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,43 @@ | ||
# TODO when all test passes in CI we can set suppress false-positives | ||
# NVJPEG | ||
leak:libnvcuvid.so | ||
# external libraries | ||
leak:paddle | ||
leak:llvm | ||
#leak:PyCode_NewWithPosOnlyArgs | ||
#leak:PyLong_FromLong | ||
#leak:_PyLong_New | ||
#leak:PyBytes_FromString | ||
#leak:PyCapsule_New | ||
#leak:av_realloc_f | ||
#leak:memalign | ||
leak:zmq | ||
leak:sklearn | ||
leak:scipy | ||
leak:numpy | ||
leak:libcublas | ||
leak:libcudnn | ||
leak:numba | ||
leak:libmxnet | ||
leak:libtorch | ||
leak:libc10 | ||
leak:av_realloc_f | ||
leak:av_malloc | ||
# tensorflow | ||
leak:PyInit__pywrap_debug_events_writer | ||
leak:_pywrap | ||
leak:PyInit__op_def_registry | ||
leak:PyInit__tf_stack | ||
leak:PyInit__dtypes | ||
# no idea how to suppress them other than as below but they are not caused by DALI | ||
# still there is some danger that any of the below functions appear in a valid leak | ||
leak:std::string::_Rep::_S_create | ||
leak:PyLong_FromLong | ||
leak:PyCode_NewWithPosOnlyArgs | ||
leak:_PyLong_New | ||
leak:PyBytes_FromString | ||
leak:PyType_GenericAlloc | ||
leak:PyCapsule_New | ||
leak:_PyObject_GC_NewVar | ||
leak:_PyObject_GC_New | ||
leak:PyDict_Copy | ||
leak:_PyObject_New | ||
leak:PyUnicode_New | ||
leak:PyTuple_Pack | ||
leak:PyTuple_New | ||
leak:_PyObject_MakeTpCall | ||
leak:PyDict_SetDefault | ||
leak:PySequence_List | ||
leak:_PyFunction_Vectorcall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters