fix(ci): give each xvfb-run its own display #230
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/xvfb-auto-servernum"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every
process-cran-updates-ubuntu-2204-arm64cron run since pipeline 13744 has failed withxvfb-run: error: Xvfb failed to start(e.g. 13829).Cause
The newer-R loop added in #216 runs two
xvfb-runcalls back to back: the R-minor-sensitiveprocess_cran_updatespass, thenlocal/build-newer-r.R.Without
-a,xvfb-runalways uses display:99, and on exit it kills its Xvfb without waiting for it.The second call can therefore start while the old server still holds the
:99lock, so the new Xvfb refuses to start.Only ubuntu-2204-arm64 hits this because it is the only image with a second R minor installed, so the loop body only runs there.
Change
XVFB_ARGSto-a(--auto-servernum) inprocess-updates.yaml,build-all-versions.yamlandweekly-rebuild-missing.yaml, so each call picks a free display.xwfb-runbranch still overridesXVFB_ARGSwith-c weston, so it is unchanged.Verification
crow lint .crow/passes.A local repro was not possible (
docker runhangs on the dev host), so the next ubuntu-2204-arm64 cron run is the real check.