# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_settings.yml *************************************************** 1 plays in /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:13 Monday 26 February 2024 17:44:22 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:44:22 +0000 (0:00:00.026) 0:00:00.038 ******* included: /WORKDIR/git-bios-uefih8pt18wt/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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:44:22 +0000 (0:00:00.012) 0:00:00.051 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:44:23 +0000 (0:00:00.493) 0:00:00.544 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:44:23 +0000 (0:00:00.244) 0:00:00.788 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:44:23 +0000 (0:00:00.019) 0:00:00.807 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:44:23 +0000 (0:00:00.027) 0:00:00.834 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:44:24 +0000 (0:00:01.325) 0:00:02.160 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:44:25 +0000 (0:00:00.229) 0:00:02.390 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:44:25 +0000 (0:00:00.170) 0:00:02.560 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:44:25 +0000 (0:00:00.029) 0:00:02.589 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708969450.6759787, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:44:25 +0000 (0:00:00.189) 0:00:02.778 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:44:25 +0000 (0:00:00.226) 0:00:03.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 17:44:25 +0000 (0:00:00.008) 0:00:03.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 17:44:25 +0000 (0:00:00.007) 0:00:03.020 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 17:44:25 +0000 (0:00:00.008) 0:00:03.028 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 17:44:25 +0000 (0:00:00.007) 0:00:03.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 17:44:25 +0000 (0:00:00.006) 0:00:03.042 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for sut META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:29 Monday 26 February 2024 17:44:26 +0000 (0:00:00.363) 0:00:03.406 ******* included: /WORKDIR/git-bios-uefih8pt18wt/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 17:44:26 +0000 (0:00:00.012) 0:00:03.418 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 17:44:26 +0000 (0:00:00.010) 0:00:03.429 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-419.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "02a30e3d472d69c1dee1aeaae623a82ca85ab1b5", "dest": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-419.el9.x86_64" }, "md5sum": "a085c48cd0b6558754daa389fbf7ef11", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13576232, "src": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-419.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b287ee97cfbe0014a173b499b35084c108cacd50", "dest": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-419.el9.x86_64.img" }, "md5sum": "ff2987284ec327acecd236992f1475f6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 34898551, "src": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 17:44:27 +0000 (0:00:01.052) 0:00:04.481 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:44:27 +0000 (0:00:00.014) 0:00:04.496 ******* included: /WORKDIR/git-bios-uefih8pt18wt/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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:44:27 +0000 (0:00:00.010) 0:00:04.507 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:44:27 +0000 (0:00:00.008) 0:00:04.515 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:44:27 +0000 (0:00:00.007) 0:00:04.522 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:44:27 +0000 (0:00:00.007) 0:00:04.529 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:44:27 +0000 (0:00:00.017) 0:00:04.547 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:44:28 +0000 (0:00:01.250) 0:00:05.798 ******* 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-5.14.0-419.el9.x86_64_clone1 --initrd=/boot/initramfs-5.14.0-419.el9.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-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:44:28 +0000 (0:00:00.394) 0:00:06.192 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:44:29 +0000 (0:00:00.170) 0:00:06.363 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:44:29 +0000 (0:00:00.013) 0:00:06.377 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708969450.6759787, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:44:29 +0000 (0:00:00.185) 0:00:06.562 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:44:29 +0000 (0:00:00.177) 0:00:06.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 17:44:29 +0000 (0:00:00.008) 0:00:06.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 17:44:29 +0000 (0:00:00.007) 0:00:06.755 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 17:44:29 +0000 (0:00:00.008) 0:00:06.764 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 17:44:29 +0000 (0:00:00.007) 0:00:06.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 17:44:29 +0000 (0:00:00.007) 0:00:06.778 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 17:44:29 +0000 (0:00:00.005) 0:00:06.784 ******* 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.142321", "end": "2024-02-26 17:44:29.922099", "rc": 0, "start": "2024-02-26 17:44:29.779778" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 17:44:29 +0000 (0:00:00.377) 0:00:07.162 ******* included: /WORKDIR/git-bios-uefih8pt18wt/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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:44:29 +0000 (0:00:00.008) 0:00:07.170 ******* changed: [sut] => { "changed": true, "elapsed": 46, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:45:17 +0000 (0:00:47.539) 0:00:54.710 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:45:17 +0000 (0:00:00.008) 0:00:54.718 ******* 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-uefih8pt18wt/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 17:45:17 +0000 (0:00:00.010) 0:00:54.728 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 17:45:17 +0000 (0:00:00.009) 0:00:54.738 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:45:17 +0000 (0:00:00.015) 0:00:54.754 ******* included: /WORKDIR/git-bios-uefih8pt18wt/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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:45:17 +0000 (0:00:00.010) 0:00:54.764 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:45:17 +0000 (0:00:00.008) 0:00:54.773 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:45:17 +0000 (0:00:00.007) 0:00:54.780 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:45:17 +0000 (0:00:00.007) 0:00:54.787 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:45:17 +0000 (0:00:00.035) 0:00:54.823 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:45:26 +0000 (0:00:08.732) 0:01:03.555 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:45:26 +0000 (0:00:00.175) 0:01:03.730 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:45:26 +0000 (0:00:00.175) 0:01:03.905 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:45:26 +0000 (0:00:00.013) 0:01:03.919 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708969469.9203556, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708969469.9193556, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708969469.9193556, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "1842152369", "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-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:45:26 +0000 (0:00:00.234) 0:01:04.154 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:45:27 +0000 (0:00:00.186) 0:01:04.340 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 17:45:27 +0000 (0:00:00.008) 0:01:04.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 17:45:27 +0000 (0:00:00.007) 0:01:04.356 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 17:45:27 +0000 (0:00:00.008) 0:01:04.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 : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 17:45:27 +0000 (0:00:00.007) 0:01:04.372 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 17:45:27 +0000 (0:00:00.007) 0:01:04.379 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "4731afaa85164a68992d6c3caa5019a4-5.14.0-419.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "Clone1" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:35 Monday 26 February 2024 17:45:27 +0000 (0:00:00.338) 0:01:04.717 ******* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.061138", "end": "2024-02-26 17:45:27.731744", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:45:27.670606" } STDOUT: /boot/vmlinuz-5.14.0-419.el9.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:46 Monday 26 February 2024 17:45:27 +0000 (0:00:00.259) 0:01:04.977 ******* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "4731afaa85164a68992d6c3caa5019a4-5.14.0-419.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:53 Monday 26 February 2024 17:45:27 +0000 (0:00:00.009) 0:01:04.987 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:45:27 +0000 (0:00:00.021) 0:01:05.009 ******* included: /WORKDIR/git-bios-uefih8pt18wt/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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:45:27 +0000 (0:00:00.010) 0:01:05.019 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:45:27 +0000 (0:00:00.008) 0:01:05.027 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:45:27 +0000 (0:00:00.007) 0:01:05.034 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:45:27 +0000 (0:00:00.007) 0:01:05.041 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:45:27 +0000 (0:00:00.017) 0:01:05.059 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:45:29 +0000 (0:00:01.324) 0:01:06.383 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --update-kernel=2 --remove-args='ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel'", "grubby --update-kernel=2 --args='console=tty0 print-fatal-signals=1 no_timer_check quiet'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:45:30 +0000 (0:00:01.015) 0:01:07.399 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:45:30 +0000 (0:00:00.173) 0:01:07.573 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:45:30 +0000 (0:00:00.014) 0:01:07.587 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708969530.1219826, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "615583aa8dcc052b75037602d8ca8301a3506859", "ctime": 1708969530.1219826, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6581828, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708969530.1219826, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "116245186", "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-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:45:30 +0000 (0:00:00.197) 0:01:07.784 ******* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:45:30 +0000 (0:00:00.181) 0:01:07.965 ******* changed: [sut] => { "changed": true, "cmd": [ "grub2-mkconfig", "-o", "/boot/grub2/grub.cfg" ], "delta": "0:00:01.619256", "end": "2024-02-26 17:45:32.521081", "rc": 0, "start": "2024-02-26 17:45:30.901825" } STDERR: Generating grub configuration file ... Adding boot menu entry for UEFI Firmware Settings ... done TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 17:45:32 +0000 (0:00:01.797) 0:01:09.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 17:45:32 +0000 (0:00:00.007) 0:01:09.770 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 17:45:32 +0000 (0:00:00.008) 0:01:09.779 ******* 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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 17:45:32 +0000 (0:00:00.007) 0:01:09.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 17:45:32 +0000 (0:00:00.007) 0:01:09.793 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug", "default": true, "id": "71214d8b09664602b3b4283b276deac0-5.14.0-419.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (5.14.0-419.el9.x86_64) 9" }, { "args": "ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug", "default": false, "id": "71214d8b09664602b3b4283b276deac0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-71214d8b09664602b3b4283b276deac0.img", "kernel": "/boot/vmlinuz-0-rescue-71214d8b09664602b3b4283b276deac0", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "CentOS Stream (0-rescue-71214d8b09664602b3b4283b276deac0) 9" }, { "args": "ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug", "default": false, "id": "4731afaa85164a68992d6c3caa5019a4-5.14.0-419.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-419.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1", "root": "UUID=efde4cf2-187f-450a-b932-1a74529a9891", "title": "Clone1" } ] }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 17:45:32 +0000 (0:00:00.330) 0:01:10.124 ******* 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.140068", "end": "2024-02-26 17:45:33.199551", "rc": 0, "start": "2024-02-26 17:45:33.059483" } STDOUT: args="ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug" GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 17:45:33 +0000 (0:00:00.315) 0:01:10.439 ******* included: /WORKDIR/git-bios-uefih8pt18wt/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-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:45:33 +0000 (0:00:00.007) 0:01:10.447 ******* changed: [sut] => { "changed": true, "elapsed": 57, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:46:31 +0000 (0:00:57.955) 0:02:08.402 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:46:31 +0000 (0:00:00.007) 0:02:08.410 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:79 Monday 26 February 2024 17:46:31 +0000 (0:00:00.009) 0:02:08.420 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:83 Monday 26 February 2024 17:46:31 +0000 (0:00:00.009) 0:02:08.430 ******* fatal: [sut]: FAILED! => { "assertion": "(bootloader_facts | selectattr('index', 'search', cloned_kernel.index) | first).args | regex_search('^.*console=tty0 print-fatal-signals=1 no_timer_check quiet debug( |)$')", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:174 Monday 26 February 2024 17:46:31 +0000 (0:00:00.009) 0:02:08.440 ******* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1" ], "delta": "0:00:00.113395", "end": "2024-02-26 17:46:31.508865", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:46:31.395470" } to retry, use: --limit @/tmp/tests_settings.retry PLAY RECAP ********************************************************************* sut : ok=51 changed=10 unreachable=0 failed=1 skipped=35 rescued=0 ignored=0 Monday 26 February 2024 17:46:31 +0000 (0:00:00.309) 0:02:08.749 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 57.96s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 47.54s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed -- 10.06s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg --- 1.80s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 linux-system-roles.bootloader : Ensure required packages are installed --- 1.32s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.25s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.05s /WORKDIR/git-bios-uefih8pt18wt/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 1.02s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.70s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.49s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.42s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.41s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.40s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.39s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.38s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Determine platform type ----------------- 0.35s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.33s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.32s /WORKDIR/git-bios-uefih8pt18wt/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Remove cloned kernels --------------------------------------------------- 0.31s /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:174 ------------------- Verify that default bootloader is correct in bootloader_gather_facts ---- 0.26s /WORKDIR/git-bios-uefih8pt18wt/tests/tests_settings.yml:35 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---