From: Nicki Křížek Date: Thu, 3 Jul 2025 12:50:25 +0000 (+0200) Subject: Mark secondary.kasp test case as flaky on freebsd13 X-Git-Tag: v9.21.11~67^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126a59cef2b3407579ff99c260e25a49d67192b6;p=thirdparty%2Fbind9.git Mark secondary.kasp test case as flaky on freebsd13 The test_kasp_case[secondary.kasp] can sometimes fail on freebsd13. It appears the test gets stuck on some operation which should be very quick, but for some reason takes at least a few seconds, causing the cb_ixfr_is_signed() function to time out. In one of the cases I investigated, it wasn't a query/response that caused a timeout, but rather some operation in between. The test attempts to read from a keyfile/statefile, but I see no reason why that should block. In any case, try to increase the timeout for the verification, as that shouldn't hurt. Also allow the test to be re-run on freebsd13, as it's likely to be caused by some odd behaviour on that platform -- the issue doesn't appear anywhere else. --- diff --git a/bin/tests/system/kasp/tests_kasp.py b/bin/tests/system/kasp/tests_kasp.py index 9ffd70b87ca..039b302801f 100644 --- a/bin/tests/system/kasp/tests_kasp.py +++ b/bin/tests/system/kasp/tests_kasp.py @@ -203,7 +203,7 @@ def cb_ixfr_is_signed(expected_updates, params, ksks=None, zsks=None): ) for update in expected_updates: - isctest.run.retry_with_timeout(update_is_signed, timeout=5) + isctest.run.retry_with_timeout(update_is_signed, timeout=10) def cb_rrsig_refresh(params, ksks=None, zsks=None): @@ -586,6 +586,9 @@ 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 + ), ), pytest.param( {