# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-password-efiwvy3gfej/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:13 Tuesday 04 June 2024 07:15:51 +0000 (0:00:00.012) 0:00:00.012 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:15:51 +0000 (0:00:00.024) 0:00:00.036 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:15:51 +0000 (0:00:00.010) 0:00:00.046 ********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:15:52 +0000 (0:00:00.617) 0:00:00.664 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:15:52 +0000 (0:00:00.184) 0:00:00.849 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:15:52 +0000 (0:00:00.014) 0:00:00.863 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:15:52 +0000 (0:00:00.017) 0:00:00.881 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:15:52 +0000 (0:00:00.008) 0:00:00.889 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.799) 0:00:01.688 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716903284.765065, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "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": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.141) 0:00:01.830 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.008) 0:00:01.838 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.007) 0:00:01.846 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.119) 0:00:01.965 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.023) 0:00:01.988 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485353.2726166, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "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": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.137) 0:00:02.126 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716903353.876065, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2f71fa1b20cd79edfcb2a2914294270388291516", "ctime": 1716903751.222065, "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": 1716903353.8820648, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072511069551", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.141) 0:00:02.268 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004634", "end": "2024-06-04 07:15:53.918259", "rc": 0, "start": "2024-06-04 07:15:53.913625" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.191) 0:00:02.460 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:15:53 +0000 (0:00:00.017) 0:00:02.477 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.194) 0:00:02.672 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.132) 0:00:02.804 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.179) 0:00:02.983 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.012) 0:00:02.996 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.009) 0:00:03.005 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.013) 0:00:03.018 ********** 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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.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=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "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-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:19 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.296) 0:00:03.314 ********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:26 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.002) 0:00:03.317 ********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:29 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.000) 0:00:03.317 ********** included: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:3 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.012) 0:00:03.330 ********** 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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:7 Tuesday 04 June 2024 07:15:54 +0000 (0:00:00.021) 0:00:03.352 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f5076cead1462cea53a2ca69249dc95d245693f8", "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64" }, "md5sum": "8d9b8ffe8940145977a27df6e6aa7b9c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a1ba6ada8f7e1f41e9935e34b214ea02d99aa01", "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img" }, "md5sum": "65a520fa9213c60f039c1f2862a6bdd7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20144293, "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:21 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.594) 0:00:03.947 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.022) 0:00:03.969 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.012) 0:00:03.982 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.016) 0:00:03.999 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.010) 0:00:04.009 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.011) 0:00:04.021 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.020) 0:00:04.041 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:15:55 +0000 (0:00:00.007) 0:00:04.049 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.510) 0:00:04.559 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485353.2726166, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "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": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.139) 0:00:04.699 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.010) 0:00:04.709 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.007) 0:00:04.717 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.120) 0:00:04.837 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.022) 0:00:04.859 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485353.2726166, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "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": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.131) 0:00:04.991 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485353.7086117, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2f71fa1b20cd79edfcb2a2914294270388291516", "ctime": 1716903751.222065, "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": 1716903353.8820648, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072511069551", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.134) 0:00:05.126 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004741", "end": "2024-06-04 07:15:56.718475", "rc": 0, "start": "2024-06-04 07:15:56.713734" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.137) 0:00:05.263 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.019) 0:00:05.282 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:15:56 +0000 (0:00:00.130) 0:00:05.413 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.134) 0:00:05.547 ********** 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.118.1.el7.x86_64_clone1 --initrd=/boot/initramfs-3.10.0-1160.118.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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.395) 0:00:05.943 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.013) 0:00:05.957 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.010) 0:00:05.967 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.014) 0:00:05.981 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:36 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.014) 0:00:05.995 ********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.001) 0:00:05.997 ********** 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.022834", "end": "2024-06-04 07:15:57.599143", "rc": 0, "start": "2024-06-04 07:15:57.576309" } 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.145) 0:00:06.142 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:15:57 +0000 (0:00:00.008) 0:00:06.151 ********** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:16:35 +0000 (0:00:37.942) 0:00:44.093 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.008) 0:00:44.102 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:39 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.010) 0:00:44.112 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:43 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.013) 0:00:44.125 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.041) 0:00:44.167 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.011) 0:00:44.179 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.017) 0:00:44.196 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.010) 0:00:44.206 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.010) 0:00:44.216 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.016) 0:00:44.233 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:16:35 +0000 (0:00:00.006) 0:00:44.240 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.708) 0:00:44.949 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.5985665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485357.5965667, "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": 1717485357.5955667, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "932995953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.132) 0:00:45.081 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.007) 0:00:45.089 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.006) 0:00:45.096 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.120) 0:00:45.217 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.022) 0:00:45.239 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.5985665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485357.5965667, "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": 1717485357.5955667, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "932995953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.131) 0:00:45.371 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.580567, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a3f44fca7e128ca5ce1bd615538aaebe65bbba31", "ctime": 1717485357.397569, "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": 1717485357.397569, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "932995949", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:16:36 +0000 (0:00:00.140) 0:00:45.512 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005095", "end": "2024-06-04 07:16:37.064574", "rc": 0, "start": "2024-06-04 07:16:37.059479" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.135) 0:00:45.647 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.017) 0:00:45.664 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.134) 0:00:45.799 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.129) 0:00:45.929 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.120) 0:00:46.050 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.012) 0:00:46.062 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.010) 0:00:46.073 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.014) 0:00:46.087 ********** 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.118.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.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=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "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-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:35 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.147) 0:00:46.234 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:44 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.023) 0:00:46.258 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.030) 0:00:46.289 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.010) 0:00:46.300 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.018) 0:00:46.319 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.011) 0:00:46.330 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.011) 0:00:46.341 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.020) 0:00:46.361 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:16:37 +0000 (0:00:00.007) 0:00:46.369 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.518) 0:00:46.887 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.5985665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485357.5965667, "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": 1717485357.5955667, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "932995953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.147) 0:00:47.035 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.009) 0:00:47.045 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.012) 0:00:47.057 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.119) 0:00:47.177 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.022) 0:00:47.200 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.5985665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485357.5965667, "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": 1717485357.5955667, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "932995953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.136) 0:00:47.336 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.580567, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a3f44fca7e128ca5ce1bd615538aaebe65bbba31", "ctime": 1717485357.397569, "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": 1717485357.397569, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "932995949", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:16:38 +0000 (0:00:00.140) 0:00:47.476 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004671", "end": "2024-06-04 07:16:39.083123", "rc": 0, "start": "2024-06-04 07:16:39.078452" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.150) 0:00:47.627 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.017) 0:00:47.645 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.132) 0:00:47.777 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.131) 0:00:47.909 ********** 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.118.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.161) 0:00:48.070 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.011) 0:00:48.081 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.010) 0:00:48.092 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.014) 0:00:48.106 ********** 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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.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=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "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-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:61 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.141) 0:00:48.248 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:65 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.022) 0:00:48.270 ********** included: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:3 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.017) 0:00:48.288 ********** 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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:7 Tuesday 04 June 2024 07:16:39 +0000 (0:00:00.020) 0:00:48.308 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f5076cead1462cea53a2ca69249dc95d245693f8", "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64" }, "md5sum": "8d9b8ffe8940145977a27df6e6aa7b9c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a1ba6ada8f7e1f41e9935e34b214ea02d99aa01", "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img" }, "md5sum": "65a520fa9213c60f039c1f2862a6bdd7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20144293, "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:21 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.506) 0:00:48.815 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.022) 0:00:48.838 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.010) 0:00:48.849 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.017) 0:00:48.866 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.011) 0:00:48.878 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.010) 0:00:48.888 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.018) 0:00:48.907 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.007) 0:00:48.914 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:16:40 +0000 (0:00:00.514) 0:00:49.428 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.5985665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485357.5965667, "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": 1717485357.5955667, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "932995953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.131) 0:00:49.560 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.007) 0:00:49.568 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.007) 0:00:49.575 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.117) 0:00:49.693 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.023) 0:00:49.716 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485357.5985665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485357.5965667, "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": 1717485357.5955667, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "932995953", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.135) 0:00:49.851 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485399.69413, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2f71fa1b20cd79edfcb2a2914294270388291516", "ctime": 1717485399.528132, "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": 1717485399.528132, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072323192724", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.136) 0:00:49.987 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004709", "end": "2024-06-04 07:16:41.583551", "rc": 0, "start": "2024-06-04 07:16:41.578842" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.137) 0:00:50.124 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.017) 0:00:50.142 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.131) 0:00:50.273 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:16:41 +0000 (0:00:00.130) 0:00:50.404 ********** 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.118.1.el7.x86_64_clone2 --initrd=/boot/initramfs-3.10.0-1160.118.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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.161) 0:00:50.565 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.011) 0:00:50.577 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.010) 0:00:50.587 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.014) 0:00:50.602 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:36 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.015) 0:00:50.617 ********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.001) 0:00:50.619 ********** 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.017451", "end": "2024-06-04 07:16:42.218106", "rc": 0, "start": "2024-06-04 07:16:42.200655" } 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.139) 0:00:50.758 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:16:42 +0000 (0:00:00.009) 0:00:50.768 ********** changed: [sut] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:17:13 +0000 (0:00:30.768) 0:01:21.536 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.007) 0:01:21.544 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:39 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.009) 0:01:21.554 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:43 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.009) 0:01:21.563 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.031) 0:01:21.595 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.010) 0:01:21.606 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.017) 0:01:21.623 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.010) 0:01:21.634 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.010) 0:01:21.644 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.018) 0:01:21.663 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:17:13 +0000 (0:00:00.008) 0:01:21.672 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:17:14 +0000 (0:00:01.006) 0:01:22.678 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485402.2161, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485402.2161, "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": 1717485402.2161, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072323192774", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.177) 0:01:22.855 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.008) 0:01:22.863 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.008) 0:01:22.872 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.124) 0:01:22.996 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.022) 0:01:23.019 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485433.848097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485402.2161, "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": 1717485402.2161, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072323192774", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.134) 0:01:23.154 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485402.2041001, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "79af5b08fa3ac0302bcc25b3e145ab92053fdbb9", "ctime": 1717485402.0211022, "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": 1717485402.0211022, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072323192770", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.141) 0:01:23.295 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004533", "end": "2024-06-04 07:17:14.433303", "rc": 0, "start": "2024-06-04 07:17:14.428770" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.133) 0:01:23.429 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:17:14 +0000 (0:00:00.018) 0:01:23.448 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.130) 0:01:23.579 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.129) 0:01:23.708 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.125) 0:01:23.834 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.012) 0:01:23.847 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.011) 0:01:23.858 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.017) 0:01:23.876 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.118.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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.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=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "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-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:71 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.154) 0:01:24.030 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:78 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.030) 0:01:24.061 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.053) 0:01:24.114 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.010) 0:01:24.124 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.019) 0:01:24.143 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.011) 0:01:24.155 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.010) 0:01:24.166 ********** 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 : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.030) 0:01:24.196 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:17:15 +0000 (0:00:00.007) 0:01:24.204 ********** 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.518) 0:01:24.722 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485433.848097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485402.2161, "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": 1717485402.2161, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072323192774", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.129) 0:01:24.852 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.008) 0:01:24.861 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.006) 0:01:24.868 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.117) 0:01:24.985 ********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.024) 0:01:25.009 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485433.848097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717485402.2161, "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": 1717485402.2161, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072323192774", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.134) 0:01:25.143 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717485402.2041001, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "79af5b08fa3ac0302bcc25b3e145ab92053fdbb9", "ctime": 1717485402.0211022, "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": 1717485402.0211022, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072323192770", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.146) 0:01:25.290 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005005", "end": "2024-06-04 07:17:16.458498", "rc": 0, "start": "2024-06-04 07:17:16.453493" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.138) 0:01:25.429 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:17:16 +0000 (0:00:00.018) 0:01:25.448 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.129) 0:01:25.577 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.130) 0:01:25.708 ********** 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.118.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.149) 0:01:25.857 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.011) 0:01:25.868 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.010) 0:01:25.878 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.015) 0:01:25.893 ********** 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.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.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=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "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-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:88 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.139) 0:01:26.033 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:95 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.022) 0:01:26.056 ********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1" ], "delta": "0:00:00.015546", "end": "2024-06-04 07:17:17.283160", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-06-04 07:17:17.267614" } changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2" ], "delta": "0:00:00.014787", "end": "2024-06-04 07:17:17.417345", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-06-04 07:17:17.402558" } NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.260) 0:01:26.316 ********** 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.019602", "end": "2024-06-04 07:17:17.574057", "rc": 0, "start": "2024-06-04 07:17:17.554455" } 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-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.142) 0:01:26.459 ********** included: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:17:17 +0000 (0:00:00.008) 0:01:26.467 ********** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:17:56 +0000 (0:00:38.130) 0:02:04.597 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:17:56 +0000 (0:00:00.007) 0:02:04.605 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=110 changed=13 unreachable=0 failed=0 skipped=79 rescued=0 ignored=0 Tuesday 04 June 2024 07:17:56 +0000 (0:00:00.010) 0:02:04.616 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.13s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.94s /WORKDIR/git-password-efiwvy3gfej/.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 -- 30.77s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.01s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.80s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.62s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.59s /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:7 -------------- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.52s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.52s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.51s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.51s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.51s /WORKDIR/git-password-efiwvy3gfej/tests/tasks/clone_kernel.yml:7 -------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.40s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.30s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Remove cloned kernels --------------------------------------------------- 0.26s /WORKDIR/git-password-efiwvy3gfej/tests/tests_add_rm.yml:95 ------------------- fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.19s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.19s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.18s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.18s /WORKDIR/git-password-efiwvy3gfej/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---