Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Sep 2025 14:48:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 289299] sys/netpfil/pf/rules_counter:keepcounters testcase fails on amd64 in CI
Message-ID:  <bug-289299-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289299

            Bug ID: 289299
           Summary: sys/netpfil/pf/rules_counter:keepcounters testcase
                    fails on amd64 in CI
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                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 263487
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263487&action=edit
kyua test report

The 'sys/netpfil/pf/rules_counter:keepcounters' testcase fails on amd64 with
the following message:


Standard output: 
Executing command [ jexec alcatraz pfctl -s r -v ] 
Executing command [ ping -c 3 192.0.2.2 ] 
Executing command [ jexec alcatraz pfctl -s r -v ] 
Executing command [ jexec alcatraz pfctl -s r -v ] 
Executing command [ ping -c 3 192.0.2.2 ] 
Executing command [ jexec alcatraz pfctl -s r -v ] 

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 
Fail: regexp Evaluations: [1-9][0-9]*[[:space:]]*Packets:
[1-9][0-9]*[[:space:]]*Bytes: [1-9][0-9]*[[:space:]]* not in stdout 
pass all flags S/SA keep state 
  [ Evaluations: 0         Packets: 0         Bytes: 0           States: 0    
] 
  [ Source Nodes: 0      Limit: 0      NAT/RDR: 0      Route: 0      ] 
  [ Inserted: uid 0 pid 0 State Creations: 0     ]


I reproduced this error using Bricoler:

$ 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:tests='sys/netpfil/pf/rules_counter:keepcounters'

@kp I bisected the failure to this commit:
https://cgit.freebsd.org/src/commit/?id=275ff85b254c1f160f965dd9dbb5801f66022eab
(pf: fix struct pf_krule_global leak). Note that the
'sys/netpfil/pf/rules_counter:4G' testcase is also failing in the same
testsuite, they may be related. Please triage as necessary.

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289299-32464>