Created attachment 263389 [details] kyua test report The 'sys/netpfil/pf/sctp:pfsync' testcase fails intermittently on arm64 with the following message: Standard output: add net default: gateway 192.0.2.1 net.inet.ip.forwarding: 0 -> 1 net.inet.ip.forwarding: 0 -> 1 add net default: gateway 198.51.100.2 net.inet.carp.demotion: 240 -> 290 Executing command [ jexec sctp:pfsyncc ping -c 1 198.51.100.1 ] all carp 224.0.0.18 <- 192.0.2.3 NO_TRAFFIC:SINGLE all carp 192.0.2.3 -> 224.0.0.18 SINGLE:NO_TRAFFIC all carp 224.0.0.18 <- 198.51.100.3 NO_TRAFFIC:SINGLE all icmp 198.51.100.1:8 <- 192.0.2.2:11284 0:0 all pfsync 203.0.113.2 -> 224.0.0.240 SINGLE:NO_TRAFFIC all icmp 192.0.2.2:11284 -> 198.51.100.1:8 0:0 all pfsync 224.0.0.240 <- 203.0.113.1 NO_TRAFFIC:SINGLE all carp 198.51.100.3 -> 224.0.0.18 SINGLE:NO_TRAFFIC Standard error: pf enabled Ethernet rules cleared rules cleared nat cleared 0 tables deleted. rules cleared 0 states cleared source tracking entries cleared pf: statistics cleared pf: interface flags reset pf enabled Ethernet rules cleared rules cleared nat cleared 0 tables deleted. rules cleared 0 states cleared source tracking entries cleared pf: statistics cleared pf: interface flags reset Files left in work directory after failure: created_interfaces.lst, created_jails.lst, input, output ifconfig: interface epair3b does not exist ifconfig: interface epair0a does not exist ifconfig: interface epair1a does not exist ifconfig: interface epair2a does not exist ifconfig: interface epair4a does not exist ifconfig: interface epair5a does not exist ifconfig: interface epair6a does not exist ===> Failed tests sys/netpfil/pf/sctp:pfsync -> failed: Failed to find SCTP state on secondary pfsync host [5.589s] I have reproduced this error using Bricoler with 100 runs for good measure: $ bricoler run freebsd-src-regression-suite --param freebsd-src:url=/usr/src --param freebsd-src:branch= --param freebsd-src-regression-suite:hypervisor=bhyve --param freebsd-src-regression-suite:memory=4096 --param freebsd-src-regression-suite:ncpus=2 --param freebsd-src-regression-suite:parallelism=1 --param freebsd-src-regression-suite:count=100 --param freebsd-src-regression-suite:tests='sys/netpfil/pf/sctp:pfsync' @kp I see that you have written the tests in https://cgit.freebsd.org/src/commit/?id=b7a9a5773a0fdf9b9c7839d79d76dbc6b69a6c4b (pf tests: test SCTP pfsync). Please triage as necessary.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f4f42421f38ecf06396332fda563c3dcc8d32143 commit f4f42421f38ecf06396332fda563c3dcc8d32143 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-09-03 14:04:41 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-09-03 17:01:12 +0000 pf tests: sctp:pfsync robustness improvement Add a wait after we establish the SCTP connection to give pfsync some time to work before we check if it has synced the state to the other jail. PR: 289239 Sponsored by: Rubicon Communications, LLC ("Netgate") tests/sys/netpfil/pf/sctp.sh | 3 +++ 1 file changed, 3 insertions(+)
Thank you! Closing as fixed.