# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_settings.yml *************************************************** 1 plays in /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:13 Saturday 27 July 2024 13:25:37 +0000 (0:00:00.013) 0:00:00.013 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/skip_on_s390x.yml for sut TASK [Gather architecture facts] *********************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/skip_on_s390x.yml:3 Saturday 27 July 2024 13:25:37 +0000 (0:00:00.022) 0:00:00.036 ********* ok: [sut] META: end_host conditional evaluated to false, continuing execution for sut TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:16 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.583) 0:00:00.620 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.044) 0:00:00.664 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.033) 0:00:00.698 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.018) 0:00:00.717 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.241) 0:00:00.958 ********* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.012) 0:00:00.970 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.020) 0:00:00.991 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 27 July 2024 13:25:38 +0000 (0:00:00.009) 0:00:01.000 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 27 July 2024 13:25:39 +0000 (0:00:00.962) 0:00:01.962 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086730.254805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 27 July 2024 13:25:39 +0000 (0:00:00.185) 0:00:02.148 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 27 July 2024 13:25:39 +0000 (0:00:00.011) 0:00:02.160 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 27 July 2024 13:25:39 +0000 (0:00:00.009) 0:00:02.169 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 27 July 2024 13:25:40 +0000 (0:00:00.175) 0:00:02.345 ********* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 27 July 2024 13:25:40 +0000 (0:00:00.017) 0:00:02.362 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086730.254805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 27 July 2024 13:25:40 +0000 (0:00:00.190) 0:00:02.552 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086731.6147745, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722086731.6147745, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 331350337, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722086731.6147745, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3316864571", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 27 July 2024 13:25:40 +0000 (0:00:00.196) 0:00:02.749 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004919", "end": "2024-07-27 13:25:40.778978", "rc": 0, "start": "2024-07-27 13:25:40.774059" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 27 July 2024 13:25:40 +0000 (0:00:00.235) 0:00:02.984 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 27 July 2024 13:25:40 +0000 (0:00:00.011) 0:00:02.996 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.227) 0:00:03.224 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.179) 0:00:03.403 ********* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.246) 0:00:03.650 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.014) 0:00:03.664 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.010) 0:00:03.675 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.009) 0:00:03.685 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for sut META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:32 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.430) 0:00:04.115 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml:3 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.016) 0:00:04.131 ********* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml:8 Saturday 27 July 2024 13:25:41 +0000 (0:00:00.010) 0:00:04.141 ********* changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-479.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6a8bbe3d616cff792abf9172c95fd8dfba8bc0da", "dest": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-479.el9.x86_64" }, "md5sum": "38896c05740524c2c2857cc3aabf24bb", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14424104, "src": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-479.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e86e1ac60ca52f47c6a0b7b33076389d9d36f5d", "dest": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-479.el9.x86_64.img" }, "md5sum": "4a6a2b0f0f824981b096e42057baaa39", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35410959, "src": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml:22 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.925) 0:00:05.067 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.025) 0:00:05.093 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.011) 0:00:05.105 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.010) 0:00:05.115 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.010) 0:00:05.126 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.009) 0:00:05.135 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.022) 0:00:05.158 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 27 July 2024 13:25:42 +0000 (0:00:00.009) 0:00:05.168 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 27 July 2024 13:25:43 +0000 (0:00:00.878) 0:00:06.046 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086730.254805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.189) 0:00:06.236 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.016) 0:00:06.252 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.009) 0:00:06.261 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.171) 0:00:06.433 ********* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.016) 0:00:06.449 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086730.254805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.187) 0:00:06.637 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086740.5205743, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722086731.6147745, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 331350337, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722086731.6147745, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3316864571", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.194) 0:00:06.831 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004694", "end": "2024-07-27 13:25:44.813542", "rc": 0, "start": "2024-07-27 13:25:44.808848" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.187) 0:00:07.019 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 27 July 2024 13:25:44 +0000 (0:00:00.016) 0:00:07.035 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.181) 0:00:07.217 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.178) 0:00:07.395 ********* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.405) 0:00:07.801 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.011) 0:00:07.812 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.009) 0:00:07.822 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.008) 0:00:07.831 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.008) 0:00:07.839 ********* 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.149970", "end": "2024-07-27 13:25:45.963667", "rc": 0, "start": "2024-07-27 13:25:45.813697" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.328) 0:00:08.168 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 13:25:45 +0000 (0:00:00.010) 0:00:08.178 ********* changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 13:26:23 +0000 (0:00:37.664) 0:00:45.842 ********* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.009) 0:00:45.852 ********* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml:41 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.011) 0:00:45.864 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml:45 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.010) 0:00:45.874 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.022) 0:00:45.897 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.010) 0:00:45.908 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.010) 0:00:45.918 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.009) 0:00:45.928 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.008) 0:00:45.937 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.046) 0:00:45.983 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 27 July 2024 13:26:23 +0000 (0:00:00.008) 0:00:45.992 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 27 July 2024 13:26:26 +0000 (0:00:02.333) 0:00:48.326 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086745.962452, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722086745.961452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2379814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086745.961452, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2537544877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.211) 0:00:48.537 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.010) 0:00:48.548 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.008) 0:00:48.556 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.177) 0:00:48.734 ********* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.014) 0:00:48.749 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086745.962452, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722086745.961452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2379814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086745.961452, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2537544877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.193) 0:00:48.942 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086740.5205743, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722086731.6147745, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 331350337, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722086731.6147745, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3316864571", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 27 July 2024 13:26:26 +0000 (0:00:00.195) 0:00:49.138 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005175", "end": "2024-07-27 13:26:26.888199", "rc": 0, "start": "2024-07-27 13:26:26.883024" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.191) 0:00:49.330 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.011) 0:00:49.341 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.190) 0:00:49.531 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.183) 0:00:49.715 ********* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.178) 0:00:49.894 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.010) 0:00:49.904 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.008) 0:00:49.913 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 27 July 2024 13:26:27 +0000 (0:00:00.009) 0:00:49.922 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "196b4aa13ca74a5f850ad51830ed4cbd-5.14.0-479.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:38 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.344) 0:00:50.267 ********* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.069042", "end": "2024-07-27 13:26:28.161440", "failed_when_result": false, "rc": 0, "start": "2024-07-27 13:26:28.092398" } STDOUT: /boot/vmlinuz-5.14.0-479.el9.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:49 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.249) 0:00:50.516 ********* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "196b4aa13ca74a5f850ad51830ed4cbd-5.14.0-479.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:56 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.011) 0:00:50.527 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.028) 0:00:50.556 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.011) 0:00:50.568 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.010) 0:00:50.578 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.011) 0:00:50.589 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.009) 0:00:50.598 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.019) 0:00:50.618 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 27 July 2024 13:26:28 +0000 (0:00:00.009) 0:00:50.627 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.883) 0:00:51.511 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086745.962452, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722086745.961452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2379814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086745.961452, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2537544877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.190) 0:00:51.701 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.010) 0:00:51.712 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.009) 0:00:51.721 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.171) 0:00:51.893 ********* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.016) 0:00:51.909 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086745.962452, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722086745.961452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2379814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086745.961452, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2537544877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 27 July 2024 13:26:29 +0000 (0:00:00.190) 0:00:52.099 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086740.5205743, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722086731.6147745, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 331350337, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722086731.6147745, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3316864571", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 27 July 2024 13:26:30 +0000 (0:00:00.189) 0:00:52.289 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004877", "end": "2024-07-27 13:26:30.262643", "rc": 0, "start": "2024-07-27 13:26:30.257766" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 27 July 2024 13:26:30 +0000 (0:00:00.179) 0:00:52.468 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 27 July 2024 13:26:30 +0000 (0:00:00.011) 0:00:52.480 ********* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 27 July 2024 13:26:30 +0000 (0:00:00.176) 0:00:52.657 ********* changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 27 July 2024 13:26:30 +0000 (0:00:00.178) 0:00:52.836 ********* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --update-kernel=0 --remove-args='ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel'", "grubby --update-kernel=0 --args='console=tty0 print-fatal-signals=1 no_timer_check quiet'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 27 July 2024 13:26:31 +0000 (0:00:01.187) 0:00:54.024 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 27 July 2024 13:26:31 +0000 (0:00:00.010) 0:00:54.034 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 27 July 2024 13:26:31 +0000 (0:00:00.009) 0:00:54.043 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 27 July 2024 13:26:31 +0000 (0:00:00.007) 0:00:54.051 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check quiet debug", "default": false, "id": "196b4aa13ca74a5f850ad51830ed4cbd-5.14.0-479.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Saturday 27 July 2024 13:26:32 +0000 (0:00:00.325) 0:00:54.377 ********* 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.147830", "end": "2024-07-27 13:26:32.497696", "rc": 0, "start": "2024-07-27 13:26:32.349866" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Saturday 27 July 2024 13:26:32 +0000 (0:00:00.324) 0:00:54.702 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 13:26:32 +0000 (0:00:00.010) 0:00:54.712 ********* changed: [sut] => { "changed": true, "elapsed": 46, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 13:27:20 +0000 (0:00:47.582) 0:01:42.295 ********* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.009) 0:01:42.304 ********* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:82 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.012) 0:01:42.316 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:86 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.010) 0:01:42.327 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:94 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.009) 0:01:42.337 ********* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.006086", "end": "2024-07-27 13:27:20.330161", "failed_when_result": false, "rc": 0, "start": "2024-07-27 13:27:20.324075" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -f ${config_directory}/grubenv ]; then load_env -f ${config_directory}/grubenv elif [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=6 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=6 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/08_fallback_counting ### insmod increment # Check if boot_counter exists and boot_success=0 to activate this behaviour. if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then # if countdown has ended, choose to boot rollback deployment, # i.e. default=1 on OSTree-based systems. if [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then set default=1 set boot_counter=-1 # otherwise decrement boot_counter else decrement boot_counter fi save_env boot_counter fi ### END /etc/grub.d/08_fallback_counting ### ### BEGIN /etc/grub.d/10_linux ### insmod part_msdos insmod xfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 else search --no-floppy --fs-uuid --set=root f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 fi insmod part_msdos insmod xfs set boot='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=boot --hint='hd0,msdos1' f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 else search --no-floppy --fs-uuid --set=boot f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 fi # This section was generated by a script. Do not modify the generated file - all changes # will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files. # # The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and # populates the boot menu. Please refer to the Boot Loader Specification documentation # for the files format: https://systemd.io/BOOT_LOADER_SPECIFICATION/. # The kernelopts variable should be defined in the grubenv file. But to ensure that menu # entries populated from BootLoaderSpec files that use this variable work correctly even # without a grubenv file, define a fallback kernelopts variable if this has not been set. # # The kernelopts variable in the grubenv file can be modified using the grubby tool or by # executing the grub2-mkconfig tool. For the latter, the values of the GRUB_CMDLINE_LINUX # and GRUB_CMDLINE_LINUX_DEFAULT options from /etc/default/grub file are used to set both # the kernelopts variable in the grubenv file and the fallback kernelopts variable. if [ -z "${kernelopts}" ]; then set kernelopts="root=UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 " fi insmod blscfg blscfg ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/10_reset_boot_success ### # Hiding the menu is ok if last boot was ok or if this is a first boot attempt to boot the entry if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then set menu_hide_ok=1 else set menu_hide_ok=0 fi # Reset boot_indeterminate after a successful boot if [ "${boot_success}" = "1" ] ; then set boot_indeterminate=0 # Avoid boot_indeterminate causing the menu to be hidden more than once elif [ "${boot_indeterminate}" = "1" ]; then set boot_indeterminate=2 fi # Reset boot_success for current boot set boot_success=0 save_env boot_success boot_indeterminate ### END /etc/grub.d/10_reset_boot_success ### ### BEGIN /etc/grub.d/12_menu_auto_hide ### if [ x$feature_timeout_style = xy ] ; then if [ "${menu_show_once}" ]; then unset menu_show_once save_env menu_show_once set timeout_style=menu set timeout=6 elif [ "${menu_auto_hide}" -a "${menu_hide_ok}" = "1" ]; then set orig_timeout_style=${timeout_style} set orig_timeout=${timeout} if [ "${fastboot}" = "1" ]; then # timeout_style=menu + timeout=0 avoids the countdown code keypress check set timeout_style=menu set timeout=6 else set timeout_style=hidden set timeout=6 fi fi fi ### END /etc/grub.d/12_menu_auto_hide ### ### BEGIN /etc/grub.d/14_menu_show_once ### if [ x$feature_timeout_style = xy ]; then if [ "${menu_show_once_timeout}" ]; then set timeout_style=menu set timeout=6 unset menu_show_once_timeout save_env menu_show_once_timeout fi fi ### END /etc/grub.d/14_menu_show_once ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### if [ "$grub_platform" = "efi" ]; then menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { fwsetup } fi ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg fi ### END /etc/grub.d/41_custom ### TASK [Change some settings using kernel title] ********************************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:102 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.207) 0:01:42.545 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.055) 0:01:42.600 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.012) 0:01:42.613 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.011) 0:01:42.625 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.008) 0:01:42.634 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.009) 0:01:42.643 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.020) 0:01:42.663 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 27 July 2024 13:27:20 +0000 (0:00:00.009) 0:01:42.672 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 27 July 2024 13:27:22 +0000 (0:00:02.134) 0:01:44.807 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086792.4963331, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a3d6af9fdc335169df0113d93ba231a2c36ecad6", "ctime": 1722086792.4953332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2379814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086792.4953332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 347, "uid": 0, "version": "2537544878", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 27 July 2024 13:27:22 +0000 (0:00:00.218) 0:01:45.025 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 27 July 2024 13:27:22 +0000 (0:00:00.012) 0:01:45.037 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 27 July 2024 13:27:22 +0000 (0:00:00.009) 0:01:45.047 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.175) 0:01:45.223 ********* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.016) 0:01:45.239 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086792.4963331, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a3d6af9fdc335169df0113d93ba231a2c36ecad6", "ctime": 1722086792.4953332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2379814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086792.4953332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 347, "uid": 0, "version": "2537544878", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.193) 0:01:45.432 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086840.3288562, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e45f11ae3eb0047364e7295103030d45514675de", "ctime": 1722086790.630406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052226, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722086790.630406, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "716982054", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.194) 0:01:45.626 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005003", "end": "2024-07-27 13:27:23.608394", "rc": 0, "start": "2024-07-27 13:27:23.603391" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.188) 0:01:45.815 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.011) 0:01:45.827 ********* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 27 July 2024 13:27:23 +0000 (0:00:00.186) 0:01:46.013 ********* changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 27 July 2024 13:27:24 +0000 (0:00:00.184) 0:01:46.198 ********* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --update-kernel=TITLE=Clone1 --remove-args='quiet debug'" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 27 July 2024 13:27:24 +0000 (0:00:00.496) 0:01:46.695 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 27 July 2024 13:27:24 +0000 (0:00:00.011) 0:01:46.707 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 27 July 2024 13:27:24 +0000 (0:00:00.009) 0:01:46.716 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 27 July 2024 13:27:24 +0000 (0:00:00.009) 0:01:46.726 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check", "default": false, "id": "196b4aa13ca74a5f850ad51830ed4cbd-5.14.0-479.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Saturday 27 July 2024 13:27:24 +0000 (0:00:00.331) 0:01:47.057 ********* 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.151126", "end": "2024-07-27 13:27:25.184235", "rc": 0, "start": "2024-07-27 13:27:25.033109" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Saturday 27 July 2024 13:27:25 +0000 (0:00:00.332) 0:01:47.389 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 13:27:25 +0000 (0:00:00.009) 0:01:47.399 ********* changed: [sut] => { "changed": true, "elapsed": 46, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 13:28:12 +0000 (0:00:46.821) 0:02:34.220 ********* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.009) 0:02:34.230 ********* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:120 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.011) 0:02:34.242 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:124 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.010) 0:02:34.252 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:132 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.011) 0:02:34.263 ********* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.004171", "end": "2024-07-27 13:28:12.248892", "failed_when_result": false, "rc": 0, "start": "2024-07-27 13:28:12.244721" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -f ${config_directory}/grubenv ]; then load_env -f ${config_directory}/grubenv elif [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/08_fallback_counting ### insmod increment # Check if boot_counter exists and boot_success=0 to activate this behaviour. if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then # if countdown has ended, choose to boot rollback deployment, # i.e. default=1 on OSTree-based systems. if [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then set default=1 set boot_counter=-1 # otherwise decrement boot_counter else decrement boot_counter fi save_env boot_counter fi ### END /etc/grub.d/08_fallback_counting ### ### BEGIN /etc/grub.d/10_linux ### insmod part_msdos insmod xfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 else search --no-floppy --fs-uuid --set=root f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 fi insmod part_msdos insmod xfs set boot='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=boot --hint='hd0,msdos1' f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 else search --no-floppy --fs-uuid --set=boot f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 fi # This section was generated by a script. Do not modify the generated file - all changes # will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files. # # The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and # populates the boot menu. Please refer to the Boot Loader Specification documentation # for the files format: https://systemd.io/BOOT_LOADER_SPECIFICATION/. # The kernelopts variable should be defined in the grubenv file. But to ensure that menu # entries populated from BootLoaderSpec files that use this variable work correctly even # without a grubenv file, define a fallback kernelopts variable if this has not been set. # # The kernelopts variable in the grubenv file can be modified using the grubby tool or by # executing the grub2-mkconfig tool. For the latter, the values of the GRUB_CMDLINE_LINUX # and GRUB_CMDLINE_LINUX_DEFAULT options from /etc/default/grub file are used to set both # the kernelopts variable in the grubenv file and the fallback kernelopts variable. if [ -z "${kernelopts}" ]; then set kernelopts="root=UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 " fi insmod blscfg blscfg ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/10_reset_boot_success ### # Hiding the menu is ok if last boot was ok or if this is a first boot attempt to boot the entry if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then set menu_hide_ok=1 else set menu_hide_ok=0 fi # Reset boot_indeterminate after a successful boot if [ "${boot_success}" = "1" ] ; then set boot_indeterminate=0 # Avoid boot_indeterminate causing the menu to be hidden more than once elif [ "${boot_indeterminate}" = "1" ]; then set boot_indeterminate=2 fi # Reset boot_success for current boot set boot_success=0 save_env boot_success boot_indeterminate ### END /etc/grub.d/10_reset_boot_success ### ### BEGIN /etc/grub.d/12_menu_auto_hide ### if [ x$feature_timeout_style = xy ] ; then if [ "${menu_show_once}" ]; then unset menu_show_once save_env menu_show_once set timeout_style=menu set timeout=4 elif [ "${menu_auto_hide}" -a "${menu_hide_ok}" = "1" ]; then set orig_timeout_style=${timeout_style} set orig_timeout=${timeout} if [ "${fastboot}" = "1" ]; then # timeout_style=menu + timeout=0 avoids the countdown code keypress check set timeout_style=menu set timeout=4 else set timeout_style=hidden set timeout=4 fi fi fi ### END /etc/grub.d/12_menu_auto_hide ### ### BEGIN /etc/grub.d/14_menu_show_once ### if [ x$feature_timeout_style = xy ]; then if [ "${menu_show_once_timeout}" ]; then set timeout_style=menu set timeout=4 unset menu_show_once_timeout save_env menu_show_once_timeout fi fi ### END /etc/grub.d/14_menu_show_once ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### if [ "$grub_platform" = "efi" ]; then menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { fwsetup } fi ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg fi ### END /etc/grub.d/41_custom ### TASK [Set existing variable using kernel path, should report not changed] ****** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:140 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.195) 0:02:34.459 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.040) 0:02:34.500 ********* included: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.012) 0:02:34.513 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.010) 0:02:34.523 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.009) 0:02:34.532 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.008) 0:02:34.541 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.019) 0:02:34.560 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 27 July 2024 13:28:12 +0000 (0:00:00.009) 0:02:34.569 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 27 July 2024 13:28:14 +0000 (0:00:02.086) 0:02:36.656 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086845.1827323, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "67e24c20c1503576613b6081cb0a73e5beaf9931", "ctime": 1722086845.1817324, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2367687, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086845.1817324, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 347, "uid": 0, "version": "3637856054", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 27 July 2024 13:28:14 +0000 (0:00:00.214) 0:02:36.870 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 27 July 2024 13:28:14 +0000 (0:00:00.010) 0:02:36.880 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 27 July 2024 13:28:14 +0000 (0:00:00.008) 0:02:36.889 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 27 July 2024 13:28:14 +0000 (0:00:00.178) 0:02:37.068 ********* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 27 July 2024 13:28:14 +0000 (0:00:00.014) 0:02:37.083 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086845.1827323, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "67e24c20c1503576613b6081cb0a73e5beaf9931", "ctime": 1722086845.1817324, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2367687, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722086845.1817324, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 347, "uid": 0, "version": "3637856054", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 27 July 2024 13:28:15 +0000 (0:00:00.190) 0:02:37.273 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722086892.2480292, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6d09f715ccf0345bdfca78dbccaf7710a51762e8", "ctime": 1722086843.990763, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 88080769, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722086843.9897628, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3060573036", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 27 July 2024 13:28:15 +0000 (0:00:00.191) 0:02:37.465 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004944", "end": "2024-07-27 13:28:15.442093", "rc": 0, "start": "2024-07-27 13:28:15.437149" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 27 July 2024 13:28:15 +0000 (0:00:00.183) 0:02:37.648 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 27 July 2024 13:28:15 +0000 (0:00:00.011) 0:02:37.660 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 27 July 2024 13:28:15 +0000 (0:00:00.180) 0:02:37.840 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 27 July 2024 13:28:15 +0000 (0:00:00.194) 0:02:38.035 ********* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.412) 0:02:38.448 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.010) 0:02:38.458 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.008) 0:02:38.467 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.009) 0:02:38.476 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:157 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.008) 0:02:38.484 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:161 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.010) 0:02:38.494 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:169 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.011) 0:02:38.506 ********* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.002896", "end": "2024-07-27 13:28:16.477920", "failed_when_result": false, "rc": 0, "start": "2024-07-27 13:28:16.475024" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -f ${config_directory}/grubenv ]; then load_env -f ${config_directory}/grubenv elif [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/08_fallback_counting ### insmod increment # Check if boot_counter exists and boot_success=0 to activate this behaviour. if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then # if countdown has ended, choose to boot rollback deployment, # i.e. default=1 on OSTree-based systems. if [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then set default=1 set boot_counter=-1 # otherwise decrement boot_counter else decrement boot_counter fi save_env boot_counter fi ### END /etc/grub.d/08_fallback_counting ### ### BEGIN /etc/grub.d/10_linux ### insmod part_msdos insmod xfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 else search --no-floppy --fs-uuid --set=root f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 fi insmod part_msdos insmod xfs set boot='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=boot --hint='hd0,msdos1' f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 else search --no-floppy --fs-uuid --set=boot f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 fi # This section was generated by a script. Do not modify the generated file - all changes # will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files. # # The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and # populates the boot menu. Please refer to the Boot Loader Specification documentation # for the files format: https://systemd.io/BOOT_LOADER_SPECIFICATION/. # The kernelopts variable should be defined in the grubenv file. But to ensure that menu # entries populated from BootLoaderSpec files that use this variable work correctly even # without a grubenv file, define a fallback kernelopts variable if this has not been set. # # The kernelopts variable in the grubenv file can be modified using the grubby tool or by # executing the grub2-mkconfig tool. For the latter, the values of the GRUB_CMDLINE_LINUX # and GRUB_CMDLINE_LINUX_DEFAULT options from /etc/default/grub file are used to set both # the kernelopts variable in the grubenv file and the fallback kernelopts variable. if [ -z "${kernelopts}" ]; then set kernelopts="root=UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3 ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 " fi insmod blscfg blscfg ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/10_reset_boot_success ### # Hiding the menu is ok if last boot was ok or if this is a first boot attempt to boot the entry if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then set menu_hide_ok=1 else set menu_hide_ok=0 fi # Reset boot_indeterminate after a successful boot if [ "${boot_success}" = "1" ] ; then set boot_indeterminate=0 # Avoid boot_indeterminate causing the menu to be hidden more than once elif [ "${boot_indeterminate}" = "1" ]; then set boot_indeterminate=2 fi # Reset boot_success for current boot set boot_success=0 save_env boot_success boot_indeterminate ### END /etc/grub.d/10_reset_boot_success ### ### BEGIN /etc/grub.d/12_menu_auto_hide ### if [ x$feature_timeout_style = xy ] ; then if [ "${menu_show_once}" ]; then unset menu_show_once save_env menu_show_once set timeout_style=menu set timeout=4 elif [ "${menu_auto_hide}" -a "${menu_hide_ok}" = "1" ]; then set orig_timeout_style=${timeout_style} set orig_timeout=${timeout} if [ "${fastboot}" = "1" ]; then # timeout_style=menu + timeout=0 avoids the countdown code keypress check set timeout_style=menu set timeout=4 else set timeout_style=hidden set timeout=4 fi fi fi ### END /etc/grub.d/12_menu_auto_hide ### ### BEGIN /etc/grub.d/14_menu_show_once ### if [ x$feature_timeout_style = xy ]; then if [ "${menu_show_once_timeout}" ]; then set timeout_style=menu set timeout=4 unset menu_show_once_timeout save_env menu_show_once_timeout fi fi ### END /etc/grub.d/14_menu_show_once ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### if [ "$grub_platform" = "efi" ]; then menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { fwsetup } fi ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg fi ### END /etc/grub.d/41_custom ### TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-weekly-cizyn_8w9c/tests/tests_settings.yml:177 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.181) 0:02:38.688 ********* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1" ], "delta": "0:00:00.099537", "end": "2024-07-27 13:28:16.756641", "failed_when_result": false, "rc": 0, "start": "2024-07-27 13:28:16.657104" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=102 changed=15 unreachable=0 failed=0 skipped=69 rescued=0 ignored=0 Saturday 27 July 2024 13:28:16 +0000 (0:00:00.274) 0:02:38.962 ********* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 47.58s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 46.82s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.66s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 3.30s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 2.13s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 2.09s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure boot loader settings ------------- 1.19s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Clone test_kernel kernel and initrd for test purposes ------------------- 0.93s /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure required packages are installed --- 0.88s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 0.88s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.78s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Gather architecture facts ----------------------------------------------- 0.58s /WORKDIR/git-weekly-cizyn_8w9c/tests/tasks/skip_on_s390x.yml:3 ---------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.50s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.43s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.43s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.42s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.41s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.41s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.40s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.39s /WORKDIR/git-weekly-cizyn_8w9c/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---