# 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_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:13 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.013) 0:00:00.013 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.028) 0:00:00.042 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.018) 0:00:00.060 ***** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.370) 0:00:00.431 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.182) 0:00:00.613 ***** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.018) 0:00:00.632 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:00:33 +0000 (0:00:00.025) 0:00:00.657 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:00:34 +0000 (0:00:00.825) 0:00:01.483 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:00:34 +0000 (0:00:00.175) 0:00:01.658 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:00:34 +0000 (0:00:00.120) 0:00:01.778 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:00:34 +0000 (0:00:00.032) 0:00:01.810 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706607935.8855374, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1706607935.8865373, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1706607935.8865373, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071905069793", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.171) 0:00:01.982 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.171) 0:00:02.153 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706608003.1385374, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14df68f593d29a628cd21fc1e4c4ff870aca89f6", "ctime": 1706608459.4955373, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1706608003.1435373, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744071905082088", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.133) 0:00:02.286 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.119) 0:00:02.406 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.009) 0:00:02.415 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.008) 0:00:02.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.009) 0:00:02.433 ***** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-83b425bb48e84cc48533f874e856dc71.img", "kernel": "/boot/vmlinuz-0-rescue-83b425bb48e84cc48533f874e856dc71", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (0-rescue-83b425bb48e84cc48533f874e856dc71) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "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-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:29 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.364) 0:00:02.797 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:1 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.017) 0:00:02.815 ***** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:6 Thursday 08 February 2024 17:00:35 +0000 (0:00:00.019) 0:00:02.835 ***** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "916b0b05e4e2d21e848f47afc76e46dbc2356100", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "d38d39002c906aace4a0860d4e1175cf", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20154601, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create Clone1 kernel with copy_defaults=true] **************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:20 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.723) 0:00:03.559 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.040) 0:00:03.600 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.029) 0:00:03.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.016) 0:00:03.646 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.010) 0:00:03.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.007) 0:00:03.665 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:00:36 +0000 (0:00:00.021) 0:00:03.687 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:00:37 +0000 (0:00:00.576) 0:00:04.264 ***** 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 --add-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:00:37 +0000 (0:00:00.315) 0:00:04.580 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:00:37 +0000 (0:00:00.112) 0:00:04.692 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:00:37 +0000 (0:00:00.013) 0:00:04.706 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411635.0619361, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1706607935.8865373, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1706607935.8865373, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071905069793", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:00:37 +0000 (0:00:00.126) 0:00:04.832 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.118) 0:00:04.951 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411637.6678574, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "19a4b545b59e3049ba5e4a123cd6fb4cd9b63796", "ctime": 1707411637.6728573, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411637.6728573, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "1629826906", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.130) 0:00:05.081 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.116) 0:00:05.198 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.009) 0:00:05.208 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.007) 0:00:05.216 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.016) 0:00:05.232 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.006) 0:00:05.238 ***** 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.020491", "end": "2024-02-08 17:00:38.531675", "rc": 0, "start": "2024-02-08 17:00:38.511184" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.209) 0:00:05.448 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 17:00:38 +0000 (0:00:00.025) 0:00:05.473 ***** changed: [sut] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 17:01:13 +0000 (0:00:35.177) 0:00:40.650 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.009) 0:00:40.660 ***** 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-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:39 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.010) 0:00:40.670 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:43 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.008) 0:00:40.679 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.016) 0:00:40.695 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.010) 0:00:40.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.008) 0:00:40.714 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.007) 0:00:40.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.008) 0:00:40.730 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:01:13 +0000 (0:00:00.018) 0:00:40.749 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:01:14 +0000 (0:00:00.755) 0:00:41.504 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:01:14 +0000 (0:00:00.114) 0:00:41.619 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:01:14 +0000 (0:00:00.112) 0:00:41.732 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:01:14 +0000 (0:00:00.013) 0:00:41.745 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411638.5308313, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707411638.5298314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411638.5288315, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1629826926", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:01:14 +0000 (0:00:00.126) 0:00:41.872 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.119) 0:00:41.992 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411638.1618426, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "19a4b545b59e3049ba5e4a123cd6fb4cd9b63796", "ctime": 1707411637.6728573, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411637.6728573, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "1629826906", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.132) 0:00:42.124 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.118) 0:00:42.243 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.010) 0:00:42.253 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.008) 0:00:42.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.007) 0:00:42.269 ***** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-83b425bb48e84cc48533f874e856dc71.img", "kernel": "/boot/vmlinuz-0-rescue-83b425bb48e84cc48533f874e856dc71", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (0-rescue-83b425bb48e84cc48533f874e856dc71) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:35 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.134) 0:00:42.403 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:47 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.012) 0:00:42.415 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.021) 0:00:42.436 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.010) 0:00:42.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.008) 0:00:42.455 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.008) 0:00:42.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.007) 0:00:42.471 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:01:15 +0000 (0:00:00.020) 0:00:42.492 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.552) 0:00:43.045 ***** 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 --remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.145) 0:00:43.190 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.112) 0:00:43.303 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.014) 0:00:43.317 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411638.5308313, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707411638.5298314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411638.5288315, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1629826926", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.125) 0:00:43.443 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.117) 0:00:43.560 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411676.2918189, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14df68f593d29a628cd21fc1e4c4ff870aca89f6", "ctime": 1707411676.2978187, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411676.2978187, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744073444147753", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.130) 0:00:43.690 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.117) 0:00:43.807 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.009) 0:00:43.817 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.008) 0:00:43.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:01:16 +0000 (0:00:00.007) 0:00:43.832 ***** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-83b425bb48e84cc48533f874e856dc71.img", "kernel": "/boot/vmlinuz-0-rescue-83b425bb48e84cc48533f874e856dc71", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (0-rescue-83b425bb48e84cc48533f874e856dc71) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:65 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.125) 0:00:43.958 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:71 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.010) 0:00:43.969 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:1 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.013) 0:00:43.982 ***** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:6 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.008) 0:00:43.990 ***** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "916b0b05e4e2d21e848f47afc76e46dbc2356100", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "d38d39002c906aace4a0860d4e1175cf", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20154601, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create Clone2 kernel with copy_defaults=true] **************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:20 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.492) 0:00:44.483 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.010) 0:00:44.493 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.010) 0:00:44.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.009) 0:00:44.514 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.008) 0:00:44.523 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.007) 0:00:44.531 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:01:17 +0000 (0:00:00.019) 0:00:44.550 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.553) 0:00:45.103 ***** 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 --add-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.143) 0:00:45.247 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.111) 0:00:45.359 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.014) 0:00:45.373 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411638.5308313, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707411638.5298314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411638.5288315, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1629826926", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.125) 0:00:45.499 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.118) 0:00:45.617 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411678.3375285, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b6c3a9d5ae68dae3ccdc4761111c11f58d89d5f6", "ctime": 1707411678.342529, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169806, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411678.342529, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744073444147792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.129) 0:00:45.747 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.116) 0:00:45.863 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.009) 0:00:45.873 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.007) 0:00:45.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:01:18 +0000 (0:00:00.007) 0:00:45.887 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 17:01:19 +0000 (0:00:00.005) 0:00:45.893 ***** 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.017061", "end": "2024-02-08 17:01:19.121356", "rc": 0, "start": "2024-02-08 17:01:19.104295" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 17:01:19 +0000 (0:00:00.129) 0:00:46.023 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 17:01:19 +0000 (0:00:00.007) 0:00:46.031 ***** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 17:01:56 +0000 (0:00:37.269) 0:01:23.300 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 17:01:56 +0000 (0:00:00.009) 0:01:23.309 ***** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 17:01:56 +0000 (0:00:00.009) 0:01:23.319 ***** 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.023357", "end": "2024-02-08 17:01:56.587661", "rc": 0, "start": "2024-02-08 17:01:56.564304" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 17:01:56 +0000 (0:00:00.146) 0:01:23.465 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 17:01:56 +0000 (0:00:00.009) 0:01:23.475 ***** changed: [sut] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 17:02:27 +0000 (0:00:30.826) 0:01:54.301 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.007) 0:01:54.309 ***** 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-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:39 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.009) 0:01:54.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:43 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.008) 0:01:54.327 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.015) 0:01:54.343 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.010) 0:01:54.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.008) 0:01:54.362 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.007) 0:01:54.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.007) 0:01:54.376 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:02:27 +0000 (0:00:00.017) 0:01:54.394 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.847) 0:01:55.242 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.115) 0:01:55.358 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.113) 0:01:55.472 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.014) 0:01:55.486 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411716.5861802, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707411716.5852635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411716.5852635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073117938594", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.129) 0:01:55.615 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.120) 0:01:55.735 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411678.8275702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b6c3a9d5ae68dae3ccdc4761111c11f58d89d5f6", "ctime": 1707411678.342529, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169806, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411678.342529, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744073444147792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:02:28 +0000 (0:00:00.132) 0:01:55.868 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.118) 0:01:55.986 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.008) 0:01:55.995 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.007) 0:01:56.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.007) 0:01:56.010 ***** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-83b425bb48e84cc48533f874e856dc71.img", "kernel": "/boot/vmlinuz-0-rescue-83b425bb48e84cc48533f874e856dc71", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (0-rescue-83b425bb48e84cc48533f874e856dc71) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:77 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.136) 0:01:56.147 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:84 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.010) 0:01:56.157 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.024) 0:01:56.182 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.010) 0:01:56.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.008) 0:01:56.202 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.007) 0:01:56.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.007) 0:01:56.216 ***** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.018) 0:01:56.235 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:02:29 +0000 (0:00:00.566) 0:01:56.801 ***** 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 --remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.144) 0:01:56.946 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.112) 0:01:57.059 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.013) 0:01:57.073 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411716.5861802, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707411716.5852635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411716.5852635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073117938594", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.127) 0:01:57.200 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.119) 0:01:57.319 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411750.5026536, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14df68f593d29a628cd21fc1e4c4ff870aca89f6", "ctime": 1707411750.5086534, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411750.5086534, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "2067730816", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.131) 0:01:57.451 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.120) 0:01:57.571 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.009) 0:01:57.581 ***** 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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.007) 0:01:57.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.007) 0:01:57.595 ***** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-83b425bb48e84cc48533f874e856dc71.img", "kernel": "/boot/vmlinuz-0-rescue-83b425bb48e84cc48533f874e856dc71", "root": "UUID=6859697e-3d7c-4233-8ff7-5f3216805e7f", "title": "CentOS Linux (0-rescue-83b425bb48e84cc48533f874e856dc71) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:94 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.132) 0:01:57.728 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/tests_add_rm.yml:100 Thursday 08 February 2024 17:02:30 +0000 (0:00:00.009) 0:01:57.738 ***** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1" ], "delta": "0:00:00.011859", "end": "2024-02-08 17:02:31.369824", "item": 1, "rc": 0, "start": "2024-02-08 17:02:31.357965" } changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2" ], "delta": "0:00:00.012412", "end": "2024-02-08 17:02:31.485861", "item": 2, "rc": 0, "start": "2024-02-08 17:02:31.473449" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 17:02:31 +0000 (0:00:00.255) 0:01:57.993 ***** 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.016253", "end": "2024-02-08 17:02:31.609725", "rc": 0, "start": "2024-02-08 17:02:31.593472" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 17:02:31 +0000 (0:00:00.135) 0:01:58.128 ***** included: /WORKDIR/git-fix-timeout8yx9a2rc/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-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 17:02:31 +0000 (0:00:00.008) 0:01:58.137 ***** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 17:03:09 +0000 (0:00:37.757) 0:02:35.895 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.007) 0:02:35.903 ***** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=100 changed=15 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.009) 0:02:35.912 ***** =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.76s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.27s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 35.18s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.83s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 2.43s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.13s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.72s /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:6 --------------- linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.64s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 linux-system-roles.bootloader : Ensure required packages are installed --- 0.57s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 0.55s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.49s /WORKDIR/git-fix-timeout8yx9a2rc/tests/tasks/clone_kernel.yml:6 --------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.46s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.43s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.41s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.41s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.40s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.37s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.36s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.35s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.34s /WORKDIR/git-fix-timeout8yx9a2rc/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---