# 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-uefidque7wnx/.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_settings.yml *************************************************** 1 plays in /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:13 Monday 26 February 2024 18:19:44 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:19:44 +0000 (0:00:00.021) 0:00:00.033 ******* included: /WORKDIR/git-bios-uefidque7wnx/.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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:19:44 +0000 (0:00:00.010) 0:00:00.043 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:19:45 +0000 (0:00:00.585) 0:00:00.628 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:19:45 +0000 (0:00:00.264) 0:00:00.892 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:19:45 +0000 (0:00:00.014) 0:00:00.907 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:19:45 +0000 (0:00:00.017) 0:00:00.924 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:19:46 +0000 (0:00:01.419) 0:00:02.343 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 18:19:47 +0000 (0:00:00.259) 0:00:02.602 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 18:19:47 +0000 (0:00:00.195) 0:00:02.798 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 18:19:47 +0000 (0:00:00.022) 0:00:02.820 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971577.9879875, "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 18:19:47 +0000 (0:00:00.211) 0:00:03.032 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 18:19:47 +0000 (0:00:00.277) 0:00:03.310 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:57 Monday 26 February 2024 18:19:47 +0000 (0:00:00.012) 0:00:03.322 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 18:19:47 +0000 (0:00:00.007) 0:00:03.330 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 18:19:47 +0000 (0:00:00.010) 0:00:03.341 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 18:19:47 +0000 (0:00:00.009) 0:00:03.350 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 18:19:47 +0000 (0:00:00.013) 0:00:03.364 ******* 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-uefidque7wnx/tests/tests_settings.yml:19 Monday 26 February 2024 18:19:48 +0000 (0:00:00.387) 0:00:03.752 ******* 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-uefidque7wnx/tests/tests_settings.yml:26 Monday 26 February 2024 18:19:48 +0000 (0:00:00.001) 0:00:03.754 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:29 Monday 26 February 2024 18:19:48 +0000 (0:00:00.000) 0:00:03.755 ******* included: /WORKDIR/git-bios-uefidque7wnx/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 18:19:48 +0000 (0:00:00.011) 0:00:03.766 ******* 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-uefidque7wnx/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 18:19:48 +0000 (0:00:00.019) 0:00:03.785 ******* 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-uefidque7wnx/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 18:19:49 +0000 (0:00:00.952) 0:00:04.738 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:19:49 +0000 (0:00:00.018) 0:00:04.756 ******* included: /WORKDIR/git-bios-uefidque7wnx/.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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:19:49 +0000 (0:00:00.010) 0:00:04.767 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:19:49 +0000 (0:00:00.015) 0:00:04.782 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:19:49 +0000 (0:00:00.009) 0:00:04.791 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:19:49 +0000 (0:00:00.008) 0:00:04.800 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:19:49 +0000 (0:00:00.016) 0:00:04.816 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:19:50 +0000 (0:00:01.277) 0:00:06.094 ******* 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 : Determine platform type] ********** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 18:19:50 +0000 (0:00:00.438) 0:00:06.532 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 18:19:51 +0000 (0:00:00.193) 0:00:06.726 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 18:19:51 +0000 (0:00:00.020) 0:00:06.746 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971577.9879875, "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 18:19:51 +0000 (0:00:00.212) 0:00:06.958 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 18:19:51 +0000 (0:00:00.209) 0:00:07.168 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:57 Monday 26 February 2024 18:19:51 +0000 (0:00:00.009) 0:00:07.177 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 18:19:51 +0000 (0:00:00.006) 0:00:07.184 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 18:19:51 +0000 (0:00:00.009) 0:00:07.193 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 18:19:51 +0000 (0:00:00.008) 0:00:07.202 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 18:19:51 +0000 (0:00:00.012) 0:00:07.214 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 18:19:51 +0000 (0:00:00.013) 0:00:07.228 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 18:19:51 +0000 (0:00:00.001) 0:00:07.230 ******* 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.150597", "end": "2024-02-26 18:19:52.054493", "rc": 0, "start": "2024-02-26 18:19:51.903896" } 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 18:19:52 +0000 (0:00:00.414) 0:00:07.644 ******* included: /WORKDIR/git-bios-uefidque7wnx/.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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:19:52 +0000 (0:00:00.008) 0:00:07.652 ******* changed: [sut] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:20:14 +0000 (0:00:22.276) 0:00:29.929 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:20:14 +0000 (0:00:00.006) 0:00:29.936 ******* 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-uefidque7wnx/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 18:20:14 +0000 (0:00:00.008) 0:00:29.944 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 18:20:14 +0000 (0:00:00.008) 0:00:29.953 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:20:14 +0000 (0:00:00.022) 0:00:29.975 ******* included: /WORKDIR/git-bios-uefidque7wnx/.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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:20:14 +0000 (0:00:00.010) 0:00:29.986 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:20:14 +0000 (0:00:00.016) 0:00:30.002 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:20:14 +0000 (0:00:00.009) 0:00:30.012 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:20:14 +0000 (0:00:00.009) 0:00:30.021 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:20:14 +0000 (0:00:00.016) 0:00:30.038 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:20:17 +0000 (0:00:03.037) 0:00:33.076 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 18:20:17 +0000 (0:00:00.206) 0:00:33.283 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 18:20:17 +0000 (0:00:00.200) 0:00:33.483 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 18:20:17 +0000 (0:00:00.021) 0:00:33.505 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971592.0530245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708971592.0520246, "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": 1708971592.0520246, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "1250131703", "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 18:20:18 +0000 (0:00:00.241) 0:00:33.746 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 18:20:18 +0000 (0:00:00.219) 0:00:33.966 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:57 Monday 26 February 2024 18:20:18 +0000 (0:00:00.009) 0:00:33.975 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 18:20:18 +0000 (0:00:00.006) 0:00:33.982 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 18:20:18 +0000 (0:00:00.010) 0:00:33.992 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 18:20:18 +0000 (0:00:00.009) 0:00:34.002 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 18:20:18 +0000 (0:00:00.013) 0:00:34.016 ******* 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": "c0309f7b52754415888bb528be8348b8-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 that default bootloader is correct in bootloader_gather_facts] **** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:35 Monday 26 February 2024 18:20:18 +0000 (0:00:00.374) 0:00:34.390 ******* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.063383", "end": "2024-02-26 18:20:19.075034", "failed_when_result": false, "rc": 0, "start": "2024-02-26 18:20:19.011651" } STDOUT: /boot/vmlinuz-5.14.0-419.el9.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:44 Monday 26 February 2024 18:20:19 +0000 (0:00:00.280) 0:00:34.671 ******* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "c0309f7b52754415888bb528be8348b8-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 [Replace configuration with settings using kernel index] ****************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:48 Monday 26 February 2024 18:20:19 +0000 (0:00:00.019) 0:00:34.691 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 18:20:19 +0000 (0:00:00.023) 0:00:34.714 ******* included: /WORKDIR/git-bios-uefidque7wnx/.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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:20:19 +0000 (0:00:00.009) 0:00:34.724 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 18:20:19 +0000 (0:00:00.015) 0:00:34.739 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 18:20:19 +0000 (0:00:00.009) 0:00:34.748 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 18:20:19 +0000 (0:00:00.008) 0:00:34.757 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 18:20:19 +0000 (0:00:00.018) 0:00:34.776 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 18:20:20 +0000 (0:00:01.283) 0:00:36.060 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --update-kernel=2 --remove-args='ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel'", "grubby --update-kernel=2 --args='console=tty0 print-fatal-signals=1 no_timer_check quiet'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 18:20:21 +0000 (0:00:01.187) 0:00:37.247 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 18:20:21 +0000 (0:00:00.203) 0:00:37.451 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 18:20:21 +0000 (0:00:00.020) 0:00:37.471 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971621.619355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "615583aa8dcc052b75037602d8ca8301a3506859", "ctime": 1708971621.619355, "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": 1708971621.619355, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3783640145", "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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 18:20:22 +0000 (0:00:00.217) 0:00:37.689 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 18:20:22 +0000 (0:00:00.211) 0:00:37.901 ******* changed: [sut] => { "changed": true, "cmd": [ "grub2-mkconfig", "-o", "/boot/grub2/grub.cfg" ], "delta": "0:00:01.889205", "end": "2024-02-26 18:20:24.409218", "rc": 0, "start": "2024-02-26 18:20:22.520013" } STDERR: Generating grub configuration file ... Adding boot menu entry for UEFI Firmware Settings ... done TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:57 Monday 26 February 2024 18:20:24 +0000 (0:00:02.098) 0:00:39.999 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 18:20:24 +0000 (0:00:00.007) 0:00:40.007 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 18:20:24 +0000 (0:00:00.009) 0:00:40.016 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 18:20:24 +0000 (0:00:00.008) 0:00:40.025 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 18:20:24 +0000 (0:00:00.013) 0:00:40.039 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug", "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 ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug", "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 ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug", "default": false, "id": "c0309f7b52754415888bb528be8348b8-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 [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:71 Monday 26 February 2024 18:20:24 +0000 (0:00:00.363) 0:00:40.402 ******* 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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 18:20:24 +0000 (0:00:00.001) 0:00:40.404 ******* 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.152250", "end": "2024-02-26 18:20:25.171481", "rc": 0, "start": "2024-02-26 18:20:25.019231" } STDOUT: args="ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug" GRUB_TIMEOUT=6 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 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 18:20:25 +0000 (0:00:00.356) 0:00:40.760 ******* included: /WORKDIR/git-bios-uefidque7wnx/.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-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:20:25 +0000 (0:00:00.007) 0:00:40.768 ******* changed: [sut] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:20:51 +0000 (0:00:26.006) 0:01:06.775 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:20:51 +0000 (0:00:00.006) 0:01:06.782 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:74 Monday 26 February 2024 18:20:51 +0000 (0:00:00.009) 0:01:06.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:78 Monday 26 February 2024 18:20:51 +0000 (0:00:00.017) 0:01:06.809 ******* fatal: [sut]: FAILED! => { "assertion": "(bootloader_facts | selectattr('index', 'search', cloned_kernel.index) | first).args | regex_search('^.*console=tty0 print-fatal-signals=1 no_timer_check quiet debug( |)$')", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:169 Monday 26 February 2024 18:20:51 +0000 (0:00:00.019) 0:01:06.828 ******* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1" ], "delta": "0:00:00.112666", "end": "2024-02-26 18:20:50.520205", "failed_when_result": false, "rc": 0, "start": "2024-02-26 18:20:50.407539" } to retry, use: --limit @/tmp/tests_settings.retry PLAY RECAP ********************************************************************* sut : ok=51 changed=10 unreachable=0 failed=1 skipped=35 rescued=0 ignored=0 Monday 26 February 2024 18:20:51 +0000 (0:00:00.352) 0:01:07.181 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 26.01s /WORKDIR/git-bios-uefidque7wnx/.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 -- 22.28s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.04s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg --- 2.10s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.19s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Clone test_kernel kernel and initrd for test purposes ------------------- 0.95s /WORKDIR/git-bios-uefidque7wnx/tests/tasks/clone_kernel.yml:7 ----------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.59s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.44s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.41s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.39s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.37s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.36s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.36s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Remove cloned kernels --------------------------------------------------- 0.35s /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:169 ------------------- Verify that default bootloader is correct in bootloader_gather_facts ---- 0.28s /WORKDIR/git-bios-uefidque7wnx/tests/tests_settings.yml:35 -------------------- fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.28s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.26s /WORKDIR/git-bios-uefidque7wnx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---