action #59900
closed[functional][y] Adapt and improve modify_existing_partition
0%
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
Updated by riafarov over 4 years ago
- Due date set to 2019-12-03
- Target version set to Milestone 29
Updated by riafarov over 4 years ago
- Description updated (diff)
- Status changed from New to Workable
- Estimated time set to 5.00 h
Updated by ybonatakis over 4 years ago
- Status changed from Workable to In Progress
- Assignee set to ybonatakis
Updated by riafarov over 4 years ago
- Due date changed from 2019-12-03 to 2019-12-17
Needles are not merged (riafarov will review today) and we need to enable the test suite on arm.
Updated by ybonatakis over 4 years ago
https://gitlab.suse.de/qsf-y/qa-sle-functional-y/merge_requests/96 created to enable the test suite on aarch
Updated by ybonatakis over 4 years ago
- Status changed from In Progress to Feedback
Updated by ybonatakis over 4 years ago
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9065 was submitted to cover opensuse as well. but i dont cover boot partition there. I created this to fix regression due to the change in the test_data format. But i noticed that the boot partition would take some extra work to make it work as it seems that behaves some kind different from sle
Updated by JRivrain over 4 years ago
- Status changed from Feedback to In Progress
- Assignee changed from ybonatakis to JRivrain
Taking over as Yannis is in vacation
Updated by JRivrain over 4 years ago
Quick fix merged: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9086
Another PR, to also activate swap: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9097
Updated by riafarov over 4 years ago
- Target version changed from Milestone 29 to Milestone 30+
Updated by JRivrain over 4 years ago
- Status changed from In Progress to Blocked
Waiting for next build to test on aarch64, as currently the qcow image published by create_hdd_gnome has no partitions: https://openqa.suse.de/tests/3682211#step/modify_existing_partition/4
Updated by JRivrain over 4 years ago
- Status changed from Blocked to Feedback
Test passed on aarch64 https://openqa.suse.de/tests/3695756#
Updated by JRivrain over 4 years ago
Waiting to see if it all works fine on next build.