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

Updated by riafarov over 4 years ago

  • Due date set to 2019-12-03
  • Target version set to Milestone 29
Actions #2

Updated by riafarov over 4 years ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Estimated time set to 5.00 h
Actions #3

Updated by JRivrain over 4 years ago

  • Description updated (diff)
Actions #4

Updated by ybonatakis over 4 years ago

  • Status changed from Workable to In Progress
  • Assignee set to ybonatakis
Actions #5

Updated by ybonatakis over 4 years ago

Actions #6

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.

Actions #7

Updated by ybonatakis over 4 years ago

Actions #8

Updated by ybonatakis over 4 years ago

  • Status changed from In Progress to Feedback
Actions #9

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

Actions #10

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

Actions #12

Updated by riafarov over 4 years ago

  • Target version changed from Milestone 29 to Milestone 30+
Actions #13

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

Actions #14

Updated by JRivrain over 4 years ago

  • Status changed from Blocked to Feedback
Actions #15

Updated by JRivrain over 4 years ago

Waiting to see if it all works fine on next build.

Actions #16

Updated by riafarov over 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF