Project

General

Profile

Actions

action #59900

closed

[functional][y] Adapt and improve modify_existing_partition

Added by JRivrain over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 30+
Start date:
2019-11-15
Due date:
2019-12-17
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

Observation

The test fails for uefi, because /boot/uefi does not get automatically selected to be mounted. We would need to add a method to just mount an existing partition, or modify edit_partition_on_gpt_disk to deal with several partitions and skip the select_filesystem part under a condition, which would require to modify the YAML too. If so I'd suggest to stick to the same format as used in RAID tests.
The swap partition could then be activated as well.
Until then, I de-activate the test suite for aarch64.
Also, there is no proper post_fail_hook, currently it does not upload y2logs.

Test data is used there, but should be adjusted in case we want to specify this data there.
Or having hard-coded default to add it in case of UEFI.

Acceptance Criteria:

  • Adapt the existing test to mount previously existing partitions under certain condition (/boot/efi for aarch64 only, and swap)
  • Re-enable test suite for aarch64
  • Add a post_fail_hook that gathers at least y2logs (add correct parent class)

openQA test in scenario sle-15-SP2-Online-aarch64-modify_existing_partition@aarch64 fails in
modify_existing_partition

Test suite description

Suite that modifies/resizes a partition on a previsously formatted disk. Depends on create_hdd_gnome.

Reproducible

Fails since (at least) Build 89.1 (current job)

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF