Red Hat Bugzilla – Bug 980357
[RFE] Check for "Press (any key|enter) to continue" when systems fail to boot
Last modified: 2018-02-05 19:41:31 EST
If a system has a hardware problem that causes it to emit a "Press any key to continue" message during boot, this will show up in Beaker as a string of aborted jobs. If those jobs aren't using appropriately marked distros (see bug 654299), then the system won't be automatically marked as broken.
This proposal is to add a new heuristic for automatically marking systems as broken:
1. The recipe is terminated by the external watchdog
2. The system doesn't reboot at all (install_start is never called on the lab controller)
3. The console log contains an entry matching one of the patterns:
"Press any key to continue"
"Press [Ee]nter to continue"
"Press <(.*)> to continue"
Such a heuristic could also be tweaked to detect the PXE boot menu coming up (indicating the machine isn't properly booting from the network).
This should be configurable in a similar fashion to the PANIC_REGEX definition (BOOT_HANG_REGEX, perhaps?).
Anaconda may also hang with its text UI displayed to ask a question. This shows up in the console log as an ASCII-art display window, containing at least an ASCII art "OK" box and a bottom row of instructions indicating how to navigate the controls with the keyboard.
*** This bug has been marked as a duplicate of bug 952661 ***