# 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-uefi9l8n_h2o/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/tests_settings.yml:13 Monday 26 February 2024 18:18:24 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 18:18:24 +0000 (0:00:00.026) 0:00:00.039 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:18:24 +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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 18:18:25 +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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 18:18:25 +0000 (0:00:00.244) 0:00:00.789 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 18:18:25 +0000 (0:00:00.018) 0:00:00.808 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 18:18:25 +0000 (0:00:00.027) 0:00:00.835 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 18:18:26 +0000 (0:00:01.299) 0:00:02.134 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 18:18:26 +0000 (0:00:00.230) 0:00:02.365 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 18:18:27 +0000 (0:00:00.172) 0:00:02.538 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 18:18:27 +0000 (0:00:00.028) 0:00:02.567 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971492.3402538, "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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 18:18:27 +0000 (0:00:00.183) 0:00:02.751 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 18:18:27 +0000 (0:00:00.226) 0:00:02.978 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 18:18:27 +0000 (0:00:00.008) 0:00:02.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 18:18:27 +0000 (0:00:00.008) 0:00:02.995 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 18:18:27 +0000 (0:00:00.009) 0:00:03.004 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 18:18:27 +0000 (0:00:00.008) 0:00:03.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 18:18:27 +0000 (0:00:00.007) 0:00:03.020 ******* 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-uefi9l8n_h2o/tests/tests_settings.yml:29 Monday 26 February 2024 18:18:27 +0000 (0:00:00.351) 0:00:03.372 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 18:18:27 +0000 (0:00:00.012) 0:00:03.384 ******* 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-uefi9l8n_h2o/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 18:18:27 +0000 (0:00:00.009) 0:00:03.394 ******* 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-uefi9l8n_h2o/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 18:18:28 +0000 (0:00:00.914) 0:00:04.309 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 18:18:28 +0000 (0:00:00.016) 0:00:04.326 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:18:28 +0000 (0:00:00.010) 0:00:04.337 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 18:18:28 +0000 (0:00:00.008) 0:00:04.345 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 18:18:28 +0000 (0:00:00.008) 0:00:04.354 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 18:18:28 +0000 (0:00:00.007) 0:00:04.362 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 18:18:28 +0000 (0:00:00.020) 0:00:04.382 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 18:18:30 +0000 (0:00:01.219) 0:00:05.601 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 18:18:30 +0000 (0:00:00.389) 0:00:05.990 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 18:18:30 +0000 (0:00:00.170) 0:00:06.161 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 18:18:30 +0000 (0:00:00.013) 0:00:06.175 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971492.3402538, "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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 18:18:30 +0000 (0:00:00.186) 0:00:06.361 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 18:18:31 +0000 (0:00:00.177) 0:00:06.539 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 18:18:31 +0000 (0:00:00.009) 0:00:06.548 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 18:18:31 +0000 (0:00:00.008) 0:00:06.557 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 18:18:31 +0000 (0:00:00.008) 0:00:06.565 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 18:18:31 +0000 (0:00:00.007) 0:00:06.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 18:18:31 +0000 (0:00:00.008) 0:00:06.581 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 18:18:31 +0000 (0:00:00.006) 0:00:06.588 ******* 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.139672", "end": "2024-02-26 18:18:31.478317", "rc": 0, "start": "2024-02-26 18:18:31.338645" } 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 18:18:31 +0000 (0:00:00.376) 0:00:06.964 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:18:31 +0000 (0:00:00.008) 0:00:06.973 ******* changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:19:08 +0000 (0:00:36.865) 0:00:43.839 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:19:08 +0000 (0:00:00.008) 0:00:43.847 ******* 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-uefi9l8n_h2o/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 18:19:08 +0000 (0:00:00.010) 0:00:43.857 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 18:19:08 +0000 (0:00:00.009) 0:00:43.867 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 18:19:08 +0000 (0:00:00.015) 0:00:43.882 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:19:08 +0000 (0:00:00.010) 0:00:43.893 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 18:19:08 +0000 (0:00:00.008) 0:00:43.901 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 18:19:08 +0000 (0:00:00.008) 0:00:43.910 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 18:19:08 +0000 (0:00:00.009) 0:00:43.920 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 18:19:08 +0000 (0:00:00.018) 0:00:43.938 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 18:19:10 +0000 (0:00:02.376) 0:00:46.315 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 18:19:11 +0000 (0:00:00.175) 0:00:46.490 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 18:19:11 +0000 (0:00:00.171) 0:00:46.662 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 18:19:11 +0000 (0:00:00.014) 0:00:46.676 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971511.476506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1708971511.475506, "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": 1708971511.475506, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "2471640852", "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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 18:19:11 +0000 (0:00:00.211) 0:00:46.888 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 18:19:11 +0000 (0:00:00.186) 0:00:47.074 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 18:19:11 +0000 (0:00:00.015) 0:00:47.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 18:19:11 +0000 (0:00:00.010) 0:00:47.100 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 18:19:11 +0000 (0:00:00.011) 0:00:47.111 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 18:19:11 +0000 (0:00:00.009) 0:00:47.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 18:19:11 +0000 (0:00:00.013) 0:00:47.135 ******* 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": "a3a3f52c5c6f43ddb16d65188e04a9d2-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-uefi9l8n_h2o/tests/tests_settings.yml:35 Monday 26 February 2024 18:19:11 +0000 (0:00:00.330) 0:00:47.466 ******* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.059025", "end": "2024-02-26 18:19:12.209415", "failed_when_result": false, "rc": 0, "start": "2024-02-26 18:19:12.150390" } STDOUT: /boot/vmlinuz-5.14.0-419.el9.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/tests_settings.yml:46 Monday 26 February 2024 18:19:12 +0000 (0:00:00.239) 0:00:47.705 ******* 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": "a3a3f52c5c6f43ddb16d65188e04a9d2-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-uefi9l8n_h2o/tests/tests_settings.yml:53 Monday 26 February 2024 18:19:12 +0000 (0:00:00.009) 0:00:47.715 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 18:19:12 +0000 (0:00:00.021) 0:00:47.736 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 18:19:12 +0000 (0:00:00.010) 0:00:47.747 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 18:19:12 +0000 (0:00:00.008) 0:00:47.756 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 18:19:12 +0000 (0:00:00.007) 0:00:47.763 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 18:19:12 +0000 (0:00:00.007) 0:00:47.770 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 18:19:12 +0000 (0:00:00.019) 0:00:47.790 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 18:19:13 +0000 (0:00:01.230) 0:00:49.020 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 18:19:14 +0000 (0:00:01.037) 0:00:50.058 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 18:19:14 +0000 (0:00:00.173) 0:00:50.232 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 18:19:14 +0000 (0:00:00.013) 0:00:50.246 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708971554.5330858, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "615583aa8dcc052b75037602d8ca8301a3506859", "ctime": 1708971554.5330858, "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": 1708971554.5330858, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3787830222", "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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 18:19:14 +0000 (0:00:00.188) 0:00:50.435 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 18:19:15 +0000 (0:00:00.181) 0:00:50.616 ******* changed: [sut] => { "changed": true, "cmd": [ "grub2-mkconfig", "-o", "/boot/grub2/grub.cfg" ], "delta": "0:00:01.841340", "end": "2024-02-26 18:19:17.148057", "rc": 0, "start": "2024-02-26 18:19:15.306717" } 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 26 February 2024 18:19:17 +0000 (0:00:02.021) 0:00:52.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 18:19:17 +0000 (0:00:00.009) 0:00:52.647 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 18:19:17 +0000 (0:00:00.008) 0:00:52.655 ******* 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 18:19:17 +0000 (0:00:00.007) 0:00:52.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 18:19:17 +0000 (0:00:00.007) 0:00:52.670 ******* 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": "a3a3f52c5c6f43ddb16d65188e04a9d2-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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 18:19:17 +0000 (0:00:00.321) 0:00:52.992 ******* 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.139617", "end": "2024-02-26 18:19:17.822112", "rc": 0, "start": "2024-02-26 18:19:17.682495" } 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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 18:19:17 +0000 (0:00:00.318) 0:00:53.310 ******* included: /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 18:19:17 +0000 (0:00:00.007) 0:00:53.318 ******* changed: [sut] => { "changed": true, "elapsed": 44, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 18:20:03 +0000 (0:00:45.160) 0:01:38.479 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 18:20:03 +0000 (0:00:00.007) 0:01:38.487 ******* 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-uefi9l8n_h2o/tests/tests_settings.yml:79 Monday 26 February 2024 18:20:03 +0000 (0:00:00.009) 0:01:38.497 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefi9l8n_h2o/tests/tests_settings.yml:83 Monday 26 February 2024 18:20:03 +0000 (0:00:00.008) 0:01:38.505 ******* 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-uefi9l8n_h2o/tests/tests_settings.yml:174 Monday 26 February 2024 18:20:03 +0000 (0:00:00.009) 0:01:38.515 ******* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-419.el9.x86_64_clone1" ], "delta": "0:00:00.122132", "end": "2024-02-26 18:20:03.336979", "failed_when_result": false, "rc": 0, "start": "2024-02-26 18:20:03.214847" } 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 18:20:03 +0000 (0:00:00.309) 0:01:38.825 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 45.16s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.87s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 3.68s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg --- 2.02s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 linux-system-roles.bootloader : Ensure required packages are installed --- 1.23s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.22s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure boot loader settings ------------- 1.04s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.91s /WORKDIR/git-bios-uefi9l8n_h2o/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.68s /WORKDIR/git-bios-uefi9l8n_h2o/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-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.41s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.41s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.40s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.39s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.38s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Determine platform type ----------------- 0.34s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.32s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.32s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Remove cloned kernels --------------------------------------------------- 0.31s /WORKDIR/git-bios-uefi9l8n_h2o/tests/tests_settings.yml:174 ------------------- linux-system-roles.bootloader : Check if system is ostree --------------- 0.24s /WORKDIR/git-bios-uefi9l8n_h2o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---