[Bug 289477] sys/netpfil/pf/route_to:pr efer_ipv6_nexthop_mixed_af_random_table_ipv4 test fails intermittently in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Jun 2026 15:41:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289477

--- Comment #7 from Siva Mahadevan <siva@FreeBSD.org> ---
Created attachment 271422
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271422&action=edit
flakiness fix patch

Not sure if I should bump this bug to report this issue, but while attempting
to fix the determinism of the route_to "random_check" testcases, I can
consistently repro a panic. I've attached a patch for testing, and I used this
command line to reproduce it (with the latest Bricoler):

bricoler freebsd-regression-test-suite --freebsd-src-git-checkout/url=/usr/src
--freebsd-src-git-checkout/branch= --freebsd-regression-test-suite/memory=3072
--freebsd-regression-test-suite/ncpus=2
--freebsd-regression-test-suite/parallelism=1
--freebsd-regression-test-suite/count=300
--freebsd-regression-test-suite/tests='sys/netpfil/pf/route_to:random_table'

Panic:

sys/netpfil/pf/route_to:random_table  ->  panic: failed to reclaim memory
cpuid = 1
time = 1780399737
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x36/frame 0xfffffe005d38f940
vpanic() at vpanic+0x149/frame 0xfffffe005d38fa70
panic() at panic+0x43/frame 0xfffffe005d38fad0
vm_pageout_oom() at vm_pageout_oom+0x6b8/frame 0xfffffe005d38fb30
vm_pageout_worker() at vm_pageout_worker+0x760/frame 0xfffffe005d38feb0
vm_pageout() at vm_pageout+0x1d7/frame 0xfffffe005d38fef0
fork_exit() at fork_exit+0x82/frame 0xfffffe005d38ff30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe005d38ff30
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 6 tid 100062 ]

-- 
You are receiving this mail because:
You are on the CC list for the bug.