action #163352
openAdopt 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