action #176838
opencoordination #169654: [epic] Create test scenarios for Agama
Create open encryption and skip encryption scenarios
0%
Description
Motivation¶
When reusing a previous partitioning we can open the encryption or skip this step, the installer will reflect this in a way that we will see more destructive actions (one per each partition that was found after introducing the encryption key) in the case when was opened and a few ones when not (it will delete the whole encrypted partition, not being aware of more granularity).
See for YaST installer both cases:
(1) https://openqa.suse.de/tests/16683382#step/activate_encrypted_volume/1
https://openqa.suse.de/tests/16683382#step/accept_proposed_layout/1
(2) https://openqa.suse.de/tests/16681983#step/cancel_encrypted_volume/1
https://openqa.suse.de/tests/16681983#step/accept_proposed_layout/1
Acceptance criteria¶
- AC1: Implement in the interactive installation the possibility to open the encryption or skip it
- AC2: Check in the web page with puppeteer the destructive actions
- AC3: Publish image for lvm encrypted unattended and chain it with new two test suites performing those two test cases.
Files
Updated by JERiveraMoya 9 days ago
- Subject changed from Create open encryption and skip encryption scenario to Create open encryption and skip encryption scenarios
Updated by rainerkoenig 9 days ago
- Status changed from Workable to In Progress
- Assignee set to rainerkoenig
Updated by rainerkoenig 8 days ago
- File Screenshot_AgamaLive_skipped.png Screenshot_AgamaLive_skipped.png added
- File Screenshot_AgamaLive_opened.png Screenshot_AgamaLive_opened.png added
This needs some more clarification. So the idea is to reuse the HDD_1 with the encrypted LVM on it and then start another installation which will then notice the encrypted disk and ask what to do.
After making this descion we move forward to the storage screen then and check the planned actions for our choice.
So if we skip the decryption they will look like this:
If we decrypt the device it will look different:
So now we have two test suites, one for the "open" and one for the "skipped" scenarion.
Do we need to perform a full installation in those test suites or is it enough that we check the planned actions and stop there if they match our expectations?
Updated by JERiveraMoya 8 days ago
You got the idea, yes, I would prefer to perform the installation and check the partitioning on it post installation that corresponds with the expected default.
I'm not really in favor of changing to command line to do some actions like to check that the encryptioned was opened, checking this via the planned deleted partitioning should be sufficient.