xserver/.github/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult c4252526cf ci: make BSD VM build jobs resilient to transient failures
The freebsd/netbsd/dragonfly jobs run in vmactions VMs whose boot and
image provisioning flake transiently; a single hiccup aborted the whole
run and had to be restarted by hand. The existing dragonfly retry was
ineffective: it re-ran the VM action without tearing down attempt 1's
leftover libvirt domain, so attempt 2 hit "Guest name 'dragonflybsd' is
already in use" and timed out again.

Two layers of hardening:

 - In-VM pkg installs (freebsd, dragonfly) now retry with backoff and an
   explicit catalogue refresh, so a transient mirror failure no longer
   fails the build (netbsd already had mirror fallback + curl --retry).

 - Each BSD VM step is retried up to 3x, with a new shared
   .github/actions/libvirt-cleanup composite action destroying the
   leftover domain + orphaned qemu between attempts. Only the final
   attempt can fail the job; a success short-circuits the rest. Rolled
   out to freebsd and netbsd too (previously single-attempt) and added
   timeout-minutes to bound a fully-broken job.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 15:00:36 +02:00
..
alpine .github: add alpine build job 2026-06-15 16:58:04 +02:00
Cygwin Added Cygwin builds to CI. 2025-12-21 12:59:03 +01:00
DragonFlyBSD ci: make BSD VM build jobs resilient to transient failures 2026-06-25 15:00:36 +02:00
freebsd ci: make BSD VM build jobs resilient to transient failures 2026-06-25 15:00:36 +02:00
github .github: purge workflows on deleted branches 2025-09-15 14:08:09 +02:00
macos .github: move refs for common dependencies into conf.sh 2026-05-12 14:27:07 +02:00
mingw32 .github: move refs for common dependencies into conf.sh 2026-05-12 14:27:07 +02:00
netbsd .github: netbsd: try several mirrors 2026-06-19 19:24:57 +02:00
ubuntu .github: ubuntu: use apt-cache also for *BSD builds 2026-05-22 20:45:43 +02:00
check-ddx-build.sh .github: move CI scripts from .gitlab-ci/ to .github/scripts 2025-12-10 19:15:35 +01:00
check-piglit-results.sh .github: move CI scripts from .gitlab-ci/ to .github/scripts 2025-12-10 19:15:35 +01:00
clang-tidy-analyze.sh lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
conf.sh .github: conf.sh: drop messing with $PATH 2026-05-12 20:25:14 +02:00
gh-purge-pipelines.sh .github: nightly purge of old pipelines from certain branches 2025-12-10 20:06:00 +01:00
gh-retry-transient-failed .github: retry-transient-failed: clean up old jobs 2026-06-15 11:32:25 +02:00
git-smart-checkout.sh .github: scripts: git-smart-checkout.sh 2025-12-15 10:25:25 +01:00
link-compile-commands.sh lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
manpages-check .github: move CI scripts from .gitlab-ci/ to .github/scripts 2025-12-10 19:15:35 +01:00
meson-build.sh lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
util.sh .github: util: add support for arbitrary refs to drv_tag() et al. 2026-01-26 21:17:48 +01:00