# 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-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:13 Monday 11 March 2024 11:53:10 +0000 (0:00:00.013) 0:00:00.013 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:53:10 +0000 (0:00:00.022) 0:00:00.035 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:53:10 +0000 (0:00:00.009) 0:00:00.045 ********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:53:11 +0000 (0:00:00.523) 0:00:00.569 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:53:11 +0000 (0:00:00.174) 0:00:00.743 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:53:11 +0000 (0:00:00.013) 0:00:00.757 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:53:11 +0000 (0:00:00.017) 0:00:00.774 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:53:12 +0000 (0:00:00.771) 0:00:01.546 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1709722262.4224408, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1709722262.4234407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722262.4234407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1567518337", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:53:12 +0000 (0:00:00.139) 0:00:01.686 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:53:12 +0000 (0:00:00.007) 0:00:01.693 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:53:12 +0000 (0:00:00.006) 0:00:01.700 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:53:12 +0000 (0:00:00.111) 0:00:01.811 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:53:12 +0000 (0:00:00.020) 0:00:01.832 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710157992.2377143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1709722262.4234407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722262.4234407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1567518337", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:53:12 +0000 (0:00:00.126) 0:00:01.959 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1709722330.1614408, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "84449a6fe7bc582f1779b0c30a0abe2fd54a4e66", "ctime": 1709722761.3824408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722330.1664407, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "1567530635", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:53:12 +0000 (0:00:00.131) 0:00:02.090 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:53:12 +0000 (0:00:00.007) 0:00:02.098 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:53:12 +0000 (0:00:00.188) 0:00:02.286 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:53:12 +0000 (0:00:00.130) 0:00:02.417 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:53:13 +0000 (0:00:00.171) 0:00:02.589 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:53:13 +0000 (0:00:00.010) 0:00:02.600 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:53:13 +0000 (0:00:00.008) 0:00:02.608 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:53:13 +0000 (0:00:00.012) 0:00:02.621 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-93a18ed52bf848cfb47f210e774a29b1.img", "kernel": "/boot/vmlinuz-0-rescue-93a18ed52bf848cfb47f210e774a29b1", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (0-rescue-93a18ed52bf848cfb47f210e774a29b1) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:19 Monday 11 March 2024 11:53:13 +0000 (0:00:00.252) 0:00:02.873 ********** 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-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:26 Monday 11 March 2024 11:53:13 +0000 (0:00:00.001) 0:00:02.875 ********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:29 Monday 11 March 2024 11:53:13 +0000 (0:00:00.000) 0:00:02.876 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:3 Monday 11 March 2024 11:53:13 +0000 (0:00:00.011) 0:00:02.887 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:7 Monday 11 March 2024 11:53:13 +0000 (0:00:00.020) 0:00:02.908 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c3a7db411867e5fced77b56c8c08aa68441e553e", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "70e28ab263025fb5821004242873f5ee", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20139337, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:21 Monday 11 March 2024 11:53:14 +0000 (0:00:00.563) 0:00:03.471 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:53:14 +0000 (0:00:00.020) 0:00:03.491 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:53:14 +0000 (0:00:00.010) 0:00:03.501 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:53:14 +0000 (0:00:00.016) 0:00:03.518 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:53:14 +0000 (0:00:00.010) 0:00:03.528 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:53:14 +0000 (0:00:00.009) 0:00:03.537 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:53:14 +0000 (0:00:00.019) 0:00:03.556 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:53:19 +0000 (0:00:05.552) 0:00:09.109 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710157992.2377143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1709722262.4234407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722262.4234407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1567518337", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:53:19 +0000 (0:00:00.137) 0:00:09.246 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:53:19 +0000 (0:00:00.008) 0:00:09.254 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:53:19 +0000 (0:00:00.006) 0:00:09.260 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:53:19 +0000 (0:00:00.112) 0:00:09.373 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:53:19 +0000 (0:00:00.020) 0:00:09.394 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710157992.2377143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1709722262.4234407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722262.4234407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1567518337", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:53:20 +0000 (0:00:00.129) 0:00:09.523 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710157992.6447022, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "84449a6fe7bc582f1779b0c30a0abe2fd54a4e66", "ctime": 1709722761.3824408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722330.1664407, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "1567530635", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:53:20 +0000 (0:00:00.131) 0:00:09.655 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:53:20 +0000 (0:00:00.008) 0:00:09.663 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:53:20 +0000 (0:00:00.127) 0:00:09.791 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:53:20 +0000 (0:00:00.126) 0:00:09.918 ********** 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-3.10.0-1160.108.1.el7.x86_64_clone1 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:53:20 +0000 (0:00:00.330) 0:00:10.249 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:53:20 +0000 (0:00:00.010) 0:00:10.259 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:53:20 +0000 (0:00:00.008) 0:00:10.268 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:53:20 +0000 (0:00:00.012) 0:00:10.281 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:36 Monday 11 March 2024 11:53:20 +0000 (0:00:00.013) 0:00:10.294 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 March 2024 11:53:20 +0000 (0:00:00.001) 0:00:10.296 ********** 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.021431", "end": "2024-03-11 11:53:21.063170", "rc": 0, "start": "2024-03-11 11:53:21.041739" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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_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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 March 2024 11:53:21 +0000 (0:00:00.200) 0:00:10.497 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 March 2024 11:53:21 +0000 (0:00:00.008) 0:00:10.505 ********** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 March 2024 11:53:59 +0000 (0:00:38.115) 0:00:48.621 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 March 2024 11:53:59 +0000 (0:00:00.006) 0:00:48.628 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:39 Monday 11 March 2024 11:53:59 +0000 (0:00:00.008) 0:00:48.637 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:43 Monday 11 March 2024 11:53:59 +0000 (0:00:00.008) 0:00:48.645 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:53:59 +0000 (0:00:00.027) 0:00:48.672 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:53:59 +0000 (0:00:00.009) 0:00:48.682 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:53:59 +0000 (0:00:00.015) 0:00:48.698 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:53:59 +0000 (0:00:00.009) 0:00:48.707 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:53:59 +0000 (0:00:00.008) 0:00:48.715 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:53:59 +0000 (0:00:00.016) 0:00:48.732 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:53:59 +0000 (0:00:00.633) 0:00:49.365 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0624514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158001.0614514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158001.0604515, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "957247300", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:54:00 +0000 (0:00:00.127) 0:00:49.493 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:54:00 +0000 (0:00:00.007) 0:00:49.500 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:54:00 +0000 (0:00:00.009) 0:00:49.510 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:54:00 +0000 (0:00:00.113) 0:00:49.624 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:54:00 +0000 (0:00:00.021) 0:00:49.645 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0624514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158001.0614514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158001.0604515, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "957247300", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:54:00 +0000 (0:00:00.126) 0:00:49.771 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0454519, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1d33a66804338bbeb12ab8ef2ccd7cd73e8890f3", "ctime": 1710158000.8144586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169659, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158000.8144586, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "957247296", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:54:00 +0000 (0:00:00.131) 0:00:49.903 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:54:00 +0000 (0:00:00.007) 0:00:49.910 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:54:00 +0000 (0:00:00.128) 0:00:50.039 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:54:00 +0000 (0:00:00.124) 0:00:50.164 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:54:00 +0000 (0:00:00.116) 0:00:50.280 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:54:00 +0000 (0:00:00.010) 0:00:50.291 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:54:00 +0000 (0:00:00.009) 0:00:50.300 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:54:00 +0000 (0:00:00.013) 0:00:50.313 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-93a18ed52bf848cfb47f210e774a29b1.img", "kernel": "/boot/vmlinuz-0-rescue-93a18ed52bf848cfb47f210e774a29b1", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (0-rescue-93a18ed52bf848cfb47f210e774a29b1) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:35 Monday 11 March 2024 11:54:01 +0000 (0:00:00.141) 0:00:50.455 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:44 Monday 11 March 2024 11:54:01 +0000 (0:00:00.020) 0:00:50.476 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:54:01 +0000 (0:00:00.026) 0:00:50.502 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:54:01 +0000 (0:00:00.009) 0:00:50.512 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:54:01 +0000 (0:00:00.015) 0:00:50.527 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:54:01 +0000 (0:00:00.009) 0:00:50.537 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:54:01 +0000 (0:00:00.009) 0:00:50.547 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:54:01 +0000 (0:00:00.016) 0:00:50.563 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:54:01 +0000 (0:00:00.495) 0:00:51.058 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0624514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158001.0614514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158001.0604515, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "957247300", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:54:01 +0000 (0:00:00.127) 0:00:51.186 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:54:01 +0000 (0:00:00.007) 0:00:51.194 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:54:01 +0000 (0:00:00.006) 0:00:51.200 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:54:01 +0000 (0:00:00.114) 0:00:51.315 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:54:01 +0000 (0:00:00.020) 0:00:51.335 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0624514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158001.0614514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158001.0604515, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "957247300", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:54:02 +0000 (0:00:00.127) 0:00:51.463 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0454519, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1d33a66804338bbeb12ab8ef2ccd7cd73e8890f3", "ctime": 1710158000.8144586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169659, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158000.8144586, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "957247296", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:54:02 +0000 (0:00:00.132) 0:00:51.596 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:54:02 +0000 (0:00:00.008) 0:00:51.604 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:54:02 +0000 (0:00:00.127) 0:00:51.731 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:54:02 +0000 (0:00:00.126) 0:00:51.858 ********** 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-3.10.0-1160.108.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:54:02 +0000 (0:00:00.157) 0:00:52.015 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:54:02 +0000 (0:00:00.011) 0:00:52.026 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:54:02 +0000 (0:00:00.011) 0:00:52.038 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:54:02 +0000 (0:00:00.013) 0:00:52.052 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-93a18ed52bf848cfb47f210e774a29b1.img", "kernel": "/boot/vmlinuz-0-rescue-93a18ed52bf848cfb47f210e774a29b1", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (0-rescue-93a18ed52bf848cfb47f210e774a29b1) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:61 Monday 11 March 2024 11:54:02 +0000 (0:00:00.137) 0:00:52.190 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:65 Monday 11 March 2024 11:54:02 +0000 (0:00:00.021) 0:00:52.212 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:3 Monday 11 March 2024 11:54:02 +0000 (0:00:00.015) 0:00:52.227 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:7 Monday 11 March 2024 11:54:02 +0000 (0:00:00.021) 0:00:52.248 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c3a7db411867e5fced77b56c8c08aa68441e553e", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "70e28ab263025fb5821004242873f5ee", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20139337, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:21 Monday 11 March 2024 11:54:03 +0000 (0:00:00.501) 0:00:52.750 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:54:03 +0000 (0:00:00.020) 0:00:52.770 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:54:03 +0000 (0:00:00.010) 0:00:52.780 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:54:03 +0000 (0:00:00.015) 0:00:52.796 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:54:03 +0000 (0:00:00.011) 0:00:52.807 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:54:03 +0000 (0:00:00.009) 0:00:52.817 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:54:03 +0000 (0:00:00.017) 0:00:52.835 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:54:03 +0000 (0:00:00.502) 0:00:53.338 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0624514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158001.0614514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158001.0604515, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "957247300", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:54:04 +0000 (0:00:00.127) 0:00:53.465 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:54:04 +0000 (0:00:00.008) 0:00:53.473 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:54:04 +0000 (0:00:00.006) 0:00:53.480 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:54:04 +0000 (0:00:00.114) 0:00:53.595 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:54:04 +0000 (0:00:00.021) 0:00:53.617 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158001.0624514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158001.0614514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158001.0604515, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "957247300", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:54:04 +0000 (0:00:00.128) 0:00:53.745 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158042.7445636, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "84449a6fe7bc582f1779b0c30a0abe2fd54a4e66", "ctime": 1710158042.5806034, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158042.5806034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072950237856", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:54:04 +0000 (0:00:00.129) 0:00:53.875 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:54:04 +0000 (0:00:00.007) 0:00:53.882 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:54:04 +0000 (0:00:00.127) 0:00:54.010 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:54:04 +0000 (0:00:00.127) 0:00:54.138 ********** 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-3.10.0-1160.108.1.el7.x86_64_clone2 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:54:04 +0000 (0:00:00.153) 0:00:54.291 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:54:04 +0000 (0:00:00.010) 0:00:54.302 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:54:04 +0000 (0:00:00.009) 0:00:54.312 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:54:04 +0000 (0:00:00.013) 0:00:54.325 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:36 Monday 11 March 2024 11:54:04 +0000 (0:00:00.014) 0:00:54.339 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 March 2024 11:54:04 +0000 (0:00:00.001) 0:00:54.340 ********** 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.017359", "end": "2024-03-11 11:54:05.043428", "rc": 0, "start": "2024-03-11 11:54:05.026069" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 March 2024 11:54:05 +0000 (0:00:00.134) 0:00:54.475 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 March 2024 11:54:05 +0000 (0:00:00.008) 0:00:54.484 ********** changed: [sut] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 March 2024 11:54:34 +0000 (0:00:29.694) 0:01:24.179 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 March 2024 11:54:34 +0000 (0:00:00.006) 0:01:24.186 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:39 Monday 11 March 2024 11:54:34 +0000 (0:00:00.008) 0:01:24.194 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:43 Monday 11 March 2024 11:54:34 +0000 (0:00:00.008) 0:01:24.203 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:54:34 +0000 (0:00:00.027) 0:01:24.231 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:54:34 +0000 (0:00:00.010) 0:01:24.241 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:54:34 +0000 (0:00:00.016) 0:01:24.257 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:54:34 +0000 (0:00:00.009) 0:01:24.267 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:54:34 +0000 (0:00:00.009) 0:01:24.277 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:54:34 +0000 (0:00:00.017) 0:01:24.295 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:54:35 +0000 (0:00:00.947) 0:01:25.243 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158045.0413206, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158045.0413206, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158045.0413206, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072950237903", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:54:36 +0000 (0:00:00.188) 0:01:25.431 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:54:36 +0000 (0:00:00.008) 0:01:25.440 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:54:36 +0000 (0:00:00.006) 0:01:25.447 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:54:36 +0000 (0:00:00.166) 0:01:25.613 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:54:36 +0000 (0:00:00.021) 0:01:25.635 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158075.1637282, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158045.0413206, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158045.0413206, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072950237903", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:54:36 +0000 (0:00:00.186) 0:01:25.821 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158045.029321, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9f008dc4eb3b789f15d004930a202b6b3dcc26b9", "ctime": 1710158044.857326, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169719, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158044.857326, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072950237899", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:54:36 +0000 (0:00:00.132) 0:01:25.954 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:54:36 +0000 (0:00:00.007) 0:01:25.961 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:54:36 +0000 (0:00:00.125) 0:01:26.087 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:54:36 +0000 (0:00:00.125) 0:01:26.213 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:54:36 +0000 (0:00:00.117) 0:01:26.331 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:54:36 +0000 (0:00:00.013) 0:01:26.344 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:54:36 +0000 (0:00:00.012) 0:01:26.356 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:54:36 +0000 (0:00:00.014) 0:01:26.371 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-93a18ed52bf848cfb47f210e774a29b1.img", "kernel": "/boot/vmlinuz-0-rescue-93a18ed52bf848cfb47f210e774a29b1", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (0-rescue-93a18ed52bf848cfb47f210e774a29b1) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:71 Monday 11 March 2024 11:54:37 +0000 (0:00:00.143) 0:01:26.514 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:78 Monday 11 March 2024 11:54:37 +0000 (0:00:00.030) 0:01:26.545 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:54:37 +0000 (0:00:00.035) 0:01:26.581 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:54:37 +0000 (0:00:00.011) 0:01:26.592 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:54:37 +0000 (0:00:00.019) 0:01:26.611 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:54:37 +0000 (0:00:00.010) 0:01:26.622 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:54:37 +0000 (0:00:00.010) 0:01:26.633 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:54:37 +0000 (0:00:00.019) 0:01:26.652 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:54:37 +0000 (0:00:00.501) 0:01:27.154 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158075.1637282, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158045.0413206, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158045.0413206, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072950237903", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:54:37 +0000 (0:00:00.128) 0:01:27.283 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:54:37 +0000 (0:00:00.007) 0:01:27.291 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:54:37 +0000 (0:00:00.007) 0:01:27.299 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:54:37 +0000 (0:00:00.112) 0:01:27.412 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:54:38 +0000 (0:00:00.021) 0:01:27.433 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158075.1637282, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1710158045.0413206, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158045.0413206, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072950237903", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:54:38 +0000 (0:00:00.128) 0:01:27.561 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158045.029321, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9f008dc4eb3b789f15d004930a202b6b3dcc26b9", "ctime": 1710158044.857326, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169719, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1710158044.857326, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072950237899", "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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:54:38 +0000 (0:00:00.130) 0:01:27.692 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:54:38 +0000 (0:00:00.008) 0:01:27.701 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:54:38 +0000 (0:00:00.125) 0:01:27.826 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:54:38 +0000 (0:00:00.126) 0:01:27.953 ********** 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-3.10.0-1160.108.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:54:38 +0000 (0:00:00.145) 0:01:28.099 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:54:38 +0000 (0:00:00.013) 0:01:28.112 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:54:38 +0000 (0:00:00.012) 0:01:28.125 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:54:38 +0000 (0:00:00.014) 0:01:28.139 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-93a18ed52bf848cfb47f210e774a29b1.img", "kernel": "/boot/vmlinuz-0-rescue-93a18ed52bf848cfb47f210e774a29b1", "root": "UUID=e68e4cee-2a87-4094-ac61-8c3230ab115f", "title": "CentOS Linux (0-rescue-93a18ed52bf848cfb47f210e774a29b1) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:88 Monday 11 March 2024 11:54:38 +0000 (0:00:00.149) 0:01:28.289 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:92 Monday 11 March 2024 11:54:38 +0000 (0:00:00.022) 0:01:28.312 ********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1" ], "delta": "0:00:00.013541", "end": "2024-03-11 11:54:38.243266", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-03-11 11:54:38.229725" } changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2" ], "delta": "0:00:00.013213", "end": "2024-03-11 11:54:38.373423", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-03-11 11:54:38.360210" } 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 March 2024 11:54:39 +0000 (0:00:00.250) 0:01:28.563 ********** 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.019611", "end": "2024-03-11 11:54:38.519979", "rc": 0, "start": "2024-03-11 11:54:38.500368" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 March 2024 11:54:39 +0000 (0:00:00.134) 0:01:28.697 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 March 2024 11:54:39 +0000 (0:00:00.007) 0:01:28.705 ********** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 March 2024 11:55:17 +0000 (0:00:38.358) 0:02:07.064 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 March 2024 11:55:17 +0000 (0:00:00.007) 0:02:07.071 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=103 changed=13 unreachable=0 failed=0 skipped=72 rescued=0 ignored=0 Monday 11 March 2024 11:55:17 +0000 (0:00:00.009) 0:02:07.080 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.36s /WORKDIR/git-ostree-add-default-grub4ob6runv/.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 -- 38.12s /WORKDIR/git-ostree-add-default-grub4ob6runv/.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 -- 29.69s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.55s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.95s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.77s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.63s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.56s /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:7 --- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.52s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.50s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.50s /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tasks/clone_kernel.yml:7 --- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.50s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.50s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.33s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.25s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Remove cloned kernels --------------------------------------------------- 0.25s /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_add_rm.yml:92 -------- fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.20s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.19s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.19s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.19s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---