git: 845293b16d50 - main - tests/sys/net/if_lagg_test: mark :witness as an XFAIL in CI
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Nov 2026 18:37:07 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=845293b16d501a15f8f93f9ca68c0f2002899d36
commit 845293b16d501a15f8f93f9ca68c0f2002899d36
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-11-11 18:34:28 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-11 18:36:54 +0000
tests/sys/net/if_lagg_test: mark :witness as an XFAIL in CI
The `:witness` "test" has been failing reliably in CI for over 2 months
now. Mark the test XFAIL so the overall CI run is more green.
PR: 300697
MFC after: 1 week
---
tests/sys/net/if_lagg_test.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/sys/net/if_lagg_test.sh b/tests/sys/net/if_lagg_test.sh
index 7351700b3b82..57a58045df0a 100755
--- a/tests/sys/net/if_lagg_test.sh
+++ b/tests/sys/net/if_lagg_test.sh
@@ -402,6 +402,11 @@ witness_body()
if [ `sysctl -n debug.witness.watch` -ne 1 ]; then
atf_skip "witness(4) is not enabled"
fi
+ if [ "$(atf_config_get ci false)" = "true" ]; then
+ atf_expect_fail \
+ "Test fails reliably in CI: " \
+ "https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300697"
+ fi
if `sysctl -n debug.witness.badstacks | grep -q 'at lagg_'`; then
sysctl debug.witness.badstacks
atf_fail "Lock-order reversals involving if_lagg.c detected"