Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Fix thread sanitizer hangs (#32420)

Evgeny Kotovc5ef3de7d8f3
diff --git a/.github/workflows/linux_sanitizers.yml b/.github/workflows/linux_sanitizers.yml
index 1e4491bfdfb..d3baaff51d8 100644
--- a/.github/workflows/linux_sanitizers.yml
+++ b/.github/workflows/linux_sanitizers.yml
@@ -241,7 +241,7 @@ jobs:
if: ${{ github.repository_owner == 'openvinotoolkit' }}
needs: [Docker, Build]
timeout-minutes: 180
- runs-on: aks-linux-16-cores-32gb
+ runs-on: aks-linux-16-cores-64gb
container:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64 }}
defaults:
@@ -307,11 +307,13 @@ jobs:
${INSTALL_TEST_DIR}/ov_inference_functional_tests --gtest_print_time=1 \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-InferenceFunc.xml
+ # gtest_filter Ticket: 176780
- name: OpenVINO Inference Unit Tests
if: ${{ !cancelled() }}
run: |
source ${INSTALL_DIR}/setupvars.sh
${INSTALL_TEST_DIR}/ov_inference_unit_tests --gtest_print_time=1 \
+ ${{ matrix.SANITIZER != '' && '--gtest_filter=-PaddleFuzzyOpTest/FrontEndFuzzyOpTest.testOpFuzzy/paddle_greater_equal_big_int64_greater_equal_big_int64_pdmodel' || '' }} \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-InferenceUnit.xml
- name: Low Precision Transformations Tests
@@ -335,11 +337,13 @@ jobs:
${INSTALL_TEST_DIR}/ov_ir_frontend_tests --gtest_print_time=1 \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-IRFrontend.xml
+ # gtest_filter Ticket: 176780
- name: PaddlePaddle frontend tests
if: ${{ !cancelled() }}
run: |
source ${INSTALL_DIR}/setupvars.sh
${INSTALL_TEST_DIR}/paddle_tests --gtest_print_time=1 \
+ ${{ matrix.SANITIZER != '' && '--gtest_filter=-PaddleFuzzyOpTest/FrontEndFuzzyOpTest.testOpFuzzy/paddle_greater_equal_big_int64_greater_equal_big_int64_pdmodel' || '' }} \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-PaddleTests.xml
- name: ONNX frontend tests
@@ -372,12 +376,15 @@ jobs:
${INSTALL_TEST_DIR}/ov_tensorflow_lite_frontend_tests --gtest_print_time=1 \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-TensorFlowLiteFrontend.xml
+ # gtest_filter Ticket: 176780
- name: Transformations func tests
- if: ${{ 'false' }} # Ticket: 143900
+ if: ${{ !cancelled() }}
run: |
source ${INSTALL_DIR}/setupvars.sh
${INSTALL_TEST_DIR}/ov_transformations_tests --gtest_print_time=1 \
+ ${{ matrix.SANITIZER == 'Thread' && '--gtest_filter=-TransformationTestsF.TSGeneralTestBinaryGeneral:TransformationTestsF.TSGeneralTestConcatGeneral:PaddleFuzzyOpTest/FrontEndFuzzyOpTest.testOpFuzzy/paddle_greater_equal_big_int64_greater_equal_big_int64_pdmodel' || '' }} \
+ ${{ matrix.SANITIZER != '' && matrix.SANITIZER != 'Thread' && '--gtest_filter=-PaddleFuzzyOpTest/FrontEndFuzzyOpTest.testOpFuzzy/paddle_greater_equal_big_int64_greater_equal_big_int64_pdmodel' || '' }} \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-Transformations.xml
- name: Common test utils tests
diff --git a/tests/sanitizers/tsan/suppressions.txt b/tests/sanitizers/tsan/suppressions.txt
index 01ec245a938..479ea7551a0 100644
--- a/tests/sanitizers/tsan/suppressions.txt
+++ b/tests/sanitizers/tsan/suppressions.txt
@@ -10,6 +10,9 @@
race:libtbb
mutex:libtbb
race:libhwloc
+# oneDNN primitive cache destruction race (thirdparty)
+race:dnnl::impl::primitive_cache_t
# race conditions from std libs
race:libstdc++
-race:libc
\ No newline at end of file
+race:libc
+race:_dl_deallocate_tls
\ No newline at end of file