# 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-uefi45xk588v/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:13 Monday 26 February 2024 20:52:27 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:52:27 +0000 (0:00:00.025) 0:00:00.037 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:52:27 +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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:52:28 +0000 (0:00:00.601) 0:00:00.651 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:52:28 +0000 (0:00:00.247) 0:00:00.899 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:52:28 +0000 (0:00:00.018) 0:00:00.918 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:52:28 +0000 (0:00:00.026) 0:00:00.944 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:52:31 +0000 (0:00:02.346) 0:00:03.290 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:52:31 +0000 (0:00:00.177) 0:00:03.468 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:52:31 +0000 (0:00:00.029) 0:00:03.498 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:52:31 +0000 (0:00:00.194) 0:00:03.692 ******* 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 : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:52:31 +0000 (0:00:00.192) 0:00:03.884 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:52:31 +0000 (0:00:00.009) 0:00:03.894 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:52:31 +0000 (0:00:00.255) 0:00:04.149 ******* changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:52:32 +0000 (0:00:00.183) 0:00:04.333 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:52:32 +0000 (0:00:00.255) 0:00:04.589 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:52:32 +0000 (0:00:00.008) 0:00:04.598 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:52:32 +0000 (0:00:00.008) 0:00:04.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:52:32 +0000 (0:00:00.007) 0:00:04.614 ******* 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-uefi45xk588v/tests/tests_add_rm.yml:29 Monday 26 February 2024 20:52:32 +0000 (0:00:00.367) 0:00:04.981 ******* included: /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:52:32 +0000 (0:00:00.011) 0:00:04.992 ******* 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-uefi45xk588v/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:52:32 +0000 (0:00:00.009) 0:00:05.002 ******* 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-uefi45xk588v/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:52:33 +0000 (0:00:01.054) 0:00:06.056 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:52:33 +0000 (0:00:00.015) 0:00:06.072 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:52:33 +0000 (0:00:00.010) 0:00:06.083 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:52:33 +0000 (0:00:00.008) 0:00:06.091 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:52:33 +0000 (0:00:00.008) 0:00:06.100 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:52:33 +0000 (0:00:00.007) 0:00:06.107 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:52:33 +0000 (0:00:00.017) 0:00:06.125 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:52:35 +0000 (0:00:01.242) 0:00:07.367 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:52:35 +0000 (0:00:00.181) 0:00:07.548 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:52:35 +0000 (0:00:00.015) 0:00:07.564 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980751.3863585, "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:52:35 +0000 (0:00:00.193) 0:00:07.757 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980752.0373325, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980752.0373325, "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": 1708980752.0373325, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3553656953", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:52:35 +0000 (0:00:00.194) 0:00:07.951 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:52:35 +0000 (0:00:00.009) 0:00:07.961 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:52:35 +0000 (0:00:00.180) 0:00:08.141 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:52:36 +0000 (0:00:00.185) 0:00:08.327 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:52:36 +0000 (0:00:00.401) 0:00:08.728 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:52:36 +0000 (0:00:00.009) 0:00:08.738 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:52:36 +0000 (0:00:00.007) 0:00:08.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:52:36 +0000 (0:00:00.007) 0:00:08.754 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:52:36 +0000 (0:00:00.007) 0:00:08.761 ******* 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.145560", "end": "2024-02-26 20:52:36.872101", "rc": 0, "start": "2024-02-26 20:52:36.726541" } 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:52:36 +0000 (0:00:00.402) 0:00:09.164 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:52:36 +0000 (0:00:00.008) 0:00:09.172 ******* changed: [sut] => { "changed": true, "elapsed": 51, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:53:28 +0000 (0:00:51.845) 0:01:01.017 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:53:28 +0000 (0:00:00.008) 0:01:01.026 ******* 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-uefi45xk588v/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:53:28 +0000 (0:00:00.010) 0:01:01.036 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:53:28 +0000 (0:00:00.008) 0:01:01.045 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:28 +0000 (0:00:00.016) 0:01:01.061 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:28 +0000 (0:00:00.010) 0:01:01.072 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:53:28 +0000 (0:00:00.008) 0:01:01.081 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:53:28 +0000 (0:00:00.007) 0:01:01.088 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:53:28 +0000 (0:00:00.007) 0:01:01.096 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:28 +0000 (0:00:00.018) 0:01:01.114 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:53:32 +0000 (0:00:03.218) 0:01:04.332 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:53:32 +0000 (0:00:00.176) 0:01:04.509 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:53:32 +0000 (0:00:00.014) 0:01:04.524 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980756.8701403, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708980756.8701403, "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": 1708980756.8701403, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2588058683", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:53:32 +0000 (0:00:00.220) 0:01:04.744 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980755.643189, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980752.0373325, "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": 1708980752.0373325, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3553656953", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:53:32 +0000 (0:00:00.193) 0:01:04.937 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:53:32 +0000 (0:00:00.009) 0:01:04.947 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:53:32 +0000 (0:00:00.180) 0:01:05.127 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:53:33 +0000 (0:00:00.181) 0:01:05.309 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:53:33 +0000 (0:00:00.182) 0:01:05.491 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:53:33 +0000 (0:00:00.009) 0:01:05.501 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:53:33 +0000 (0:00:00.007) 0:01:05.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:53:33 +0000 (0:00:00.007) 0:01:05.516 ******* 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" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "fc0dc6a57f564e74aa88d40fa3386a9f-5.14.0-419.el9.x86_64_clone1", "index": "2", "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" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:35 Monday 26 February 2024 20:53:33 +0000 (0:00:00.345) 0:01:05.861 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:47 Monday 26 February 2024 20:53:33 +0000 (0:00:00.011) 0:01:05.873 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:33 +0000 (0:00:00.020) 0:01:05.894 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:33 +0000 (0:00:00.010) 0:01:05.904 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:53:33 +0000 (0:00:00.008) 0:01:05.912 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:53:33 +0000 (0:00:00.007) 0:01:05.919 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:53:33 +0000 (0:00:00.007) 0:01:05.927 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:33 +0000 (0:00:00.017) 0:01:05.945 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:53:34 +0000 (0:00:01.264) 0:01:07.209 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:53:35 +0000 (0:00:00.181) 0:01:07.390 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:53:35 +0000 (0:00:00.015) 0:01:07.406 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980812.4135609, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708980756.8701403, "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": 1708980756.8701403, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2588058683", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:53:35 +0000 (0:00:00.198) 0:01:07.604 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980755.643189, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980752.0373325, "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": 1708980752.0373325, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3553656953", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:53:35 +0000 (0:00:00.194) 0:01:07.799 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:53:35 +0000 (0:00:00.010) 0:01:07.809 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:53:35 +0000 (0:00:00.183) 0:01:07.993 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:53:35 +0000 (0:00:00.182) 0:01:08.175 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:53:36 +0000 (0:00:00.421) 0:01:08.597 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:53:36 +0000 (0:00:00.009) 0:01:08.607 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:53:36 +0000 (0:00:00.007) 0:01:08.615 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:53:36 +0000 (0:00:00.007) 0:01:08.622 ******* 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-uefi45xk588v/tests/tests_add_rm.yml:65 Monday 26 February 2024 20:53:36 +0000 (0:00:00.287) 0:01:08.910 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:71 Monday 26 February 2024 20:53:36 +0000 (0:00:00.011) 0:01:08.921 ******* included: /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:53:36 +0000 (0:00:00.014) 0:01:08.935 ******* 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-uefi45xk588v/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:53:36 +0000 (0:00:00.009) 0:01:08.945 ******* 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-uefi45xk588v/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:53:37 +0000 (0:00:00.922) 0:01:09.867 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:37 +0000 (0:00:00.017) 0:01:09.885 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:37 +0000 (0:00:00.013) 0:01:09.899 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:53:37 +0000 (0:00:00.009) 0:01:09.909 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:53:37 +0000 (0:00:00.007) 0:01:09.916 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:53:37 +0000 (0:00:00.008) 0:01:09.924 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:37 +0000 (0:00:00.019) 0:01:09.943 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:53:38 +0000 (0:00:01.248) 0:01:11.192 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:53:39 +0000 (0:00:00.179) 0:01:11.371 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:53:39 +0000 (0:00:00.013) 0:01:11.385 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980812.4135609, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708980756.8701403, "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": 1708980756.8701403, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2588058683", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:53:39 +0000 (0:00:00.194) 0:01:11.580 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980755.643189, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980752.0373325, "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": 1708980752.0373325, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3553656953", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:53:39 +0000 (0:00:00.192) 0:01:11.773 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:53:39 +0000 (0:00:00.009) 0:01:11.783 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:53:39 +0000 (0:00:00.185) 0:01:11.968 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:53:39 +0000 (0:00:00.193) 0:01:12.161 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:53:40 +0000 (0:00:00.400) 0:01:12.562 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:53:40 +0000 (0:00:00.009) 0:01:12.572 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:01:12.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:01:12.589 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:53:40 +0000 (0:00:00.007) 0:01:12.597 ******* 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.143173", "end": "2024-02-26 20:53:40.632000", "rc": 0, "start": "2024-02-26 20:53:40.488827" } 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:53:40 +0000 (0:00:00.329) 0:01:12.926 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:53:40 +0000 (0:00:00.007) 0:01:12.934 ******* changed: [sut] => { "changed": true, "elapsed": 50, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:54:31 +0000 (0:00:50.641) 0:02:03.575 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:54:31 +0000 (0:00:00.009) 0:02:03.584 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:54:31 +0000 (0:00:00.008) 0:02:03.593 ******* 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.161905", "end": "2024-02-26 20:54:31.660756", "rc": 0, "start": "2024-02-26 20:54:31.498851" } 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:54:31 +0000 (0:00:00.361) 0:02:03.954 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:54:31 +0000 (0:00:00.007) 0:02:03.962 ******* changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:55:09 +0000 (0:00:37.705) 0:02:41.667 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:55:09 +0000 (0:00:00.008) 0:02:41.676 ******* 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-uefi45xk588v/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:55:09 +0000 (0:00:00.011) 0:02:41.687 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:55:09 +0000 (0:00:00.008) 0:02:41.696 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:55:09 +0000 (0:00:00.016) 0:02:41.712 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:55:09 +0000 (0:00:00.010) 0:02:41.723 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:55:09 +0000 (0:00:00.009) 0:02:41.732 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:55:09 +0000 (0:00:00.007) 0:02:41.740 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:55:09 +0000 (0:00:00.007) 0:02:41.747 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:55:09 +0000 (0:00:00.017) 0:02:41.765 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:55:12 +0000 (0:00:03.454) 0:02:45.220 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:55:13 +0000 (0:00:00.175) 0:02:45.395 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:55:13 +0000 (0:00:00.015) 0:02:45.410 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980871.6591926, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708980871.6581924, "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": 1708980871.6581924, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3685739822", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:55:13 +0000 (0:00:00.225) 0:02:45.635 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980755.643189, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980752.0373325, "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": 1708980752.0373325, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3553656953", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:55:13 +0000 (0:00:00.199) 0:02:45.835 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:55:13 +0000 (0:00:00.009) 0:02:45.845 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:55:13 +0000 (0:00:00.182) 0:02:46.027 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:55:13 +0000 (0:00:00.185) 0:02:46.213 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:55:14 +0000 (0:00:00.189) 0:02:46.402 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:55:14 +0000 (0:00:00.009) 0:02:46.412 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:55:14 +0000 (0:00:00.008) 0:02:46.421 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:55:14 +0000 (0:00:00.008) 0:02:46.430 ******* 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" }, { "args": "test=kernel", "default": false, "id": "fc0dc6a57f564e74aa88d40fa3386a9f-5.14.0-419.el9.x86_64_clone2", "index": "2", "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" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:77 Monday 26 February 2024 20:55:14 +0000 (0:00:00.339) 0:02:46.769 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:84 Monday 26 February 2024 20:55:14 +0000 (0:00:00.010) 0:02:46.780 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:55:14 +0000 (0:00:00.025) 0:02:46.805 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:55:14 +0000 (0:00:00.009) 0:02:46.815 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:55:14 +0000 (0:00:00.009) 0:02:46.824 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:55:14 +0000 (0:00:00.007) 0:02:46.831 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:55:14 +0000 (0:00:00.008) 0:02:46.840 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:55:14 +0000 (0:00:00.019) 0:02:46.860 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:55:15 +0000 (0:00:01.273) 0:02:48.133 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:55:16 +0000 (0:00:00.186) 0:02:48.320 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:55:16 +0000 (0:00:00.014) 0:02:48.334 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980871.6591926, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708980871.6581924, "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": 1708980871.6581924, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3685739822", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:55:16 +0000 (0:00:00.193) 0:02:48.528 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980755.643189, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980752.0373325, "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": 1708980752.0373325, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3553656953", "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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:55:16 +0000 (0:00:00.196) 0:02:48.724 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:55:16 +0000 (0:00:00.009) 0:02:48.734 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:55:16 +0000 (0:00:00.190) 0:02:48.925 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:55:16 +0000 (0:00:00.189) 0:02:49.114 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:55:17 +0000 (0:00:00.425) 0:02:49.539 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:55:17 +0000 (0:00:00.009) 0:02:49.549 ******* 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:55:17 +0000 (0:00:00.007) 0:02:49.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:55:17 +0000 (0:00:00.007) 0:02:49.564 ******* 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-uefi45xk588v/tests/tests_add_rm.yml:94 Monday 26 February 2024 20:55:17 +0000 (0:00:00.289) 0:02:49.854 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefi45xk588v/tests/tests_add_rm.yml:100 Monday 26 February 2024 20:55:17 +0000 (0:00:00.010) 0:02:49.865 ******* 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.054432", "end": "2024-02-26 20:55:17.672663", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 20:55:17.618231" } 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.052472", "end": "2024-02-26 20:55:17.921169", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 20:55:17.868697" } 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:55:18 +0000 (0:00:00.458) 0:02:50.323 ******* 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.122504", "end": "2024-02-26 20:55:18.249453", "rc": 0, "start": "2024-02-26 20:55:18.126949" } 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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:55:18 +0000 (0:00:00.304) 0:02:50.628 ******* included: /WORKDIR/git-bios-uefi45xk588v/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-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:55:18 +0000 (0:00:00.007) 0:02:50.636 ******* changed: [sut] => { "changed": true, "elapsed": 43, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:56:02 +0000 (0:00:44.433) 0:03:35.069 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:56:02 +0000 (0:00:00.009) 0:03:35.079 ******* 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:56:02 +0000 (0:00:00.010) 0:03:35.089 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 51.85s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 50.64s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 44.43s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.71s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 9.02s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.49s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.27s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.26s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.05s /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.05s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Clone test_kernel kernel and initrd for test purposes ------------------- 0.92s /WORKDIR/git-bios-uefi45xk588v/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.80s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.73s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.64s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.63s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.62s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.60s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.59s /WORKDIR/git-bios-uefi45xk588v/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.55s /WORKDIR/git-bios-uefi45xk588v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.53s /WORKDIR/git-bios-uefi45xk588v/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. ---^---^---^---^---^---