action #48173

action #40475: [functional][y][saga] Establish YaST team split

action #42494: [epic][functional][y] Split/adapt scenarios to move installer related part to YaST specific job group

[sle][functional][y] implement validation for encrypt lvm test suites

Added by riafarov about 1 year ago. Updated 9 months ago.

Status:ResolvedStart date:25/10/2018
Priority:NormalDue date:30/07/2019
Assignee:mloviska% Done:

0%

Category:Enhancement to existing testsEstimated time:8.00 hours
Target version:SUSE QA tests - Milestone 26
Difficulty:
Duration: 199

Description

See motivation in the parent ticket.

We have cryptlvm and which runs standard set of test modules, which doesn't make sense. What we need to validate is lvm and encryption setup

Crosscheck parts which can be reused from #42941, as setup will match there, depending on the distribution and architecture.

Acceptance criteria

  1. Only relevant test modules are scheduled for cryptlvm scenario for SLE and openSUSE
  2. Partitioning is validated after installation for SLE and openSUSE
  3. cryptlvm is moved to YaST job group

Suggestions

Test suite is also executed on uefi.

History

#1 Updated by riafarov about 1 year ago

  • Copied from action #42941: [sle][functional][y] implement validation for lvm-full-encrypt and lvm-encrypt-separate-boot test suites added

#2 Updated by riafarov about 1 year ago

  • Copied to action #48176: [sle][functional][y] implement validation for autoyast_gnome test suite added

#3 Updated by okurz about 1 year ago

  • Due date deleted (12/03/2019)
  • Target version changed from Milestone 23 to Milestone 25

riafarov wrote:

See motivation in the parent ticket.

there is no parent ticket? I think you can not have a parent ticket when you keep the "Copied from" relation.

We have cryptlvm and which runs standard set of test modules, which doesn't make sense.

What we need to validate is lvm and encryption setup

From my past experience I think it very much makes sense to run a "standard set of test modules" also based on an encrypted storage setup. However we might want to layer tests differently, e.g. first the validation of lvm+encryption and then trigger the "standard set" maybe even based on a published image?

Acceptance criteria


  1. Only relevant test modules are scheduled for cryptlvm scenario for SLE and openSUSE

If you mean with "only relevant" to not schedule the default set anymore then I think we should discuss that further.

In general if you are ok I would prioritize other tickets for next sprints as already preplanned and actually make this ticket not a subticket from the epic #42191 but a follow-up which actually is the case right now because it does not have the parent ticket :) Ok with that and a move to a later milestone after SLE15SP1 GM or as soon as possible before GMC?

#4 Updated by riafarov about 1 year ago

  • Copied from deleted (action #42941: [sle][functional][y] implement validation for lvm-full-encrypt and lvm-encrypt-separate-boot test suites)

#5 Updated by riafarov about 1 year ago

  • Parent task set to #42494

#6 Updated by riafarov about 1 year ago

  • Copied to deleted (action #48176: [sle][functional][y] implement validation for autoyast_gnome test suite)

#7 Updated by okurz about 1 year ago

  • Due date set to 18/06/2019

#8 Updated by riafarov 10 months ago

  • Description updated (diff)
  • Estimated time set to 8.00

#9 Updated by riafarov 10 months ago

  • Due date changed from 18/06/2019 to 02/07/2019
  • Target version changed from Milestone 25 to Milestone 26

#10 Updated by riafarov 10 months ago

  • Due date changed from 02/07/2019 to 16/07/2019

#11 Updated by riafarov 9 months ago

  • Status changed from New to Workable

#12 Updated by mloviska 9 months ago

  • Assignee set to mloviska

#13 Updated by mloviska 9 months ago

Do we want to migrate all cryptlvm test suites?
Including cryptlvm_minimal_x, cryptlvm+activate_existing+DASD@s390x-zVM-vswitch-l2 etc. ?

#14 Updated by riafarov 9 months ago

mloviska wrote:

Do we want to migrate all cryptlvm test suites?

Including cryptlvm_minimal_x, cryptlvm+activate_existing+DASD@s390x-zVM-vswitch-l2 etc. ?

Nope, not in the scope of this ticket, but as the next steps.

#15 Updated by mloviska 9 months ago

We just need to do minor modification of existing validate_lvm_encrypt.pm.
http://eris.suse.cz/tests/15746#

I see this test suite same as lvm-full-encrypt@64bit.

Both SUTs are LVM-over-LUKS installations, with minor differences such as MS-DOS vs GPT, or one is configured via Expert partitioner and the other Guided partitioner.

#16 Updated by mloviska 9 months ago

  • Status changed from Workable to In Progress

Parted data from both test suites

Error: Can't have a partition outside the disk!


BYT;
/dev/sr0:4086MB:scsi:2048:2048:unknown:QEMU QEMU CD-ROM:;

BYT;
/dev/vda:24.7GB:virtblk:512:512:msdos:Virtio Block Device:;
1:1049kB:419MB:418MB:ext4::boot, type=83;
2:419MB:24.7GB:24.3GB:::lvm, type=8e;
Error: Can't have a partition outside the disk!


BYT;
/dev/sr0:4086MB:scsi:2048:2048:unknown:QEMU QEMU CD-ROM:;

BYT;
/dev/vda:21.5GB:virtblk:512:512:msdos:Virtio Block Device:;
1:1049kB:419MB:418MB:ext4::boot, type=83;
2:419MB:21.5GB:21.1GB:::lvm, type=8e;

#17 Updated by riafarov 9 months ago

  • Due date changed from 16/07/2019 to 30/07/2019

#18 Updated by mloviska 9 months ago

#19 Updated by mloviska 9 months ago

  • Status changed from In Progress to Feedback

#20 Updated by mloviska 9 months ago

I have moved ppc64le, intel + bios, intel + uefi and aarch64 testsuites to yast group in sle12 and sle15 job groups. Mainframe jobs have been left untouched.

ppc does not work because of serial console
* sle-12-SP5-Server-DVD-ppc64le-Build0242-cryptlvm@ppc64le

#21 Updated by riafarov 9 months ago

  • Status changed from Feedback to Resolved

As per our discussion, we resolve this ticket and I will create followup ticket for the 2 cases, where it didn't work:

https://openqa.suse.de/tests/3161988 and https://openqa.suse.de/tests/3161997 (looks like virtio console is not available on ppc64le workers).

#22 Updated by riafarov 9 months ago

  • Copied to action #54779: [sle][functional][y] fix validation tests for encrypted lvm test suites added

#23 Updated by riafarov 9 months ago

  • Copied to deleted (action #54779: [sle][functional][y] fix validation tests for encrypted lvm test suites)

Also available in: Atom PDF