Project

General

Profile

action #56486

coordination #40469: [functional][y][epic] Adjust RAID/LVM/partitioning tests to the new changes and extend testing coverage

[functional][y] improve raid tests workflow by cloning partition table

Added by JRivrain almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
Start date:
2019-09-05
Due date:
2020-01-14
% Done:

0%

Estimated time:
Difficulty:

Description

Description

Currently, all the raid tests are working this way:

  • create some partitions on disk 1
  • create the same exact set of partitions on the next disk.
  • iterate the same exact operation for all the disks.

However, on both sle 12 and 15, there is possiblity to clone partitions:
sle12 sle15

Using this would drastically reduce the execution time of test modules, and makes more sense, the real users are more about to proceed this way.

Acceptance criteria

  • Modify the existing test modules to use "clone this disk/partition"

Additional info:

Another way is covered by another ticket:
We can choose first "raid" > "add raid", choose some disks and then create partitions on top of the whole array. But this is not really recommended, and our tests are already using the good old documented way.

History

#1 Updated by JRivrain almost 2 years ago

  • Description updated (diff)

#2 Updated by JRivrain almost 2 years ago

  • Related to action #40679: [functional][y] whole disk as part of an MD RAID added

#3 Updated by riafarov almost 2 years ago

  • Target version set to future

#4 Updated by riafarov almost 2 years ago

Another point, we currently have no test for cloning functionality. As we have 4 disks, we won't lose coverage (quite the opposite) when using less steps.

#5 Updated by JRivrain almost 2 years ago

  • Related to deleted (action #40679: [functional][y] whole disk as part of an MD RAID)

#6 Updated by JRivrain almost 2 years ago

  • Description updated (diff)

#7 Updated by riafarov over 1 year ago

  • Parent task deleted (#41276)

#8 Updated by riafarov over 1 year ago

  • Parent task set to #40469

#9 Updated by riafarov over 1 year ago

  • Due date set to 2019-12-31

#10 Updated by JRivrain over 1 year ago

  • Assignee set to JRivrain

#11 Updated by JRivrain over 1 year ago

  • Status changed from New to In Progress

#12 Updated by JRivrain over 1 year ago

Working: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9211 but only tested raid0 on TW. Requires a whole lot of VRs.

#13 Updated by JRivrain over 1 year ago

  • Status changed from In Progress to Feedback

PR merged, let's wait and see if it passes properly everywhere before closing.

#14 Updated by JERiveraMoya over 1 year ago

  • Due date changed from 2019-12-31 to 2020-01-14

Shifting ticket after holiday period.

#15 Updated by JRivrain over 1 year ago

  • Status changed from Feedback to Resolved

Works fine everywhere, resolving.

Also available in: Atom PDF