# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bios-uefigjntyxrp/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:13 Monday 26 February 2024 20:01:24 +0000 (0:00:00.013) 0:00:00.013 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:01:24 +0000 (0:00:00.022) 0:00:00.035 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:01:24 +0000 (0:00:00.011) 0:00:00.046 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:01:25 +0000 (0:00:00.608) 0:00:00.655 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:01:25 +0000 (0:00:00.268) 0:00:00.923 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:01:25 +0000 (0:00:00.013) 0:00:00.936 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:01:25 +0000 (0:00:00.016) 0:00:00.953 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:01:28 +0000 (0:00:02.710) 0:00:03.664 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:01:28 +0000 (0:00:00.206) 0:00:03.870 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:01:28 +0000 (0:00:00.021) 0:00:03.892 ******* 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 [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:01:28 +0000 (0:00:00.224) 0:00:04.116 ******* 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 [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:01:28 +0000 (0:00:00.224) 0:00:04.341 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:01:28 +0000 (0:00:00.007) 0:00:04.348 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:01:29 +0000 (0:00:00.269) 0:00:04.618 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:01:29 +0000 (0:00:00.216) 0:00:04.834 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:01:29 +0000 (0:00:00.264) 0:00:05.098 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:01:29 +0000 (0:00:00.011) 0:00:05.110 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:01:29 +0000 (0:00:00.009) 0:00:05.119 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:01:29 +0000 (0:00:00.013) 0:00:05.132 ******* 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 [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:19 Monday 26 February 2024 20:01:30 +0000 (0:00:00.397) 0:00:05.529 ******* META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:26 Monday 26 February 2024 20:01:30 +0000 (0:00:00.001) 0:00:05.531 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:29 Monday 26 February 2024 20:01:30 +0000 (0:00:00.000) 0:00:05.532 ******* included: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:01:30 +0000 (0:00:00.011) 0:00:05.543 ******* 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-uefigjntyxrp/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 20:01:30 +0000 (0:00:00.020) 0:00:05.563 ******* 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-uefigjntyxrp/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 20:01:31 +0000 (0:00:01.101) 0:00:06.665 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:01:31 +0000 (0:00:00.019) 0:00:06.685 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:01:31 +0000 (0:00:00.011) 0:00:06.697 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:01:31 +0000 (0:00:00.016) 0:00:06.714 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:01:31 +0000 (0:00:00.010) 0:00:06.724 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:01:31 +0000 (0:00:00.010) 0:00:06.734 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:01:31 +0000 (0:00:00.017) 0:00:06.751 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:01:32 +0000 (0:00:01.344) 0:00:08.096 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:01:32 +0000 (0:00:00.200) 0:00:08.297 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:01:32 +0000 (0:00:00.021) 0:00:08.318 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977688.576574, "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 [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:01:33 +0000 (0:00:00.220) 0:00:08.538 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977689.3075755, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977689.3075755, "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": 1708977689.3075755, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2363986048", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:01:33 +0000 (0:00:00.224) 0:00:08.763 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:01:33 +0000 (0:00:00.007) 0:00:08.770 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:01:33 +0000 (0:00:00.216) 0:00:08.986 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:01:33 +0000 (0:00:00.212) 0:00:09.199 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. 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 [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:01:34 +0000 (0:00:00.456) 0:00:09.655 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:01:34 +0000 (0:00:00.010) 0:00:09.666 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:01:34 +0000 (0:00:00.008) 0:00:09.675 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:01:34 +0000 (0:00:00.013) 0:00:09.688 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 20:01:34 +0000 (0:00:00.013) 0:00:09.702 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 20:01:34 +0000 (0:00:00.001) 0:00:09.704 ******* 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.155750", "end": "2024-02-26 20:01:34.597941", "rc": 0, "start": "2024-02-26 20:01:34.442191" } 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 [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 20:01:34 +0000 (0:00:00.420) 0:00:10.124 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:01:34 +0000 (0:00:00.009) 0:00:10.134 ******* changed: [sut] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:02:04 +0000 (0:00:30.058) 0:00:40.192 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:02:04 +0000 (0:00:00.008) 0:00:40.201 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 20:02:04 +0000 (0:00:00.010) 0:00:40.211 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 20:02:04 +0000 (0:00:00.009) 0:00:40.220 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:04 +0000 (0:00:00.025) 0:00:40.245 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:04 +0000 (0:00:00.012) 0:00:40.257 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:02:04 +0000 (0:00:00.016) 0:00:40.274 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:02:04 +0000 (0:00:00.010) 0:00:40.284 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:02:04 +0000 (0:00:00.011) 0:00:40.295 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:04 +0000 (0:00:00.017) 0:00:40.312 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:02:08 +0000 (0:00:04.007) 0:00:44.319 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:02:09 +0000 (0:00:00.212) 0:00:44.532 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:02:09 +0000 (0:00:00.021) 0:00:44.554 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977694.5965855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977694.5955853, "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": 1708977694.5955853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2355024348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:02:09 +0000 (0:00:00.283) 0:00:44.837 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977693.2195828, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977689.3075755, "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": 1708977689.3075755, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2363986048", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:02:09 +0000 (0:00:00.242) 0:00:45.079 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:02:09 +0000 (0:00:00.008) 0:00:45.088 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:02:09 +0000 (0:00:00.222) 0:00:45.310 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:02:10 +0000 (0:00:00.221) 0:00:45.531 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:02:10 +0000 (0:00:00.211) 0:00:45.743 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:02:10 +0000 (0:00:00.011) 0:00:45.754 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:02:10 +0000 (0:00:00.009) 0:00:45.763 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:02:10 +0000 (0:00:00.014) 0:00:45.778 ******* 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": "fb69a8aa5d2b4b6e8422b271df4608ec-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-uefigjntyxrp/tests/tests_add_rm.yml:35 Monday 26 February 2024 20:02:10 +0000 (0:00:00.400) 0:00:46.179 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:44 Monday 26 February 2024 20:02:10 +0000 (0:00:00.021) 0:00:46.200 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:10 +0000 (0:00:00.023) 0:00:46.224 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:10 +0000 (0:00:00.010) 0:00:46.234 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:02:10 +0000 (0:00:00.016) 0:00:46.251 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:02:10 +0000 (0:00:00.009) 0:00:46.260 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:02:10 +0000 (0:00:00.009) 0:00:46.269 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:10 +0000 (0:00:00.019) 0:00:46.289 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:02:12 +0000 (0:00:01.409) 0:00:47.699 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:02:12 +0000 (0:00:00.216) 0:00:47.916 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:02:12 +0000 (0:00:00.021) 0:00:47.937 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977694.5965855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977694.5955853, "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": 1708977694.5955853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2355024348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:02:12 +0000 (0:00:00.226) 0:00:48.164 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977693.2195828, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977689.3075755, "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": 1708977689.3075755, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2363986048", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:02:12 +0000 (0:00:00.229) 0:00:48.394 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:02:12 +0000 (0:00:00.009) 0:00:48.403 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:02:13 +0000 (0:00:00.222) 0:00:48.625 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:02:13 +0000 (0:00:00.217) 0:00:48.843 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:02:13 +0000 (0:00:00.493) 0:00:49.336 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:02:13 +0000 (0:00:00.012) 0:00:49.349 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:02:13 +0000 (0:00:00.011) 0:00:49.360 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:02:13 +0000 (0:00:00.014) 0:00:49.374 ******* 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-uefigjntyxrp/tests/tests_add_rm.yml:61 Monday 26 February 2024 20:02:14 +0000 (0:00:00.333) 0:00:49.707 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:65 Monday 26 February 2024 20:02:14 +0000 (0:00:00.021) 0:00:49.729 ******* included: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:02:14 +0000 (0:00:00.013) 0:00:49.743 ******* 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-uefigjntyxrp/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 20:02:14 +0000 (0:00:00.020) 0:00:49.763 ******* 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-uefigjntyxrp/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 20:02:15 +0000 (0:00:01.081) 0:00:50.845 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:15 +0000 (0:00:00.019) 0:00:50.864 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:15 +0000 (0:00:00.011) 0:00:50.875 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:02:15 +0000 (0:00:00.016) 0:00:50.892 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:02:15 +0000 (0:00:00.009) 0:00:50.902 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:02:15 +0000 (0:00:00.009) 0:00:50.911 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:15 +0000 (0:00:00.016) 0:00:50.928 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:02:16 +0000 (0:00:01.460) 0:00:52.388 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:02:17 +0000 (0:00:00.209) 0:00:52.598 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:02:17 +0000 (0:00:00.023) 0:00:52.621 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977694.5965855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977694.5955853, "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": 1708977694.5955853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2355024348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:02:17 +0000 (0:00:00.227) 0:00:52.849 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977693.2195828, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977689.3075755, "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": 1708977689.3075755, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2363986048", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:02:17 +0000 (0:00:00.228) 0:00:53.077 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:02:17 +0000 (0:00:00.007) 0:00:53.085 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:02:17 +0000 (0:00:00.227) 0:00:53.313 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:02:18 +0000 (0:00:00.221) 0:00:53.535 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. 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 [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:02:18 +0000 (0:00:00.467) 0:00:54.002 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:02:18 +0000 (0:00:00.011) 0:00:54.013 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:02:18 +0000 (0:00:00.010) 0:00:54.024 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:02:18 +0000 (0:00:00.020) 0:00:54.045 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 20:02:18 +0000 (0:00:00.017) 0:00:54.062 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 20:02:18 +0000 (0:00:00.001) 0:00:54.063 ******* 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.153485", "end": "2024-02-26 20:02:18.904856", "rc": 0, "start": "2024-02-26 20:02:18.751371" } 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 [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 20:02:18 +0000 (0:00:00.368) 0:00:54.432 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:02:18 +0000 (0:00:00.008) 0:00:54.440 ******* changed: [sut] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:02:46 +0000 (0:00:27.651) 0:01:22.092 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:02:46 +0000 (0:00:00.008) 0:01:22.100 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 20:02:46 +0000 (0:00:00.011) 0:01:22.112 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 20:02:46 +0000 (0:00:00.009) 0:01:22.121 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:46 +0000 (0:00:00.025) 0:01:22.146 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:46 +0000 (0:00:00.013) 0:01:22.160 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:02:46 +0000 (0:00:00.018) 0:01:22.178 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:02:46 +0000 (0:00:00.010) 0:01:22.189 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:02:46 +0000 (0:00:00.010) 0:01:22.200 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:46 +0000 (0:00:00.017) 0:01:22.217 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:02:50 +0000 (0:00:03.710) 0:01:25.927 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:02:50 +0000 (0:00:00.207) 0:01:26.135 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:02:50 +0000 (0:00:00.023) 0:01:26.158 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977738.9034026, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977738.9024024, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581828, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977738.9024024, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3817438079", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:02:50 +0000 (0:00:00.304) 0:01:26.463 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977693.2195828, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977689.3075755, "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": 1708977689.3075755, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2363986048", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:02:51 +0000 (0:00:00.234) 0:01:26.697 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:02:51 +0000 (0:00:00.009) 0:01:26.706 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:02:51 +0000 (0:00:00.229) 0:01:26.936 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:02:51 +0000 (0:00:00.220) 0:01:27.157 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:02:51 +0000 (0:00:00.214) 0:01:27.371 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:02:51 +0000 (0:00:00.013) 0:01:27.384 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:02:51 +0000 (0:00:00.011) 0:01:27.396 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:02:51 +0000 (0:00:00.015) 0:01:27.412 ******* 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": "fb69a8aa5d2b4b6e8422b271df4608ec-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-uefigjntyxrp/tests/tests_add_rm.yml:71 Monday 26 February 2024 20:02:52 +0000 (0:00:00.383) 0:01:27.795 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:78 Monday 26 February 2024 20:02:52 +0000 (0:00:00.021) 0:01:27.817 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:02:52 +0000 (0:00:00.030) 0:01:27.847 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:02:52 +0000 (0:00:00.010) 0:01:27.858 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:02:52 +0000 (0:00:00.016) 0:01:27.875 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:02:52 +0000 (0:00:00.011) 0:01:27.886 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:02:52 +0000 (0:00:00.010) 0:01:27.897 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:02:52 +0000 (0:00:00.020) 0:01:27.917 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:02:53 +0000 (0:00:01.381) 0:01:29.298 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:02:54 +0000 (0:00:00.208) 0:01:29.507 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:02:54 +0000 (0:00:00.031) 0:01:29.539 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977738.9034026, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708977738.9024024, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581828, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708977738.9024024, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3817438079", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:02:54 +0000 (0:00:00.223) 0:01:29.762 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977693.2195828, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977689.3075755, "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": 1708977689.3075755, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2363986048", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:02:54 +0000 (0:00:00.225) 0:01:29.988 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:02:54 +0000 (0:00:00.009) 0:01:29.997 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:02:54 +0000 (0:00:00.223) 0:01:30.221 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:02:54 +0000 (0:00:00.219) 0:01:30.440 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-419.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:02:55 +0000 (0:00:00.490) 0:01:30.930 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:02:55 +0000 (0:00:00.010) 0:01:30.941 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:02:55 +0000 (0:00:00.009) 0:01:30.951 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:02:55 +0000 (0:00:00.014) 0:01:30.966 ******* 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-uefigjntyxrp/tests/tests_add_rm.yml:88 Monday 26 February 2024 20:02:55 +0000 (0:00:00.334) 0:01:31.300 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:92 Monday 26 February 2024 20:02:55 +0000 (0:00:00.021) 0:01:31.321 ******* 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.052224", "end": "2024-02-26 20:02:56.064501", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 20:02:56.012277" } 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.052357", "end": "2024-02-26 20:02:56.317739", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 20:02:56.265382" } STDERR: The param /boot/vmlinuz-5.14.0-419.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 20:02:56 +0000 (0:00:00.522) 0:01:31.844 ******* 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.122717", "end": "2024-02-26 20:02:56.662373", "rc": 0, "start": "2024-02-26 20:02:56.539656" } 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 [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 20:02:56 +0000 (0:00:00.346) 0:01:32.190 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:02:56 +0000 (0:00:00.015) 0:01:32.206 ******* changed: [sut] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:03:23 +0000 (0:00:26.522) 0:01:58.728 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:03:23 +0000 (0:00:00.008) 0:01:58.736 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=96 changed=14 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Monday 26 February 2024 20:03:23 +0000 (0:00:00.010) 0:01:58.747 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.06s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 27.65s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 26.52s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.01s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.71s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.71s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.46s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.41s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.38s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.10s /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:7 ----------------- Clone test_kernel kernel and initrd for test purposes ------------------- 1.08s /WORKDIR/git-bios-uefigjntyxrp/tests/tasks/clone_kernel.yml:7 ----------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.61s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Remove cloned kernels --------------------------------------------------- 0.52s /WORKDIR/git-bios-uefigjntyxrp/tests/tests_add_rm.yml:92 ---------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.47s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.46s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.42s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.40s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---