action #168304
closedcoordination #163919: [epic] Create automation setup for testing Agama
Implement workaround for selinux instalation/config corrupted/incomplete in SLES 16
0%
Description
Motivation¶
https://bugzilla.suse.com/show_bug.cgi?id=1230121#c0
we disable post-installation validations with EXCLUDE_MODULES= in https://openqa.suse.de/admin/job_templates/607? for example.
For the simple validation we are doing after installation might not worth it to implement the whole workaround, only to switch off selinux, the relabeling is not needed.
we will wait until the bug is fixed.
Acceptance criteria¶
- AC1: Set enforcing=0 in bootloader parameters of the installed system to be able to log in into the system (right after the congratulation page!)
- AC2: Mark previous action as softfailure.
Files
Updated by lmanfredi 2 months ago
This bug bsc#1230121 has been marked as a duplicate of bug bsc#1231498.
The proposed Workaround (set boot param enforcing=0) seems that does not work. See OSD test case:
enforcing=0
: https://openqa.suse.de/tests/15712301#step/boot_agama/2- login as
bernhard
orroot
does not work: https://openqa.suse.de/tests/15712301#step/validate_encrypt/3
Updated by lmanfredi 2 months ago
- File login_root.png login_root.png added
- File login_bernhard.png login_bernhard.png added
Updated by JERiveraMoya 2 months ago · Edited
Yes, you noticed you mistake (I also was not so aware of the differences of grub2 for installer and for the installed system until we started to implement the new code, that is because I think it is a positive thing to do it). So you can continue (btw I tried this workaround manually before creating the ticket :)).
Please sync with @leli I think you are touching similar code to go to the end of the linux
line.
https://progress.opensuse.org/issues/168205
Updated by lmanfredi 2 months ago
Thanks! The steps should be something like these:
record_soft_failure("bsc#1230121");
$grub_menu->edit_current_entry();
send_key('down', wait_screen_change => 1) for (1 .. 9);
send_key('end', wait_screen_change => 1);
send_key('delete', wait_screen_change => 1);
type_string '0';
save_screenshot;
send_key 'ctrl-x';
inside tests/yam/agama/boot_full_disk_encryption.pm
, instead of $grub_menu->select_first_entry();
but probably is better to add this code in a new Pom module as the Lemon's PR
Updated by JERiveraMoya about 2 months ago
- Tags changed from qe-yam-oct-sprint to qe-yam-nov-sprint
Updated by JERiveraMoya about 2 months ago · Edited
This task might not be needed, seems that the fix is its way:
https://bugzilla.opensuse.org/show_bug.cgi?id=1231498#c28
This is the bug that was selected as reference at the end: https://bugzilla.opensuse.org/show_bug.cgi?id=1231498
Updated by JERiveraMoya about 2 months ago
OBS sync get stuck, I retriggered, please verify that the bug is fixed and we can resolve this task closing the PR, they were faster than us, anyway we need to practice this kind of code for when the fixes will not be done so fast.
Updated by JERiveraMoya about 2 months ago
- Status changed from In Progress to Resolved