# 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-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:13 Monday 03 June 2024 20:59:21 +0000 (0:00:00.012) 0:00:00.012 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 20:59:21 +0000 (0:00:00.023) 0:00:00.036 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 20:59:21 +0000 (0:00:00.010) 0:00:00.046 *********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 20:59:23 +0000 (0:00:02.129) 0:00:02.176 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 20:59:23 +0000 (0:00:00.285) 0:00:02.461 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 20:59:23 +0000 (0:00:00.016) 0:00:02.478 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 20:59:23 +0000 (0:00:00.020) 0:00:02.499 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 20:59:23 +0000 (0:00:00.008) 0:00:02.507 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 20:59:27 +0000 (0:00:03.183) 0:00:05.691 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 20:59:27 +0000 (0:00:00.247) 0:00:05.938 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 20:59:27 +0000 (0:00:00.008) 0:00:05.947 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 20:59:27 +0000 (0:00:00.006) 0:00:05.954 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 20:59:27 +0000 (0:00:00.220) 0:00:06.174 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 20:59:27 +0000 (0:00:00.023) 0:00:06.198 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448367.2760398, "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 20:59:27 +0000 (0:00:00.232) 0:00:06.430 *********** 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 : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 20:59:28 +0000 (0:00:00.246) 0:00:06.677 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 20:59:28 +0000 (0:00:00.009) 0:00:06.686 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 20:59:28 +0000 (0:00:00.308) 0:00:06.994 *********** changed: [sut] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 20:59:28 +0000 (0:00:00.232) 0:00:07.227 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 20:59:28 +0000 (0:00:00.289) 0:00:07.517 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 20:59:28 +0000 (0:00:00.012) 0:00:07.529 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 20:59:28 +0000 (0:00:00.010) 0:00:07.539 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 20:59:28 +0000 (0:00:00.014) 0:00:07.554 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:19 Monday 03 June 2024 20:59:29 +0000 (0:00:00.648) 0:00:08.203 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:26 Monday 03 June 2024 20:59:29 +0000 (0:00:00.001) 0:00:08.204 *********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:29 Monday 03 June 2024 20:59:29 +0000 (0:00:00.000) 0:00:08.205 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:3 Monday 03 June 2024 20:59:29 +0000 (0:00:00.012) 0:00:08.218 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:7 Monday 03 June 2024 20:59:29 +0000 (0:00:00.021) 0:00:08.240 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:21 Monday 03 June 2024 20:59:30 +0000 (0:00:01.134) 0:00:09.374 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 20:59:30 +0000 (0:00:00.026) 0:00:09.401 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 20:59:30 +0000 (0:00:00.015) 0:00:09.416 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 20:59:30 +0000 (0:00:00.019) 0:00:09.436 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 20:59:30 +0000 (0:00:00.012) 0:00:09.448 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 20:59:30 +0000 (0:00:00.012) 0:00:09.460 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 20:59:30 +0000 (0:00:00.020) 0:00:09.481 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 20:59:30 +0000 (0:00:00.007) 0:00:09.489 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 20:59:33 +0000 (0:00:03.029) 0:00:12.519 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448367.2760398, "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 20:59:34 +0000 (0:00:00.236) 0:00:12.756 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 20:59:34 +0000 (0:00:00.011) 0:00:12.767 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 20:59:34 +0000 (0:00:00.012) 0:00:12.779 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 20:59:34 +0000 (0:00:00.224) 0:00:13.003 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 20:59:34 +0000 (0:00:00.021) 0:00:13.025 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448367.2760398, "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 20:59:34 +0000 (0:00:00.234) 0:00:13.260 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448368.5790238, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717448368.5790238, "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": 1717448368.5790238, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2771782101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 20:59:34 +0000 (0:00:00.236) 0:00:13.496 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 20:59:34 +0000 (0:00:00.009) 0:00:13.505 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 20:59:35 +0000 (0:00:00.232) 0:00:13.738 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 20:59:35 +0000 (0:00:00.234) 0:00:13.972 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --initrd=/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 20:59:35 +0000 (0:00:00.460) 0:00:14.433 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 20:59:35 +0000 (0:00:00.011) 0:00:14.444 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 20:59:35 +0000 (0:00:00.010) 0:00:14.454 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 20:59:35 +0000 (0:00:00.015) 0:00:14.470 *********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:36 Monday 03 June 2024 20:59:35 +0000 (0:00:00.015) 0:00:14.485 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 20:59:35 +0000 (0:00:00.001) 0:00:14.486 *********** 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.152871", "end": "2024-06-03 20:59:36.274306", "rc": 0, "start": "2024-06-03 20:59:36.121435" } 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 20:59:36 +0000 (0:00:00.438) 0:00:14.925 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 20:59:36 +0000 (0:00:00.011) 0:00:14.936 *********** changed: [sut] => { "changed": true, "elapsed": 48, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:00:26 +0000 (0:00:50.516) 0:01:05.452 *********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:00:26 +0000 (0:00:00.008) 0:01:05.461 *********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:39 Monday 03 June 2024 21:00:26 +0000 (0:00:00.010) 0:01:05.472 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:43 Monday 03 June 2024 21:00:26 +0000 (0:00:00.012) 0:01:05.485 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:00:26 +0000 (0:00:00.033) 0:01:05.519 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:00:26 +0000 (0:00:00.013) 0:01:05.532 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:00:26 +0000 (0:00:00.019) 0:01:05.552 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:00:26 +0000 (0:00:00.013) 0:01:05.565 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:00:26 +0000 (0:00:00.013) 0:01:05.578 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:00:26 +0000 (0:00:00.021) 0:01:05.599 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:00:26 +0000 (0:00:00.010) 0:01:05.610 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:00:31 +0000 (0:00:04.226) 0:01:09.836 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448376.272929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448376.271929, "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": 1717448376.271929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "976260485", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:00:31 +0000 (0:00:00.273) 0:01:10.109 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:00:31 +0000 (0:00:00.008) 0:01:10.118 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:00:31 +0000 (0:00:00.006) 0:01:10.125 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:00:31 +0000 (0:00:00.248) 0:01:10.373 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:00:31 +0000 (0:00:00.024) 0:01:10.397 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448376.272929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448376.271929, "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": 1717448376.271929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "976260485", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:00:32 +0000 (0:00:00.235) 0:01:10.632 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448374.8339467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717448368.5790238, "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": 1717448368.5790238, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2771782101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:00:32 +0000 (0:00:00.237) 0:01:10.870 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:00:32 +0000 (0:00:00.008) 0:01:10.878 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:00:32 +0000 (0:00:00.230) 0:01:11.109 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:00:32 +0000 (0:00:00.231) 0:01:11.340 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:00:32 +0000 (0:00:00.224) 0:01:11.565 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:00:32 +0000 (0:00:00.012) 0:01:11.578 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:00:32 +0000 (0:00:00.011) 0:01:11.589 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:00:32 +0000 (0:00:00.015) 0:01:11.605 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "ec2c18ed299018c3390aef8c209ecf3c-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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:35 Monday 03 June 2024 21:00:33 +0000 (0:00:00.397) 0:01:12.002 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:44 Monday 03 June 2024 21:00:33 +0000 (0:00:00.022) 0:01:12.025 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:00:33 +0000 (0:00:00.028) 0:01:12.053 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:00:33 +0000 (0:00:00.010) 0:01:12.064 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:00:33 +0000 (0:00:00.016) 0:01:12.080 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:00:33 +0000 (0:00:00.010) 0:01:12.091 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:00:33 +0000 (0:00:00.010) 0:01:12.101 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:00:33 +0000 (0:00:00.017) 0:01:12.119 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:00:33 +0000 (0:00:00.007) 0:01:12.126 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:00:35 +0000 (0:00:02.408) 0:01:14.535 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448376.272929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448376.271929, "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": 1717448376.271929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "976260485", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:00:36 +0000 (0:00:00.241) 0:01:14.777 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:00:36 +0000 (0:00:00.010) 0:01:14.788 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:00:36 +0000 (0:00:00.017) 0:01:14.805 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:00:36 +0000 (0:00:00.220) 0:01:15.025 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:00:36 +0000 (0:00:00.023) 0:01:15.049 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448376.272929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448376.271929, "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": 1717448376.271929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "976260485", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:00:36 +0000 (0:00:00.237) 0:01:15.287 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448374.8339467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717448368.5790238, "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": 1717448368.5790238, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2771782101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:00:36 +0000 (0:00:00.249) 0:01:15.536 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:00:36 +0000 (0:00:00.009) 0:01:15.546 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:00:37 +0000 (0:00:00.252) 0:01:15.798 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:00:37 +0000 (0:00:00.239) 0:01:16.038 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:00:37 +0000 (0:00:00.520) 0:01:16.559 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:00:37 +0000 (0:00:00.022) 0:01:16.581 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:00:37 +0000 (0:00:00.030) 0:01:16.612 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:00:38 +0000 (0:00:00.032) 0:01:16.644 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:61 Monday 03 June 2024 21:00:38 +0000 (0:00:00.349) 0:01:16.994 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:65 Monday 03 June 2024 21:00:38 +0000 (0:00:00.021) 0:01:17.015 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:3 Monday 03 June 2024 21:00:38 +0000 (0:00:00.016) 0:01:17.032 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:7 Monday 03 June 2024 21:00:38 +0000 (0:00:00.021) 0:01:17.053 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:21 Monday 03 June 2024 21:00:40 +0000 (0:00:02.020) 0:01:19.074 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:00:40 +0000 (0:00:00.032) 0:01:19.106 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:00:40 +0000 (0:00:00.011) 0:01:19.118 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:00:40 +0000 (0:00:00.016) 0:01:19.135 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:00:40 +0000 (0:00:00.010) 0:01:19.145 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:00:40 +0000 (0:00:00.010) 0:01:19.156 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:00:40 +0000 (0:00:00.016) 0:01:19.173 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:00:40 +0000 (0:00:00.007) 0:01:19.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:00:42 +0000 (0:00:02.409) 0:01:21.590 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448376.272929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448376.271929, "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": 1717448376.271929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "976260485", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:00:43 +0000 (0:00:00.240) 0:01:21.831 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:00:43 +0000 (0:00:00.009) 0:01:21.841 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:00:43 +0000 (0:00:00.007) 0:01:21.849 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:00:43 +0000 (0:00:00.223) 0:01:22.072 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:00:43 +0000 (0:00:00.042) 0:01:22.114 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448376.272929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448376.271929, "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": 1717448376.271929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "976260485", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:00:43 +0000 (0:00:00.234) 0:01:22.349 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448374.8339467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717448368.5790238, "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": 1717448368.5790238, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2771782101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:00:43 +0000 (0:00:00.267) 0:01:22.616 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:00:44 +0000 (0:00:00.014) 0:01:22.631 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:00:44 +0000 (0:00:00.260) 0:01:22.891 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:00:44 +0000 (0:00:00.259) 0:01:23.151 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --initrd=/boot/initramfs-6.8.10-300.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.8.10-300.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:00:44 +0000 (0:00:00.475) 0:01:23.627 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:00:45 +0000 (0:00:00.021) 0:01:23.648 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:00:45 +0000 (0:00:00.022) 0:01:23.670 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:00:45 +0000 (0:00:00.033) 0:01:23.704 *********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:36 Monday 03 June 2024 21:00:45 +0000 (0:00:00.027) 0:01:23.731 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:00:45 +0000 (0:00:00.001) 0:01:23.733 *********** 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.151411", "end": "2024-06-03 21:00:45.462776", "rc": 0, "start": "2024-06-03 21:00:45.311365" } 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:00:45 +0000 (0:00:00.379) 0:01:24.112 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:00:45 +0000 (0:00:00.009) 0:01:24.122 *********** changed: [sut] => { "changed": true, "elapsed": 44, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:01:31 +0000 (0:00:46.121) 0:02:10.243 *********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:01:31 +0000 (0:00:00.042) 0:02:10.285 *********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:39 Monday 03 June 2024 21:01:31 +0000 (0:00:00.032) 0:02:10.318 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:43 Monday 03 June 2024 21:01:31 +0000 (0:00:00.019) 0:02:10.337 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:01:31 +0000 (0:00:00.038) 0:02:10.375 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:01:31 +0000 (0:00:00.027) 0:02:10.403 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:01:31 +0000 (0:00:00.023) 0:02:10.427 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:01:31 +0000 (0:00:00.036) 0:02:10.463 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:01:31 +0000 (0:00:00.025) 0:02:10.488 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:01:31 +0000 (0:00:00.032) 0:02:10.521 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:01:31 +0000 (0:00:00.008) 0:02:10.529 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:01:35 +0000 (0:00:03.669) 0:02:14.199 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448445.4615254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448445.4605255, "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": 1717448445.4605255, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "866430407", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:01:35 +0000 (0:00:00.275) 0:02:14.474 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:01:35 +0000 (0:00:00.011) 0:02:14.485 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:01:35 +0000 (0:00:00.008) 0:02:14.493 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:01:36 +0000 (0:00:00.241) 0:02:14.735 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:01:36 +0000 (0:00:00.027) 0:02:14.762 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448445.4615254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448445.4605255, "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": 1717448445.4605255, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "866430407", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:01:36 +0000 (0:00:00.240) 0:02:15.003 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448374.8339467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717448368.5790238, "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": 1717448368.5790238, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2771782101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:01:36 +0000 (0:00:00.280) 0:02:15.284 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:01:36 +0000 (0:00:00.009) 0:02:15.293 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:01:36 +0000 (0:00:00.272) 0:02:15.566 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:01:37 +0000 (0:00:00.296) 0:02:15.862 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:01:37 +0000 (0:00:00.246) 0:02:16.109 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:01:37 +0000 (0:00:00.026) 0:02:16.135 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:01:37 +0000 (0:00:00.013) 0:02:16.149 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:01:37 +0000 (0:00:00.032) 0:02:16.181 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2c18ed299018c3390aef8c209ecf3c-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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:71 Monday 03 June 2024 21:01:37 +0000 (0:00:00.408) 0:02:16.589 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:78 Monday 03 June 2024 21:01:37 +0000 (0:00:00.033) 0:02:16.623 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:01:38 +0000 (0:00:00.089) 0:02:16.712 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:01:38 +0000 (0:00:00.018) 0:02:16.730 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:01:38 +0000 (0:00:00.022) 0:02:16.753 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:01:38 +0000 (0:00:00.013) 0:02:16.767 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:01:38 +0000 (0:00:00.026) 0:02:16.793 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:01:38 +0000 (0:00:00.046) 0:02:16.840 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:01:38 +0000 (0:00:00.010) 0:02:16.850 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:01:40 +0000 (0:00:02.125) 0:02:18.976 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448445.4615254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448445.4605255, "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": 1717448445.4605255, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "866430407", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:01:40 +0000 (0:00:00.247) 0:02:19.223 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:01:40 +0000 (0:00:00.024) 0:02:19.247 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:01:40 +0000 (0:00:00.010) 0:02:19.258 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:01:40 +0000 (0:00:00.226) 0:02:19.484 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:01:40 +0000 (0:00:00.024) 0:02:19.509 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448445.4615254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1717448445.4605255, "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": 1717448445.4605255, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "866430407", "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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:01:41 +0000 (0:00:00.234) 0:02:19.744 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717448374.8339467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96190ced815fd586d576787cd2723040396e73dd", "ctime": 1717448368.5790238, "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": 1717448368.5790238, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2771782101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:01:41 +0000 (0:00:00.259) 0:02:20.003 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:01:41 +0000 (0:00:00.009) 0:02:20.013 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:01:41 +0000 (0:00:00.239) 0:02:20.253 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:01:41 +0000 (0:00:00.239) 0:02:20.492 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:01:42 +0000 (0:00:00.478) 0:02:20.971 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:01:42 +0000 (0:00:00.016) 0:02:20.987 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:01:42 +0000 (0:00:00.017) 0:02:21.004 *********** 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:01:42 +0000 (0:00:00.032) 0:02:21.037 *********** 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-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:88 Monday 03 June 2024 21:01:42 +0000 (0:00:00.344) 0:02:21.381 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:95 Monday 03 June 2024 21:01:42 +0000 (0:00:00.024) 0:02:21.406 *********** 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.050467", "end": "2024-06-03 21:01:43.033040", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-06-03 21:01:42.982573" } 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.050148", "end": "2024-06-03 21:01:43.308777", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-06-03 21:01:43.258629" } 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:01:43 +0000 (0:00:00.551) 0:02:21.958 *********** 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.121024", "end": "2024-06-03 21:01:43.663495", "rc": 0, "start": "2024-06-03 21:01:43.542471" } 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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:01:43 +0000 (0:00:00.355) 0:02:22.313 *********** included: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:01:43 +0000 (0:00:00.009) 0:02:22.322 *********** changed: [sut] => { "changed": true, "elapsed": 44, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:02:29 +0000 (0:00:45.840) 0:03:08.163 *********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:02:29 +0000 (0:00:00.012) 0:03:08.175 *********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=103 changed=14 unreachable=0 failed=0 skipped=79 rescued=0 ignored=0 Monday 03 June 2024 21:02:29 +0000 (0:00:00.013) 0:03:08.189 *********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 50.52s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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 -- 46.12s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 45.84s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.23s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.67s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.18s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.03s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.41s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.41s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.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.13s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.13s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.02s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:7 ------------- Clone test_kernel kernel and initrd for test purposes ------------------- 1.13s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tasks/clone_kernel.yml:7 ------------- fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.65s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Remove cloned kernels --------------------------------------------------- 0.55s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/tests/tests_add_rm.yml:95 ------------------ fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.48s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.48s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.46s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.44s /WORKDIR/git-tox-lsr-3.4.0d1af0nik/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---