Project

General

Profile

Actions

action #80474

closed

Implement check for emergency shell in case bootloader is stuck

Added by syrianidou_sofia over 3 years ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2020-11-26
Due date:
% Done:

0%

Estimated time:

Description

In the scenario where the bootloader screen is stuck, the worker will detect stall and enter post_fail_hook. During post_fail_hook, it has occurred that select_console('root') induced the emergency shell. In this case, there is no check that will redirect any logs to the serial console, like handle_emergency function.

We cannot add the check in activate_console , as the function is called repeatedly in many tests.

A solution would be to find out which step of the activate_console function is triggering the emergency shell and see if we can implement a check for stuck bootloader screen in wait_boot_past_bootloader or post_fail_hook, try to trigger emergency shell and if successful, collect logs.

Failure example:
https://openqa.suse.de/tests/4922078

It may not be easy to reproduce the scenario, as it is sporadic for SUTs with RAID0 root partition, during firstboot.
https://bugzilla.suse.com/show_bug.cgi?id=1178515

Actions #1

Updated by riafarov over 3 years ago

  • Target version set to future
Actions #2

Updated by okurz about 1 year ago

  • Target version deleted (future)
Actions #3

Updated by JERiveraMoya about 1 month ago

  • Status changed from New to Rejected

Backlog clean-up.

Actions

Also available in: Atom PDF