Project

General

Profile

Actions

action #154687

closed

coordination #151816: [epic] Handle openQA fixes and job group setup

Confirm worker changes in accept_default_part_scheme and apply libyui-rest-api for disk selection

Added by syrianidou_sofia 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
2024-02-01
Due date:
% Done:

0%

Estimated time:

Description

Motivation

The particular test module is supposed to select sda disk for root partition. This used to be an adequate solution as the disk naming for virt-mm-64bit-ipmi worker_class SUTs was stable. Lately this has changed and we see SUTs with sda being too small for a root partition or no sda at all.

openQA test in scenario sle-15-SP6-Online-x86_64-guided_btrfs@virt-mm-64bit-ipmi fails in
accept_default_part_scheme

Acceptance criteria

AC1: Verify with infra/Yast/kernel team what is the expected naming for the particular arch.
AC2: Depending on AC1, adjust the test to select the biggest enough disk

Additional information

Try to avoid to create complex logic to select the biggest disk, perhaps a regex (sdb|sdc) is enough and we can search the UI element with libyui-rest-api with that.

Actions #1

Updated by syrianidou_sofia 3 months ago

  • Description updated (diff)
Actions #2

Updated by syrianidou_sofia 3 months ago

  • Description updated (diff)
Actions #3

Updated by syrianidou_sofia 3 months ago

  • Project changed from openQA Tests to qe-yam
  • Category deleted (Bugs in existing tests)
Actions #4

Updated by JERiveraMoya 3 months ago

  • Tags set to qe-yam-feb-sprint
  • Subject changed from [Sporadic] test fails in accept_default_part_scheme due to different disk layout to Confirm worker changes in accept_default_part_scheme and apply libyui-rest-api for disk selection
  • Description updated (diff)
  • Parent task set to #151816
Actions #5

Updated by syrianidou_sofia 2 months ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia
Actions #6

Updated by syrianidou_sofia 2 months ago ยท Edited

After kernel 5.3 we cannot expect the disk naming to follow the same pattern for every test (see https://www.suse.com/support/kb/doc/?id=000018449 ). Workers running on "imagetester" hypervisor have multiple disks with variaety of sizes, so sda can be unsuitable for installation (too small) which makes the system to chose by default sdb and by also chosing sda, we get an extra screen to chose which disk should contain the root partition. By relying on the installer's default disk selection, we avoid having to select by name or size.
PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18725/files
VRs: https://openqa.suse.de/tests/13580727#next_previous

Actions #7

Updated by JERiveraMoya 2 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF