# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:13 Monday 26 February 2024 20:45:49 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:45:49 +0000 (0:00:00.025) 0:00:00.037 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:45:49 +0000 (0:00:00.012) 0:00:00.050 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:45:50 +0000 (0:00:01.414) 0:00:01.464 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:45:51 +0000 (0:00:00.265) 0:00:01.729 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:45:51 +0000 (0:00:00.020) 0:00:01.750 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:45:51 +0000 (0:00:00.029) 0:00:01.780 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:45:54 +0000 (0:00:03.096) 0:00:04.877 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:45:54 +0000 (0:00:00.191) 0:00:05.068 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:45:54 +0000 (0:00:00.033) 0:00:05.101 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435823.619, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:45:54 +0000 (0:00:00.211) 0:00:05.313 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435825.835, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "394a564056f732de652dc8512ae176147ae68cd0", "ctime": 1708435825.835, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708435825.835, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1242571320", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:45:54 +0000 (0:00:00.211) 0:00:05.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:45:55 +0000 (0:00:00.009) 0:00:05.534 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:45:55 +0000 (0:00:00.272) 0:00:05.807 ******* changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:45:55 +0000 (0:00:00.197) 0:00:06.004 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:45:55 +0000 (0:00:00.262) 0:00:06.266 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:45:55 +0000 (0:00:00.012) 0:00:06.279 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:45:55 +0000 (0:00:00.023) 0:00:06.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:45:55 +0000 (0:00:00.009) 0:00:06.311 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for sut META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:29 Monday 26 February 2024 20:45:56 +0000 (0:00:00.543) 0:00:06.855 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:45:56 +0000 (0:00:00.012) 0:00:06.867 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:45:56 +0000 (0:00:00.010) 0:00:06.877 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.4-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "07e5eaee2ecbe02b351e23cdbc7954b6199e59a2", "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64" }, "md5sum": "903e178e5d1b463322f6b8ae00c3b0fd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14806856, "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.4-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8013b07b4ec317cde218ecb9881767196b88b0c7", "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img" }, "md5sum": "bbcf92602718082fcf4c07a5afba1476", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20390757, "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:45:57 +0000 (0:00:00.954) 0:00:07.832 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:45:57 +0000 (0:00:00.015) 0:00:07.847 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:45:57 +0000 (0:00:00.010) 0:00:07.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:45:57 +0000 (0:00:00.008) 0:00:07.866 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:45:57 +0000 (0:00:00.007) 0:00:07.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:45:57 +0000 (0:00:00.007) 0:00:07.881 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:45:57 +0000 (0:00:00.017) 0:00:07.898 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:46:00 +0000 (0:00:02.955) 0:00:10.854 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:46:00 +0000 (0:00:00.194) 0:00:11.048 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:46:00 +0000 (0:00:00.014) 0:00:11.062 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980354.7439673, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:46:00 +0000 (0:00:00.209) 0:00:11.272 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980355.4479465, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980355.4489465, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980355.4479465, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2526896476", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:46:00 +0000 (0:00:00.206) 0:00:11.479 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:46:00 +0000 (0:00:00.009) 0:00:11.489 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:46:01 +0000 (0:00:00.197) 0:00:11.686 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:46:01 +0000 (0:00:00.206) 0:00:11.892 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1 --initrd=/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:46:01 +0000 (0:00:00.434) 0:00:12.327 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:46:01 +0000 (0:00:00.012) 0:00:12.340 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:46:01 +0000 (0:00:00.012) 0:00:12.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:46:01 +0000 (0:00:00.008) 0:00:12.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:46:01 +0000 (0:00:00.007) 0:00:12.368 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.149394", "end": "2024-02-26 20:46:02.237529", "rc": 0, "start": "2024-02-26 20:46:02.088135" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:46:02 +0000 (0:00:00.423) 0:00:12.791 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:46:02 +0000 (0:00:00.008) 0:00:12.800 ******* changed: [sut] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:46:44 +0000 (0:00:42.549) 0:00:55.349 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:46:44 +0000 (0:00:00.009) 0:00:55.359 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:46:44 +0000 (0:00:00.012) 0:00:55.371 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:46:44 +0000 (0:00:00.009) 0:00:55.381 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:46:44 +0000 (0:00:00.018) 0:00:55.399 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:46:44 +0000 (0:00:00.011) 0:00:55.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:46:44 +0000 (0:00:00.008) 0:00:55.419 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:46:44 +0000 (0:00:00.007) 0:00:55.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:46:44 +0000 (0:00:00.007) 0:00:55.434 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:46:44 +0000 (0:00:00.018) 0:00:55.453 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:46:51 +0000 (0:00:06.326) 0:01:01.779 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:46:51 +0000 (0:00:00.190) 0:01:01.969 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:46:51 +0000 (0:00:00.015) 0:01:01.985 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980362.2367463, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708980362.2357464, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980362.2357464, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1531710423", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:46:51 +0000 (0:00:00.233) 0:01:02.219 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980360.9107854, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980355.4489465, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980355.4479465, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2526896476", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:46:51 +0000 (0:00:00.210) 0:01:02.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:46:51 +0000 (0:00:00.010) 0:01:02.439 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:46:52 +0000 (0:00:00.197) 0:01:02.637 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:46:52 +0000 (0:00:00.201) 0:01:02.839 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:46:52 +0000 (0:00:00.196) 0:01:03.036 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:46:52 +0000 (0:00:00.010) 0:01:03.046 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:46:52 +0000 (0:00:00.012) 0:01:03.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:46:52 +0000 (0:00:00.007) 0:01:03.066 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "025c249e0ffb4c7e9d3a268cf316279e-6.7.4-100.fc38.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:35 Monday 26 February 2024 20:46:52 +0000 (0:00:00.348) 0:01:03.415 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:47 Monday 26 February 2024 20:46:52 +0000 (0:00:00.010) 0:01:03.426 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:46:52 +0000 (0:00:00.020) 0:01:03.446 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:46:52 +0000 (0:00:00.010) 0:01:03.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:46:52 +0000 (0:00:00.009) 0:01:03.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:46:52 +0000 (0:00:00.007) 0:01:03.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:46:52 +0000 (0:00:00.007) 0:01:03.481 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:46:52 +0000 (0:00:00.018) 0:01:03.499 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:46:55 +0000 (0:00:02.936) 0:01:06.436 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:46:56 +0000 (0:00:00.190) 0:01:06.626 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:46:56 +0000 (0:00:00.015) 0:01:06.641 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980362.2367463, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708980362.2357464, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980362.2357464, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1531710423", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:46:56 +0000 (0:00:00.208) 0:01:06.850 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980360.9107854, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980355.4489465, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980355.4479465, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2526896476", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:46:56 +0000 (0:00:00.212) 0:01:07.062 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:46:56 +0000 (0:00:00.010) 0:01:07.073 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:46:56 +0000 (0:00:00.198) 0:01:07.272 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:46:56 +0000 (0:00:00.198) 0:01:07.470 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:46:57 +0000 (0:00:00.448) 0:01:07.919 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:46:57 +0000 (0:00:00.009) 0:01:07.929 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:46:57 +0000 (0:00:00.007) 0:01:07.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:46:57 +0000 (0:00:00.008) 0:01:07.945 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:65 Monday 26 February 2024 20:46:57 +0000 (0:00:00.305) 0:01:08.250 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:71 Monday 26 February 2024 20:46:57 +0000 (0:00:00.010) 0:01:08.261 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:46:57 +0000 (0:00:00.013) 0:01:08.274 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:46:57 +0000 (0:00:00.009) 0:01:08.284 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.4-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "07e5eaee2ecbe02b351e23cdbc7954b6199e59a2", "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64" }, "md5sum": "903e178e5d1b463322f6b8ae00c3b0fd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14806856, "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.4-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8013b07b4ec317cde218ecb9881767196b88b0c7", "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img" }, "md5sum": "bbcf92602718082fcf4c07a5afba1476", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20390757, "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:46:58 +0000 (0:00:00.881) 0:01:09.165 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:46:58 +0000 (0:00:00.010) 0:01:09.176 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:46:58 +0000 (0:00:00.010) 0:01:09.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:46:58 +0000 (0:00:00.008) 0:01:09.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:46:58 +0000 (0:00:00.007) 0:01:09.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:46:58 +0000 (0:00:00.007) 0:01:09.211 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:46:58 +0000 (0:00:00.020) 0:01:09.231 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:47:01 +0000 (0:00:02.953) 0:01:12.185 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:47:01 +0000 (0:00:00.194) 0:01:12.379 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:47:01 +0000 (0:00:00.017) 0:01:12.397 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980362.2367463, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708980362.2357464, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980362.2357464, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1531710423", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:47:02 +0000 (0:00:00.213) 0:01:12.610 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980360.9107854, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980355.4489465, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980355.4479465, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2526896476", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:47:02 +0000 (0:00:00.208) 0:01:12.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:47:02 +0000 (0:00:00.009) 0:01:12.828 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:47:02 +0000 (0:00:00.212) 0:01:13.041 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:47:02 +0000 (0:00:00.197) 0:01:13.238 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2 --initrd=/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:47:03 +0000 (0:00:00.423) 0:01:13.662 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:47:03 +0000 (0:00:00.009) 0:01:13.672 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:47:03 +0000 (0:00:00.008) 0:01:13.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:47:03 +0000 (0:00:00.008) 0:01:13.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:47:03 +0000 (0:00:00.006) 0:01:13.695 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.148458", "end": "2024-02-26 20:47:03.484967", "rc": 0, "start": "2024-02-26 20:47:03.336509" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:47:03 +0000 (0:00:00.350) 0:01:14.046 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:47:03 +0000 (0:00:00.013) 0:01:14.060 ******* changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:47:45 +0000 (0:00:41.559) 0:01:55.620 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:47:45 +0000 (0:00:00.009) 0:01:55.629 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:47:45 +0000 (0:00:00.010) 0:01:55.640 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.156141", "end": "2024-02-26 20:47:45.334613", "rc": 0, "start": "2024-02-26 20:47:45.178472" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:47:45 +0000 (0:00:00.363) 0:01:56.003 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:47:45 +0000 (0:00:00.008) 0:01:56.011 ******* changed: [sut] => { "changed": true, "elapsed": 43, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:48:30 +0000 (0:00:44.590) 0:02:40.602 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:48:30 +0000 (0:00:00.009) 0:02:40.611 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:48:30 +0000 (0:00:00.011) 0:02:40.623 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:48:30 +0000 (0:00:00.009) 0:02:40.633 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:48:30 +0000 (0:00:00.017) 0:02:40.650 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:48:30 +0000 (0:00:00.013) 0:02:40.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:48:30 +0000 (0:00:00.010) 0:02:40.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:48:30 +0000 (0:00:00.010) 0:02:40.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:48:30 +0000 (0:00:00.009) 0:02:40.694 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:48:30 +0000 (0:00:00.021) 0:02:40.715 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:48:36 +0000 (0:00:06.320) 0:02:47.036 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:48:36 +0000 (0:00:00.191) 0:02:47.227 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:48:36 +0000 (0:00:00.016) 0:02:47.243 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980465.33261, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708980465.3316097, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980465.3316097, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1501681035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:48:36 +0000 (0:00:00.240) 0:02:47.484 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980360.9107854, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980355.4489465, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980355.4479465, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2526896476", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:48:37 +0000 (0:00:00.210) 0:02:47.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:48:37 +0000 (0:00:00.008) 0:02:47.703 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:48:37 +0000 (0:00:00.199) 0:02:47.903 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:48:37 +0000 (0:00:00.198) 0:02:48.101 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:48:37 +0000 (0:00:00.195) 0:02:48.297 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:48:37 +0000 (0:00:00.009) 0:02:48.306 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:48:37 +0000 (0:00:00.007) 0:02:48.314 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:48:37 +0000 (0:00:00.007) 0:02:48.321 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" }, { "args": "test=kernel", "default": false, "id": "025c249e0ffb4c7e9d3a268cf316279e-6.7.4-100.fc38.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:77 Monday 26 February 2024 20:48:38 +0000 (0:00:00.352) 0:02:48.674 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:84 Monday 26 February 2024 20:48:38 +0000 (0:00:00.009) 0:02:48.684 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:48:38 +0000 (0:00:00.025) 0:02:48.710 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:48:38 +0000 (0:00:00.010) 0:02:48.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:48:38 +0000 (0:00:00.008) 0:02:48.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:48:38 +0000 (0:00:00.007) 0:02:48.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:48:38 +0000 (0:00:00.007) 0:02:48.744 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:48:38 +0000 (0:00:00.018) 0:02:48.762 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:48:41 +0000 (0:00:02.955) 0:02:51.717 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:48:41 +0000 (0:00:00.189) 0:02:51.907 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:48:41 +0000 (0:00:00.015) 0:02:51.923 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980465.33261, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708980465.3316097, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980465.3316097, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1501681035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:48:41 +0000 (0:00:00.206) 0:02:52.129 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980360.9107854, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980355.4489465, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980355.4479465, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2526896476", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:48:41 +0000 (0:00:00.214) 0:02:52.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:48:41 +0000 (0:00:00.013) 0:02:52.357 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:48:42 +0000 (0:00:00.200) 0:02:52.558 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:48:42 +0000 (0:00:00.196) 0:02:52.754 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:48:42 +0000 (0:00:00.444) 0:02:53.199 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:48:42 +0000 (0:00:00.009) 0:02:53.209 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:48:42 +0000 (0:00:00.008) 0:02:53.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:48:42 +0000 (0:00:00.008) 0:02:53.227 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:94 Monday 26 February 2024 20:48:42 +0000 (0:00:00.304) 0:02:53.531 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_add_rm.yml:100 Monday 26 February 2024 20:48:43 +0000 (0:00:00.011) 0:02:53.543 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "delta": "0:00:00.049124", "end": "2024-02-26 20:48:43.230170", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 20:48:43.181046" } STDERR: The param /boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2" ], "delta": "0:00:00.049531", "end": "2024-02-26 20:48:43.468286", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 20:48:43.418755" } STDERR: The param /boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:48:43 +0000 (0:00:00.478) 0:02:54.021 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.117262", "end": "2024-02-26 20:48:43.782040", "rc": 0, "start": "2024-02-26 20:48:43.664778" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:48:43 +0000 (0:00:00.315) 0:02:54.336 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:48:43 +0000 (0:00:00.008) 0:02:54.345 ******* changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:49:25 +0000 (0:00:41.691) 0:03:36.037 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:49:25 +0000 (0:00:00.008) 0:03:36.046 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=100 changed=16 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0 Monday 26 February 2024 20:49:25 +0000 (0:00:00.009) 0:03:36.055 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 44.59s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 42.55s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.69s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.56s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed -- 15.74s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 5.91s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.96s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.94s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 1.41s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.25s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Clone test_kernel kernel and initrd for test purposes ------------------- 0.95s /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:8 ----------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.88s /WORKDIR/git-bios-uefitvwmy1p9/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.86s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.77s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.69s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.67s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.65s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.63s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.60s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.57s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---