Project

General

Profile

Actions

action #68398

closed

coordination #42854: [functional][y][epic] Introduce relevant installation validation test modules

[functional][y] Add validation for autoyast_lvm

Added by riafarov almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-06-24
Due date:
2020-07-28
% Done:

0%

Estimated time:
5.00 h

Description

See motivation in the parent ticket.

See https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/autoyast/verify_cloned_profile.pm for profile validation and ask Joaquin in case of further questions.

Acceptance criteria

  1. Partitioning is validated
  2. Cloned profile is validated
  3. Test plan is updated accordingly
Actions #1

Updated by riafarov almost 4 years ago

  • Subject changed from [functional][y] Add validation for autoyast_lvm to [functional][y] Add validation for autoyast_lvm
  • Description updated (diff)
  • Status changed from New to Workable
  • Estimated time set to 5.00 h
Actions #2

Updated by JRivrain over 3 years ago

  • Assignee set to JRivrain
Actions #3

Updated by JRivrain over 3 years ago

  • Status changed from Workable to In Progress
Actions #4

Updated by JRivrain over 3 years ago

I did a bit of research on XML::Simple, which is a dependency for os-autoinst, to see if we could validate the partitioning directly from the generated profile. It is quite promising, very easy to use, see POC here :https://github.com/JRivrain/scripts/blob/master/xmlSimple-example.pl.
However, we did not retain it for several reasons:

  • We have to put that data in the yaml test data anyway, as we want to also validate the generated profile itself before, so it is kind of redundant
  • We would have to gather this profile from the SUT, which is feasable but adds extra steps, when we already have the data in the yaml

So it is a great tool that we may find useful somewhere else, but it does not fully fit in this particular case.

Actions #5

Updated by riafarov over 3 years ago

  • Due date changed from 2020-07-14 to 2020-07-28
Actions #6

Updated by JRivrain over 3 years ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by riafarov over 3 years ago

So here is the location of the profile in case we want to adjust it: https://github.com/yast/aytests-tests/blob/master/aytests/lvm.xml

Actions #8

Updated by riafarov over 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF