# 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-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:13 Friday 19 April 2024 18:41:20 +0000 (0:00:00.015) 0:00:00.015 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:41:20 +0000 (0:00:00.027) 0:00:00.043 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:41:20 +0000 (0:00:00.011) 0:00:00.054 ********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:41:21 +0000 (0:00:00.740) 0:00:00.794 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:41:21 +0000 (0:00:00.274) 0:00:01.068 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:41:21 +0000 (0:00:00.015) 0:00:01.084 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:41:21 +0000 (0:00:00.019) 0:00:01.104 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:41:21 +0000 (0:00:00.008) 0:00:01.113 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:41:25 +0000 (0:00:03.333) 0:00:04.446 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1709714944.362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709714944.071, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2213188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714944.071, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1770505841", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:41:25 +0000 (0:00:00.220) 0:00:04.666 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:41:25 +0000 (0:00:00.008) 0:00:04.675 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:41:25 +0000 (0:00:00.006) 0:00:04.682 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:41:25 +0000 (0:00:00.203) 0:00:04.885 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:41:25 +0000 (0:00:00.027) 0:00:04.912 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552085.2059917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709714944.071, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2213188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714944.071, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1770505841", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:41:25 +0000 (0:00:00.220) 0:00:05.133 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1709714945.487, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "cccc7b0b48ff86dd10ff50c669161dc9bcbd2966", "ctime": 1709714945.487, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2213190, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1709714945.487, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "3119134227", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:41:25 +0000 (0:00:00.229) 0:00:05.362 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:41:25 +0000 (0:00:00.008) 0:00:05.371 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:41:26 +0000 (0:00:00.284) 0:00:05.655 ********** changed: [sut] => { "changed": true, "rc": 0 } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:41:26 +0000 (0:00:00.216) 0:00:05.872 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:41:26 +0000 (0:00:00.271) 0:00:06.143 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:41:26 +0000 (0:00:00.011) 0:00:06.155 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:41:26 +0000 (0:00:00.009) 0:00:06.165 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:41:26 +0000 (0:00:00.014) 0:00:06.179 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbd80f73a04d416b942f09d4dce77b46-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbd80f73a04d416b942f09d4dce77b46.img", "kernel": "/boot/vmlinuz-0-rescue-cbd80f73a04d416b942f09d4dce77b46", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (0-rescue-cbd80f73a04d416b942f09d4dce77b46) 8" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:19 Friday 19 April 2024 18:41:27 +0000 (0:00:00.499) 0:00:06.679 ********** 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-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:26 Friday 19 April 2024 18:41:27 +0000 (0:00:00.002) 0:00:06.681 ********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:29 Friday 19 April 2024 18:41:27 +0000 (0:00:00.001) 0:00:06.683 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:3 Friday 19 April 2024 18:41:27 +0000 (0:00:00.014) 0:00:06.697 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:7 Friday 19 April 2024 18:41:27 +0000 (0:00:00.024) 0:00:06.721 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-540.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "66427db50c8d3165c6b97e49b14c0c3697dfc860", "dest": "/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-540.el8.x86_64" }, "md5sum": "4d13a1f2c37db07d97b52e86454034da", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11085536, "src": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-540.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-540.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "acc27c8a6d32c6f682806b75caf8790003e682b9", "dest": "/boot/initramfs-4.18.0-540.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-540.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-540.el8.x86_64.img" }, "md5sum": "15bcbe8f76644f046eeb694102c9613b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31355768, "src": "/boot/initramfs-4.18.0-540.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:21 Friday 19 April 2024 18:41:28 +0000 (0:00:00.877) 0:00:07.599 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:41:28 +0000 (0:00:00.026) 0:00:07.626 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:41:28 +0000 (0:00:00.012) 0:00:07.638 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:41:28 +0000 (0:00:00.021) 0:00:07.660 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:41:28 +0000 (0:00:00.011) 0:00:07.671 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:41:28 +0000 (0:00:00.010) 0:00:07.682 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:41:28 +0000 (0:00:00.020) 0:00:07.703 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:41:28 +0000 (0:00:00.007) 0:00:07.710 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:41:31 +0000 (0:00:03.192) 0:00:10.902 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552085.2059917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709714944.071, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2213188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714944.071, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1770505841", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:41:31 +0000 (0:00:00.217) 0:00:11.120 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:41:31 +0000 (0:00:00.009) 0:00:11.129 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:41:31 +0000 (0:00:00.007) 0:00:11.137 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:41:31 +0000 (0:00:00.203) 0:00:11.340 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:41:31 +0000 (0:00:00.026) 0:00:11.367 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552085.2059917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709714944.071, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2213188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714944.071, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1770505841", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:41:32 +0000 (0:00:00.217) 0:00:11.585 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552086.4229972, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "74f7564d2b790023af1eadcd0ca2b46f7cfcad43", "ctime": 1713552086.4239972, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713552086.4229972, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1517510606", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:41:32 +0000 (0:00:00.219) 0:00:11.805 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:41:32 +0000 (0:00:00.009) 0:00:11.814 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:41:32 +0000 (0:00:00.213) 0:00:12.027 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:41:32 +0000 (0:00:00.212) 0:00:12.239 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1 --initrd=/boot/initramfs-4.18.0-540.el8.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:41:33 +0000 (0:00:00.472) 0:00:12.712 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:41:33 +0000 (0:00:00.017) 0:00:12.729 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:41:33 +0000 (0:00:00.012) 0:00:12.741 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:41:33 +0000 (0:00:00.016) 0:00:12.758 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:36 Friday 19 April 2024 18:41:33 +0000 (0:00:00.017) 0:00:12.776 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 19 April 2024 18:41:33 +0000 (0:00:00.001) 0:00:12.777 ********** 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.178622", "end": "2024-04-19 18:41:33.785440", "rc": 0, "start": "2024-04-19 18:41:33.606818" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 19 April 2024 18:41:33 +0000 (0:00:00.456) 0:00:13.234 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 19 April 2024 18:41:33 +0000 (0:00:00.010) 0:00:13.244 ********** changed: [sut] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 19 April 2024 18:41:58 +0000 (0:00:24.193) 0:00:37.438 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 19 April 2024 18:41:58 +0000 (0:00:00.007) 0:00:37.446 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:39 Friday 19 April 2024 18:41:58 +0000 (0:00:00.010) 0:00:37.457 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:43 Friday 19 April 2024 18:41:58 +0000 (0:00:00.010) 0:00:37.467 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:41:58 +0000 (0:00:00.036) 0:00:37.504 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:41:58 +0000 (0:00:00.011) 0:00:37.516 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:41:58 +0000 (0:00:00.017) 0:00:37.533 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:41:58 +0000 (0:00:00.011) 0:00:37.545 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:41:58 +0000 (0:00:00.011) 0:00:37.556 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:41:58 +0000 (0:00:00.020) 0:00:37.576 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:41:58 +0000 (0:00:00.007) 0:00:37.584 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:42:03 +0000 (0:00:05.158) 0:00:42.742 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552093.7850306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552093.7840304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552093.7840304, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2682436070", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:42:03 +0000 (0:00:00.230) 0:00:42.973 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:42:03 +0000 (0:00:00.009) 0:00:42.982 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:42:03 +0000 (0:00:00.008) 0:00:42.991 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:42:03 +0000 (0:00:00.210) 0:00:43.202 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:42:03 +0000 (0:00:00.023) 0:00:43.225 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552093.7850306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552093.7840304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552093.7840304, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2682436070", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:42:04 +0000 (0:00:00.223) 0:00:43.449 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552092.343024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "74f7564d2b790023af1eadcd0ca2b46f7cfcad43", "ctime": 1713552086.4239972, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713552086.4229972, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1517510606", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:42:04 +0000 (0:00:00.222) 0:00:43.671 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:42:04 +0000 (0:00:00.009) 0:00:43.681 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:42:04 +0000 (0:00:00.221) 0:00:43.902 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:42:04 +0000 (0:00:00.215) 0:00:44.118 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:42:04 +0000 (0:00:00.207) 0:00:44.326 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:42:04 +0000 (0:00:00.012) 0:00:44.338 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:42:04 +0000 (0:00:00.010) 0:00:44.349 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:42:04 +0000 (0:00:00.014) 0:00:44.363 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "3cbac360a65749098b5457aeb0608d31-4.18.0-540.el8.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "1", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbd80f73a04d416b942f09d4dce77b46-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cbd80f73a04d416b942f09d4dce77b46.img", "kernel": "/boot/vmlinuz-0-rescue-cbd80f73a04d416b942f09d4dce77b46", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (0-rescue-cbd80f73a04d416b942f09d4dce77b46) 8" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:35 Friday 19 April 2024 18:42:05 +0000 (0:00:00.427) 0:00:44.791 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:44 Friday 19 April 2024 18:42:05 +0000 (0:00:00.025) 0:00:44.817 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:42:05 +0000 (0:00:00.034) 0:00:44.851 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:42:05 +0000 (0:00:00.012) 0:00:44.863 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:42:05 +0000 (0:00:00.018) 0:00:44.882 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:42:05 +0000 (0:00:00.011) 0:00:44.893 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:42:05 +0000 (0:00:00.011) 0:00:44.904 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:42:05 +0000 (0:00:00.020) 0:00:44.925 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:42:05 +0000 (0:00:00.007) 0:00:44.933 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:42:08 +0000 (0:00:03.134) 0:00:48.067 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552093.7850306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552093.7840304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552093.7840304, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2682436070", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:42:08 +0000 (0:00:00.222) 0:00:48.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 : Generate /etc/default/grub] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:42:08 +0000 (0:00:00.008) 0:00:48.298 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:42:08 +0000 (0:00:00.007) 0:00:48.305 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:42:09 +0000 (0:00:00.205) 0:00:48.511 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:42:09 +0000 (0:00:00.024) 0:00:48.536 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552093.7850306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552093.7840304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552093.7840304, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2682436070", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:42:09 +0000 (0:00:00.223) 0:00:48.760 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552092.343024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "74f7564d2b790023af1eadcd0ca2b46f7cfcad43", "ctime": 1713552086.4239972, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713552086.4229972, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1517510606", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:42:09 +0000 (0:00:00.226) 0:00:48.986 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:42:09 +0000 (0:00:00.008) 0:00:48.995 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:42:09 +0000 (0:00:00.219) 0:00:49.214 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:42:10 +0000 (0:00:00.219) 0:00:49.433 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:42:10 +0000 (0:00:00.526) 0:00:49.959 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:42:10 +0000 (0:00:00.012) 0:00:49.972 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:42:10 +0000 (0:00:00.010) 0:00:49.982 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:42:10 +0000 (0:00:00.014) 0:00:49.997 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbd80f73a04d416b942f09d4dce77b46-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbd80f73a04d416b942f09d4dce77b46.img", "kernel": "/boot/vmlinuz-0-rescue-cbd80f73a04d416b942f09d4dce77b46", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (0-rescue-cbd80f73a04d416b942f09d4dce77b46) 8" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:61 Friday 19 April 2024 18:42:10 +0000 (0:00:00.355) 0:00:50.352 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:65 Friday 19 April 2024 18:42:10 +0000 (0:00:00.025) 0:00:50.377 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:3 Friday 19 April 2024 18:42:10 +0000 (0:00:00.017) 0:00:50.395 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:7 Friday 19 April 2024 18:42:10 +0000 (0:00:00.023) 0:00:50.418 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-540.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "66427db50c8d3165c6b97e49b14c0c3697dfc860", "dest": "/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-540.el8.x86_64" }, "md5sum": "4d13a1f2c37db07d97b52e86454034da", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11085536, "src": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-540.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-540.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "acc27c8a6d32c6f682806b75caf8790003e682b9", "dest": "/boot/initramfs-4.18.0-540.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-540.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-540.el8.x86_64.img" }, "md5sum": "15bcbe8f76644f046eeb694102c9613b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31355768, "src": "/boot/initramfs-4.18.0-540.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:21 Friday 19 April 2024 18:42:11 +0000 (0:00:00.979) 0:00:51.398 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:42:11 +0000 (0:00:00.027) 0:00:51.426 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:42:12 +0000 (0:00:00.014) 0:00:51.440 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:42:12 +0000 (0:00:00.022) 0:00:51.462 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:42:12 +0000 (0:00:00.012) 0:00:51.475 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:42:12 +0000 (0:00:00.011) 0:00:51.486 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:42:12 +0000 (0:00:00.021) 0:00:51.508 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:42:12 +0000 (0:00:00.007) 0:00:51.515 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:42:15 +0000 (0:00:03.155) 0:00:54.671 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552093.7850306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552093.7840304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552093.7840304, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2682436070", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:42:15 +0000 (0:00:00.222) 0:00:54.893 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:42:15 +0000 (0:00:00.009) 0:00:54.902 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:42:15 +0000 (0:00:00.007) 0:00:54.910 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:42:15 +0000 (0:00:00.205) 0:00:55.115 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:42:15 +0000 (0:00:00.025) 0:00:55.141 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552093.7850306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552093.7840304, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552093.7840304, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "2682436070", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:42:15 +0000 (0:00:00.224) 0:00:55.366 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552092.343024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "74f7564d2b790023af1eadcd0ca2b46f7cfcad43", "ctime": 1713552086.4239972, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713552086.4229972, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1517510606", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:42:16 +0000 (0:00:00.223) 0:00:55.589 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:42:16 +0000 (0:00:00.008) 0:00:55.598 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:42:16 +0000 (0:00:00.220) 0:00:55.818 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:42:16 +0000 (0:00:00.221) 0:00:56.040 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2 --initrd=/boot/initramfs-4.18.0-540.el8.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:42:17 +0000 (0:00:00.481) 0:00:56.522 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:42:17 +0000 (0:00:00.011) 0:00:56.534 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:42:17 +0000 (0:00:00.010) 0:00:56.544 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:42:17 +0000 (0:00:00.015) 0:00:56.559 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:36 Friday 19 April 2024 18:42:17 +0000 (0:00:00.015) 0:00:56.575 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 19 April 2024 18:42:17 +0000 (0:00:00.001) 0:00:56.577 ********** 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.180829", "end": "2024-04-19 18:42:17.517863", "rc": 0, "start": "2024-04-19 18:42:17.337034" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 19 April 2024 18:42:17 +0000 (0:00:00.390) 0:00:56.967 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 19 April 2024 18:42:17 +0000 (0:00:00.008) 0:00:56.976 ********** changed: [sut] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 19 April 2024 18:42:52 +0000 (0:00:35.385) 0:01:32.361 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 19 April 2024 18:42:52 +0000 (0:00:00.009) 0:01:32.370 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:39 Friday 19 April 2024 18:42:52 +0000 (0:00:00.010) 0:01:32.381 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:43 Friday 19 April 2024 18:42:52 +0000 (0:00:00.010) 0:01:32.391 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:42:53 +0000 (0:00:00.038) 0:01:32.430 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:42:53 +0000 (0:00:00.011) 0:01:32.442 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:42:53 +0000 (0:00:00.018) 0:01:32.461 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:42:53 +0000 (0:00:00.010) 0:01:32.472 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:42:53 +0000 (0:00:00.011) 0:01:32.483 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:42:53 +0000 (0:00:00.020) 0:01:32.504 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:42:53 +0000 (0:00:00.008) 0:01:32.513 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:42:58 +0000 (0:00:05.025) 0:01:37.539 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552137.5163221, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552137.514322, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552137.514322, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1875810990", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:42:58 +0000 (0:00:00.231) 0:01:37.771 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:42:58 +0000 (0:00:00.008) 0:01:37.779 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:42:58 +0000 (0:00:00.007) 0:01:37.787 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:42:58 +0000 (0:00:00.206) 0:01:37.993 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:42:58 +0000 (0:00:00.025) 0:01:38.019 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552137.5163221, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552137.514322, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552137.514322, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1875810990", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:42:58 +0000 (0:00:00.224) 0:01:38.244 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552092.343024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "74f7564d2b790023af1eadcd0ca2b46f7cfcad43", "ctime": 1713552086.4239972, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713552086.4229972, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1517510606", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:42:59 +0000 (0:00:00.225) 0:01:38.470 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:42:59 +0000 (0:00:00.009) 0:01:38.479 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:42:59 +0000 (0:00:00.221) 0:01:38.700 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:42:59 +0000 (0:00:00.222) 0:01:38.923 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:42:59 +0000 (0:00:00.209) 0:01:39.132 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:42:59 +0000 (0:00:00.012) 0:01:39.145 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:42:59 +0000 (0:00:00.011) 0:01:39.157 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:42:59 +0000 (0:00:00.015) 0:01:39.172 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "3cbac360a65749098b5457aeb0608d31-4.18.0-540.el8.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "1", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbd80f73a04d416b942f09d4dce77b46-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cbd80f73a04d416b942f09d4dce77b46.img", "kernel": "/boot/vmlinuz-0-rescue-cbd80f73a04d416b942f09d4dce77b46", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (0-rescue-cbd80f73a04d416b942f09d4dce77b46) 8" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:71 Friday 19 April 2024 18:43:00 +0000 (0:00:00.400) 0:01:39.573 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:78 Friday 19 April 2024 18:43:00 +0000 (0:00:00.025) 0:01:39.598 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 19 April 2024 18:43:00 +0000 (0:00:00.043) 0:01:39.642 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 19 April 2024 18:43:00 +0000 (0:00:00.012) 0:01:39.654 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 19 April 2024 18:43:00 +0000 (0:00:00.018) 0:01:39.672 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 19 April 2024 18:43:00 +0000 (0:00:00.011) 0:01:39.683 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 19 April 2024 18:43:00 +0000 (0:00:00.010) 0:01:39.694 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 19 April 2024 18:43:00 +0000 (0:00:00.020) 0:01:39.715 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 19 April 2024 18:43:00 +0000 (0:00:00.007) 0:01:39.722 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 19 April 2024 18:43:03 +0000 (0:00:03.143) 0:01:42.865 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552137.5163221, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552137.514322, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552137.514322, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1875810990", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 19 April 2024 18:43:03 +0000 (0:00:00.224) 0:01:43.090 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 19 April 2024 18:43:03 +0000 (0:00:00.009) 0:01:43.099 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 19 April 2024 18:43:03 +0000 (0:00:00.007) 0:01:43.106 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 19 April 2024 18:43:03 +0000 (0:00:00.207) 0:01:43.314 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 19 April 2024 18:43:03 +0000 (0:00:00.025) 0:01:43.339 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552137.5163221, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1713552137.514322, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2357506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713552137.514322, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1875810990", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 19 April 2024 18:43:04 +0000 (0:00:00.223) 0:01:43.563 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1713552092.343024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "74f7564d2b790023af1eadcd0ca2b46f7cfcad43", "ctime": 1713552086.4239972, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713552086.4229972, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1517510606", "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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Friday 19 April 2024 18:43:04 +0000 (0:00:00.225) 0:01:43.788 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 19 April 2024 18:43:04 +0000 (0:00:00.008) 0:01:43.796 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 19 April 2024 18:43:04 +0000 (0:00:00.223) 0:01:44.019 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Friday 19 April 2024 18:43:04 +0000 (0:00:00.224) 0:01:44.244 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 19 April 2024 18:43:05 +0000 (0:00:00.493) 0:01:44.737 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 19 April 2024 18:43:05 +0000 (0:00:00.012) 0:01:44.750 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Friday 19 April 2024 18:43:05 +0000 (0:00:00.011) 0:01:44.761 ********** 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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Friday 19 April 2024 18:43:05 +0000 (0:00:00.015) 0:01:44.777 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbd80f73a04d416b942f09d4dce77b46-4.18.0-540.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-540.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-540.el8.x86_64", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (4.18.0-540.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbd80f73a04d416b942f09d4dce77b46-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbd80f73a04d416b942f09d4dce77b46.img", "kernel": "/boot/vmlinuz-0-rescue-cbd80f73a04d416b942f09d4dce77b46", "root": "UUID=a5dd515a-6ac6-4058-8f5f-1857be5c3e54", "title": "CentOS Stream (0-rescue-cbd80f73a04d416b942f09d4dce77b46) 8" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:88 Friday 19 April 2024 18:43:05 +0000 (0:00:00.356) 0:01:45.134 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:95 Friday 19 April 2024 18:43:05 +0000 (0:00:00.025) 0:01:45.160 ********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-540.el8.x86_64_clone1" ], "delta": "0:00:00.055081", "end": "2024-04-19 18:43:05.975591", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-04-19 18:43:05.920510" } STDERR: The param /boot/vmlinuz-4.18.0-540.el8.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-540.el8.x86_64_clone2" ], "delta": "0:00:00.055440", "end": "2024-04-19 18:43:06.227633", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-04-19 18:43:06.172193" } STDERR: The param /boot/vmlinuz-4.18.0-540.el8.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 19 April 2024 18:43:06 +0000 (0:00:00.516) 0:01:45.676 ********** 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.151216", "end": "2024-04-19 18:43:06.593095", "rc": 0, "start": "2024-04-19 18:43:06.441879" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 19 April 2024 18:43:06 +0000 (0:00:00.365) 0:01:46.042 ********** included: /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 19 April 2024 18:43:06 +0000 (0:00:00.008) 0:01:46.051 ********** changed: [sut] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 19 April 2024 18:43:33 +0000 (0:00:26.578) 0:02:12.630 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 19 April 2024 18:43:33 +0000 (0:00:00.008) 0:02:12.638 ********** 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 Friday 19 April 2024 18:43:33 +0000 (0:00:00.012) 0:02:12.651 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 35.39s /WORKDIR/git-refactor-with-mockov7ujskg/.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 -- 26.58s /WORKDIR/git-refactor-with-mockov7ujskg/.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 -- 24.19s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.16s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.03s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.33s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.19s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.16s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.14s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.13s /WORKDIR/git-refactor-with-mockov7ujskg/.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-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:7 -------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.88s /WORKDIR/git-refactor-with-mockov7ujskg/tests/tasks/clone_kernel.yml:7 -------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.74s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Remove cloned kernels --------------------------------------------------- 0.52s /WORKDIR/git-refactor-with-mockov7ujskg/tests/tests_add_rm.yml:95 ------------- fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.50s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.48s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.47s /WORKDIR/git-refactor-with-mockov7ujskg/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.46s /WORKDIR/git-refactor-with-mockov7ujskg/.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. ---^---^---^---^---^---