# 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-timeoutikedk_p8/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tests_add_rm.yml:13 Thursday 08 February 2024 18:00:28 +0000 (0:00:00.013) 0:00:00.013 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:00:28 +0000 (0:00:00.026) 0:00:00.040 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:00:28 +0000 (0:00:00.013) 0:00:00.054 ***** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:00:29 +0000 (0:00:00.485) 0:00:00.539 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:00:29 +0000 (0:00:00.207) 0:00:00.746 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:00:29 +0000 (0:00:00.021) 0:00:00.768 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:00:29 +0000 (0:00:00.028) 0:00:00.796 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:00:30 +0000 (0:00:01.095) 0:00:01.892 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:00:30 +0000 (0:00:00.174) 0:00:02.066 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.119) 0:00:02.186 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.036) 0:00:02.222 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.182) 0:00:02.405 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.181) 0:00:02.586 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.136) 0:00:02.722 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.120) 0:00:02.843 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.010) 0:00:02.853 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.009) 0:00:02.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:00:31 +0000 (0:00:00.007) 0:00:02.870 ***** 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-timeoutikedk_p8/tests/tests_add_rm.yml:29 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.301) 0:00:03.171 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:3 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.013) 0:00:03.184 ***** 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-timeoutikedk_p8/tests/tasks/clone_kernel.yml:8 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.009) 0:00:03.194 ***** 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 kernel Clone1] **************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:22 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.752) 0:00:03.947 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.015) 0:00:03.963 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.011) 0:00:03.975 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.010) 0:00:03.985 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.009) 0:00:03.994 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.009) 0:00:04.003 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:00:32 +0000 (0:00:00.024) 0:00:04.028 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:00:33 +0000 (0:00:00.560) 0:00:04.588 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:00:33 +0000 (0:00:00.332) 0:00:04.920 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:00:33 +0000 (0:00:00.120) 0:00:05.040 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:00:33 +0000 (0:00:00.016) 0:00:05.056 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415231.2977202, "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.130) 0:00:05.187 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.126) 0:00:05.314 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415233.8237288, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "19a4b545b59e3049ba5e4a123cd6fb4cd9b63796", "ctime": 1707415233.8297286, "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": 1707415233.8297286, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "1308765391", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.130) 0:00:05.445 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.117) 0:00:05.562 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.010) 0:00:05.572 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.007) 0:00:05.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.010) 0:00:05.591 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.009) 0:00:05.600 ***** 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.022748", "end": "2024-02-08 18:00:34.724293", "rc": 0, "start": "2024-02-08 18:00:34.701545" } 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.210) 0:00:05.810 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 18:00:34 +0000 (0:00:00.009) 0:00:05.820 ***** changed: [sut] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 18:01:13 +0000 (0:00:38.705) 0:00:44.525 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.008) 0:00:44.534 ***** 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-timeoutikedk_p8/tests/tasks/clone_kernel.yml:41 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.011) 0:00:44.545 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:45 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.008) 0:00:44.554 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.016) 0:00:44.570 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.011) 0:00:44.581 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.009) 0:00:44.591 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.008) 0:00:44.600 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.008) 0:00:44.609 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:01:13 +0000 (0:00:00.019) 0:00:44.628 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:01:14 +0000 (0:00:00.974) 0:00:45.603 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:01:14 +0000 (0:00:00.120) 0:00:45.724 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:01:14 +0000 (0:00:00.119) 0:00:45.844 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:01:14 +0000 (0:00:00.015) 0:00:45.860 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415234.7227316, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707415234.7207315, "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": 1707415234.7207315, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1308765410", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:01:14 +0000 (0:00:00.141) 0:00:46.001 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.120) 0:00:46.121 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415234.3407304, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "19a4b545b59e3049ba5e4a123cd6fb4cd9b63796", "ctime": 1707415233.8297286, "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": 1707415233.8297286, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "1308765391", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.133) 0:00:46.255 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.117) 0:00:46.372 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.010) 0:00:46.382 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.009) 0:00:46.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.008) 0:00:46.401 ***** 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-timeoutikedk_p8/tests/tests_add_rm.yml:35 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.153) 0:00:46.554 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tests_add_rm.yml:47 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.035) 0:00:46.589 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.020) 0:00:46.610 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.010) 0:00:46.620 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.008) 0:00:46.629 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.008) 0:00:46.638 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.008) 0:00:46.647 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:01:15 +0000 (0:00:00.019) 0:00:46.667 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.555) 0:00:47.222 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.149) 0:00:47.371 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.109) 0:00:47.481 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.014) 0:00:47.496 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415234.7227316, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707415234.7207315, "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": 1707415234.7207315, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1308765410", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.123) 0:00:47.620 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.117) 0:00:47.737 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415276.0330849, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14df68f593d29a628cd21fc1e4c4ff870aca89f6", "ctime": 1707415276.0450015, "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": 1707415276.0450015, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "1304951593", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.128) 0:00:47.866 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.118) 0:00:47.985 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.011) 0:00:47.996 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.009) 0:00:48.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:01:16 +0000 (0:00:00.007) 0:00:48.012 ***** 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-timeoutikedk_p8/tests/tests_add_rm.yml:65 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.127) 0:00:48.140 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tests_add_rm.yml:71 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.013) 0:00:48.153 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:3 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.014) 0:00:48.167 ***** 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-timeoutikedk_p8/tests/tasks/clone_kernel.yml:8 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.012) 0:00:48.179 ***** 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 kernel Clone2] **************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:22 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.522) 0:00:48.702 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.012) 0:00:48.714 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.024) 0:00:48.739 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.013) 0:00:48.753 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.009) 0:00:48.762 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.008) 0:00:48.770 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:01:17 +0000 (0:00:00.019) 0:00:48.790 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.559) 0:00:49.350 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.144) 0:00:49.495 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.113) 0:00:49.608 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.016) 0:00:49.624 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415234.7227316, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707415234.7207315, "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": 1707415234.7207315, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1308765410", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.126) 0:00:49.750 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.117) 0:00:49.867 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415278.339509, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b6c3a9d5ae68dae3ccdc4761111c11f58d89d5f6", "ctime": 1707415278.3449256, "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": 1707415278.3449256, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "1304951632", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:01:18 +0000 (0:00:00.128) 0:00:49.995 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.116) 0:00:50.111 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.010) 0:00:50.122 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.009) 0:00:50.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.009) 0:00:50.141 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.007) 0:00:50.148 ***** 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.016820", "end": "2024-02-08 18:01:19.192552", "rc": 0, "start": "2024-02-08 18:01:19.175732" } 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.130) 0:00:50.279 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 18:01:19 +0000 (0:00:00.009) 0:00:50.288 ***** changed: [sut] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 18:01:59 +0000 (0:00:40.223) 0:01:30.512 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 18:01:59 +0000 (0:00:00.007) 0:01:30.520 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 18:01:59 +0000 (0:00:00.008) 0:01:30.528 ***** 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.038918", "end": "2024-02-08 18:01:59.244657", "rc": 0, "start": "2024-02-08 18:01:59.205739" } 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 18:01:59 +0000 (0:00:00.158) 0:01:30.687 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 18:01:59 +0000 (0:00:00.007) 0:01:30.695 ***** changed: [sut] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 18:02:39 +0000 (0:00:39.962) 0:02:10.658 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.008) 0:02:10.667 ***** 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-timeoutikedk_p8/tests/tasks/clone_kernel.yml:41 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.010) 0:02:10.677 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:45 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.008) 0:02:10.685 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.016) 0:02:10.701 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.012) 0:02:10.713 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.010) 0:02:10.724 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.007) 0:02:10.732 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.007) 0:02:10.739 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:02:39 +0000 (0:00:00.019) 0:02:10.758 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:02:40 +0000 (0:00:00.949) 0:02:11.707 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:02:40 +0000 (0:00:00.119) 0:02:11.827 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:02:40 +0000 (0:00:00.112) 0:02:11.940 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:02:40 +0000 (0:00:00.014) 0:02:11.954 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415319.2439713, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707415319.2428882, "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": 1707415319.2418048, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1002544688", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.128) 0:02:12.083 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.119) 0:02:12.202 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415278.873594, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b6c3a9d5ae68dae3ccdc4761111c11f58d89d5f6", "ctime": 1707415278.3449256, "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": 1707415278.3449256, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "1304951632", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.134) 0:02:12.337 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.119) 0:02:12.456 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.009) 0:02:12.466 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.007) 0:02:12.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.008) 0:02:12.482 ***** 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-timeoutikedk_p8/tests/tests_add_rm.yml:77 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.141) 0:02:12.623 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tests_add_rm.yml:84 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.010) 0:02:12.634 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.024) 0:02:12.659 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.009) 0:02:12.668 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.008) 0:02:12.677 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.007) 0:02:12.684 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.007) 0:02:12.692 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 18:02:41 +0000 (0:00:00.019) 0:02:12.711 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.550) 0:02:13.261 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.146) 0:02:13.408 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.113) 0:02:13.521 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.014) 0:02:13.536 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415319.2439713, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1707415319.2428882, "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": 1707415319.2418048, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1002544688", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.126) 0:02:13.662 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.120) 0:02:13.783 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707415361.9228923, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14df68f593d29a628cd21fc1e4c4ff870aca89f6", "ctime": 1707415361.9326425, "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": 1707415361.9326425, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "489175321", "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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.131) 0:02:13.915 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.117) 0:02:14.033 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.009) 0:02:14.043 ***** 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.008) 0:02:14.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 18:02:42 +0000 (0:00:00.008) 0:02:14.060 ***** 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-timeoutikedk_p8/tests/tests_add_rm.yml:94 Thursday 08 February 2024 18:02:43 +0000 (0:00:00.129) 0:02:14.190 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/tests_add_rm.yml:100 Thursday 08 February 2024 18:02:43 +0000 (0:00:00.010) 0:02:14.200 ***** 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.022279", "end": "2024-02-08 18:02:42.937348", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-02-08 18:02:42.915069" } 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.015734", "end": "2024-02-08 18:02:43.070685", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-02-08 18:02:43.054951" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 08 February 2024 18:02:43 +0000 (0:00:00.257) 0:02:14.457 ***** 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.022001", "end": "2024-02-08 18:02:43.216505", "rc": 0, "start": "2024-02-08 18:02:43.194504" } 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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 08 February 2024 18:02:43 +0000 (0:00:00.134) 0:02:14.592 ***** included: /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 08 February 2024 18:02:43 +0000 (0:00:00.007) 0:02:14.600 ***** changed: [sut] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 08 February 2024 18:03:22 +0000 (0:00:38.786) 0:02:53.386 ***** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 08 February 2024 18:03:22 +0000 (0:00:00.009) 0:02:53.395 ***** 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 18:03:22 +0000 (0:00:00.010) 0:02:53.406 ***** =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.22s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 39.96s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.79s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.71s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 3.02s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.12s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.75s /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:8 --------------- linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.60s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 linux-system-roles.bootloader : Ensure required packages are installed --- 0.56s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 0.55s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.52s /WORKDIR/git-fix-timeoutikedk_p8/tests/tasks/clone_kernel.yml:8 --------------- linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.49s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.48s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.45s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.42s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.41s /WORKDIR/git-fix-timeoutikedk_p8/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-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.36s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.35s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.34s /WORKDIR/git-fix-timeoutikedk_p8/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---