# 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-bios-uefi6jn1co3m/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:13 Monday 26 February 2024 20:52:40 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:52:40 +0000 (0:00:00.025) 0:00:00.038 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:52:40 +0000 (0:00:00.012) 0:00:00.050 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:52:41 +0000 (0:00:00.512) 0:00:00.563 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:52:41 +0000 (0:00:00.253) 0:00:00.817 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:52:41 +0000 (0:00:00.018) 0:00:00.836 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:52:41 +0000 (0:00:00.026) 0:00:00.863 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:52:44 +0000 (0:00:02.939) 0:00:03.803 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:52:44 +0000 (0:00:00.178) 0:00:03.981 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:52:44 +0000 (0:00:00.029) 0:00:04.011 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707816142.602, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:52:44 +0000 (0:00:00.201) 0:00:04.212 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707816143.423, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "90a708edb3fb234f2a5f4e28e98a362fad44972c", "ctime": 1707816143.424, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 743562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1707816143.424, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "3490282986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:52:45 +0000 (0:00:00.201) 0:00:04.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:52:45 +0000 (0:00:00.009) 0:00:04.424 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:52:45 +0000 (0:00:00.248) 0:00:04.672 ******* changed: [sut] => { "changed": true } MSG: 5 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:52:45 +0000 (0:00:00.185) 0:00:04.858 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:52:45 +0000 (0:00:00.246) 0:00:05.105 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:52:45 +0000 (0:00:00.009) 0:00:05.115 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:52:45 +0000 (0:00:00.007) 0:00:05.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:52:45 +0000 (0:00:00.007) 0:00:05.129 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "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-bios-uefi6jn1co3m/tests/tests_add_rm.yml:29 Monday 26 February 2024 20:52:46 +0000 (0:00:00.479) 0:00:05.608 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:52:46 +0000 (0:00:00.011) 0:00:05.620 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:52:46 +0000 (0:00:00.009) 0:00:05.630 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-536.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d3c3269ba472ad87de08aa46eed0c715fd0e7af", "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64" }, "md5sum": "a71f8e10f5824a9747a6ece11fd3de44", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11077344, "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-536.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ee1fac4cf986bce1fd4d97d7531ab457d6ee43c2", "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img" }, "md5sum": "77e440a10b8091b55a6f9146a74d5e3b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31355563, "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:52:47 +0000 (0:00:00.829) 0:00:06.459 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:52:47 +0000 (0:00:00.015) 0:00:06.474 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:52:47 +0000 (0:00:00.010) 0:00:06.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:52:47 +0000 (0:00:00.008) 0:00:06.494 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:52:47 +0000 (0:00:00.007) 0:00:06.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:52:47 +0000 (0:00:00.007) 0:00:06.509 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:52:47 +0000 (0:00:00.020) 0:00:06.529 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:52:49 +0000 (0:00:02.732) 0:00:09.261 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:52:50 +0000 (0:00:00.174) 0:00:09.436 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:52:50 +0000 (0:00:00.013) 0:00:09.450 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980764.7926261, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:52:50 +0000 (0:00:00.192) 0:00:09.643 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980765.4526088, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980765.4526088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980765.4526088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2593962792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:52:50 +0000 (0:00:00.193) 0:00:09.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:52:50 +0000 (0:00:00.009) 0:00:09.846 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:52:50 +0000 (0:00:00.183) 0:00:10.030 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:52:50 +0000 (0:00:00.186) 0:00:10.216 ******* 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-4.18.0-536.el8.x86_64_clone1 --initrd=/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:52:51 +0000 (0:00:00.446) 0:00:10.662 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:52:51 +0000 (0:00:00.010) 0:00:10.673 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:52:51 +0000 (0:00:00.007) 0:00:10.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:52:51 +0000 (0:00:00.007) 0:00:10.688 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:52:51 +0000 (0:00:00.006) 0:00:10.694 ******* 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.181055", "end": "2024-02-26 20:52:51.725165", "rc": 0, "start": "2024-02-26 20:52:51.544110" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:52:51 +0000 (0:00:00.434) 0:00:11.128 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:52:51 +0000 (0:00:00.008) 0:00:11.136 ******* changed: [sut] => { "changed": true, "elapsed": 48, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:53:40 +0000 (0:00:48.744) 0:00:59.880 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:00:59.889 ******* 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-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:53:40 +0000 (0:00:00.010) 0:00:59.899 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:00:59.907 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:40 +0000 (0:00:00.016) 0:00:59.924 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:40 +0000 (0:00:00.010) 0:00:59.934 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:53:40 +0000 (0:00:00.008) 0:00:59.943 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:53:40 +0000 (0:00:00.007) 0:00:59.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:53:40 +0000 (0:00:00.007) 0:00:59.957 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:40 +0000 (0:00:00.017) 0:00:59.975 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:53:45 +0000 (0:00:04.664) 0:01:04.639 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:53:45 +0000 (0:00:00.191) 0:01:04.831 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:53:45 +0000 (0:00:00.015) 0:01:04.847 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980771.7234454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980771.7234454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980771.7234454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1189533256", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:53:45 +0000 (0:00:00.202) 0:01:05.050 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980770.4194794, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980765.4526088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980765.4526088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2593962792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:53:45 +0000 (0:00:00.206) 0:01:05.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:53:45 +0000 (0:00:00.009) 0:01:05.266 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:53:46 +0000 (0:00:00.197) 0:01:05.464 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:53:46 +0000 (0:00:00.192) 0:01:05.657 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:53:46 +0000 (0:00:00.188) 0:01:05.846 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:53:46 +0000 (0:00:00.008) 0:01:05.854 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:53:46 +0000 (0:00:00.007) 0:01:05.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:53:46 +0000 (0:00:00.007) 0:01:05.869 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "6a79be88cba140c49d5a9d1e21281836-4.18.0-536.el8.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "1", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:35 Monday 26 February 2024 20:53:46 +0000 (0:00:00.399) 0:01:06.268 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:47 Monday 26 February 2024 20:53:46 +0000 (0:00:00.012) 0:01:06.281 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:46 +0000 (0:00:00.020) 0:01:06.301 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:46 +0000 (0:00:00.010) 0:01:06.312 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:53:46 +0000 (0:00:00.008) 0:01:06.320 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:53:46 +0000 (0:00:00.008) 0:01:06.328 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:53:46 +0000 (0:00:00.007) 0:01:06.335 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:46 +0000 (0:00:00.017) 0:01:06.353 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:53:49 +0000 (0:00:02.826) 0:01:09.180 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:53:49 +0000 (0:00:00.184) 0:01:09.364 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:53:49 +0000 (0:00:00.015) 0:01:09.380 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980825.3542228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980771.7234454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980771.7234454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1189533256", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:53:50 +0000 (0:00:00.200) 0:01:09.581 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980770.4194794, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980765.4526088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980765.4526088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2593962792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:53:50 +0000 (0:00:00.204) 0:01:09.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:53:50 +0000 (0:00:00.009) 0:01:09.794 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:53:50 +0000 (0:00:00.191) 0:01:09.986 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:53:50 +0000 (0:00:00.192) 0:01:10.178 ******* 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-4.18.0-536.el8.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:53:51 +0000 (0:00:00.492) 0:01:10.671 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:53:51 +0000 (0:00:00.009) 0:01:10.680 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:53:51 +0000 (0:00:00.008) 0:01:10.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:53:51 +0000 (0:00:00.007) 0:01:10.696 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:65 Monday 26 February 2024 20:53:51 +0000 (0:00:00.336) 0:01:11.033 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:71 Monday 26 February 2024 20:53:51 +0000 (0:00:00.009) 0:01:11.042 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 20:53:51 +0000 (0:00:00.013) 0:01:11.056 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 20:53:51 +0000 (0:00:00.008) 0:01:11.064 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-536.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d3c3269ba472ad87de08aa46eed0c715fd0e7af", "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64" }, "md5sum": "a71f8e10f5824a9747a6ece11fd3de44", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11077344, "src": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-536.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ee1fac4cf986bce1fd4d97d7531ab457d6ee43c2", "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img" }, "md5sum": "77e440a10b8091b55a6f9146a74d5e3b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31355563, "src": "/boot/initramfs-4.18.0-536.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 20:53:52 +0000 (0:00:00.769) 0:01:11.834 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:53:52 +0000 (0:00:00.012) 0:01:11.847 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:53:52 +0000 (0:00:00.024) 0:01:11.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:53:52 +0000 (0:00:00.018) 0:01:11.890 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:53:52 +0000 (0:00:00.016) 0:01:11.907 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:53:52 +0000 (0:00:00.014) 0:01:11.922 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:53:52 +0000 (0:00:00.028) 0:01:11.950 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:53:55 +0000 (0:00:02.933) 0:01:14.884 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:53:55 +0000 (0:00:00.194) 0:01:15.079 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:53:55 +0000 (0:00:00.014) 0:01:15.094 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980825.3542228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980771.7234454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980771.7234454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1189533256", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:53:55 +0000 (0:00:00.198) 0:01:15.292 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980770.4194794, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980765.4526088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980765.4526088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2593962792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:53:56 +0000 (0:00:00.204) 0:01:15.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:53:56 +0000 (0:00:00.010) 0:01:15.507 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:53:56 +0000 (0:00:00.199) 0:01:15.707 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:53:56 +0000 (0:00:00.191) 0:01:15.898 ******* 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-4.18.0-536.el8.x86_64_clone2 --initrd=/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:53:56 +0000 (0:00:00.465) 0:01:16.364 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:53:56 +0000 (0:00:00.009) 0:01:16.374 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:53:56 +0000 (0:00:00.007) 0:01:16.382 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:53:57 +0000 (0:00:00.007) 0:01:16.389 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:53:57 +0000 (0:00:00.007) 0:01:16.396 ******* 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.183509", "end": "2024-02-26 20:53:57.375216", "rc": 0, "start": "2024-02-26 20:53:57.191707" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:53:57 +0000 (0:00:00.379) 0:01:16.776 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:53:57 +0000 (0:00:00.009) 0:01:16.785 ******* changed: [sut] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:54:45 +0000 (0:00:47.734) 0:02:04.520 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:54:45 +0000 (0:00:00.007) 0:02:04.528 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:54:45 +0000 (0:00:00.008) 0:02:04.536 ******* 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.233270", "end": "2024-02-26 20:54:45.434776", "rc": 0, "start": "2024-02-26 20:54:45.201506" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:54:45 +0000 (0:00:00.413) 0:02:04.949 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:54:45 +0000 (0:00:00.007) 0:02:04.957 ******* changed: [sut] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:55:33 +0000 (0:00:48.153) 0:02:53.110 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:55:33 +0000 (0:00:00.008) 0:02:53.119 ******* 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-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 20:55:33 +0000 (0:00:00.009) 0:02:53.129 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 20:55:33 +0000 (0:00:00.008) 0:02:53.137 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:55:33 +0000 (0:00:00.016) 0:02:53.154 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:55:33 +0000 (0:00:00.010) 0:02:53.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:55:33 +0000 (0:00:00.008) 0:02:53.173 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:55:33 +0000 (0:00:00.007) 0:02:53.180 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:55:33 +0000 (0:00:00.007) 0:02:53.188 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:55:33 +0000 (0:00:00.018) 0:02:53.206 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:55:38 +0000 (0:00:04.622) 0:02:57.829 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:55:38 +0000 (0:00:00.177) 0:02:58.006 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:55:38 +0000 (0:00:00.015) 0:02:58.022 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980885.4337037, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980885.4326203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980885.4326203, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1189533302", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:55:38 +0000 (0:00:00.202) 0:02:58.224 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980770.4194794, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980765.4526088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980765.4526088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2593962792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:55:39 +0000 (0:00:00.199) 0:02:58.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:55:39 +0000 (0:00:00.009) 0:02:58.433 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:55:39 +0000 (0:00:00.182) 0:02:58.616 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:55:39 +0000 (0:00:00.187) 0:02:58.804 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:55:39 +0000 (0:00:00.185) 0:02:58.989 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:55:39 +0000 (0:00:00.009) 0:02:58.998 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:55:39 +0000 (0:00:00.008) 0:02:59.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:55:39 +0000 (0:00:00.007) 0:02:59.014 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "6a79be88cba140c49d5a9d1e21281836-4.18.0-536.el8.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "1", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:77 Monday 26 February 2024 20:55:39 +0000 (0:00:00.370) 0:02:59.385 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:84 Monday 26 February 2024 20:55:40 +0000 (0:00:00.010) 0:02:59.396 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:55:40 +0000 (0:00:00.025) 0:02:59.421 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:55:40 +0000 (0:00:00.011) 0:02:59.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:55:40 +0000 (0:00:00.009) 0:02:59.442 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:55:40 +0000 (0:00:00.007) 0:02:59.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:55:40 +0000 (0:00:00.007) 0:02:59.457 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:55:40 +0000 (0:00:00.018) 0:02:59.476 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:55:42 +0000 (0:00:02.705) 0:03:02.182 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:55:42 +0000 (0:00:00.190) 0:03:02.372 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:55:43 +0000 (0:00:00.015) 0:03:02.388 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980885.4337037, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1708980885.4326203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2303616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708980885.4326203, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1189533302", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:55:43 +0000 (0:00:00.197) 0:03:02.586 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980770.4194794, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708980765.4526088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980765.4526088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2593962792", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:55:43 +0000 (0:00:00.196) 0:03:02.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:55:43 +0000 (0:00:00.009) 0:03:02.793 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:55:43 +0000 (0:00:00.189) 0:03:02.983 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:55:43 +0000 (0:00:00.194) 0:03:03.177 ******* 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-4.18.0-536.el8.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:55:44 +0000 (0:00:00.465) 0:03:03.643 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:55:44 +0000 (0:00:00.008) 0:03:03.651 ******* 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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:55:44 +0000 (0:00:00.007) 0:03:03.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:55:44 +0000 (0:00:00.007) 0:03:03.666 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "cbcf984f79874cad97fc31a6c318d209-4.18.0-536.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-536.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-536.el8.x86_64", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (4.18.0-536.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "cbcf984f79874cad97fc31a6c318d209-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cbcf984f79874cad97fc31a6c318d209.img", "kernel": "/boot/vmlinuz-0-rescue-cbcf984f79874cad97fc31a6c318d209", "root": "UUID=b00f4a12-ea3e-4925-b0f5-e1994fd747f6", "title": "CentOS Stream (0-rescue-cbcf984f79874cad97fc31a6c318d209) 8" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:94 Monday 26 February 2024 20:55:44 +0000 (0:00:00.322) 0:03:03.988 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/tests_add_rm.yml:100 Monday 26 February 2024 20:55:44 +0000 (0:00:00.010) 0:03:03.999 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-536.el8.x86_64_clone1" ], "delta": "0:00:00.054751", "end": "2024-02-26 20:55:44.834447", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 20:55:44.779696" } STDERR: The param /boot/vmlinuz-4.18.0-536.el8.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-536.el8.x86_64_clone2" ], "delta": "0:00:00.054157", "end": "2024-02-26 20:55:45.064929", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 20:55:45.010772" } STDERR: The param /boot/vmlinuz-4.18.0-536.el8.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 20:55:45 +0000 (0:00:00.465) 0:03:04.465 ******* 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.148096", "end": "2024-02-26 20:55:45.398044", "rc": 0, "start": "2024-02-26 20:55:45.249948" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 20:55:45 +0000 (0:00:00.333) 0:03:04.799 ******* included: /WORKDIR/git-bios-uefi6jn1co3m/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-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 20:55:45 +0000 (0:00:00.007) 0:03:04.806 ******* changed: [sut] => { "changed": true, "elapsed": 46, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 20:56:32 +0000 (0:00:47.515) 0:03:52.322 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 20:56:32 +0000 (0:00:00.007) 0:03:52.330 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=100 changed=16 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0 Monday 26 February 2024 20:56:32 +0000 (0:00:00.009) 0:03:52.339 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 48.74s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 48.15s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 47.73s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 47.52s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed -- 12.23s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 5.67s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.83s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.71s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.25s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.91s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Clone test_kernel kernel and initrd for test purposes ------------------- 0.83s /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.81s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Clone test_kernel kernel and initrd for test purposes ------------------- 0.77s /WORKDIR/git-bios-uefi6jn1co3m/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.63s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.62s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.61s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.61s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.57s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.55s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.51s /WORKDIR/git-bios-uefi6jn1co3m/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---