You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testsuite: T9214: make GRUB console-select navigation non-fatal on auto-boot race
Commit 7c33698 ("Testsuite: T9214: fix GRUB auto-boot race in console-select
navigation") narrowed the race between GRUB's own auto-boot countdown and this
script's post-install "Boot options" navigation, but did not close it: the
countdown is timed from when GRUB itself draws the menu, not from when this
script's regex match on the menu banner returns, so under host load GRUB can
still auto-boot before we react. When that happens, the subsequent
child.expect('Select console type', ...) blocks for the full timeout waiting
for a submenu that was never entered, then raises and aborts the test even
though the default entry already booted a working serial console (the
installer always answers 'S' to the console-type prompt).
Wrap the submenu navigation in a try/except so losing this race just logs a
warning and falls through instead of crashing, letting the already-auto-booted
default entry carry on into the login wait that already tolerates this case.
0 commit comments