action #154687
closedcoordination #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
0%
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.
Updated by syrianidou_sofia 8 months ago
- Project changed from openQA Tests to qe-yam
- Category deleted (
Bugs in existing tests)
Updated by JERiveraMoya 8 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
Updated by syrianidou_sofia 8 months ago
- Status changed from Workable to In Progress
- Assignee set to syrianidou_sofia
Updated by syrianidou_sofia 8 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
Updated by JERiveraMoya 7 months ago
- Status changed from In Progress to Resolved