Project

General

Profile

Actions

action #163352

open

[qe-core] Adopt transactional-update and rebootmgr tests to support soft-reboot

Added by fos 5 months ago. Updated 16 days ago.

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

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: September Sprint 24 (Sep 05 - Oct 03)

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 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

Actions #2

Updated by szarate 2 months ago

  • Tags set to qe-core-october-sprint, future-technologies
  • Target version set to QE-Core: Ready
Actions #3

Updated by szarate 2 months ago

  • Sprint set to QE-Core: September Sprint 24 (Sep 05 - Oct 03)
  • Subject changed from Adopt transactional-update and rebootmgr tests to support soft-reboot to [qe-core] Adopt transactional-update and rebootmgr tests to support soft-reboot
Actions #4

Updated by szarate 2 months ago

  • Tags changed from qe-core-october-sprint, future-technologies to qe-core-october-sprint, future-technologies, qe-core-september-sprint
  • Priority changed from Normal to High
Actions #5

Updated by vkatkalov 2 months ago

  • Assignee set to vkatkalov
Actions #6

Updated by szarate about 2 months ago

  • Status changed from New to Workable
Actions #7

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?)

Actions #8

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.

Actions

Also available in: Atom PDF