Skip to content

Commit acbfbf5

Browse files
committed
tmp(test): skip host vulnerabilities test on SPR
The test reports old microcode for unknown reason. Signed-off-by: Nikita Kalyazin <kalyazin@amazon.com>
1 parent ab3b540 commit acbfbf5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration_tests/security/test_vulnerabilities.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import pytest
1313
import requests
1414

15+
import framework.utils_cpuid as cpuid_utils
1516
from framework import utils
1617
from framework.ab_test import git_clone
1718
from framework.microvm import MicroVMFactory
@@ -121,6 +122,10 @@ def test_spectre_meltdown_checker_on_host(spectre_meltdown_checker):
121122
global_props.buildkite_pr,
122123
reason="Test depends solely on factors external to GitHub repository",
123124
)
125+
@pytest.mark.skipif(
126+
cpuid_utils.get_cpu_codename() == "INTEL_SAPPHIRE_RAPIDS",
127+
reason="Reporting old microcode for unknown reason",
128+
)
124129
def test_vulnerabilities_on_host():
125130
"""Test vulnerability files on host."""
126131
res = utils.run_cmd(f"grep -r Vulnerable {VULN_DIR}")

0 commit comments

Comments
 (0)