Skip to content

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

[CI] [GHA] Introduce C++ unittests on Debian ARM (#26656)

Andrei Kashchikhin397654923f24
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag
index 71aa82072f1..8e5386a30ec 100644
--- a/.github/dockerfiles/docker_tag
+++ b/.github/dockerfiles/docker_tag
@@ -1 +1 @@
-pr-26954
\ No newline at end of file
+pr-26656
\ No newline at end of file
diff --git a/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile b/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile
new file mode 100644
index 00000000000..159c4bcdc40
--- /dev/null
+++ b/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile
@@ -0,0 +1,40 @@
+ARG REGISTRY="docker.io"
+FROM ${REGISTRY}/library/debian:10.13
+
+USER root
+
+# APT configuration
+RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \
+ echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \
+ echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \
+ echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf
+
+ENV DEBIAN_FRONTEND="noninteractive" \
+ TZ="Europe/London"
+
+RUN apt-get update && \
+ apt-get install \
+ git \
+ libc6-dev \
+ # parallel gzip
+ pigz \
+ # Python for running C++ Functional tests via parallelization script \
+ python3 \
+ python3-pip \
+ python3-dev \
+ python3-venv \
+ python3-distutils \
+ # Compilers
+ gcc-arm-linux-gnueabihf \
+ g++-arm-linux-gnueabihf \
+ && \
+ rm -rf /var/lib/apt/lists/*
+
+# Install build dependencies
+ADD install_build_dependencies.sh /install_build_dependencies.sh
+RUN chmod +x /install_build_dependencies.sh && \
+ /install_build_dependencies.sh && \
+ rm -rf /var/lib/apt/lists/*
+
+ENV LD_LIBRARY_PATH="/usr/arm-linux-gnueabihf/:/usr/arm-linux-gnueabihf/lib/:$LD_LIBRARY_PATH"
+RUN ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
diff --git a/.github/workflows/debian_10_arm.yml b/.github/workflows/debian_10_arm.yml
index 2bac51f3fef..f4db0a83a5a 100644
--- a/.github/workflows/debian_10_arm.yml
+++ b/.github/workflows/debian_10_arm.yml
@@ -65,6 +65,7 @@ jobs:
with:
images: |
ov_build/debian_10_arm
+ ov_test/debian_10_arm
registry: 'openvinogithubactions.azurecr.io'
dockerfiles_root_dir: '.github/dockerfiles'
changed_components: ${{ needs.smart_ci.outputs.changed_components }}
@@ -98,9 +99,30 @@ jobs:
-DENABLE_TESTS=ON \
-DENABLE_PYTHON=OFF
+ CXX_Unit_Tests:
+ name: C++ unit tests
+ needs: [ Docker, Build, Smart_CI ]
+ uses: ./.github/workflows/job_cxx_unit_tests.yml
+ with:
+ runner: 'aks-linux-16-cores-arm'
+ image: ${{ fromJSON(needs.docker.outputs.images).ov_test.debian_10_arm }}
+ affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'debian_10'
+
+ CPU_Functional_Tests:
+ name: CPU functional tests
+ if: ${{ 'false' }} # Ticket: 153289
+ # if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test
+ needs: [ Docker, Build, Smart_CI ]
+ uses: ./.github/workflows/job_cpu_functional_tests.yml
+ with:
+ runner: 'aks-linux-16-cores-arm'
+ image: ${{ fromJSON(needs.docker.outputs.images).ov_test.debian_10_arm }}
+ python-version: '3.7'
+
Overall_Status:
name: ci/gha_overall_status_debian_10_arm
- needs: [Smart_CI, Build]
+ needs: [Smart_CI, Build, CXX_Unit_Tests]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/fedora_29.yml b/.github/workflows/fedora_29.yml
index c243d11880f..0ec0c409d12 100644
--- a/.github/workflows/fedora_29.yml
+++ b/.github/workflows/fedora_29.yml
@@ -160,6 +160,7 @@ jobs:
runner: 'aks-linux-4-cores-16gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.fedora_29 }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'fedora_29'
Overall_Status:
name: ci/gha_overall_status_fedora
diff --git a/.github/workflows/job_cpu_functional_tests.yml b/.github/workflows/job_cpu_functional_tests.yml
index a0dcd52076c..77376d44293 100644
--- a/.github/workflows/job_cpu_functional_tests.yml
+++ b/.github/workflows/job_cpu_functional_tests.yml
@@ -12,6 +12,10 @@ on:
type: string
required: false
default: null
+ python-version:
+ description: 'Python version to setup. E.g., "3.11"'
+ type: string
+ required: true
permissions: read-all
@@ -70,10 +74,10 @@ jobs:
sparse-checkout-cone-mode: false
path: 'openvino'
- - name: Setup Python 3.11
+ - name: Setup Python ${{ inputs.python-version }}
uses: ./openvino/.github/actions/setup_python
with:
- version: '3.11'
+ version: ${{ inputs.python-version }}
should-setup-pip-paths: 'false'
self-hosted-runner: ${{ runner.os == 'Linux' }}
diff --git a/.github/workflows/job_cxx_unit_tests.yml b/.github/workflows/job_cxx_unit_tests.yml
index e3b18a69841..b83e83af4ed 100644
--- a/.github/workflows/job_cxx_unit_tests.yml
+++ b/.github/workflows/job_cxx_unit_tests.yml
@@ -16,6 +16,10 @@ on:
description: 'Components that are affected by changes in the commit defined by the Smart CI Action'
type: string
required: true
+ os:
+ description: 'OS that is used for testing in the form of "ubuntu_20_04"'
+ type: string
+ required: true
permissions: read-all
@@ -85,13 +89,13 @@ jobs:
#
- name: OpenVINO Core Unit Tests
- if: fromJSON(inputs.affected-components).Core.test
+ if: ${{ fromJSON(inputs.affected-components).Core.test && inputs.os != 'debian_10' }} # Ticket: 153150
run: |
${{ env.SETUPVARS_COMMAND }}
${{ env.INSTALL_TEST_DIR }}/ov_core_unit_tests --gtest_print_time=1 --gtest_filter=-*IE_GPU* --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-OVCoreUT.xml
- name: OpenVINO Inference Functional Tests
- if: fromJSON(inputs.affected-components).inference.test
+ if: ${{ fromJSON(inputs.affected-components).inference.test && inputs.os != 'debian_10' }} # Ticket: 153151
run: |
${{ env.SETUPVARS_COMMAND }}
${{ env.INSTALL_TEST_DIR }}/ov_inference_functional_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-InferenceFunc.xml
@@ -128,7 +132,7 @@ jobs:
${{ env.INSTALL_TEST_DIR }}/paddle_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-PaddleTests.xml
- name: ONNX frontend tests
- if: ${{ fromJSON(inputs.affected-components).ONNX_FE.test && runner.arch != 'ARM64' }} # Ticket for macOS ARM64: 122663, for Linux ARM64: 126280
+ if: ${{ fromJSON(inputs.affected-components).ONNX_FE.test && runner.arch != 'ARM64' }} # Ticket for macOS ARM64: 122663, for Linux ARM64: 126280, 153161
run: |
${{ env.SETUPVARS_COMMAND }}
${{ env.INSTALL_TEST_DIR }}/ov_onnx_frontend_tests --gtest_print_time=1 --gtest_filter=-*IE_GPU* --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-ONNXFrontend.xml
@@ -145,7 +149,6 @@ jobs:
if: fromJSON(inputs.affected-components).TF_FE.test
run: |
${{ env.SETUPVARS_COMMAND }}
-
${{ env.INSTALL_TEST_DIR }}/ov_tensorflow_frontend_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-TensorFlowFrontend.xml
- name: TensorFlow Lite frontend tests
@@ -214,7 +217,7 @@ jobs:
${{ env.INSTALL_TEST_DIR }}/ov_util_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-ov_util_tests.xml
- name: OpenVINO C API tests
- if: fromJSON(inputs.affected-components).C_API.test
+ if: ${{ fromJSON(inputs.affected-components).C_API.test && inputs.os != 'debian_10' }} # Ticket: 153169
run: |
${{ env.SETUPVARS_COMMAND }}
${{ env.INSTALL_TEST_DIR }}/ov_capi_test --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-OpenVINOCAPITests.xml
@@ -244,7 +247,7 @@ jobs:
${{ env.INSTALL_TEST_DIR }}/ov_hetero_unit_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-OVHeteroUnitTests.xml
- name: Hetero func tests
- if: fromJSON(inputs.affected-components).HETERO.test
+ if: ${{ fromJSON(inputs.affected-components).HETERO.test && inputs.os != 'debian_10' }} # Ticket: 153170
run: |
${{ env.SETUPVARS_COMMAND }}
${{ env.INSTALL_TEST_DIR }}/ov_hetero_func_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-OVHeteroFuncTests.xml --gtest_filter="*smoke*"
diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml
index e4e608f3aca..0345d5259e8 100644
--- a/.github/workflows/linux_arm64.yml
+++ b/.github/workflows/linux_arm64.yml
@@ -156,6 +156,7 @@ jobs:
runner: 'aks-linux-16-cores-arm'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_20_04_arm64 }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'ubuntu_20_04'
Python_Unit_Tests:
name: Python unit tests
@@ -195,6 +196,7 @@ jobs:
with:
runner: 'aks-linux-16-cores-arm'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_20_04_arm64 }}
+ python-version: '3.11'
TensorFlow_Models_Tests:
name: TensorFlow Models tests
diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml
index 50f3d245107..6f9b761ce33 100644
--- a/.github/workflows/linux_conditional_compilation.yml
+++ b/.github/workflows/linux_conditional_compilation.yml
@@ -346,6 +346,7 @@ jobs:
with:
runner: 'aks-linux-8-cores-32gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
+ python-version: '3.11'
Overall_Status:
name: ci/gha_overall_status_linux_cc
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index e7ed552bed7..b91bd654656 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -260,6 +260,7 @@ jobs:
with:
runner: 'macos-13'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'mac_13'
Python_Unit_Tests:
name: Python unit tests
@@ -296,3 +297,4 @@ jobs:
uses: ./.github/workflows/job_cpu_functional_tests.yml
with:
runner: 'macos-13'
+ python-version: '3.11'
diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml
index f2175a0f292..8d4843627e7 100644
--- a/.github/workflows/mac_arm64.yml
+++ b/.github/workflows/mac_arm64.yml
@@ -259,6 +259,7 @@ jobs:
with:
runner: 'macos-13-xlarge'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'mac_13'
Python_Unit_Tests:
name: Python unit tests
@@ -294,3 +295,4 @@ jobs:
uses: ./.github/workflows/job_cpu_functional_tests.yml
with:
runner: 'macos-13-xlarge'
+ python-version: '3.11'
diff --git a/.github/workflows/ubuntu_20.yml b/.github/workflows/ubuntu_20.yml
index bbff82a726d..6056c20945c 100644
--- a/.github/workflows/ubuntu_20.yml
+++ b/.github/workflows/ubuntu_20.yml
@@ -108,6 +108,7 @@ jobs:
runner: 'aks-linux-4-cores-16gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_20_04_x64 }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'ubuntu_20_04'
Debian_Packages:
name: Debian Packages
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 84a93ee93b6..19f63471523 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -288,6 +288,7 @@ jobs:
runner: 'aks-linux-4-cores-16gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'ubuntu_22_04'
Python_Unit_Tests:
name: Python unit tests
@@ -327,6 +328,7 @@ jobs:
with:
runner: 'aks-linux-8-cores-32gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
+ python-version: '3.11'
TensorFlow_Models_Tests_Precommit:
name: TensorFlow Models tests
diff --git a/.github/workflows/ubuntu_24.yml b/.github/workflows/ubuntu_24.yml
index 295a4dd0e2c..bb147450438 100644
--- a/.github/workflows/ubuntu_24.yml
+++ b/.github/workflows/ubuntu_24.yml
@@ -105,6 +105,7 @@ jobs:
runner: 'aks-linux-4-cores-16gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_24_04_x64 }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'ubuntu_24_04'
Debian_Packages:
name: Debian Packages
diff --git a/.github/workflows/windows_vs2019_debug.yml b/.github/workflows/windows_vs2019_debug.yml
index 03126b500cd..f36c3f33031 100644
--- a/.github/workflows/windows_vs2019_debug.yml
+++ b/.github/workflows/windows_vs2019_debug.yml
@@ -64,6 +64,7 @@ jobs:
with:
runner: 'aks-win-4-cores-8gb'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'windows_2019'
Overall_Status:
name: ci/gha_overall_status_windows_debug
diff --git a/.github/workflows/windows_vs2019_release.yml b/.github/workflows/windows_vs2019_release.yml
index 122fcc3c1c5..32bdf5148ec 100644
--- a/.github/workflows/windows_vs2019_release.yml
+++ b/.github/workflows/windows_vs2019_release.yml
@@ -423,6 +423,7 @@ jobs:
with:
runner: 'aks-win-4-cores-8gb'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
+ os: 'windows_2019'
CPU_Functional_Tests:
name: CPU functional tests
diff --git a/src/common/low_precision_transformations/tests/fake_quantize_transformation.cpp b/src/common/low_precision_transformations/tests/fake_quantize_transformation.cpp
index 1cbdb60fe1c..028d3e239f7 100644
--- a/src/common/low_precision_transformations/tests/fake_quantize_transformation.cpp
+++ b/src/common/low_precision_transformations/tests/fake_quantize_transformation.cpp
@@ -4,6 +4,8 @@
#include <gtest/gtest.h>
+#include "openvino/core/visibility.hpp"
+
#include "low_precision/avg_pool.hpp"
#include "low_precision/common/precisions_restriction.hpp"
#include "low_precision/fake_quantize_decomposition.hpp"
@@ -118,7 +120,12 @@ public:
}
};
+#if defined (OPENVINO_ARCH_ARM) && defined(__linux__)
+// Ticket: 153155
+TEST_P(FakeQuantizeTransformation, DISABLED_CompareFunctions) {
+#else
TEST_P(FakeQuantizeTransformation, CompareFunctions) {
+#endif
actualFunction->validate_nodes_and_infer_types();
auto res = compare_functions(actualFunction, referenceFunction, true, true, false);
ASSERT_TRUE(res.first) << res.second;
diff --git a/src/common/transformations/tests/common_optimizations/reshape_sequence_fusion.cpp b/src/common/transformations/tests/common_optimizations/reshape_sequence_fusion.cpp
index 1afb91dc84f..cfd79c56743 100644
--- a/src/common/transformations/tests/common_optimizations/reshape_sequence_fusion.cpp
+++ b/src/common/transformations/tests/common_optimizations/reshape_sequence_fusion.cpp
@@ -12,6 +12,7 @@
#include "common_test_utils/ov_test_utils.hpp"
#include "openvino/core/model.hpp"
+#include "openvino/core/visibility.hpp"
#include "openvino/opsets/opset6.hpp"
using namespace testing;
@@ -104,7 +105,12 @@ TEST_F(TransformationTestsF, ReshapeSequenceFusion3_special_zero_false) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153165
+TEST_F(TransformationTestsF, DISABLED_ReshapeSequenceFusion4_i32_special_zero_true) {
+#else
TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i32_special_zero_true) {
+#endif
{
const bool special_zero = true;
auto data = std::make_shared<opset6::Parameter>(element::f32, PartialShape{1, 2, 3});
@@ -126,7 +132,12 @@ TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i32_special_zero_true) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153165
+TEST_F(TransformationTestsF, DISABLED_ReshapeSequenceFusion4_i32_special_zero_false) {
+#else
TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i32_special_zero_false) {
+#endif
{
const bool special_zero = false;
auto data = std::make_shared<opset6::Parameter>(element::f32, PartialShape{1, 2, 3});
@@ -148,7 +159,12 @@ TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i32_special_zero_false) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153165
+TEST_F(TransformationTestsF, DISABLED_ReshapeSequenceFusion4_i64_special_zero_true) {
+#else
TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i64_special_zero_true) {
+#endif
{
const bool special_zero = true;
auto data = std::make_shared<opset6::Parameter>(element::f32, PartialShape{1, 2, 3});
@@ -170,7 +186,12 @@ TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i64_special_zero_true) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153165
+TEST_F(TransformationTestsF, DISABLED_ReshapeSequenceFusion4_i64_special_zero_false) {
+#else
TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i64_special_zero_false) {
+#endif
{
const bool special_zero = false;
auto data = std::make_shared<opset6::Parameter>(element::f32, PartialShape{1, 2, 3});
@@ -192,7 +213,12 @@ TEST_F(TransformationTestsF, ReshapeSequenceFusion4_i64_special_zero_false) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153165
+TEST_F(TransformationTestsF, DISABLED_ReshapeSequenceFusion5_special_zero_true) {
+#else
TEST_F(TransformationTestsF, ReshapeSequenceFusion5_special_zero_true) {
+#endif
{
const bool special_zero = true;
auto data = std::make_shared<opset6::Parameter>(element::f32, PartialShape{1, 2, 3});
@@ -214,7 +240,12 @@ TEST_F(TransformationTestsF, ReshapeSequenceFusion5_special_zero_true) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153165
+TEST_F(TransformationTestsF, DISABLED_ReshapeSequenceFusion5_special_zero_false) {
+#else
TEST_F(TransformationTestsF, ReshapeSequenceFusion5_special_zero_false) {
+#endif
{
const bool special_zero = false;
auto data = std::make_shared<opset6::Parameter>(element::f32, PartialShape{1, 2, 3});
diff --git a/src/frontends/tensorflow/tests/compilation.cpp b/src/frontends/tensorflow/tests/compilation.cpp
index fe273e3ae1a..884fc47c63f 100644
--- a/src/frontends/tensorflow/tests/compilation.cpp
+++ b/src/frontends/tensorflow/tests/compilation.cpp
@@ -13,8 +13,8 @@ using namespace ov::frontend::tensorflow::tests;
class CompileModelsTests : public ::testing::Test {};
-#ifdef OPENVINO_ARCH_ARM64
-// Ticket: 122666
+#if defined OPENVINO_ARCH_ARM64 || defined OPENVINO_ARCH_ARM
+// Ticket: 122666, 153163
TEST_F(CompileModelsTests, DISABLED_NgramCompilation) {
ov::Core core;
auto model = convert_model("model_ngram/model_ngram.pbtxt");
@@ -40,8 +40,8 @@ TEST_F(CompileModelsTests, NgramCompilation) {
}
#endif
-#ifdef OPENVINO_ARCH_ARM64
-// Ticket: CVS-122396
+#if defined OPENVINO_ARCH_ARM64 || defined OPENVINO_ARCH_ARM
+// Ticket: CVS-122396, 153163
TEST_F(CompileModelsTests, DISABLED_ModelWithSplitConvConcat)
#else
TEST_F(CompileModelsTests, ModelWithSplitConvConcat)
diff --git a/src/frontends/tensorflow_lite/tests/convert_tricky_models.cpp b/src/frontends/tensorflow_lite/tests/convert_tricky_models.cpp
index d00667abd32..8b5b78318cc 100644
--- a/src/frontends/tensorflow_lite/tests/convert_tricky_models.cpp
+++ b/src/frontends/tensorflow_lite/tests/convert_tricky_models.cpp
@@ -20,7 +20,12 @@ static std::string s_manifest = "";
using Inputs = std::vector<std::vector<float>>;
using Outputs = std::vector<std::vector<float>>;
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153164
+OPENVINO_TEST(TensorFlowLiteTrickyModels, DISABLED_tflite_dequantize) {
+#else
OPENVINO_TEST(TensorFlowLiteTrickyModels, tflite_dequantize) {
+#endif
auto model = convert_model("dequantize.tflite");
auto test_case = ov::test::TestCase(model, ov::test::utils::DEVICE_CPU);
diff --git a/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp b/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp
index a100585a97f..76d4f616200 100644
--- a/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp
+++ b/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp
@@ -107,8 +107,8 @@ void FrontEndFuzzyOpTest::runConvertedModel(const std::shared_ptr<ov::Model> mod
}
}
-#ifdef OPENVINO_ARCH_ARM64
-// Ticket: 126830
+#if defined OPENVINO_ARCH_ARM64 || defined OPENVINO_ARCH_ARM
+// Ticket: 126830, 153158
TEST_P(FrontEndFuzzyOpTest, DISABLED_testOpFuzzy) {
#else
TEST_P(FrontEndFuzzyOpTest, testOpFuzzy) {
diff --git a/src/plugins/intel_cpu/tests/unit/snippets_transformations/arm/snipptes_mark_skipped.cpp b/src/plugins/intel_cpu/tests/unit/snippets_transformations/arm/snipptes_mark_skipped.cpp
index 19940834212..9ff4c72558b 100644
--- a/src/plugins/intel_cpu/tests/unit/snippets_transformations/arm/snipptes_mark_skipped.cpp
+++ b/src/plugins/intel_cpu/tests/unit/snippets_transformations/arm/snipptes_mark_skipped.cpp
@@ -5,6 +5,7 @@
#include <subgraph_customizable.hpp>
#include <snippets_helpers.hpp>
#include <transformations/snippets/aarch64/pass/snippets_mark_skipped.hpp>
+#include "openvino/core/visibility.hpp"
#include "snippets/pass/tokenization.hpp"
#include "snippets/pass/collapse_subgraph.hpp"
@@ -41,7 +42,12 @@ TEST_F(SnippetsMarkSkippedTests, smoke_Snippets_SkipConvFused_ConvMulRelu) {
run();
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153166
+TEST_F(SnippetsMarkSkippedTests, DISABLED_smoke_Snippets_SkipConvFused_ConvSumRelu) {
+#else
TEST_F(SnippetsMarkSkippedTests, smoke_Snippets_SkipConvFused_ConvSumRelu) {
+#endif
std::vector<std::shared_ptr<Node>> eltwiseOps {std::make_shared<ov::op::v1::Add>(),
std::make_shared<ov::op::v0::Relu>(),
std::make_shared<ov::op::v0::Relu>()};
@@ -64,7 +70,12 @@ TEST_F(SnippetsMarkSkippedTests, smoke_Snippets_SkipConvFused_ConvBiasRelu) {
run();
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153166
+TEST_F(SnippetsMarkSkippedTests, DISABLED_smoke_Snippets_SkipConvFused_ConvBiasTwoRelu) {
+#else
TEST_F(SnippetsMarkSkippedTests, smoke_Snippets_SkipConvFused_ConvBiasTwoRelu) {
+#endif
std::vector<std::shared_ptr<Node>> eltwiseOps {std::make_shared<ov::op::v1::Add>(),
std::make_shared<ov::op::v0::Relu>(),
std::make_shared<ov::op::v0::Relu>()};
diff --git a/src/plugins/intel_cpu/tests/unit/transformations/split_fc_test.cpp b/src/plugins/intel_cpu/tests/unit/transformations/split_fc_test.cpp
index c8f0b217fa3..4c955ec5286 100644
--- a/src/plugins/intel_cpu/tests/unit/transformations/split_fc_test.cpp
+++ b/src/plugins/intel_cpu/tests/unit/transformations/split_fc_test.cpp
@@ -13,6 +13,7 @@
#include <transformations/cpu_opset/common/pass/split_fc.hpp>
#include <transformations/init_node_info.hpp>
#include <transformations/utils/utils.hpp>
+#include "openvino/core/visibility.hpp"
#include <openvino/pass/manager.hpp>
#include <ov_ops/type_relaxed.hpp>
@@ -22,7 +23,12 @@
using namespace testing;
using namespace ov::intel_cpu;
+#if defined (OPENVINO_ARCH_ARM) && defined(__linux__)
+// Ticket: 153166
+TEST_F(TransformationTestsF, DISABLED_SplitFCTest) {
+#else
TEST_F(TransformationTestsF, SplitFCTest) {
+#endif
disable_rt_info_check();
{
auto src = std::make_shared<ov::opset1::Parameter>(ov::element::f32, ov::Shape{ 3, 4096, 1 });
@@ -56,7 +62,12 @@ TEST_F(TransformationTestsF, SplitFCTest) {
}
}
+#if defined (OPENVINO_ARCH_ARM) && defined(__linux__)
+// Ticket: 153166
+TEST_F(TransformationTestsF, DISABLED_SplitFCTest_int8_weight) {
+#else
TEST_F(TransformationTestsF, SplitFCTest_int8_weight) {
+#endif
disable_rt_info_check();
{
auto src = std::make_shared<ov::opset1::Parameter>(ov::element::f32, ov::Shape{3, 4096, 1});
@@ -118,7 +129,12 @@ TEST_F(TransformationTestsF, SplitFCTest_int8_weight) {
}
}
+#if defined (OPENVINO_ARCH_ARM) && defined(__linux__)
+// Ticket: 153166
+TEST_F(TransformationTestsF, DISABLED_SplitFCTest_int4_weight) {
+#else
TEST_F(TransformationTestsF, SplitFCTest_int4_weight) {
+#endif
disable_rt_info_check();
{
auto src = std::make_shared<ov::opset1::Parameter>(ov::element::f32, ov::Shape{3, 4096, 1});
@@ -185,7 +201,12 @@ TEST_F(TransformationTestsF, SplitFCTest_int4_weight) {
}
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153166
+TEST_F(TransformationTestsF, DISABLED_SplitFCTest_int4_weight_reshape) {
+#else
TEST_F(TransformationTestsF, SplitFCTest_int4_weight_reshape) {
+#endif
disable_rt_info_check();
{
auto src = std::make_shared<ov::opset1::Parameter>(ov::element::f32, ov::Shape{ 3, 2048, 1 });
diff --git a/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/graph_cache.cpp b/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/graph_cache.cpp
index 295eda9654a..e32d782757b 100644
--- a/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/graph_cache.cpp
+++ b/src/tests/functional/plugin/conformance/subgraphs_dumper/tests/cache/graph_cache.cpp
@@ -4,6 +4,7 @@
#include <memory>
+#include "openvino/core/visibility.hpp"
#include "openvino/op/ops.hpp"
#include "openvino/util/file_util.hpp"
#include "openvino/op/util/op_types.hpp"
@@ -61,7 +62,12 @@ TEST_F(GraphCacheFuncTest, get_graph_cache_twice) {
ASSERT_EQ(graph_cache_0, graph_cache_1);
}
+#if (defined OPENVINO_ARCH_ARM && defined(__linux__))
+// Ticket: 153168
+TEST_F(GraphCacheFuncTest, DISABLED_update_cache) {
+#else
TEST_F(GraphCacheFuncTest, update_cache) {
+#endif
auto graph_cache = ov::tools::subgraph_dumper::GraphCache::get();
graph_cache->update_cache(test_model, test_model_path, true);
OV_ASSERT_NO_THROW(graph_cache->update_cache(test_model, test_model_path, true));
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py
index 671d83c46a3..a6fe2debfa3 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py
@@ -1,25 +1,25 @@
# Copyright (C) 2018-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
-import os
-import sys
-import threading
import csv
import datetime
-import shlex
import heapq
-
+import os
+import shlex
+import sys
+import threading
from argparse import ArgumentParser
-from subprocess import Popen, TimeoutExpired, run, call
from hashlib import sha256
from pathlib import Path
from shutil import rmtree, copyfile
+from subprocess import Popen, TimeoutExpired, run, call
from tarfile import open as tar_open
-from utils.conformance_utils import get_logger, progressbar
-from utils import constants
-from utils import file_utils
import defusedxml.ElementTree as ET
+from utils import constants
+from utils import file_utils
+from utils.conformance_utils import get_logger, progressbar
+
if not constants.IS_WIN:
from signal import SIGKILL
@@ -58,6 +58,7 @@ def parse_arguments():
)
split_unit_help = "Split by test or suite"
repeat_help = "Number of times to repeat failed and interrupted tests"
+ excluded_tests_file_help = "Path to the file containing list of tests that should not be executed"
parser.add_argument(
"-e",
@@ -122,6 +123,13 @@ def parse_arguments():
required=False,
default=1
)
+ parser.add_argument(
+ "--excluded_tests_file",
+ help=excluded_tests_file_help,
+ type=str,
+ required=False,
+ default=None,
+ )
return parser.parse_args()
@@ -1026,8 +1034,16 @@ if __name__ == "__main__":
logger.info(f"[ARGUMENTS] --parallel_devices={args.parallel_devices}")
logger.info(f"[ARGUMENTS] --split_unit={args.split_unit}")
logger.info(f"[ARGUMENTS] --repeat_failed={args.repeat_failed}")
+ logger.info(f"[ARGUMENTS] --excluded_tests_file={args.excluded_tests_file or 'None'}")
logger.info(f"[ARGUMENTS] Executable file arguments = {exec_file_args}")
TaskManager.process_timeout = args.process_timeout
+
+ # Get excluded tests from the file
+ excluded_tests = set()
+ if args.excluded_tests_file:
+ with open(args.excluded_tests_file, mode='r', encoding='utf-8') as excluded_tests_file:
+ excluded_tests = set(excluded_tests_file.read().split('\n'))
+
test_runner = TestParallelRunner(
exec_file_path=args.exec_file,
test_command_line=exec_file_args,
@@ -1037,6 +1053,7 @@ if __name__ == "__main__":
split_unit=args.split_unit,
repeat_failed=args.repeat_failed,
is_parallel_devices=args.parallel_devices,
+ excluded_tests=excluded_tests
)
test_runner.run()
if not test_runner.postprocess_logs():