git: 5fecc5a79a38 - main - dummynet tests: disable for now
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 17:22:13 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=5fecc5a79a3833a4e2f57f103deef1e87eed839e
commit 5fecc5a79a3833a4e2f57f103deef1e87eed839e
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-12-06 17:15:24 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-12-06 17:15:24 +0000
dummynet tests: disable for now
Disable the dummynet tests when running the ci tests. This avoids
running into the panic described in https://reviews.freebsd.org/D33064
(where an interface is removed but a dummynet queued packet still has a
pointer to it).
These tests can be re-enabled when the work in
https://reviews.freebsd.org/D33267 lands.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
tests/sys/netpfil/common/utils.subr | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/sys/netpfil/common/utils.subr b/tests/sys/netpfil/common/utils.subr
index 43cd856b2e87..b155d0f86426 100644
--- a/tests/sys/netpfil/common/utils.subr
+++ b/tests/sys/netpfil/common/utils.subr
@@ -111,6 +111,10 @@ dummynet_init()
atf_skip "This test requires dummynet"
fi
+ if [ "$(atf_config_get ci false)" = "true" ]; then
+ atf_skip "Skip to avoid dummynet_send() panic. See https://reviews.freebsd.org/D33064"
+ fi
+
case $firewall in
ipfw|pf)
# Nothing. This is okay.