[Bug 289239] sys/netpfil/pf/sctp:pfsync testcase fails intermittently on arm64 in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Sep 2025 17:00:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289239

            Bug ID: 289239
           Summary: sys/netpfil/pf/sctp:pfsync testcase fails
                    intermittently on arm64 in CI
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: kp@freebsd.org
          Reporter: me@svmhdvn.name
                CC: testing@FreeBSD.org

Created attachment 263389
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263389&action=edit
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.

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