Skip to content

Commit 7531d6e

Browse files
committed
test: skip flaky hotplug tests on 5.10 hosts
test_virtio_mem_hotplug_hotunplug and test_memory_hotplug_latency intermittently fail on 5.10 hosts, where the GET /hotplug/memory API call exceeds the maximum duration assertion. Skip both on 5.10 hosts until the latency is investigated. Signed-off-by: Jay Chung <jaehoc@amazon.com>
1 parent 7503f25 commit 7531d6e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/integration_tests/performance/test_hotplug_memory.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ def check_hotunplug(uvm, requested_size_mib):
252252
assert rss_after < rss_before, "RSS didn't decrease"
253253

254254

255+
@pytest.mark.skipif(
256+
global_props.host_linux_version_tpl == (5, 10),
257+
reason="GET /hotplug/memory intermittently exceeds the duration threshold on 5.10 hosts",
258+
)
255259
def test_virtio_mem_hotplug_hotunplug(uvm_any_memhp):
256260
"""
257261
Check that memory can be hotplugged into the VM.
@@ -456,6 +460,10 @@ def timed_memory_hotplug(uvm, size, metrics, metric_prefix, fc_metric_name):
456460
)
457461

458462

463+
@pytest.mark.skipif(
464+
global_props.host_linux_version_tpl == (5, 10),
465+
reason="GET /hotplug/memory intermittently exceeds the duration threshold on 5.10 hosts",
466+
)
459467
@pytest.mark.nonci
460468
@pytest.mark.parametrize(
461469
"hotplug_size",

0 commit comments

Comments
 (0)