Exclude 3rd party python packages from lsan (#7489)

When executed with PYTHONMALLOC=malloc lot of leaks
reported on the 3rd parties of the python tests.
Muting those leaks.
This commit is contained in:
Andrey Somsikov 2021-09-14 17:48:23 +03:00 committed by GitHub
parent a4b75b7b67
commit ae64b5e202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,18 @@ leak:__pthread_once_slow
# memory leaks in graphics driver
leak:libigdrcl.so
# leaks from python packages used by tests
leak:site-packages/scipy/
leak:site-packages/tensorflow/
leak:site-packages/onnx/
leak:site-packages/mxnet/
# leaks from mostly tensorflow when used by tests
leak:_PyObject_New
leak:_PyLong_New
leak:PyCode_NewWithPosOnlyArgs
leak:PyLong_FromLongLong
# Noisy leaks from pybind11. TODO: investigate.
leak:pybind11