Skip to content

Commit b61b21d

Browse files
committed
ci: Add secret hiding kernel to defaults buildkite
Adding the secret hiding kernel as a default for the buildkite pipeline, this will mean that PR's made against the branch will now be run with the new secret hiding enabled amis. Some tests have been marked to skip as they are kernel dependent so while we are compiling our kernel in CI these could change again. Signed-off-by: Jack Thomson <[email protected]>
1 parent 4f766da commit b61b21d

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.buildkite/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
DEFAULT_PLATFORMS = [
2828
("al2", "linux_5.10"),
2929
("al2023", "linux_6.1"),
30+
("ubuntu24", "secret_hiding"),
3031
]
3132

3233

tests/integration_tests/functional/test_cpu_features_host_vs_guest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
import os
1717

18+
import pytest
19+
1820
from framework import utils
1921
from framework.properties import global_props
2022
from framework.utils_cpuid import CPU_FEATURES_CMD, CpuModel
@@ -157,6 +159,10 @@
157159
}
158160

159161

162+
@pytest.mark.skipif(
163+
global_props.host_linux_version_tpl > (6, 1),
164+
reason="We don't currently track features for host kernels above 6.1.",
165+
)
160166
def test_host_vs_guest_cpu_features(uvm_plain_any):
161167
"""Check CPU features host vs guest"""
162168

tests/integration_tests/functional/test_shut_down.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44

55
import platform
66

7+
import pytest
78
from packaging import version
89

910
from framework import utils
11+
from framework.properties import global_props
1012

1113

14+
@pytest.mark.skipif(
15+
global_props.host_linux_version_tpl > (6, 1),
16+
reason="The number of threads associated to firecracker changes in newer kernels",
17+
)
1218
def test_reboot(uvm_plain_any):
1319
"""
1420
Test reboot from guest.

0 commit comments

Comments
 (0)