action #68398
closedcoordination #42854: [functional][y][epic] Introduce relevant installation validation test modules
[functional][y] Add validation for autoyast_lvm
0%
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¶
- Partitioning is validated
- Cloned profile is validated
- Test plan is updated accordingly
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
Updated by JRivrain over 3 years ago
- Status changed from Workable to In Progress
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.
Updated by riafarov over 3 years ago
- Due date changed from 2020-07-14 to 2020-07-28
Updated by JRivrain over 3 years ago
- Status changed from In Progress to Feedback
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
Updated by riafarov over 3 years ago
- Status changed from Feedback to Resolved