Project

General

Profile

Actions

action #56486

closed

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 5 years ago. Updated over 4 years 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.

Actions #1

Updated by JRivrain almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by JRivrain almost 5 years ago

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

Updated by riafarov almost 5 years ago

  • Target version set to future
Actions #4

Updated by riafarov almost 5 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.

Actions #5

Updated by JRivrain over 4 years ago

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

Updated by JRivrain over 4 years ago

  • Description updated (diff)
Actions #7

Updated by riafarov over 4 years ago

  • Parent task deleted (#41276)
Actions #8

Updated by riafarov over 4 years ago

  • Parent task set to #40469
Actions #9

Updated by riafarov over 4 years ago

  • Due date set to 2019-12-31
Actions #10

Updated by JRivrain over 4 years ago

  • Assignee set to JRivrain
Actions #11

Updated by JRivrain over 4 years ago

  • Status changed from New to In Progress
Actions #12

Updated by JRivrain over 4 years 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.

Actions #13

Updated by JRivrain over 4 years ago

  • Status changed from In Progress to Feedback

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

Actions #14

Updated by JERiveraMoya over 4 years ago

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

Shifting ticket after holiday period.

Actions #15

Updated by JRivrain over 4 years ago

  • Status changed from Feedback to Resolved

Works fine everywhere, resolving.

Actions

Also available in: Atom PDF