From e4abb5bd070c040320cc23126c5cd9e4c726c72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Thu, 29 Jan 2026 11:42:37 +0100 Subject: [PATCH] Allow re-run of kasp test case on all FreeBSDs Previously, the issue when the kasp.test_kasp_case[secondary.kasp] fails due to a timeout has been only ocassionally observed on FreeBSD 13 in our CI. It seems to have come back on FreeBSD 15. --- bin/tests/system/isctest/mark.py | 4 ++++ bin/tests/system/kasp/tests_kasp.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/isctest/mark.py b/bin/tests/system/isctest/mark.py index df3b1e540b..3eec519c75 100644 --- a/bin/tests/system/isctest/mark.py +++ b/bin/tests/system/isctest/mark.py @@ -39,6 +39,10 @@ extended_ds_digest = pytest.mark.skipif( ) +def is_host_freebsd(*_): + return platform.system() == "FreeBSD" + + def is_host_freebsd_13(*_): return platform.system() == "FreeBSD" and platform.release().startswith("13") diff --git a/bin/tests/system/kasp/tests_kasp.py b/bin/tests/system/kasp/tests_kasp.py index 60dd34c800..f1e0dade78 100644 --- a/bin/tests/system/kasp/tests_kasp.py +++ b/bin/tests/system/kasp/tests_kasp.py @@ -597,7 +597,7 @@ def cb_remove_keyfiles(params, ksks=None, zsks=None): }, id="secondary.kasp", marks=pytest.mark.flaky( - max_runs=2, rerun_filter=isctest.mark.is_host_freebsd_13 + max_runs=2, rerun_filter=isctest.mark.is_host_freebsd ), ), pytest.param(