[Bug 290210] sys/netinet/multicast:IP_ADD_MEMBERSHIP_ip_mreq tests fails intermittently in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Oct 2025 15:34:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290210

            Bug ID: 290210
           Summary: sys/netinet/multicast:IP_ADD_MEMBERSHIP_ip_mreq tests
                    fails intermittently in CI
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: glebius@FreeBSD.org
          Reporter: me@svmhdvn.name
                CC: testing@FreeBSD.org

Created attachment 264542
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264542&action=edit
kyua test report

The 'sys/netinet/multicast:IP_ADD_MEMBERSHIP_ip_mreq' testcase fails
intermittently in CI:


===> sys/netinet/multicast:IP_ADD_MEMBERSHIP_ip_mreq 
Result:     failed: atf-check failed; see the output of the test for details

Standard output: 
Executing command [ jexec mjail1 /usr/tests/sys/netinet/multicast-send 0.0.0.0
6676 233.252.0.1 6676 192.0.2.1 hello ] 
Executing command [ sh -c wait 15524; exit 0 ] 
Executing command [ cat out ] 

Standard error: 
Fail: stdout does not match expected value 
--- /tmp/kyua.JslG9E/2/work/atf-check.k1LunD    2025-10-13 10:31:06.916151000
+0000 
+++ /tmp/kyua.JslG9E/2/work/check.ZAAQYc/stdout 2025-10-13 10:31:06.915409000
+0000 
@@ -1 +0,0 @@ 
-192.0.2.1:6676 hello



I have reproduced this error using Bricoler with 100 runs for good measure and
attached the failing test report in this bug:

$ 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/netinet/multicast:IP_ADD_MEMBERSHIP_ip_mreq'

@glebius, since you made the last significant edit to the tests in
https://cgit.freebsd.org/src/commit/?id=d0c8a0b3e6fc5372428eb4fddcd4f8c65b5b0ee0
(tests/netinet: extend IPv4 multicast testing framework), please triage as
necessary. Note that the sys/netinet/multicast:MCAST_JOIN_GROUP also fails
intermittently.

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