From 5fecc5a79a3833a4e2f57f103deef1e87eed839e Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Mon, 6 Dec 2021 18:15:24 +0100 Subject: [PATCH] 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.