From 8379c49bae60dd075acd8eb9c3c8b6ed4be4fb99 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Tue, 3 Dec 2024 15:28:31 +0000 Subject: [PATCH] disable static analysis seccomp test on aarch64 The nightly toolchain in our devctr is too old to successfully compile non-PIE, statically linked aarch64 executable. I have manually verified newer nightlies to work (2024-11-16 and newer), however our nightly toolchain is dictated by kani, so we need to wait for kani to release a new version that updates past this toolchain. Therefore, temporarily disable the test on aarch64. Signed-off-by: Patrick Roy --- .../build/test_seccomp_no_redundant_rules.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration_tests/build/test_seccomp_no_redundant_rules.py b/tests/integration_tests/build/test_seccomp_no_redundant_rules.py index 0f9416cd87d..a7eaf584a68 100644 --- a/tests/integration_tests/build/test_seccomp_no_redundant_rules.py +++ b/tests/integration_tests/build/test_seccomp_no_redundant_rules.py @@ -5,6 +5,8 @@ import platform from pathlib import Path +import pytest + from framework import utils from framework.static_analysis import ( determine_unneeded_seccomp_rules, @@ -13,6 +15,10 @@ ) +@pytest.mark.skipif( + platform.machine() != "x86_64", + reason="aarch64 nightly toolchain does not support flags needed to compile analyzable binary yet", +) def test_redundant_seccomp_rules(): """Test that fails if static analysis determines redundant seccomp rules""" arch = platform.processor()