Project

General

Profile

Actions

action #176838

open

coordination #169654: [epic] Create test scenarios for Agama

Create open encryption and skip encryption scenarios

Added by JERiveraMoya 10 days ago. Updated 8 days ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
2025-02-09
Due date:
% Done:

0%

Estimated time:

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

Screenshot_AgamaLive_skipped.png (122 KB) Screenshot_AgamaLive_skipped.png Planned actions when decryption is skipped rainerkoenig, 2025-02-11 09:59
Screenshot_AgamaLive_opened.png (147 KB) Screenshot_AgamaLive_opened.png Planned action when decryption is opened rainerkoenig, 2025-02-11 09:59
Actions #1

Updated by JERiveraMoya 9 days ago

  • Subject changed from Create open encryption and skip encryption scenario to Create open encryption and skip encryption scenarios
Actions #2

Updated by rainerkoenig 9 days ago

  • Status changed from Workable to In Progress
  • Assignee set to rainerkoenig

Updated by rainerkoenig 8 days ago

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:
Screenshot_AgamaLive_skipped.png

If we decrypt the device it will look different:
Planned action when decryption is opened

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?

Actions #4

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.

Actions

Also available in: Atom PDF