Skip to content

Commit 1c0b992

Browse files
committed
ci: xfail boot timing tests in 6.1
We will keep investigating the performance regression, but in the mean time we can add 6.1 to our test matrix. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 7277e2f commit 1c0b992

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/integration_tests/performance/test_boottime.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import re
66
import time
77

8+
import pytest
9+
810
from framework.properties import global_props
911

1012
# The maximum acceptable boot time in us.
@@ -32,6 +34,11 @@ def test_no_boottime(test_microvm_with_api):
3234
assert not timestamps
3335

3436

37+
# temporarily disable this test in 6.1
38+
@pytest.mark.xfail(
39+
global_props.host_linux_version == "6.1",
40+
reason="perf regression under investigation",
41+
)
3542
def test_boottime_no_network(test_microvm_with_api, record_property, metrics):
3643
"""
3744
Check boot time of microVM without a network device.
@@ -46,6 +53,11 @@ def test_boottime_no_network(test_microvm_with_api, record_property, metrics):
4653
metrics.put_metric("boot_time", boottime_us, unit="Microseconds")
4754

4855

56+
# temporarily disable this test in 6.1
57+
@pytest.mark.xfail(
58+
global_props.host_linux_version == "6.1",
59+
reason="perf regression under investigation",
60+
)
4961
def test_boottime_with_network(
5062
test_microvm_with_api, network_config, record_property, metrics
5163
):
@@ -91,6 +103,7 @@ def _test_microvm_boottime(vm, max_time_us=MAX_BOOT_TIME_US):
91103
boot_time_us = int(timestamps[0])
92104

93105
assert boot_time_us > 0
106+
94107
if max_time_us is not None:
95108
assert (
96109
boot_time_us < max_time_us

0 commit comments

Comments
 (0)