# 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-password-efii9nvh6fp/.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-password-efii9nvh6fp/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:13 Tuesday 04 June 2024 07:01:08 +0000 (0:00:00.012) 0:00:00.012 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:01:08 +0000 (0:00:00.024) 0:00:00.037 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:01:08 +0000 (0:00:00.010) 0:00:00.048 ********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:01:10 +0000 (0:00:02.001) 0:00:02.050 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:01:11 +0000 (0:00:00.264) 0:00:02.314 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:01:11 +0000 (0:00:00.013) 0:00:02.327 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:01:11 +0000 (0:00:00.018) 0:00:02.346 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:01:11 +0000 (0:00:00.007) 0:00:02.353 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:01:14 +0000 (0:00:03.083) 0:00:05.436 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902508.026, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716902620.197, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 163678, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902507.505, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3310728172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:01:14 +0000 (0:00:00.218) 0:00:05.655 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:01:14 +0000 (0:00:00.007) 0:00:05.663 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:01:14 +0000 (0:00:00.006) 0:00:05.669 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:01:14 +0000 (0:00:00.205) 0:00:05.875 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:01:14 +0000 (0:00:00.021) 0:00:05.896 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484474.4162042, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716902620.197, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 163678, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902507.505, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3310728172", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:01:14 +0000 (0:00:00.219) 0:00:06.115 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902509.905, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c75d53951a2b2c9f84fe91582770f37a170442ae", "ctime": 1716902509.905, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716902509.905, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1438812327", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:01:15 +0000 (0:00:00.225) 0:00:06.341 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004956", "end": "2024-06-04 07:01:15.389599", "rc": 0, "start": "2024-06-04 07:01:15.384643" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:01:15 +0000 (0:00:00.275) 0:00:06.617 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:01:15 +0000 (0:00:00.016) 0:00:06.633 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:01:15 +0000 (0:00:00.273) 0:00:06.906 ********** changed: [sut] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:01:15 +0000 (0:00:00.219) 0:00:07.126 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.266) 0:00:07.392 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.011) 0:00:07.403 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.008) 0:00:07.412 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.013) 0:00:07.425 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "7bf01ed042d54a7b9dddef9067db5fdb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb.img", "kernel": "/boot/vmlinuz-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (0-rescue-7bf01ed042d54a7b9dddef9067db5fdb) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:19 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.628) 0:00:08.054 ********** 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-password-efii9nvh6fp/tests/tests_add_rm.yml:26 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.002) 0:00:08.056 ********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:29 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.000) 0:00:08.057 ********** included: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:3 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.012) 0:00:08.070 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:7 Tuesday 04 June 2024 07:01:16 +0000 (0:00:00.024) 0:00:08.095 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-6.8.10-300.fc40.x86_64', 'dest': '/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d030474770fe4165fd57b2da0276844f270f67f2", "dest": "/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.8.10-300.fc40.x86_64" }, "md5sum": "8358c117138504cd74cd07b31b5541a0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15712072, "src": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.8.10-300.fc40.x86_64.img', 'dest': '/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fe953e67d8694366bf561768c76a9425844326ab", "dest": "/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.8.10-300.fc40.x86_64.img" }, "md5sum": "ad74458c4ab6fb9d6bb815824efe3d4a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22538838, "src": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:21 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.976) 0:00:09.072 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.024) 0:00:09.096 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.016) 0:00:09.113 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.016) 0:00:09.130 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.011) 0:00:09.142 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.010) 0:00:09.152 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.019) 0:00:09.172 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:01:17 +0000 (0:00:00.008) 0:00:09.180 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:01:21 +0000 (0:00:03.139) 0:00:12.320 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484474.4162042, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716902620.197, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 163678, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902507.505, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3310728172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:01:21 +0000 (0:00:00.223) 0:00:12.544 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:01:21 +0000 (0:00:00.008) 0:00:12.553 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:01:21 +0000 (0:00:00.020) 0:00:12.573 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:01:21 +0000 (0:00:00.204) 0:00:12.777 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:01:21 +0000 (0:00:00.020) 0:00:12.798 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484474.4162042, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716902620.197, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 163678, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902507.505, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3310728172", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:01:21 +0000 (0:00:00.226) 0:00:13.025 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484475.895211, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717484475.8972108, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484475.895211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1833972733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:01:22 +0000 (0:00:00.226) 0:00:13.252 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004937", "end": "2024-06-04 07:01:22.250139", "rc": 0, "start": "2024-06-04 07:01:22.245202" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:01:22 +0000 (0:00:00.226) 0:00:13.478 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:01:22 +0000 (0:00:00.016) 0:00:13.495 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:01:22 +0000 (0:00:00.226) 0:00:13.721 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:01:22 +0000 (0:00:00.223) 0:00:13.944 ********** 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-6.8.10-300.fc40.x86_64_clone1 --initrd=/boot/initramfs-6.8.10-300.fc40.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.433) 0:00:14.377 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.010) 0:00:14.388 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.009) 0:00:14.397 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.013) 0:00:14.411 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:36 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.014) 0:00:14.425 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.001) 0:00:14.427 ********** 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.137052", "end": "2024-06-04 07:01:23.547681", "rc": 0, "start": "2024-06-04 07:01:23.410629" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.350) 0:00:14.777 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:01:23 +0000 (0:00:00.009) 0:00:14.786 ********** changed: [sut] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:02:00 +0000 (0:00:36.816) 0:00:51.603 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.006) 0:00:51.610 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:39 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.008) 0:00:51.619 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:43 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.008) 0:00:51.628 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.030) 0:00:51.659 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.010) 0:00:51.669 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.015) 0:00:51.685 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.009) 0:00:51.695 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.010) 0:00:51.705 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.016) 0:00:51.722 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:02:00 +0000 (0:00:00.006) 0:00:51.729 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:02:03 +0000 (0:00:03.307) 0:00:55.036 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484483.5462456, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484483.5452456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484483.5432456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1176096293", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.263) 0:00:55.300 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.007) 0:00:55.308 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.007) 0:00:55.315 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.212) 0:00:55.527 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.021) 0:00:55.549 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484483.5462456, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484483.5452456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484483.5432456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1176096293", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.229) 0:00:55.779 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484482.0082386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717484475.8972108, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484475.895211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1833972733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:02:04 +0000 (0:00:00.237) 0:00:56.016 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005247", "end": "2024-06-04 07:02:05.021838", "rc": 0, "start": "2024-06-04 07:02:05.016591" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.236) 0:00:56.252 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.016) 0:00:56.269 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.232) 0:00:56.501 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.231) 0:00:56.732 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.245) 0:00:56.978 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.011) 0:00:56.990 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.021) 0:00:57.011 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:02:05 +0000 (0:00:00.015) 0:00:57.027 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "ec2e7d540cfe738b9cf20e80e487628b-6.8.10-300.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone1", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "7bf01ed042d54a7b9dddef9067db5fdb-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb.img", "kernel": "/boot/vmlinuz-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (0-rescue-7bf01ed042d54a7b9dddef9067db5fdb) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:35 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.381) 0:00:57.408 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:44 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.022) 0:00:57.431 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.030) 0:00:57.461 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.010) 0:00:57.471 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.016) 0:00:57.488 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.010) 0:00:57.498 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.010) 0:00:57.508 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.017) 0:00:57.525 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:02:06 +0000 (0:00:00.007) 0:00:57.533 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:02:08 +0000 (0:00:02.426) 0:00:59.959 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484483.5462456, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484483.5452456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484483.5432456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1176096293", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:02:08 +0000 (0:00:00.240) 0:01:00.200 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.007) 0:01:00.208 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.006) 0:01:00.214 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.212) 0:01:00.427 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.021) 0:01:00.449 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484483.5462456, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484483.5452456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484483.5432456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1176096293", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.225) 0:01:00.674 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484482.0082386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717484475.8972108, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484475.895211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1833972733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.232) 0:01:00.907 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004922", "end": "2024-06-04 07:02:09.904742", "rc": 0, "start": "2024-06-04 07:02:09.899820" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.225) 0:01:01.133 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:02:09 +0000 (0:00:00.017) 0:01:01.150 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:02:10 +0000 (0:00:00.225) 0:01:01.376 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:02:10 +0000 (0:00:00.222) 0:01:01.598 ********** 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-6.8.10-300.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:02:10 +0000 (0:00:00.466) 0:01:02.065 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:02:10 +0000 (0:00:00.018) 0:01:02.083 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:02:10 +0000 (0:00:00.017) 0:01:02.101 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:02:10 +0000 (0:00:00.033) 0:01:02.134 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "7bf01ed042d54a7b9dddef9067db5fdb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb.img", "kernel": "/boot/vmlinuz-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (0-rescue-7bf01ed042d54a7b9dddef9067db5fdb) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:61 Tuesday 04 June 2024 07:02:11 +0000 (0:00:00.331) 0:01:02.465 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:65 Tuesday 04 June 2024 07:02:11 +0000 (0:00:00.021) 0:01:02.487 ********** included: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:3 Tuesday 04 June 2024 07:02:11 +0000 (0:00:00.025) 0:01:02.513 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:7 Tuesday 04 June 2024 07:02:11 +0000 (0:00:00.023) 0:01:02.536 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-6.8.10-300.fc40.x86_64', 'dest': '/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d030474770fe4165fd57b2da0276844f270f67f2", "dest": "/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.8.10-300.fc40.x86_64" }, "md5sum": "8358c117138504cd74cd07b31b5541a0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15712072, "src": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.8.10-300.fc40.x86_64.img', 'dest': '/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fe953e67d8694366bf561768c76a9425844326ab", "dest": "/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.8.10-300.fc40.x86_64.img" }, "md5sum": "ad74458c4ab6fb9d6bb815824efe3d4a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22538838, "src": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:21 Tuesday 04 June 2024 07:02:13 +0000 (0:00:01.889) 0:01:04.426 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.021) 0:01:04.447 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.010) 0:01:04.457 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.016) 0:01:04.474 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.009) 0:01:04.484 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.010) 0:01:04.494 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.016) 0:01:04.510 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:02:13 +0000 (0:00:00.006) 0:01:04.517 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:02:15 +0000 (0:00:02.348) 0:01:06.866 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484483.5462456, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484483.5452456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484483.5432456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1176096293", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:02:15 +0000 (0:00:00.227) 0:01:07.093 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:02:15 +0000 (0:00:00.009) 0:01:07.102 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:02:15 +0000 (0:00:00.007) 0:01:07.109 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:02:16 +0000 (0:00:00.209) 0:01:07.319 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:02:16 +0000 (0:00:00.021) 0:01:07.341 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484483.5462456, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484483.5452456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484483.5432456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1176096293", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:02:16 +0000 (0:00:00.231) 0:01:07.572 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484482.0082386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717484475.8972108, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484475.895211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1833972733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:02:16 +0000 (0:00:00.230) 0:01:07.803 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004894", "end": "2024-06-04 07:02:16.805296", "rc": 0, "start": "2024-06-04 07:02:16.800402" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:02:16 +0000 (0:00:00.234) 0:01:08.037 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:02:16 +0000 (0:00:00.017) 0:01:08.055 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.230) 0:01:08.285 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.228) 0:01:08.514 ********** 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-6.8.10-300.fc40.x86_64_clone2 --initrd=/boot/initramfs-6.8.10-300.fc40.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.442) 0:01:08.956 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.011) 0:01:08.968 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.010) 0:01:08.978 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.014) 0:01:08.992 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:36 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.014) 0:01:09.007 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:02:17 +0000 (0:00:00.001) 0:01:09.008 ********** 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.143590", "end": "2024-06-04 07:02:18.142337", "rc": 0, "start": "2024-06-04 07:02:17.998747" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:02:18 +0000 (0:00:00.363) 0:01:09.371 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:02:18 +0000 (0:00:00.008) 0:01:09.380 ********** changed: [sut] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:02:54 +0000 (0:00:36.189) 0:01:45.569 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.009) 0:01:45.578 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:39 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.011) 0:01:45.590 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:43 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.011) 0:01:45.601 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.032) 0:01:45.634 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.014) 0:01:45.649 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.020) 0:01:45.669 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.011) 0:01:45.681 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.012) 0:01:45.693 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.022) 0:01:45.716 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:02:54 +0000 (0:00:00.018) 0:01:45.734 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:02:57 +0000 (0:00:03.414) 0:01:49.149 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484538.141691, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484538.140691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484538.140691, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2902355017", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.246) 0:01:49.396 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.008) 0:01:49.404 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.007) 0:01:49.411 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.209) 0:01:49.621 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.021) 0:01:49.643 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484538.141691, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484538.140691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484538.140691, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2902355017", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.227) 0:01:49.870 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484482.0082386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717484475.8972108, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484475.895211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1833972733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.253) 0:01:50.124 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.006501", "end": "2024-06-04 07:02:59.093910", "rc": 0, "start": "2024-06-04 07:02:59.087409" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.230) 0:01:50.354 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.017) 0:01:50.372 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.231) 0:01:50.603 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.229) 0:01:50.833 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.221) 0:01:51.054 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.012) 0:01:51.067 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.010) 0:01:51.078 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.014) 0:01:51.092 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2e7d540cfe738b9cf20e80e487628b-6.8.10-300.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "7bf01ed042d54a7b9dddef9067db5fdb-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb.img", "kernel": "/boot/vmlinuz-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (0-rescue-7bf01ed042d54a7b9dddef9067db5fdb) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:71 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.368) 0:01:51.460 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:78 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.020) 0:01:51.481 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.037) 0:01:51.519 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.010) 0:01:51.529 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.016) 0:01:51.546 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.010) 0:01:51.556 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.010) 0:01:51.566 ********** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.016) 0:01:51.583 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.006) 0:01:51.590 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:03:02 +0000 (0:00:02.468) 0:01:54.058 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484538.141691, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484538.140691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484538.140691, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2902355017", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.225) 0:01:54.284 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.009) 0:01:54.293 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.007) 0:01:54.300 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.204) 0:01:54.504 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.021) 0:01:54.526 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484538.141691, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717484538.140691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 149371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484538.140691, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2902355017", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.224) 0:01:54.750 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484482.0082386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717484475.8972108, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484475.895211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1833972733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.227) 0:01:54.977 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004896", "end": "2024-06-04 07:03:03.974233", "rc": 0, "start": "2024-06-04 07:03:03.969337" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:03:03 +0000 (0:00:00.226) 0:01:55.203 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.017) 0:01:55.221 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.221) 0:01:55.442 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.224) 0:01:55.667 ********** 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-6.8.10-300.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.448) 0:01:56.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 : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.010) 0:01:56.127 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.010) 0:01:56.137 ********** 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:03:04 +0000 (0:00:00.014) 0:01:56.151 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "7bf01ed042d54a7b9dddef9067db5fdb-6.8.10-300.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.8.10-300.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.8.10-300.fc40.x86_64", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (6.8.10-300.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "7bf01ed042d54a7b9dddef9067db5fdb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb.img", "kernel": "/boot/vmlinuz-0-rescue-7bf01ed042d54a7b9dddef9067db5fdb", "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2", "title": "Fedora Linux (0-rescue-7bf01ed042d54a7b9dddef9067db5fdb) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:88 Tuesday 04 June 2024 07:03:05 +0000 (0:00:00.362) 0:01:56.514 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:95 Tuesday 04 June 2024 07:03:05 +0000 (0:00:00.023) 0:01:56.537 ********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone1" ], "delta": "0:00:00.046319", "end": "2024-06-04 07:03:05.575649", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-06-04 07:03:05.529330" } STDERR: The param /boot/vmlinuz-6.8.10-300.fc40.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-6.8.10-300.fc40.x86_64_clone2" ], "delta": "0:00:00.049473", "end": "2024-06-04 07:03:05.837757", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-06-04 07:03:05.788284" } STDERR: The param /boot/vmlinuz-6.8.10-300.fc40.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:03:05 +0000 (0:00:00.532) 0:01:57.070 ********** 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.113944", "end": "2024-06-04 07:03:06.177428", "rc": 0, "start": "2024-06-04 07:03:06.063484" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" 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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:03:06 +0000 (0:00:00.336) 0:01:57.406 ********** included: /WORKDIR/git-password-efii9nvh6fp/.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-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:03:06 +0000 (0:00:00.008) 0:01:57.414 ********** changed: [sut] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:03:34 +0000 (0:00:28.380) 0:02:25.795 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:03:34 +0000 (0:00:00.007) 0:02:25.802 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=110 changed=14 unreachable=0 failed=0 skipped=79 rescued=0 ignored=0 Tuesday 04 June 2024 07:03:34 +0000 (0:00:00.011) 0:02:25.814 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.82s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.19s /WORKDIR/git-password-efii9nvh6fp/.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 -- 28.38s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.41s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.31s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.14s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.08s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.47s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.43s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.35s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 2.00s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 1.89s /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:7 -------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.98s /WORKDIR/git-password-efii9nvh6fp/tests/tasks/clone_kernel.yml:7 -------------- fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.63s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Remove cloned kernels --------------------------------------------------- 0.53s /WORKDIR/git-password-efii9nvh6fp/tests/tests_add_rm.yml:95 ------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.47s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.45s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.44s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.38s /WORKDIR/git-password-efii9nvh6fp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---