# 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-uefiucgj_wux/.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-uefiucgj_wux/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:13 Monday 26 February 2024 20:52:35 +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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:52:35 +0000 (0:00:00.021) 0:00:00.033 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:52:35 +0000 (0:00:00.010) 0:00:00.044 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:52:36 +0000 (0:00:00.564) 0:00:00.609 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:52:36 +0000 (0:00:00.244) 0:00:00.853 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:52:36 +0000 (0:00:00.015) 0:00:00.869 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:52:36 +0000 (0:00:00.019) 0:00:00.888 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:52:39 +0000 (0:00:02.912) 0:00:03.801 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:52:39 +0000 (0:00:00.181) 0:00:03.982 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:52:39 +0000 (0:00:00.021) 0:00:04.004 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707816142.602, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:52:39 +0000 (0:00:00.200) 0:00:04.204 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707816143.423, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "90a708edb3fb234f2a5f4e28e98a362fad44972c", "ctime": 1707816143.424, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 743562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1707816143.424, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "3490282986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:52:39 +0000 (0:00:00.200) 0:00:04.405 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:52:39 +0000 (0:00:00.007) 0:00:04.413 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:52:40 +0000 (0:00:00.254) 0:00:04.667 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:52:40 +0000 (0:00:00.194) 0:00:04.861 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:52:40 +0000 (0:00:00.244) 0:00:05.105 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:52:40 +0000 (0:00:00.011) 0:00:05.116 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:52:40 +0000 (0:00:00.009) 0:00:05.126 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:52:40 +0000 (0:00:00.013) 0:00:05.139 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:19 Monday 26 February 2024 20:52:41 +0000 (0:00:00.585) 0:00:05.725 ******* 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-uefiucgj_wux/tests/tests_add_rm.yml:26 Monday 26 February 2024 20:52:41 +0000 (0:00:00.001) 0:00:05.727 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:29 Monday 26 February 2024 20:52:41 +0000 (0:00:00.000) 0:00:05.727 ******* included: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:52:41 +0000 (0:00:00.011) 0:00:05.738 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 20:52:41 +0000 (0:00:00.021) 0:00:05.760 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-536.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d3c3269ba472ad87de08aa46eed0c715fd0e7af", "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64" }, "md5sum": "a71f8e10f5824a9747a6ece11fd3de44", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11077344, "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-536.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ee1fac4cf986bce1fd4d97d7531ab457d6ee43c2", "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img" }, "md5sum": "77e440a10b8091b55a6f9146a74d5e3b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31355563, "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 20:52:41 +0000 (0:00:00.796) 0:00:06.556 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:52:41 +0000 (0:00:00.019) 0:00:06.575 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:52:41 +0000 (0:00:00.011) 0:00:06.587 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:52:42 +0000 (0:00:00.017) 0:00:06.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 flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:52:42 +0000 (0:00:00.010) 0:00:06.615 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:52:42 +0000 (0:00:00.009) 0:00:06.625 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:52:42 +0000 (0:00:00.021) 0:00:06.646 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:52:44 +0000 (0:00:02.793) 0:00:09.440 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:52:45 +0000 (0:00:00.182) 0:00:09.623 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:52:45 +0000 (0:00:00.021) 0:00:09.644 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980759.586695, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:52:45 +0000 (0:00:00.197) 0:00:09.842 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980760.252669, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980760.253669, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980760.252669, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "81370033", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:52:45 +0000 (0:00:00.197) 0:00:10.039 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:52:45 +0000 (0:00:00.007) 0:00:10.047 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:52:45 +0000 (0:00:00.192) 0:00:10.239 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:52:45 +0000 (0:00:00.193) 0:00:10.433 ******* 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-4.18.0-536.el8.x86_64_clone1 --initrd=/boot/initramfs-4.18.0-536.el8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:52:46 +0000 (0:00:00.450) 0:00:10.884 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:52:46 +0000 (0:00:00.011) 0:00:10.896 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:52:46 +0000 (0:00:00.009) 0:00:10.905 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:52:46 +0000 (0:00:00.015) 0:00:10.921 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 20:52:46 +0000 (0:00:00.016) 0:00:10.937 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 20:52:46 +0000 (0:00:00.001) 0:00:10.939 ******* 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.177340", "end": "2024-02-26 20:52:46.754497", "rc": 0, "start": "2024-02-26 20:52:46.577157" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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="crashkernel=auto net.ifnames=0 rhgb quiet" 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 crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 20:52:46 +0000 (0:00:00.423) 0:00:11.362 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:52:46 +0000 (0:00:00.008) 0:00:11.371 ******* changed: [sut] => { "changed": true, "elapsed": 52, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:53:40 +0000 (0:00:53.427) 0:01:04.798 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:01:04.807 ******* 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-uefiucgj_wux/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:01:04.815 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:01:04.823 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:40 +0000 (0:00:00.024) 0:01:04.847 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:40 +0000 (0:00:00.012) 0:01:04.860 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:53:40 +0000 (0:00:00.016) 0:01:04.877 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:53:40 +0000 (0:00:00.009) 0:01:04.887 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:53:40 +0000 (0:00:00.009) 0:01:04.897 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:40 +0000 (0:00:00.017) 0:01:04.914 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:53:44 +0000 (0:00:04.626) 0:01:09.541 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:53:45 +0000 (0:00:00.186) 0:01:09.728 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:53:45 +0000 (0:00:00.023) 0:01:09.751 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980766.753418, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980766.752418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980766.752418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2726986023", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:53:45 +0000 (0:00:00.203) 0:01:09.954 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980765.4194696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980760.253669, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980760.252669, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "81370033", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:53:45 +0000 (0:00:00.209) 0:01:10.164 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:53:45 +0000 (0:00:00.009) 0:01:10.174 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:53:45 +0000 (0:00:00.199) 0:01:10.374 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:53:45 +0000 (0:00:00.195) 0:01:10.570 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:53:46 +0000 (0:00:00.190) 0:01:10.760 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:53:46 +0000 (0:00:00.011) 0:01:10.771 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:53:46 +0000 (0:00:00.009) 0:01:10.780 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:53:46 +0000 (0:00:00.013) 0:01:10.794 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "66467c3fcdcf442aa67fc63049f540e8-4.18.0-536.el8.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "1", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:35 Monday 26 February 2024 20:53:46 +0000 (0:00:00.391) 0:01:11.185 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:44 Monday 26 February 2024 20:53:46 +0000 (0:00:00.022) 0:01:11.208 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:46 +0000 (0:00:00.024) 0:01:11.232 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:46 +0000 (0:00:00.010) 0:01:11.243 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:53:46 +0000 (0:00:00.016) 0:01:11.259 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:53:46 +0000 (0:00:00.010) 0:01:11.269 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:53:46 +0000 (0:00:00.009) 0:01:11.278 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:46 +0000 (0:00:00.016) 0:01:11.294 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:53:49 +0000 (0:00:02.806) 0:01:14.101 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:53:49 +0000 (0:00:00.181) 0:01:14.283 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:53:49 +0000 (0:00:00.020) 0:01:14.303 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980766.753418, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980766.752418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980766.752418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2726986023", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:53:49 +0000 (0:00:00.203) 0:01:14.506 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980765.4194696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980760.253669, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980760.252669, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "81370033", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:53:50 +0000 (0:00:00.204) 0:01:14.711 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:53:50 +0000 (0:00:00.007) 0:01:14.718 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:53:50 +0000 (0:00:00.195) 0:01:14.913 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:53:50 +0000 (0:00:00.202) 0:01:15.116 ******* 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-4.18.0-536.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:53:51 +0000 (0:00:00.502) 0:01:15.618 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:53:51 +0000 (0:00:00.011) 0:01:15.629 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:53:51 +0000 (0:00:00.010) 0:01:15.639 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:53:51 +0000 (0:00:00.013) 0:01:15.653 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:61 Monday 26 February 2024 20:53:51 +0000 (0:00:00.334) 0:01:15.987 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:65 Monday 26 February 2024 20:53:51 +0000 (0:00:00.020) 0:01:16.007 ******* included: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:53:51 +0000 (0:00:00.013) 0:01:16.021 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 20:53:51 +0000 (0:00:00.020) 0:01:16.041 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-536.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d3c3269ba472ad87de08aa46eed0c715fd0e7af", "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64" }, "md5sum": "a71f8e10f5824a9747a6ece11fd3de44", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11077344, "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-536.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ee1fac4cf986bce1fd4d97d7531ab457d6ee43c2", "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img" }, "md5sum": "77e440a10b8091b55a6f9146a74d5e3b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31355563, "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 20:53:52 +0000 (0:00:00.753) 0:01:16.795 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:52 +0000 (0:00:00.017) 0:01:16.813 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:52 +0000 (0:00:00.010) 0:01:16.824 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:53:52 +0000 (0:00:00.015) 0:01:16.839 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:53:52 +0000 (0:00:00.009) 0:01:16.849 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:53:52 +0000 (0:00:00.009) 0:01:16.859 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:52 +0000 (0:00:00.017) 0:01:16.876 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:53:55 +0000 (0:00:02.743) 0:01:19.620 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:53:55 +0000 (0:00:00.183) 0:01:19.804 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:53:55 +0000 (0:00:00.022) 0:01:19.826 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980766.753418, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980766.752418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980766.752418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2726986023", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:53:55 +0000 (0:00:00.197) 0:01:20.024 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980765.4194696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980760.253669, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980760.252669, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "81370033", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:53:55 +0000 (0:00:00.201) 0:01:20.225 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:53:55 +0000 (0:00:00.007) 0:01:20.233 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:53:55 +0000 (0:00:00.202) 0:01:20.436 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:53:56 +0000 (0:00:00.194) 0:01:20.630 ******* 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-4.18.0-536.el8.x86_64_clone2 --initrd=/boot/initramfs-4.18.0-536.el8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:53:56 +0000 (0:00:00.455) 0:01:21.086 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:53:56 +0000 (0:00:00.010) 0:01:21.096 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:53:56 +0000 (0:00:00.009) 0:01:21.106 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:53:56 +0000 (0:00:00.017) 0:01:21.123 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 20:53:56 +0000 (0:00:00.014) 0:01:21.138 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 20:53:56 +0000 (0:00:00.001) 0:01:21.140 ******* 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.177015", "end": "2024-02-26 20:53:56.899180", "rc": 0, "start": "2024-02-26 20:53:56.722165" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 crashkernel=auto net.ifnames=0 rhgb quiet " 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 crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 20:53:56 +0000 (0:00:00.364) 0:01:21.504 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:53:56 +0000 (0:00:00.009) 0:01:21.513 ******* changed: [sut] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:54:45 +0000 (0:00:48.317) 0:02:09.831 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:54:45 +0000 (0:00:00.008) 0:02:09.839 ******* 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-uefiucgj_wux/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 20:54:45 +0000 (0:00:00.010) 0:02:09.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 20:54:45 +0000 (0:00:00.008) 0:02:09.858 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:54:45 +0000 (0:00:00.023) 0:02:09.881 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:54:45 +0000 (0:00:00.010) 0:02:09.892 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:54:45 +0000 (0:00:00.015) 0:02:09.907 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:54:45 +0000 (0:00:00.009) 0:02:09.916 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:54:45 +0000 (0:00:00.009) 0:02:09.925 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:54:45 +0000 (0:00:00.015) 0:02:09.941 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:54:49 +0000 (0:00:04.628) 0:02:14.569 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:54:50 +0000 (0:00:00.184) 0:02:14.754 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:54:50 +0000 (0:00:00.021) 0:02:14.775 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980836.8987474, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980836.8977475, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980836.8977475, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1204175010", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:54:50 +0000 (0:00:00.200) 0:02:14.976 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980765.4194696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980760.253669, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980760.252669, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "81370033", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:54:50 +0000 (0:00:00.200) 0:02:15.176 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:54:50 +0000 (0:00:00.007) 0:02:15.184 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:54:50 +0000 (0:00:00.195) 0:02:15.380 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:54:50 +0000 (0:00:00.198) 0:02:15.578 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:54:51 +0000 (0:00:00.189) 0:02:15.767 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:54:51 +0000 (0:00:00.011) 0:02:15.779 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:54:51 +0000 (0:00:00.010) 0:02:15.789 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:54:51 +0000 (0:00:00.013) 0:02:15.802 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "66467c3fcdcf442aa67fc63049f540e8-4.18.0-536.el8.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "1", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:71 Monday 26 February 2024 20:54:51 +0000 (0:00:00.370) 0:02:16.173 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:78 Monday 26 February 2024 20:54:51 +0000 (0:00:00.020) 0:02:16.193 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:54:51 +0000 (0:00:00.029) 0:02:16.223 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:54:51 +0000 (0:00:00.010) 0:02:16.233 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:54:51 +0000 (0:00:00.016) 0:02:16.250 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:54:51 +0000 (0:00:00.010) 0:02:16.260 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:54:51 +0000 (0:00:00.009) 0:02:16.269 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:54:51 +0000 (0:00:00.016) 0:02:16.286 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:54:54 +0000 (0:00:02.747) 0:02:19.033 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:54:54 +0000 (0:00:00.181) 0:02:19.214 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:54:54 +0000 (0:00:00.021) 0:02:19.236 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980836.8987474, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980836.8977475, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980836.8977475, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1204175010", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:54:54 +0000 (0:00:00.195) 0:02:19.432 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980765.4194696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980760.253669, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980760.252669, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "81370033", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:54:55 +0000 (0:00:00.199) 0:02:19.631 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:54:55 +0000 (0:00:00.008) 0:02:19.639 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:54:55 +0000 (0:00:00.196) 0:02:19.836 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:54:55 +0000 (0:00:00.194) 0:02:20.030 ******* 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-4.18.0-536.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:54:55 +0000 (0:00:00.466) 0:02:20.497 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:54:55 +0000 (0:00:00.010) 0:02:20.508 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:54:55 +0000 (0:00:00.010) 0:02:20.519 ******* 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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:54:55 +0000 (0:00:00.015) 0:02:20.535 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:88 Monday 26 February 2024 20:54:56 +0000 (0:00:00.332) 0:02:20.868 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:92 Monday 26 February 2024 20:54:56 +0000 (0:00:00.021) 0:02:20.890 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1" ], "delta": "0:00:00.052758", "end": "2024-02-26 20:54:56.521278", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 20:54:56.468520" } STDERR: The param /boot/vmlinuz-4.18.0-536.el8.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-4.18.0-536.el8.x86_64_clone2" ], "delta": "0:00:00.054000", "end": "2024-02-26 20:54:56.750594", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 20:54:56.696594" } STDERR: The param /boot/vmlinuz-4.18.0-536.el8.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 20:54:56 +0000 (0:00:00.466) 0:02:21.356 ******* 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.144462", "end": "2024-02-26 20:54:57.082785", "rc": 0, "start": "2024-02-26 20:54:56.938323" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 crashkernel=auto net.ifnames=0 rhgb quiet " 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 crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 20:54:57 +0000 (0:00:00.332) 0:02:21.689 ******* included: /WORKDIR/git-bios-uefiucgj_wux/.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-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:54:57 +0000 (0:00:00.007) 0:02:21.697 ******* changed: [sut] => { "changed": true, "elapsed": 44, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:55:42 +0000 (0:00:45.354) 0:03:07.051 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:55:42 +0000 (0:00:00.007) 0:03:07.058 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=96 changed=14 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Monday 26 February 2024 20:55:42 +0000 (0:00:00.009) 0:03:07.067 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 53.43s /WORKDIR/git-bios-uefiucgj_wux/.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 -- 48.32s /WORKDIR/git-bios-uefiucgj_wux/.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 -- 45.35s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.63s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.63s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.91s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.81s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.79s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.75s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.74s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.80s /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:7 ----------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.75s /WORKDIR/git-bios-uefiucgj_wux/tests/tasks/clone_kernel.yml:7 ----------------- fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.59s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.56s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.50s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.47s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Remove cloned kernels --------------------------------------------------- 0.47s /WORKDIR/git-bios-uefiucgj_wux/tests/tests_add_rm.yml:92 ---------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.46s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.45s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.42s /WORKDIR/git-bios-uefiucgj_wux/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---