# 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-uefi8k7vgwix/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:13 Monday 26 February 2024 20:00:33 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:33 +0000 (0:00:00.025) 0:00:00.038 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:33 +0000 (0:00:00.012) 0:00:00.051 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:00:34 +0000 (0:00:00.637) 0:00:00.688 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:00:34 +0000 (0:00:00.276) 0:00:00.965 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:00:34 +0000 (0:00:00.029) 0:00:00.994 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:34 +0000 (0:00:00.028) 0:00:01.023 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:00:37 +0000 (0:00:02.655) 0:00:03.678 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:00:37 +0000 (0:00:00.199) 0:00:03.878 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:00:37 +0000 (0:00:00.030) 0:00:03.908 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435641.64, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:00:37 +0000 (0:00:00.215) 0:00:04.123 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435642.279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "55c60a165805597c8679516c698bebeaff82c38b", "ctime": 1708435642.279, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2485714, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708435642.279, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2631421142", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:00:38 +0000 (0:00:00.209) 0:00:04.333 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:00:38 +0000 (0:00:00.008) 0:00:04.342 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:00:38 +0000 (0:00:00.259) 0:00:04.602 ******* changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:00:38 +0000 (0:00:00.193) 0:00:04.795 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:00:38 +0000 (0:00:00.259) 0:00:05.055 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:00:38 +0000 (0:00:00.010) 0:00:05.065 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:00:38 +0000 (0:00:00.008) 0:00:05.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:00:38 +0000 (0:00:00.007) 0:00:05.081 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" } ] }, "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-uefi8k7vgwix/tests/tests_add_rm.yml:29 Monday 26 February 2024 20:00:39 +0000 (0:00:00.380) 0:00:05.461 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:00:39 +0000 (0:00:00.011) 0:00:05.473 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:00:39 +0000 (0:00:00.014) 0:00:05.487 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-419.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "02a30e3d472d69c1dee1aeaae623a82ca85ab1b5", "dest": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-419.el9.x86_64" }, "md5sum": "a085c48cd0b6558754daa389fbf7ef11", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13576232, "src": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-419.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b287ee97cfbe0014a173b499b35084c108cacd50", "dest": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-419.el9.x86_64.img" }, "md5sum": "ff2987284ec327acecd236992f1475f6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 34898551, "src": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:00:40 +0000 (0:00:00.995) 0:00:06.483 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:40 +0000 (0:00:00.024) 0:00:06.508 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:40 +0000 (0:00:00.016) 0:00:06.524 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:00:40 +0000 (0:00:00.012) 0:00:06.536 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:00:40 +0000 (0:00:00.018) 0:00:06.555 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:00:40 +0000 (0:00:00.008) 0:00:06.564 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:40 +0000 (0:00:00.018) 0:00:06.582 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:00:41 +0000 (0:00:01.358) 0:00:07.941 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:00:41 +0000 (0:00:00.199) 0:00:08.140 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:00:41 +0000 (0:00:00.017) 0:00:08.157 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977637.8801544, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:00:42 +0000 (0:00:00.228) 0:00:08.386 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977638.574157, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977638.5751572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977638.574157, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2133668943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:00:42 +0000 (0:00:00.215) 0:00:08.601 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:00:42 +0000 (0:00:00.019) 0:00:08.621 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:00:42 +0000 (0:00:00.222) 0:00:08.844 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:00:42 +0000 (0:00:00.228) 0:00:09.072 ******* 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-5.14.0-419.el9.x86_64_clone1 --initrd=/boot/initramfs-5.14.0-419.el9.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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:00:43 +0000 (0:00:00.439) 0:00:09.512 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:00:43 +0000 (0:00:00.019) 0:00:09.531 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:00:43 +0000 (0:00:00.018) 0:00:09.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:00:43 +0000 (0:00:00.022) 0:00:09.572 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:00:43 +0000 (0:00:00.024) 0:00:09.596 ******* 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.151862", "end": "2024-02-26 20:00:43.827235", "rc": 0, "start": "2024-02-26 20:00:43.675373" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:00:43 +0000 (0:00:00.449) 0:00:10.046 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:00:43 +0000 (0:00:00.009) 0:00:10.055 ******* changed: [sut] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:01:10 +0000 (0:00:27.033) 0:00:37.089 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:01:10 +0000 (0:00:00.008) 0:00:37.097 ******* 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-uefi8k7vgwix/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:01:10 +0000 (0:00:00.010) 0:00:37.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:01:10 +0000 (0:00:00.008) 0:00:37.116 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:01:10 +0000 (0:00:00.017) 0:00:37.134 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:01:10 +0000 (0:00:00.010) 0:00:37.145 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:01:10 +0000 (0:00:00.008) 0:00:37.153 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:01:10 +0000 (0:00:00.007) 0:00:37.161 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:01:10 +0000 (0:00:00.007) 0:00:37.168 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:01:10 +0000 (0:00:00.018) 0:00:37.187 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:01:13 +0000 (0:00:02.859) 0:00:40.047 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:01:14 +0000 (0:00:00.192) 0:00:40.240 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:01:14 +0000 (0:00:00.014) 0:00:40.254 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977643.826178, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977643.8251781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977643.8251781, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "1028149678", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:01:14 +0000 (0:00:00.236) 0:00:40.491 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977642.3571723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977638.5751572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977638.574157, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2133668943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:01:14 +0000 (0:00:00.220) 0:00:40.711 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:01:14 +0000 (0:00:00.010) 0:00:40.722 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:01:14 +0000 (0:00:00.201) 0:00:40.923 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:01:14 +0000 (0:00:00.198) 0:00:41.122 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:01:15 +0000 (0:00:00.197) 0:00:41.320 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:01:15 +0000 (0:00:00.009) 0:00:41.330 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:01:15 +0000 (0:00:00.009) 0:00:41.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:01:15 +0000 (0:00:00.007) 0:00:41.346 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "76219a85284b4badbfc2d40b94df06e9-5.14.0-419.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "Clone1" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:35 Monday 26 February 2024 20:01:15 +0000 (0:00:00.390) 0:00:41.737 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:47 Monday 26 February 2024 20:01:15 +0000 (0:00:00.012) 0:00:41.749 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:01:15 +0000 (0:00:00.020) 0:00:41.769 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:01:15 +0000 (0:00:00.010) 0:00:41.779 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:01:15 +0000 (0:00:00.009) 0:00:41.789 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:01:15 +0000 (0:00:00.007) 0:00:41.796 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:01:15 +0000 (0:00:00.007) 0:00:41.804 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:01:15 +0000 (0:00:00.018) 0:00:41.822 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:01:16 +0000 (0:00:01.367) 0:00:43.190 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:01:17 +0000 (0:00:00.195) 0:00:43.385 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:01:17 +0000 (0:00:00.014) 0:00:43.400 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977643.826178, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977643.8251781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977643.8251781, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "1028149678", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:01:17 +0000 (0:00:00.214) 0:00:43.615 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977642.3571723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977638.5751572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977638.574157, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2133668943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:01:17 +0000 (0:00:00.216) 0:00:43.831 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:01:17 +0000 (0:00:00.009) 0:00:43.841 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:01:17 +0000 (0:00:00.199) 0:00:44.041 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:01:18 +0000 (0:00:00.199) 0:00:44.240 ******* 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-5.14.0-419.el9.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:01:18 +0000 (0:00:00.464) 0:00:44.705 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:01:18 +0000 (0:00:00.009) 0:00:44.714 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:01:18 +0000 (0:00:00.007) 0:00:44.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:01:18 +0000 (0:00:00.007) 0:00:44.729 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:65 Monday 26 February 2024 20:01:18 +0000 (0:00:00.314) 0:00:45.044 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:71 Monday 26 February 2024 20:01:18 +0000 (0:00:00.011) 0:00:45.055 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:01:18 +0000 (0:00:00.013) 0:00:45.069 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:01:18 +0000 (0:00:00.009) 0:00:45.079 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-419.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-419.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "02a30e3d472d69c1dee1aeaae623a82ca85ab1b5", "dest": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-419.el9.x86_64" }, "md5sum": "a085c48cd0b6558754daa389fbf7ef11", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13576232, "src": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-419.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-419.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b287ee97cfbe0014a173b499b35084c108cacd50", "dest": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-419.el9.x86_64.img" }, "md5sum": "ff2987284ec327acecd236992f1475f6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 34898551, "src": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:01:19 +0000 (0:00:00.932) 0:00:46.011 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:01:19 +0000 (0:00:00.012) 0:00:46.023 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:01:19 +0000 (0:00:00.011) 0:00:46.035 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:01:19 +0000 (0:00:00.009) 0:00:46.044 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:01:19 +0000 (0:00:00.008) 0:00:46.053 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:01:19 +0000 (0:00:00.007) 0:00:46.061 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:01:19 +0000 (0:00:00.018) 0:00:46.079 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:01:21 +0000 (0:00:01.368) 0:00:47.448 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:01:21 +0000 (0:00:00.197) 0:00:47.645 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:01:21 +0000 (0:00:00.014) 0:00:47.660 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977643.826178, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977643.8251781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977643.8251781, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "1028149678", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:01:21 +0000 (0:00:00.214) 0:00:47.875 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977642.3571723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977638.5751572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977638.574157, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2133668943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:01:21 +0000 (0:00:00.219) 0:00:48.094 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:01:21 +0000 (0:00:00.009) 0:00:48.104 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:01:22 +0000 (0:00:00.205) 0:00:48.310 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:01:22 +0000 (0:00:00.203) 0:00:48.513 ******* 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-5.14.0-419.el9.x86_64_clone2 --initrd=/boot/initramfs-5.14.0-419.el9.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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:01:22 +0000 (0:00:00.435) 0:00:48.948 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:01:22 +0000 (0:00:00.010) 0:00:48.958 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:01:22 +0000 (0:00:00.008) 0:00:48.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:01:22 +0000 (0:00:00.007) 0:00:48.975 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:01:22 +0000 (0:00:00.006) 0:00:48.981 ******* 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.153173", "end": "2024-02-26 20:01:23.112694", "rc": 0, "start": "2024-02-26 20:01:22.959521" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:01:23 +0000 (0:00:00.352) 0:00:49.333 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:01:23 +0000 (0:00:00.007) 0:00:49.341 ******* changed: [sut] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:01:55 +0000 (0:00:31.957) 0:01:21.298 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:01:55 +0000 (0:00:00.008) 0:01:21.306 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:01:55 +0000 (0:00:00.009) 0:01:21.316 ******* 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.168277", "end": "2024-02-26 20:01:55.475341", "rc": 0, "start": "2024-02-26 20:01:55.307064" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:01:55 +0000 (0:00:00.380) 0:01:21.696 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:01:55 +0000 (0:00:00.009) 0:01:21.705 ******* changed: [sut] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:02:21 +0000 (0:00:26.170) 0:01:47.876 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:02:21 +0000 (0:00:00.009) 0:01:47.886 ******* 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-uefi8k7vgwix/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:02:21 +0000 (0:00:00.012) 0:01:47.898 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:02:21 +0000 (0:00:00.010) 0:01:47.908 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:21 +0000 (0:00:00.018) 0:01:47.927 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:21 +0000 (0:00:00.013) 0:01:47.941 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:02:21 +0000 (0:00:00.011) 0:01:47.952 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:02:21 +0000 (0:00:00.010) 0:01:47.963 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:02:21 +0000 (0:00:00.009) 0:01:47.972 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:21 +0000 (0:00:00.020) 0:01:47.993 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:02:24 +0000 (0:00:02.828) 0:01:50.822 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:02:24 +0000 (0:00:00.202) 0:01:51.025 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:02:24 +0000 (0:00:00.018) 0:01:51.043 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977715.4740536, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977715.4730535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977715.4730535, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3676457473", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:02:25 +0000 (0:00:00.242) 0:01:51.286 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977642.3571723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977638.5751572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977638.574157, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2133668943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:02:25 +0000 (0:00:00.228) 0:01:51.514 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:02:25 +0000 (0:00:00.010) 0:01:51.525 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:02:25 +0000 (0:00:00.212) 0:01:51.737 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:02:25 +0000 (0:00:00.209) 0:01:51.947 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:02:25 +0000 (0:00:00.206) 0:01:52.153 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:02:25 +0000 (0:00:00.009) 0:01:52.163 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:02:25 +0000 (0:00:00.008) 0:01:52.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:02:25 +0000 (0:00:00.008) 0:01:52.181 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "76219a85284b4badbfc2d40b94df06e9-5.14.0-419.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:77 Monday 26 February 2024 20:02:26 +0000 (0:00:00.376) 0:01:52.557 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:84 Monday 26 February 2024 20:02:26 +0000 (0:00:00.013) 0:01:52.571 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:26 +0000 (0:00:00.027) 0:01:52.599 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:26 +0000 (0:00:00.011) 0:01:52.611 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:02:26 +0000 (0:00:00.011) 0:01:52.622 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:02:26 +0000 (0:00:00.010) 0:01:52.633 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:02:26 +0000 (0:00:00.009) 0:01:52.642 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:26 +0000 (0:00:00.020) 0:01:52.663 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:02:27 +0000 (0:00:01.493) 0:01:54.156 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:02:28 +0000 (0:00:00.235) 0:01:54.392 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:02:28 +0000 (0:00:00.015) 0:01:54.407 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977715.4740536, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977715.4730535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977715.4730535, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3676457473", "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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:02:28 +0000 (0:00:00.224) 0:01:54.632 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977642.3571723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977638.5751572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977638.574157, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2133668943", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:02:28 +0000 (0:00:00.222) 0:01:54.854 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:02:28 +0000 (0:00:00.010) 0:01:54.864 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:02:28 +0000 (0:00:00.211) 0:01:55.075 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:02:29 +0000 (0:00:00.211) 0:01:55.287 ******* 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-5.14.0-419.el9.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:02:29 +0000 (0:00:00.471) 0:01:55.759 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:02:29 +0000 (0:00:00.010) 0:01:55.769 ******* 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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:02:29 +0000 (0:00:00.008) 0:01:55.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:02:29 +0000 (0:00:00.008) 0:01:55.787 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:94 Monday 26 February 2024 20:02:29 +0000 (0:00:00.327) 0:01:56.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_add_rm.yml:100 Monday 26 February 2024 20:02:29 +0000 (0:00:00.010) 0:01:56.125 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1" ], "delta": "0:00:00.053275", "end": "2024-02-26 20:02:30.167537", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 20:02:30.114262" } STDERR: The param /boot/vmlinuz-5.14.0-419.el9.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-5.14.0-419.el9.x86_64_clone2" ], "delta": "0:00:00.053222", "end": "2024-02-26 20:02:30.426911", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 20:02:30.373689" } STDERR: The param /boot/vmlinuz-5.14.0-419.el9.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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:02:30 +0000 (0:00:00.521) 0:01:56.647 ******* 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.124294", "end": "2024-02-26 20:02:30.756979", "rc": 0, "start": "2024-02-26 20:02:30.632685" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:02:30 +0000 (0:00:00.330) 0:01:56.977 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:02:30 +0000 (0:00:00.008) 0:01:56.985 ******* changed: [sut] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:02:53 +0000 (0:00:22.597) 0:02:19.583 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:02:53 +0000 (0:00:00.008) 0:02:19.592 ******* 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:02:53 +0000 (0:00:00.010) 0:02:19.602 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.96s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 27.03s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 26.17s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.60s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 8.34s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.73s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.49s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.37s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.15s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Clone test_kernel kernel and initrd for test purposes ------------------- 1.00s /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:8 ----------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.93s /WORKDIR/git-bios-uefi8k7vgwix/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.87s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.80s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.70s /WORKDIR/git-bios-uefi8k7vgwix/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-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.66s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.66s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.64s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.60s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 linux-system-roles.bootloader : Determine platform type ----------------- 0.59s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---