Project

General

Profile

Actions

action #163352

open

Adopt transactional-update and rebootmgr tests to support soft-reboot

Added by fos 23 days ago. Updated 19 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Enhancement to existing tests
Target version:
-
Start date:
2024-07-04
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

Actions #1

Updated by fos 19 days ago ยท Edited

Direct link to one of the failed tests, caused by the update: https://openqa.opensuse.org/tests/4284488#step/rebootmgr/17

Actions

Also available in: Atom PDF