From 32fede2fe1fc72b6e6516d2275f50e752fe1df7a Mon Sep 17 00:00:00 2001 From: Janusz Lisiecki Date: Thu, 16 Jan 2025 11:52:41 +0100 Subject: [PATCH] Remove libavutils from the asan suppresion list Signed-off-by: Janusz Lisiecki --- qa/leak.sup | 2 - .../py3.9/test.sh | 49 +++++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) create mode 100755 qa/pull urm.nvidia.com/sw-dl-dali-docker-local/dali-ci/main/cu126/x86_64/tf_custom_op_clean_manylinux2010/py3.9/test.sh diff --git a/qa/leak.sup b/qa/leak.sup index 309375eb0d6..43e18c3b8d1 100644 --- a/qa/leak.sup +++ b/qa/leak.sup @@ -11,8 +11,6 @@ leak:numba leak:libmxnet leak:libtorch leak:libc10 -leak:av_realloc_f -leak:av_malloc # tensorflow leak:PyInit__pywrap_debug_events_writer leak:_pywrap diff --git a/qa/pull urm.nvidia.com/sw-dl-dali-docker-local/dali-ci/main/cu126/x86_64/tf_custom_op_clean_manylinux2010/py3.9/test.sh b/qa/pull urm.nvidia.com/sw-dl-dali-docker-local/dali-ci/main/cu126/x86_64/tf_custom_op_clean_manylinux2010/py3.9/test.sh new file mode 100755 index 00000000000..d149a0e41e2 --- /dev/null +++ b/qa/pull urm.nvidia.com/sw-dl-dali-docker-local/dali-ci/main/cu126/x86_64/tf_custom_op_clean_manylinux2010/py3.9/test.sh @@ -0,0 +1,49 @@ +#!/bin/bash -ex + +do_once() { + # generate file_list.txt for label testing + echo "${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test.mp4 0 0 99 + ${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test.mp4 1 100 199 + ${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test.mp4 2 200 256 + " > /tmp/file_list.txt + + echo "${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 0 0 1 + ${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 1 2 3 + ${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 2 4 5 + " > /tmp/file_list_timestamp.txt + + echo "${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 0 0 49 + ${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 1 50 99 + ${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 2 100 149 + " > /tmp/file_list_frame_num.txt +} + +test_body() { + for BINNAME in \ + "dali_core_test.bin" \ + "dali_kernel_test.bin" \ + "dali_test.bin" \ + "dali_operator_test.bin" + do + for DIRNAME in \ + "../../build/dali/python/nvidia/dali" \ + "$(python -c 'import os; from nvidia import dali; print(os.path.dirname(dali.__file__))' 2>/dev/null || echo '')" + do + if [ -x "$DIRNAME/test/$BINNAME" ]; then + FULLPATH="$DIRNAME/test/$BINNAME" + break + fi + done + + if [[ -z "$FULLPATH" ]]; then + echo "ERROR: $BINNAME not found" + exit 1 + fi + + DALI_USE_EXEC2=0 "$FULLPATH" + done +} + +pushd ../.. +source ./qa/test_template.sh +popd