mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-20 17:32:15 +00:00
11b0e08ab2
xcat_pr_test fails in release_repository.t with "retained for surviving build workers in process group 1". The schedule stub in that test returns 1 from Parallel::ForkManager::start. start_build_worker() accepted ESRCH from setpgid() and recorded group 1 on the build lock. Group 1 is always alive, so the next buildrpms.pl run in the same lock directory is refused. ESRCH means the pid is not a child of this process. The gated child, if there is one, has not run, so start_build_worker() now records nothing and reports failure. It also no longer writes to a gate that no child reads. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>