# 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-uefi9sxtpza4/.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-uefi9sxtpza4/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:13 Monday 26 February 2024 18:40:59 +0000 (0:00:00.028) 0:00:00.028 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:40:59 +0000 (0:00:00.021) 0:00:00.049 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:40:59 +0000 (0:00:00.010) 0:00:00.060 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:40:59 +0000 (0:00:00.559) 0:00:00.620 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:40:59 +0000 (0:00:00.245) 0:00:00.865 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:40:59 +0000 (0:00:00.014) 0:00:00.879 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:40:59 +0000 (0:00:00.019) 0:00:00.899 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:41:02 +0000 (0:00:02.364) 0:00:03.264 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:41:02 +0000 (0:00:00.185) 0:00:03.450 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:41:02 +0000 (0:00:00.021) 0:00:03.471 ******* 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 : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:41:02 +0000 (0:00:00.202) 0:00:03.673 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:41:03 +0000 (0:00:00.254) 0:00:03.928 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:41:03 +0000 (0:00:00.009) 0:00:03.938 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:41:03 +0000 (0:00:00.006) 0:00:03.945 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:41:03 +0000 (0:00:00.006) 0:00:03.951 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:41:03 +0000 (0:00:00.245) 0:00:04.197 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:41:03 +0000 (0:00:00.010) 0:00:04.207 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:41:03 +0000 (0:00:00.009) 0:00:04.216 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:41:03 +0000 (0:00:00.013) 0:00:04.230 ******* 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-uefi9sxtpza4/tests/tests_add_rm.yml:19 Monday 26 February 2024 18:41:03 +0000 (0:00:00.364) 0:00:04.595 ******* 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-uefi9sxtpza4/tests/tests_add_rm.yml:26 Monday 26 February 2024 18:41:03 +0000 (0:00:00.001) 0:00:04.596 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:29 Monday 26 February 2024 18:41:03 +0000 (0:00:00.000) 0:00:04.597 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 18:41:03 +0000 (0:00:00.011) 0:00:04.609 ******* 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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 18:41:03 +0000 (0:00:00.020) 0:00:04.630 ******* 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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 18:41:04 +0000 (0:00:00.894) 0:00:05.524 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:41:04 +0000 (0:00:00.031) 0:00:05.556 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:41:04 +0000 (0:00:00.018) 0:00:05.574 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:41:04 +0000 (0:00:00.018) 0:00:05.593 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:41:04 +0000 (0:00:00.012) 0:00:05.605 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:41:04 +0000 (0:00:00.011) 0:00:05.617 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:41:04 +0000 (0:00:00.019) 0:00:05.636 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:41:06 +0000 (0:00:01.313) 0:00:06.950 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:41:06 +0000 (0:00:00.183) 0:00:07.133 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:41:06 +0000 (0:00:00.021) 0:00:07.155 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708972862.7180746, "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 : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:41:06 +0000 (0:00:00.205) 0:00:07.360 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:41:06 +0000 (0:00:00.219) 0:00:07.579 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:41:06 +0000 (0:00:00.010) 0:00:07.589 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:41:06 +0000 (0:00:00.007) 0:00:07.597 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:41:06 +0000 (0:00:00.007) 0:00:07.605 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:41:07 +0000 (0:00:00.419) 0:00:08.024 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:41:07 +0000 (0:00:00.010) 0:00:08.034 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:41:07 +0000 (0:00:00.009) 0:00:08.044 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:41:07 +0000 (0:00:00.014) 0:00:08.058 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 18:41:07 +0000 (0:00:00.014) 0:00:08.072 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 18:41:07 +0000 (0:00:00.001) 0:00:08.074 ******* 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.145347", "end": "2024-02-26 18:41:07.520836", "rc": 0, "start": "2024-02-26 18:41:07.375489" } 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 18:41:07 +0000 (0:00:00.390) 0:00:08.464 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:41:07 +0000 (0:00:00.009) 0:00:08.474 ******* changed: [sut] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:41:46 +0000 (0:00:39.011) 0:00:47.485 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:41:46 +0000 (0:00:00.006) 0:00:47.492 ******* 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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 18:41:46 +0000 (0:00:00.008) 0:00:47.500 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 18:41:46 +0000 (0:00:00.008) 0:00:47.509 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:41:46 +0000 (0:00:00.025) 0:00:47.534 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:41:46 +0000 (0:00:00.010) 0:00:47.545 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:41:46 +0000 (0:00:00.015) 0:00:47.560 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:41:46 +0000 (0:00:00.009) 0:00:47.569 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:41:46 +0000 (0:00:00.008) 0:00:47.578 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:41:46 +0000 (0:00:00.016) 0:00:47.595 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:41:49 +0000 (0:00:02.768) 0:00:50.364 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:41:49 +0000 (0:00:00.187) 0:00:50.551 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:41:49 +0000 (0:00:00.020) 0:00:50.572 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708972867.5201142, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708972867.5191143, "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": 1708972867.5191143, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "661785142", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:41:49 +0000 (0:00:00.246) 0:00:50.819 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:41:50 +0000 (0:00:00.224) 0:00:51.043 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:41:50 +0000 (0:00:00.009) 0:00:51.052 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:41:50 +0000 (0:00:00.007) 0:00:51.060 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:41:50 +0000 (0:00:00.007) 0:00:51.067 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:41:50 +0000 (0:00:00.190) 0:00:51.257 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:41:50 +0000 (0:00:00.010) 0:00:51.268 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:41:50 +0000 (0:00:00.010) 0:00:51.278 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:41:50 +0000 (0:00:00.014) 0:00:51.292 ******* 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": "4c8a2a62a74f4f0caf574e7f3fdddcc4-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-uefi9sxtpza4/tests/tests_add_rm.yml:35 Monday 26 February 2024 18:41:50 +0000 (0:00:00.355) 0:00:51.648 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:44 Monday 26 February 2024 18:41:50 +0000 (0:00:00.020) 0:00:51.669 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:41:50 +0000 (0:00:00.024) 0:00:51.693 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:41:50 +0000 (0:00:00.010) 0:00:51.703 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:41:50 +0000 (0:00:00.015) 0:00:51.719 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:41:50 +0000 (0:00:00.009) 0:00:51.728 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:41:50 +0000 (0:00:00.008) 0:00:51.737 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:41:50 +0000 (0:00:00.016) 0:00:51.753 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:41:52 +0000 (0:00:01.221) 0:00:52.975 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:41:52 +0000 (0:00:00.187) 0:00:53.162 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:41:52 +0000 (0:00:00.021) 0:00:53.184 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708972867.5201142, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708972867.5191143, "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": 1708972867.5191143, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "661785142", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:41:52 +0000 (0:00:00.199) 0:00:53.384 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:41:52 +0000 (0:00:00.200) 0:00:53.585 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:41:52 +0000 (0:00:00.010) 0:00:53.595 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:41:52 +0000 (0:00:00.009) 0:00:53.604 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:41:52 +0000 (0:00:00.006) 0:00:53.611 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:41:53 +0000 (0:00:00.443) 0:00:54.055 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:41:53 +0000 (0:00:00.010) 0:00:54.066 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:41:53 +0000 (0:00:00.009) 0:00:54.075 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:41:53 +0000 (0:00:00.013) 0:00:54.088 ******* 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-uefi9sxtpza4/tests/tests_add_rm.yml:61 Monday 26 February 2024 18:41:53 +0000 (0:00:00.306) 0:00:54.395 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:65 Monday 26 February 2024 18:41:53 +0000 (0:00:00.020) 0:00:54.415 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 18:41:53 +0000 (0:00:00.014) 0:00:54.430 ******* 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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 18:41:53 +0000 (0:00:00.020) 0:00:54.450 ******* 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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 18:41:54 +0000 (0:00:00.825) 0:00:55.276 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:41:54 +0000 (0:00:00.018) 0:00:55.294 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:41:54 +0000 (0:00:00.010) 0:00:55.305 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:41:54 +0000 (0:00:00.016) 0:00:55.321 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:41:54 +0000 (0:00:00.009) 0:00:55.331 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:41:54 +0000 (0:00:00.009) 0:00:55.341 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:41:54 +0000 (0:00:00.017) 0:00:55.359 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:41:55 +0000 (0:00:01.246) 0:00:56.605 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:41:55 +0000 (0:00:00.185) 0:00:56.790 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:41:55 +0000 (0:00:00.021) 0:00:56.812 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708972867.5201142, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708972867.5191143, "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": 1708972867.5191143, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "661785142", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:41:56 +0000 (0:00:00.200) 0:00:57.012 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:41:56 +0000 (0:00:00.199) 0:00:57.212 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:41:56 +0000 (0:00:00.009) 0:00:57.222 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:41:56 +0000 (0:00:00.007) 0:00:57.229 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:41:56 +0000 (0:00:00.006) 0:00:57.236 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:41:56 +0000 (0:00:00.418) 0:00:57.654 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:41:56 +0000 (0:00:00.010) 0:00:57.665 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:41:56 +0000 (0:00:00.008) 0:00:57.674 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:41:56 +0000 (0:00:00.014) 0:00:57.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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 18:41:56 +0000 (0:00:00.014) 0:00:57.703 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 18:41:56 +0000 (0:00:00.002) 0:00:57.705 ******* 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.144993", "end": "2024-02-26 18:41:57.096134", "rc": 0, "start": "2024-02-26 18:41:56.951141" } 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 18:41:57 +0000 (0:00:00.335) 0:00:58.040 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:41:57 +0000 (0:00:00.007) 0:00:58.048 ******* changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:42:34 +0000 (0:00:37.808) 0:01:35.857 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:42:34 +0000 (0:00:00.007) 0:01:35.864 ******* 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-uefi9sxtpza4/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 18:42:34 +0000 (0:00:00.009) 0:01:35.873 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 18:42:34 +0000 (0:00:00.008) 0:01:35.882 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:42:34 +0000 (0:00:00.025) 0:01:35.907 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:42:34 +0000 (0:00:00.010) 0:01:35.918 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:42:35 +0000 (0:00:00.016) 0:01:35.934 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:42:35 +0000 (0:00:00.009) 0:01:35.944 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:42:35 +0000 (0:00:00.009) 0:01:35.954 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:42:35 +0000 (0:00:00.016) 0:01:35.970 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:42:38 +0000 (0:00:03.195) 0:01:39.166 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:42:38 +0000 (0:00:00.190) 0:01:39.356 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:42:38 +0000 (0:00:00.021) 0:01:39.378 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708972917.0946848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708972917.093685, "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": 1708972917.093685, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "805440446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:42:38 +0000 (0:00:00.268) 0:01:39.647 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:42:38 +0000 (0:00:00.201) 0:01:39.849 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:42:38 +0000 (0:00:00.009) 0:01:39.858 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:42:38 +0000 (0:00:00.007) 0:01:39.865 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:42:38 +0000 (0:00:00.006) 0:01:39.872 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:42:39 +0000 (0:00:00.190) 0:01:40.062 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:42:39 +0000 (0:00:00.010) 0:01:40.073 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:42:39 +0000 (0:00:00.009) 0:01:40.083 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:42:39 +0000 (0:00:00.013) 0:01:40.096 ******* 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": "4c8a2a62a74f4f0caf574e7f3fdddcc4-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-uefi9sxtpza4/tests/tests_add_rm.yml:71 Monday 26 February 2024 18:42:39 +0000 (0:00:00.343) 0:01:40.439 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:78 Monday 26 February 2024 18:42:39 +0000 (0:00:00.020) 0:01:40.460 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:42:39 +0000 (0:00:00.031) 0:01:40.491 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:42:39 +0000 (0:00:00.010) 0:01:40.502 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:42:39 +0000 (0:00:00.015) 0:01:40.518 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:42:39 +0000 (0:00:00.010) 0:01:40.528 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:42:39 +0000 (0:00:00.009) 0:01:40.538 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:42:39 +0000 (0:00:00.016) 0:01:40.554 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:42:40 +0000 (0:00:01.229) 0:01:41.784 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 18:42:41 +0000 (0:00:00.184) 0:01:41.968 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 18:42:41 +0000 (0:00:00.021) 0:01:41.990 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708972917.0946848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708972917.093685, "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": 1708972917.093685, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "805440446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 18:42:41 +0000 (0:00:00.202) 0:01:42.192 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 26 February 2024 18:42:41 +0000 (0:00:00.199) 0:01:42.391 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:55 Monday 26 February 2024 18:42:41 +0000 (0:00:00.009) 0:01:42.401 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:62 Monday 26 February 2024 18:42:41 +0000 (0:00:00.007) 0:01:42.408 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 18:42:41 +0000 (0:00:00.006) 0:01:42.415 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 26 February 2024 18:42:41 +0000 (0:00:00.431) 0:01:42.847 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Monday 26 February 2024 18:42:41 +0000 (0:00:00.010) 0:01:42.857 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Monday 26 February 2024 18:42:41 +0000 (0:00:00.009) 0:01:42.867 ******* 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Monday 26 February 2024 18:42:41 +0000 (0:00:00.013) 0:01:42.880 ******* 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-uefi9sxtpza4/tests/tests_add_rm.yml:88 Monday 26 February 2024 18:42:42 +0000 (0:00:00.306) 0:01:43.187 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:92 Monday 26 February 2024 18:42:42 +0000 (0:00:00.020) 0:01:43.208 ******* 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.049041", "end": "2024-02-26 18:42:42.502877", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 18:42:42.453836" } 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.049182", "end": "2024-02-26 18:42:42.734094", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 18:42:42.684912" } 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 18:42:42 +0000 (0:00:00.470) 0:01:43.678 ******* 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.115190", "end": "2024-02-26 18:42:43.040743", "rc": 0, "start": "2024-02-26 18:42:42.925553" } 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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 18:42:43 +0000 (0:00:00.305) 0:01:43.984 ******* included: /WORKDIR/git-bios-uefi9sxtpza4/.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-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:42:43 +0000 (0:00:00.008) 0:01:43.992 ******* changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:43:19 +0000 (0:00:36.809) 0:02:20.801 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:43:19 +0000 (0:00:00.006) 0:02:20.808 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=82 changed=13 unreachable=0 failed=0 skipped=72 rescued=0 ignored=0 Monday 26 February 2024 18:43:19 +0000 (0:00:00.009) 0:02:20.818 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 39.01s /WORKDIR/git-bios-uefi9sxtpza4/.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 -- 37.81s /WORKDIR/git-bios-uefi9sxtpza4/.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 -- 36.81s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.20s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.77s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.36s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.89s /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:7 ----------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.83s /WORKDIR/git-bios-uefi9sxtpza4/tests/tasks/clone_kernel.yml:7 ----------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.56s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Remove cloned kernels --------------------------------------------------- 0.47s /WORKDIR/git-bios-uefi9sxtpza4/tests/tests_add_rm.yml:92 ---------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.44s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.42s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.42s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.39s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.36s /WORKDIR/git-bios-uefi9sxtpza4/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---