fix(ci): give each xvfb-run its own display
Pass -a (--auto-servernum) to xvfb-run so back-to-back calls do not collide on display :99 while the previous Xvfb is still shutting down. The newer-R loop added in #216 runs two xvfb-run calls in a row, which has failed every process-cran-updates-ubuntu-2204-arm64 run since pipeline 13744 with 'Xvfb failed to start'.
This commit is contained in:
parent
3426d5f59f
commit
f64a376cac
1 changed files with 3 additions and 3 deletions
|
|
@ -388,7 +388,7 @@ steps:
|
|||
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
|
||||
- /opt/R/$R_VERSION/bin/Rscript local/install-bincraft.R
|
||||
- /opt/R/$R_VERSION/bin/R -q -e 'packageVersion("bincraft")'
|
||||
- XVFB=$(command -v xwfb-run 2>/dev/null || command -v xvfb-run); XVFB_ARGS=""; if command -v xwfb-run >/dev/null 2>&1; then dnf install -y -q weston 2>/dev/null; XVFB_ARGS="-c weston"; fi
|
||||
- XVFB=$(command -v xwfb-run 2>/dev/null || command -v xvfb-run); XVFB_ARGS="-a"; if command -v xwfb-run >/dev/null 2>&1; then dnf install -y -q weston 2>/dev/null; XVFB_ARGS="-c weston"; fi
|
||||
- UVR_R_BIN=/opt/R/$R_VERSION/bin/R local/uvr-install.sh httr2
|
||||
- /opt/R/$R_VERSION/bin/R -q -e 'source("local/fetch-rebuild-packages-from-issue.R")'
|
||||
- $XVFB $XVFB_ARGS -n $SPLIT_INDEX -- /opt/R/$R_VERSION/bin/Rscript local/rebuild-missing.R $SPLIT_INTO $SPLIT_INDEX $REBUILD_BUDGET_HOURS 2>&1
|
||||
|
|
|
|||
Loading…
Reference in a new issue