Skip to content

Commit 8c57021

Browse files
JackThomson2roypat
authored andcommitted
test: Skip final huge page tests
We previously skipped a huge page test which stoppped the test timing out, but now we get stuck on another. Skipping this and the other huge page snapshot tests in the file. Signed-off-by: Jack Thomson <[email protected]>
1 parent 543bea4 commit 8c57021

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/integration_tests/performance/test_snapshot_ab.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
"""Performance benchmark for snapshot restore."""
4+
45
import re
56
import signal
67
import tempfile
@@ -106,6 +107,15 @@ def test_restore_latency(
106107
107108
We only test a single guest kernel, as the guest kernel does not "participate" in snapshot restore.
108109
"""
110+
if (
111+
test_setup.huge_pages != HugePagesConfig.NONE
112+
and global_props.host_linux_version_tpl > (6, 1)
113+
and global_props.cpu_architecture == "aarch64"
114+
):
115+
pytest.skip(
116+
"huge pages with secret hiding kernels on ARM are currently failing"
117+
)
118+
109119
vm = test_setup.boot_vm(microvm_factory, guest_kernel_linux_5_10, rootfs)
110120

111121
metrics.set_dimensions(
@@ -218,6 +228,15 @@ def test_population_latency(
218228
mem,
219229
):
220230
"""Collects population latency metrics (e.g. how long it takes UFFD handler to fault in all memory)"""
231+
if (
232+
huge_pages != HugePagesConfig.NONE
233+
and global_props.host_linux_version_tpl > (6, 1)
234+
and global_props.cpu_architecture == "aarch64"
235+
):
236+
pytest.skip(
237+
"huge pages with secret hiding kernels on ARM are currently failing"
238+
)
239+
221240
test_setup = SnapshotRestoreTest(mem=mem, vcpus=vcpus, huge_pages=huge_pages)
222241
vm = test_setup.boot_vm(microvm_factory, guest_kernel_linux_5_10, rootfs)
223242

0 commit comments

Comments
 (0)