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
Cygwin
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
macos
mingw32
netbsd
ubuntu
check-ddx-build.sh
check-piglit-results.sh
clang-tidy-analyze.sh
conf.sh
gh-purge-pipelines.sh
gh-retry-transient-failed
git-smart-checkout.sh
link-compile-commands.sh
manpages-check
meson-build.sh
util.sh