Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove OpenVINO from mem leak whitelist #4897

Merged
merged 2 commits into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qa/L0_client_memory_growth/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ for PROTOCOL in http grpc; do
else
python3 ../common/check_valgrind_log.py -f $LEAKCHECK_LOG
if [ $? -ne 0 ]; then
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
fi

set +e
Expand Down
4 changes: 2 additions & 2 deletions qa/L0_client_valgrind/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ for PROTOCOL in http grpc; do
else
python3 ../common/check_valgrind_log.py -f $LEAKCHECK_LOG
if [ $? -ne 0 ]; then
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
fi
fi
done
Expand Down
6 changes: 1 addition & 5 deletions qa/common/check_valgrind_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,10 @@
# -> tensorflow::LibHDFS::LoadAndBind()::{lambda(char const*, void**)#1}::operator()(char const*, void**)
# -> tensorflow::internal::LoadLibrary
# -> dlerror
# * InferenceEngine::getAvailableCoresTypes() leak in OpenVINO could be due to
# https://github.com/openvinotoolkit/openvino/issues/6593. Should be fixed
# after version 2021.4(https://github.com/openvinotoolkit/openvino/issues/6593#issuecomment-878093502).
# Remove this after migrating to OpenVINO to 2022.1: DLIS-4055

LEAK_WHITE_LIST = [
'cnmem', 'tensorflow::NewSession', 'dl-init', 'dl-open', 'dlerror',
'libtorch', 'InferenceEngine::getAvailableCoresTypes()'
'libtorch'
]


Expand Down