[Bug 289630] libexec/rc/rc_subr_test:wait_for_pids_progress test fails intermittently in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Sep 2025 18:59:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289630

            Bug ID: 289630
           Summary: libexec/rc/rc_subr_test:wait_for_pids_progress test
                    fails intermittently in CI
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: des@FreeBSD.org
          Reporter: me@svmhdvn.name
                CC: testing@FreeBSD.org

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

The 'libexec/rc/rc_subr_test:wait_for_pids_progress' testcase fails
intermittently in CI:


===> libexec/rc/rc_subr_test:wait_for_pids_progress
Result:     failed: atf-check failed; see the output of the test for details

Standard output:
Executing command [ /bin/sh script ]

Standard error:
Fail: regexp ^Waiting for PIDS: [0-9]+ [0-9]+ [0-9]+, [0-9]+ [0-9]+, [0-9]+\.$
not in stdout
Waiting for PIDS: 3481 3482 3483, 3481 3482, 3481, 3481.



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='libexec/rc/rc_subr_test:wait_for_pids_progress'

@des, since you added the tests in
https://cgit.freebsd.org/src/commit/?id=7f04c09fe74535c1646a4af120f8f1342fe1c328
(rc.subr: Fix wait_for_pids), please triage as necessary.

Note that a few other tests from this suite also fail intermittently in CI from
time to time, but I'm not able to reproduce them consistently yet:
* oomprotect_all
* oomprotect_yes

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