# 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.06gg8zgd9/.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.06gg8zgd9/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:13 Monday 03 June 2024 21:15:03 +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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:03 +0000 (0:00:00.023) 0:00:00.035 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:03 +0000 (0:00:00.010) 0:00:00.045 *********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:03 +0000 (0:00:00.683) 0:00:00.729 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:04 +0000 (0:00:00.262) 0:00:00.991 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:04 +0000 (0:00:00.014) 0:00:01.006 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:04 +0000 (0:00:00.018) 0:00:01.025 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:04 +0000 (0:00:00.008) 0:00:01.033 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:15:06 +0000 (0:00:02.428) 0:00:03.461 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902332.367, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:15:06 +0000 (0:00:00.200) 0:00:03.661 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:15:06 +0000 (0:00:00.007) 0:00:03.669 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:15:06 +0000 (0:00:00.006) 0:00:03.676 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:15:06 +0000 (0:00:00.183) 0:00:03.859 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:15:07 +0000 (0:00:00.020) 0:00:03.880 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449306.7722833, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:15:07 +0000 (0:00:00.201) 0:00:04.081 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902333.1, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5be5f7ec89cf2fca9558ff18907e68ecdeb45f33", "ctime": 1716902333.101, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 650023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716902333.101, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "489559145", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:15:07 +0000 (0:00:00.202) 0:00:04.283 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:15:07 +0000 (0:00:00.007) 0:00:04.291 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:15:07 +0000 (0:00:00.256) 0:00:04.548 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:15:07 +0000 (0:00:00.196) 0:00:04.744 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:15:08 +0000 (0:00:00.246) 0:00:04.991 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:15:08 +0000 (0:00:00.010) 0:00:05.002 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:15:08 +0000 (0:00:00.010) 0:00:05.012 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:15:08 +0000 (0:00:00.015) 0:00:05.027 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:19 Monday 03 June 2024 21:15:08 +0000 (0:00:00.458) 0:00:05.486 *********** 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.06gg8zgd9/tests/tests_add_rm.yml:26 Monday 03 June 2024 21:15:08 +0000 (0:00:00.001) 0:00:05.487 *********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:29 Monday 03 June 2024 21:15:08 +0000 (0:00:00.000) 0:00:05.488 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/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.06gg8zgd9/tests/tasks/clone_kernel.yml:3 Monday 03 June 2024 21:15:08 +0000 (0:00:00.012) 0:00:05.500 *********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:7 Monday 03 June 2024 21:15:08 +0000 (0:00:00.023) 0:00:05.524 *********** changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-452.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "15a87e440f5d34204cd7a5feab13bba99bb17b28", "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64" }, "md5sum": "b6db07e8a75ac5e72f5c9c61e56b0784", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13760552, "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-452.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7ab7bb4390417a1f3055d90bc0a9636e920eb06e", "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img" }, "md5sum": "b36cd6b21757819b83827acb98c47fff", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35357721, "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:21 Monday 03 June 2024 21:15:09 +0000 (0:00:00.982) 0:00:06.506 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:09 +0000 (0:00:00.020) 0:00:06.527 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:09 +0000 (0:00:00.010) 0:00:06.537 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:09 +0000 (0:00:00.015) 0:00:06.553 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:09 +0000 (0:00:00.009) 0:00:06.562 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:09 +0000 (0:00:00.009) 0:00:06.571 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:09 +0000 (0:00:00.015) 0:00:06.587 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:09 +0000 (0:00:00.006) 0:00:06.594 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:15:10 +0000 (0:00:01.229) 0:00:07.823 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449306.7722833, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:15:11 +0000 (0:00:00.200) 0:00:08.024 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:15:11 +0000 (0:00:00.007) 0:00:08.032 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:15:11 +0000 (0:00:00.007) 0:00:08.039 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:15:11 +0000 (0:00:00.185) 0:00:08.224 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:15:11 +0000 (0:00:00.021) 0:00:08.246 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449306.7722833, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:15:11 +0000 (0:00:00.200) 0:00:08.446 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449307.8652792, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717449307.8662791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717449307.8652792, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "915255301", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:15:11 +0000 (0:00:00.204) 0:00:08.651 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:15:11 +0000 (0:00:00.007) 0:00:08.659 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:15:11 +0000 (0:00:00.198) 0:00:08.858 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:15:12 +0000 (0:00:00.198) 0:00:09.056 *********** 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-5.14.0-452.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-452.el9.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:15:12 +0000 (0:00:00.425) 0:00:09.482 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:15:12 +0000 (0:00:00.010) 0:00:09.493 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:15:12 +0000 (0:00:00.008) 0:00:09.502 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:15:12 +0000 (0:00:00.013) 0:00:09.516 *********** 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.06gg8zgd9/tests/tasks/clone_kernel.yml:36 Monday 03 June 2024 21:15:12 +0000 (0:00:00.013) 0:00:09.530 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:15:12 +0000 (0:00:00.001) 0:00:09.531 *********** 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.149276", "end": "2024-06-03 21:15:13.051576", "rc": 0, "start": "2024-06-03 21:15:12.902300" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:15:13 +0000 (0:00:00.397) 0:00:09.929 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:15:13 +0000 (0:00:00.008) 0:00:09.937 *********** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:15:50 +0000 (0:00:37.402) 0:00:47.340 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:15:50 +0000 (0:00:00.006) 0:00:47.347 *********** 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.06gg8zgd9/tests/tasks/clone_kernel.yml:39 Monday 03 June 2024 21:15:50 +0000 (0:00:00.008) 0:00:47.356 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:43 Monday 03 June 2024 21:15:50 +0000 (0:00:00.008) 0:00:47.364 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:50 +0000 (0:00:00.028) 0:00:47.393 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:50 +0000 (0:00:00.010) 0:00:47.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:50 +0000 (0:00:00.015) 0:00:47.419 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:50 +0000 (0:00:00.009) 0:00:47.429 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:50 +0000 (0:00:00.008) 0:00:47.437 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:50 +0000 (0:00:00.016) 0:00:47.454 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:50 +0000 (0:00:00.006) 0:00:47.460 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:15:53 +0000 (0:00:02.869) 0:00:50.330 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449313.0502596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449313.0492597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449313.0492597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2275843599", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:15:53 +0000 (0:00:00.238) 0:00:50.568 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:15:53 +0000 (0:00:00.007) 0:00:50.575 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:15:53 +0000 (0:00:00.006) 0:00:50.582 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:15:53 +0000 (0:00:00.189) 0:00:50.771 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:15:53 +0000 (0:00:00.021) 0:00:50.793 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449313.0502596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449313.0492597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449313.0492597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2275843599", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:15:54 +0000 (0:00:00.207) 0:00:51.000 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449311.7582645, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717449307.8662791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717449307.8652792, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "915255301", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:15:54 +0000 (0:00:00.214) 0:00:51.214 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:15:54 +0000 (0:00:00.007) 0:00:51.222 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:15:54 +0000 (0:00:00.203) 0:00:51.425 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:15:54 +0000 (0:00:00.202) 0:00:51.628 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:15:54 +0000 (0:00:00.192) 0:00:51.821 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:15:54 +0000 (0:00:00.010) 0:00:51.832 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:15:54 +0000 (0:00:00.008) 0:00:51.840 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:15:54 +0000 (0:00:00.013) 0:00:51.853 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "707793f96fc841f08b57d3c823c6806c-5.14.0-452.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "Clone1" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:35 Monday 03 June 2024 21:15:55 +0000 (0:00:00.365) 0:00:52.219 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:44 Monday 03 June 2024 21:15:55 +0000 (0:00:00.020) 0:00:52.240 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:55 +0000 (0:00:00.027) 0:00:52.267 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:55 +0000 (0:00:00.009) 0:00:52.277 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:55 +0000 (0:00:00.015) 0:00:52.292 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:55 +0000 (0:00:00.008) 0:00:52.301 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:55 +0000 (0:00:00.008) 0:00:52.309 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:55 +0000 (0:00:00.015) 0:00:52.325 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:55 +0000 (0:00:00.006) 0:00:52.332 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:15:56 +0000 (0:00:01.201) 0:00:53.533 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449313.0502596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449313.0492597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449313.0492597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2275843599", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:15:56 +0000 (0:00:00.204) 0:00:53.737 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:15:56 +0000 (0:00:00.007) 0:00:53.745 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:15:56 +0000 (0:00:00.006) 0:00:53.751 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:15:57 +0000 (0:00:00.185) 0:00:53.936 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:15:57 +0000 (0:00:00.020) 0:00:53.957 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449313.0502596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449313.0492597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449313.0492597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2275843599", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:15:57 +0000 (0:00:00.202) 0:00:54.159 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449311.7582645, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717449307.8662791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717449307.8652792, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "915255301", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:15:57 +0000 (0:00:00.207) 0:00:54.367 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:15:57 +0000 (0:00:00.007) 0:00:54.375 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:15:57 +0000 (0:00:00.198) 0:00:54.573 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:15:57 +0000 (0:00:00.197) 0:00:54.770 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:15:58 +0000 (0:00:00.451) 0:00:55.221 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:15:58 +0000 (0:00:00.010) 0:00:55.232 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:15:58 +0000 (0:00:00.010) 0:00:55.242 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:15:58 +0000 (0:00:00.014) 0:00:55.256 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:61 Monday 03 June 2024 21:15:58 +0000 (0:00:00.311) 0:00:55.568 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:65 Monday 03 June 2024 21:15:58 +0000 (0:00:00.020) 0:00:55.588 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/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.06gg8zgd9/tests/tasks/clone_kernel.yml:3 Monday 03 June 2024 21:15:58 +0000 (0:00:00.015) 0:00:55.604 *********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:7 Monday 03 June 2024 21:15:58 +0000 (0:00:00.020) 0:00:55.624 *********** changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-452.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "15a87e440f5d34204cd7a5feab13bba99bb17b28", "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64" }, "md5sum": "b6db07e8a75ac5e72f5c9c61e56b0784", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13760552, "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-452.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7ab7bb4390417a1f3055d90bc0a9636e920eb06e", "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img" }, "md5sum": "b36cd6b21757819b83827acb98c47fff", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35357721, "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:21 Monday 03 June 2024 21:15:59 +0000 (0:00:00.930) 0:00:56.555 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:59 +0000 (0:00:00.020) 0:00:56.576 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:59 +0000 (0:00:00.010) 0:00:56.586 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:59 +0000 (0:00:00.015) 0:00:56.602 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:59 +0000 (0:00:00.008) 0:00:56.611 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:59 +0000 (0:00:00.008) 0:00:56.619 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:59 +0000 (0:00:00.016) 0:00:56.636 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:59 +0000 (0:00:00.006) 0:00:56.642 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:16:00 +0000 (0:00:01.210) 0:00:57.853 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449313.0502596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449313.0492597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449313.0492597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2275843599", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:16:01 +0000 (0:00:00.203) 0:00:58.057 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:16:01 +0000 (0:00:00.007) 0:00:58.064 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:16:01 +0000 (0:00:00.006) 0:00:58.071 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:16:01 +0000 (0:00:00.194) 0:00:58.265 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:16:01 +0000 (0:00:00.020) 0:00:58.285 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449313.0502596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449313.0492597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449313.0492597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2275843599", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:16:01 +0000 (0:00:00.201) 0:00:58.487 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449311.7582645, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717449307.8662791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717449307.8652792, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "915255301", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:16:01 +0000 (0:00:00.207) 0:00:58.694 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:16:01 +0000 (0:00:00.008) 0:00:58.703 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:16:02 +0000 (0:00:00.201) 0:00:58.905 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:16:02 +0000 (0:00:00.200) 0:00:59.106 *********** 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-5.14.0-452.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-452.el9.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:16:02 +0000 (0:00:00.429) 0:00:59.535 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:16:02 +0000 (0:00:00.010) 0:00:59.546 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:16:02 +0000 (0:00:00.009) 0:00:59.555 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:16:02 +0000 (0:00:00.014) 0:00:59.569 *********** 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.06gg8zgd9/tests/tasks/clone_kernel.yml:36 Monday 03 June 2024 21:16:02 +0000 (0:00:00.013) 0:00:59.583 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:16:02 +0000 (0:00:00.001) 0:00:59.584 *********** 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.150036", "end": "2024-06-03 21:16:03.047476", "rc": 0, "start": "2024-06-03 21:16:02.897440" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:16:03 +0000 (0:00:00.344) 0:00:59.928 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:16:03 +0000 (0:00:00.008) 0:00:59.936 *********** changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:16:44 +0000 (0:00:41.268) 0:01:41.205 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:16:44 +0000 (0:00:00.006) 0:01:41.212 *********** 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.06gg8zgd9/tests/tasks/clone_kernel.yml:39 Monday 03 June 2024 21:16:44 +0000 (0:00:00.008) 0:01:41.220 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:43 Monday 03 June 2024 21:16:44 +0000 (0:00:00.008) 0:01:41.229 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:16:44 +0000 (0:00:00.028) 0:01:41.257 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:16:44 +0000 (0:00:00.009) 0:01:41.267 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:16:44 +0000 (0:00:00.015) 0:01:41.282 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:16:44 +0000 (0:00:00.009) 0:01:41.292 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:16:44 +0000 (0:00:00.009) 0:01:41.301 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:16:44 +0000 (0:00:00.017) 0:01:41.318 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:16:44 +0000 (0:00:00.006) 0:01:41.324 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:16:47 +0000 (0:00:02.559) 0:01:43.884 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449363.0457144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449363.0447145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449363.0447145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3845371525", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:16:47 +0000 (0:00:00.231) 0:01:44.115 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:16:47 +0000 (0:00:00.007) 0:01:44.123 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:16:47 +0000 (0:00:00.006) 0:01:44.130 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:16:47 +0000 (0:00:00.187) 0:01:44.317 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:16:47 +0000 (0:00:00.020) 0:01:44.338 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449363.0457144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449363.0447145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449363.0447145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3845371525", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:16:47 +0000 (0:00:00.205) 0:01:44.543 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449311.7582645, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717449307.8662791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717449307.8652792, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "915255301", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:16:47 +0000 (0:00:00.207) 0:01:44.751 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:16:47 +0000 (0:00:00.007) 0:01:44.759 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:16:48 +0000 (0:00:00.200) 0:01:44.959 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:16:48 +0000 (0:00:00.200) 0:01:45.159 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:16:48 +0000 (0:00:00.190) 0:01:45.350 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:16:48 +0000 (0:00:00.010) 0:01:45.361 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:16:48 +0000 (0:00:00.009) 0:01:45.370 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:16:48 +0000 (0:00:00.014) 0:01:45.384 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "707793f96fc841f08b57d3c823c6806c-5.14.0-452.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:71 Monday 03 June 2024 21:16:48 +0000 (0:00:00.354) 0:01:45.739 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:78 Monday 03 June 2024 21:16:48 +0000 (0:00:00.020) 0:01:45.759 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:16:48 +0000 (0:00:00.034) 0:01:45.794 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:16:48 +0000 (0:00:00.009) 0:01:45.804 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:16:48 +0000 (0:00:00.015) 0:01:45.819 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:16:48 +0000 (0:00:00.009) 0:01:45.829 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:16:48 +0000 (0:00:00.008) 0:01:45.838 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:16:48 +0000 (0:00:00.015) 0:01:45.854 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:16:48 +0000 (0:00:00.006) 0:01:45.860 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:16:50 +0000 (0:00:01.218) 0:01:47.079 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449363.0457144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449363.0447145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449363.0447145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3845371525", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:16:50 +0000 (0:00:00.204) 0:01:47.283 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:16:50 +0000 (0:00:00.007) 0:01:47.290 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:16:50 +0000 (0:00:00.006) 0:01:47.297 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:16:50 +0000 (0:00:00.189) 0:01:47.487 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:16:50 +0000 (0:00:00.020) 0:01:47.508 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449363.0457144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717449363.0447145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449363.0447145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3845371525", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:16:50 +0000 (0:00:00.203) 0:01:47.711 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449311.7582645, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717449307.8662791, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717449307.8652792, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "915255301", "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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:16:51 +0000 (0:00:00.207) 0:01:47.918 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:16:51 +0000 (0:00:00.008) 0:01:47.927 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:16:51 +0000 (0:00:00.209) 0:01:48.137 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:16:51 +0000 (0:00:00.213) 0:01:48.350 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:16:51 +0000 (0:00:00.441) 0:01:48.791 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:16:51 +0000 (0:00:00.010) 0:01:48.802 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:16:51 +0000 (0:00:00.010) 0:01:48.813 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:16:51 +0000 (0:00:00.014) 0:01:48.827 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:88 Monday 03 June 2024 21:16:52 +0000 (0:00:00.311) 0:01:49.138 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:95 Monday 03 June 2024 21:16:52 +0000 (0:00:00.021) 0:01:49.159 *********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1" ], "delta": "0:00:00.055248", "end": "2024-06-03 21:16:52.468669", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-06-03 21:16:52.413421" } STDERR: The param /boot/vmlinuz-5.14.0-452.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2" ], "delta": "0:00:00.054682", "end": "2024-06-03 21:16:52.720601", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-06-03 21:16:52.665919" } STDERR: The param /boot/vmlinuz-5.14.0-452.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:16:52 +0000 (0:00:00.478) 0:01:49.637 *********** 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.128651", "end": "2024-06-03 21:16:53.056362", "rc": 0, "start": "2024-06-03 21:16:52.927711" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:16:53 +0000 (0:00:00.310) 0:01:49.948 *********** included: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:16:53 +0000 (0:00:00.007) 0:01:49.955 *********** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:17:30 +0000 (0:00:36.933) 0:02:26.889 *********** 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.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:17:30 +0000 (0:00:00.006) 0:02:26.896 *********** 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:17:30 +0000 (0:00:00.009) 0:02:26.906 *********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.27s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.40s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.93s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.56s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.43s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.21s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.20s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.98s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:7 ------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.93s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tasks/clone_kernel.yml:7 ------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.68s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Remove cloned kernels --------------------------------------------------- 0.48s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/tests/tests_add_rm.yml:95 ------------------ fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.46s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.45s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.44s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.40s /WORKDIR/git-tox-lsr-3.4.06gg8zgd9/.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. ---^---^---^---^---^---