Skip to content

(release/25.2) ci(workflows): retry the DragonFlyBSD VM step on transient boot flakes - #3938

Merged
metux merged 1 commit into
release/25.2from
wt/dfly-retry
Oct 14, 2026
Merged

metux merged 1 commit into
release/25.2from
wt/dfly-retry

Conversation

@metux

@metux metux commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Retry der DragonFlyBSD-VM-Lane bei transientem Boot-Flake.

xserver-build-dragonflybsd führte den vmactions-VM-Step exakt einmal aus.
Bootet die VM transient nicht hoch ("ssh: Could not resolve hostname
dragonflybsd"), ist die Lane rot und nichts retriert. Das ist ein reines
Infra-Problem (VM-Image/Boot), kein Code-Defekt.

Änderung: 3-Versuche-Retry mit continue-on-error auf Attempt 1+2; jeder
Attempt nutzt einen eigenen guest-Namen, damit ein von einem fehlgeschlagenen
Boot hinterlassenes Domain nicht mit dem nächsten Attempt kollidiert
("Guest name ... is already in use") — auf diesem Zweig gibt es keine
libvirt-cleanup-Action, daher die Kollisionsvermeidung über die Namen.

Wichtig: Die Retry-if:-Bedingungen nutzen !cancelled() statt der
impliziten success()-Statusfunktion — nach dem continue-on-error-Fehlschlag
von Attempt 1 ist success() false und würde die späteren Attempts still
überspringen (derselbe Fehler wie #3937 auf master).

Kein Code-/Build-Verhalten geändert — nur die Lane-Robustheit.

The DragonFlyBSD lane runs the vmactions VM step exactly once. When the VM
fails to boot/provision transiently ("ssh: Could not resolve hostname
dragonflybsd"), the lane is red and nothing retries it. Add a 3-attempt
retry with continue-on-error on attempts 1-2; each attempt uses its own
guest name so a leftover domain from a failed boot does not collide with
the next attempt.

The retry `if:` uses !cancelled() instead of the implicit success() status
function - after attempt 1 fails, success() is false and would silently
skip the later attempts.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux
metux merged commit ea81e91 into release/25.2 Oct 14, 2026
@metux
metux deleted the wt/dfly-retry branch October 14, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant