action #178723
closedcoordination #169654: [epic] Create test scenarios for Agama
Create new test scenario to format directly home and configure boot partition in a different disk
0%
Description
Motivation¶
There is a couple of feature that can be covered in the same scenario.
- Disk directly formatted (also called "using the whole disk) or in other words, without involving partitioning. We already covered this when we directly used physical volume but the other possibility is to format directly home.
- Configure whether (and where, using an alias) Agama should calculate and create the extra partitions needed for booting.
We could combine both in single scenario with a profile which might look like this:
{
"storage": {
"drives": [
{
"search": "/dev/vda",
"filesystem": {
"path": "/home"
}
},
{
"search": "/dev/vdb",
"partitions": [
{
"filesystem": {
"path": "/"
}
}
]
},
{
"search": "/dev/vdc",
"alias": "boot-disk"
}
],
"boot": {
"configure": "true",
"device": "boot-disk"
}
}
}
I possible name could be this: sles_whole_disk_and_boot_unattended
which is "almost" clear.
Acceptance criteria¶
- AC1: Create new test suite to format directly home and configure boot partition in a different disk.
- AC2: Validation should check that boot is really in a separate partition from root and that /home is not in any partition but in the disk itself.
Updated by JERiveraMoya 3 months ago
hjluo wrote in #note-3:
Draft without verification runs or validation do not make much sense, please use reporting wisely once you have achieve something that goes beyond the ticket specification.
Reason: to avoid look at something or trigger a review and finding nothing to do, I hope it is understandable.
Updated by hjluo 3 months ago
- now the installation works but can't boot up, now trying to use bootindex=N
for qume to see if it works.
Updated by hjluo 2 months ago
- Now it works with UEFI and try to use templating for jsonnet and add validate_partition.
Updated by JERiveraMoya 2 months ago
- Tags changed from qe-yam-mar-sprint-fy25 to qe-yam-apr-sprint-fy25
Updated by JERiveraMoya about 2 months ago
what setting did you use at the end?
could you please resume work in the PR to proceed with review? seems in WIP, not sure if there is any blocker.
Updated by hjluo about 2 months ago · Edited
JERiveraMoya wrote in #note-8:
what setting did you use at the end?
could you please resume work in the PR to proceed with review? seems in WIP, not sure if there is any blocker.
Now use UEFI for boot from the boot disk and coding up for partition verificatin,I'd send out review again after run the VR. Thanks
Updated by hjluo about 2 months ago
Can you please take a look at the updated PR#21442? thanks!
Updated by hjluo about 2 months ago
JERiveraMoya wrote in #note-12:
Merged, let's do the setup.
OK, so for the name should be sles_whole_disk_boot_unattended
?
Updated by JERiveraMoya about 2 months ago
Updated by hjluo about 1 month ago
- Added test case
sles_whole_disk_boot_unattended
in prod. - Added test case
sles_whole_disk_boot_unattended
in dev.
Updated by JERiveraMoya about 1 month ago
Only missing point here is VR in prod/dev job groups.
Updated by hjluo about 1 month ago
JERiveraMoya wrote in #note-16:
Only missing point here is VR in prod/dev job groups.
Yes, triggered and still scheduled, will check out tomorrow and update it. Thanks.
Updated by hjluo about 1 month ago · Edited
- Verified in prod Build78.2
Updated by JERiveraMoya about 1 month ago
hjluo wrote in #note-18:
- Verified in prod Build78.2
Good, now you just need to the same in development. Please apply this for any ticket in the future, we always expect the jobs to pass in both groups unless some feature is not yet (ie in prod).
https://openqa.suse.de/tests/overview?arch=&flavor=&machine=&test=sles_whole_disk_boot_unattended&modules=&module_re=&group_glob=¬_group_glob=&comment=&distri=sle&version=agama-10.0&build=114.2&groupid=607#
Updated by hjluo about 1 month ago
Updated by JERiveraMoya about 1 month ago
- Status changed from In Progress to Resolved