action #133109
closedcoordination #123583: [epic] Agama auto-installation
Modify existing scenario agama_auto_dolomite for selecting another installation device
0%
Description
Motivation¶
After the bug for json was fixed there is no point to test again the default installation agama_auto_tumbleweed_bsc1210941 from the functional point of view, except that we use json there, so what we could do is to use format json in agama_auto_dolomite (we need to adapt it to the product, as current profile is for Tumbleweed).
Agama already allows to choose among the different devices to install in our system.
At the moment we have agama_auto_dolomite where we use jsonnet profile for selecting the biggest disk, but we only have one disk.
First thing to do is to fix the biggest disk selection in the same way that was done in the upstream project:
https://github.com/openSUSE/agama/pull/665/files
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/yam/agama/auto/default_alp_micro.jsonnet
Second, we can create a new test suite with name 'agama_auto_tumbleweed_select_installation_device' which add additional hdd of bigger size. The auto-installation will select that one to install the system.
Acceptance criteria¶
AC1: Change agama_auto_dolomite to use json
AC2: Add new test suite agama_auto_tumbleweed_select_installation_device using fixed jsonnet profile
AC3: Validate in the running system that the second disk was used in agama_auto_dolomite_select_installation_device
Additional information¶
Check similar scenario for interactive installation in #133073 (we can add the auto-installation for selecting disk only for one product as we test it in both products for interactive).
Updated by tinawang123 over 1 year ago
- Status changed from Workable to In Progress
- Assignee set to tinawang123
Updated by JERiveraMoya over 1 year ago
To keep the same test coverage, please consider creating agama_auto_dolomite_select_installation_device
as well.
Updated by JRivrain over 1 year ago
For creating a second disk of different size, maybe you already know, but otherwise I suggest doing the same as they do with SAP, using NUMDISKS=2 then HDDSIZEGB_2 which allows to specify a size for the second disk, see here https://openqa.suse.de/tests/11164180#settings
Updated by tinawang123 over 1 year ago
@JRivrain I set NUMDISKS=2 and HDDSIZEGB_2, then use command 'df -h' to check.
It still only has one disk: https://openqa.opensuse.org/tests/3555813#step/validate_installed_disk/8
Updated by tinawang123 over 1 year ago
Updated by tinawang123 about 1 year ago
Blocked by https://github.com/openSUSE/agama/issues/745
Updated by tinawang123 about 1 year ago
- Status changed from In Progress to Resolved
for agama dolomite: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17936
Updated by leli about 1 year ago
@JRivrain Currently we have different naming style for select device test suites, in agama devel group, such as agama_auto_dolomite_select_installation_device and agama_dolomite_select_install_device, I think we'd better to uniform to use install or installation while not use both on the same job group.
Updated by JRivrain about 1 year ago
leli wrote in #note-8:
@JRivrain Currently we have different naming style for select device test suites, in agama devel group, such as agama_auto_dolomite_select_installation_device and agama_dolomite_select_install_device, I think we'd better to uniform to use install or installation while not use both on the same job group.
Right, I changed the test suite names with "installation".