action #163352
open[qe-core] Adopt transactional-update and rebootmgr tests to support soft-reboot
0%
Description
Observation¶
openQA test in scenario microos-Staging:E-Staging-DVD-x86_64-microos@uefi-staging fails in
rebootmgr
Test suite description¶
Since version 254 systemd supports a so called "soft-reboot", which - in contrast to a full reboot or kexec - will only restart userspace and is significantly faster.
Since version 4.6.6 of transactional-update and version 2.1 of rebootmgr also several components in our stack support a reboot using soft-reboot.
A soft-reboot however doesn't start GRUB2 or a new kernel any more, so tests waiting for that will have to be adopted accordingly. One criteria may be to check for the message "The system will soft-reboot now!" in the journal. (Future versions of last
may support it directly to show a soft-reboot, too.)
It would also be good if soft-reboot (and kexec) support of transactional-update could be tested explicitly by installing packages and checking which reboot method was actually used.
Example packages for
- full reboot:
grub2
- kexec:
provides:multiversion(kernel)
- soft-reboot: (Almost) everything else
As an alternative to installing packages (or to adjust the tests based on the command executed) transactional-update can also be used. The following commands will trigger a
- full reboot:
rollback
,grub.cfg
,bootloader
,run
,shell
- kexec:
initrd
- soft-reboot:
register
,kdump
Reproducible¶
Fails since (at least) Build E.947.1 (current job)
In this submission soft-reboot support was enabled by default.
Expected result¶
Last good: E.946.3 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by fos 5 months ago ยท Edited
Direct link to one of the failed tests, caused by the update: https://openqa.opensuse.org/tests/4284488#step/rebootmgr/17
Updated by szarate about 2 months ago
Seems that the problem is that the console (tty terminal)? hangs sometimes, with a 30 fail rate?
It seems also that the system is getting stuck alltogether (on virtual systems only? or baremetal too?)
Updated by slo-gin 16 days ago
This ticket was set to High priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.