# 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-uefialutmox3/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefialutmox3/tests/tests_settings.yml:13 Monday 26 February 2024 17:28:07 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:28:07 +0000 (0:00:00.026) 0:00:00.038 ******* included: /WORKDIR/git-bios-uefialutmox3/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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:28:07 +0000 (0:00:00.012) 0:00:00.050 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:28:07 +0000 (0:00:00.690) 0:00:00.741 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:28:08 +0000 (0:00:00.260) 0:00:01.002 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:28:08 +0000 (0:00:00.019) 0:00:01.021 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:28:08 +0000 (0:00:00.026) 0:00:01.047 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:28:11 +0000 (0:00:02.958) 0:00:04.006 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:28:11 +0000 (0:00:00.261) 0:00:04.268 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:28:11 +0000 (0:00:00.187) 0:00:04.456 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:28:11 +0000 (0:00:00.029) 0:00:04.485 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968481.8202717, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:28:11 +0000 (0:00:00.202) 0:00:04.688 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:28:11 +0000 (0:00:00.254) 0:00:04.942 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:28:12 +0000 (0:00:00.009) 0:00:04.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:28:12 +0000 (0:00:00.007) 0:00:04.960 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:28:12 +0000 (0:00:00.008) 0:00:04.968 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:28:12 +0000 (0:00:00.007) 0:00:04.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:28:12 +0000 (0:00:00.007) 0:00:04.983 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "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-uefialutmox3/tests/tests_settings.yml:29 Monday 26 February 2024 17:28:12 +0000 (0:00:00.471) 0:00:05.454 ******* included: /WORKDIR/git-bios-uefialutmox3/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefialutmox3/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 17:28:12 +0000 (0:00:00.013) 0:00:05.468 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-uefialutmox3/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 17:28:12 +0000 (0:00:00.010) 0:00:05.478 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.4-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "07e5eaee2ecbe02b351e23cdbc7954b6199e59a2", "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64" }, "md5sum": "903e178e5d1b463322f6b8ae00c3b0fd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14806856, "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.4-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8013b07b4ec317cde218ecb9881767196b88b0c7", "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img" }, "md5sum": "bbcf92602718082fcf4c07a5afba1476", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20390757, "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-uefialutmox3/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 17:28:14 +0000 (0:00:01.629) 0:00:07.108 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:28:14 +0000 (0:00:00.016) 0:00:07.124 ******* included: /WORKDIR/git-bios-uefialutmox3/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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:28:14 +0000 (0:00:00.011) 0:00:07.135 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:28:14 +0000 (0:00:00.015) 0:00:07.151 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:28:14 +0000 (0:00:00.008) 0:00:07.159 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:28:14 +0000 (0:00:00.008) 0:00:07.168 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:28:14 +0000 (0:00:00.020) 0:00:07.189 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:28:17 +0000 (0:00:02.883) 0:00:10.072 ******* 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-6.7.4-100.fc38.x86_64_clone1 --initrd=/boot/initramfs-6.7.4-100.fc38.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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:28:17 +0000 (0:00:00.414) 0:00:10.487 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:28:17 +0000 (0:00:00.186) 0:00:10.674 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:28:17 +0000 (0:00:00.014) 0:00:10.688 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968481.8202717, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:28:17 +0000 (0:00:00.203) 0:00:10.891 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:28:18 +0000 (0:00:00.193) 0:00:11.085 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:28:18 +0000 (0:00:00.009) 0:00:11.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:28:18 +0000 (0:00:00.007) 0:00:11.102 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:28:18 +0000 (0:00:00.008) 0:00:11.110 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:28:18 +0000 (0:00:00.007) 0:00:11.118 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:28:18 +0000 (0:00:00.007) 0:00:11.125 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 17:28:18 +0000 (0:00:00.005) 0:00:11.131 ******* 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.146696", "end": "2024-02-26 17:28:18.561236", "rc": 0, "start": "2024-02-26 17:28:18.414540" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 17:28:18 +0000 (0:00:00.397) 0:00:11.529 ******* included: /WORKDIR/git-bios-uefialutmox3/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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:28:18 +0000 (0:00:00.009) 0:00:11.538 ******* changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:28:59 +0000 (0:00:41.279) 0:00:52.818 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:28:59 +0000 (0:00:00.008) 0:00:52.826 ******* 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-uefialutmox3/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 17:28:59 +0000 (0:00:00.010) 0:00:52.837 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefialutmox3/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 17:28:59 +0000 (0:00:00.008) 0:00:52.845 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:28:59 +0000 (0:00:00.016) 0:00:52.861 ******* included: /WORKDIR/git-bios-uefialutmox3/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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:28:59 +0000 (0:00:00.010) 0:00:52.872 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:28:59 +0000 (0:00:00.008) 0:00:52.880 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:28:59 +0000 (0:00:00.007) 0:00:52.888 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:28:59 +0000 (0:00:00.007) 0:00:52.895 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:28:59 +0000 (0:00:00.018) 0:00:52.913 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:29:07 +0000 (0:00:07.858) 0:01:00.771 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:29:08 +0000 (0:00:00.190) 0:01:00.962 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:29:08 +0000 (0:00:00.186) 0:01:01.148 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:29:08 +0000 (0:00:00.013) 0:01:01.162 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968498.5597286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968498.5587285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708968498.5587285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "770189085", "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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:29:08 +0000 (0:00:00.228) 0:01:01.391 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:29:08 +0000 (0:00:00.192) 0:01:01.584 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:29:08 +0000 (0:00:00.008) 0:01:01.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:29:08 +0000 (0:00:00.007) 0:01:01.600 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:29:08 +0000 (0:00:00.007) 0:01:01.607 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:29:08 +0000 (0:00:00.007) 0:01:01.615 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:29:08 +0000 (0:00:00.007) 0:01:01.622 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "e85c46b2654743cd8a68fd2437e3ab4c-6.7.4-100.fc38.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "1", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /WORKDIR/git-bios-uefialutmox3/tests/tests_settings.yml:35 Monday 26 February 2024 17:29:09 +0000 (0:00:00.357) 0:01:01.979 ******* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.061488", "end": "2024-02-26 17:29:09.261742", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:29:09.200254" } STDOUT: /boot/vmlinuz-6.7.4-100.fc38.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-bios-uefialutmox3/tests/tests_settings.yml:46 Monday 26 February 2024 17:29:09 +0000 (0:00:00.253) 0:01:02.233 ******* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "e85c46b2654743cd8a68fd2437e3ab4c-6.7.4-100.fc38.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /WORKDIR/git-bios-uefialutmox3/tests/tests_settings.yml:53 Monday 26 February 2024 17:29:09 +0000 (0:00:00.009) 0:01:02.243 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:29:09 +0000 (0:00:00.020) 0:01:02.264 ******* included: /WORKDIR/git-bios-uefialutmox3/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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:29:09 +0000 (0:00:00.010) 0:01:02.274 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:29:09 +0000 (0:00:00.008) 0:01:02.282 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:29:09 +0000 (0:00:00.007) 0:01:02.290 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:29:09 +0000 (0:00:00.007) 0:01:02.297 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:29:09 +0000 (0:00:00.019) 0:01:02.316 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:29:12 +0000 (0:00:02.859) 0:01:05.175 ******* 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=0 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel'", "grubby --update-kernel=0 --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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:29:13 +0000 (0:00:01.084) 0:01:06.260 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:29:13 +0000 (0:00:00.186) 0:01:06.447 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:29:13 +0000 (0:00:00.013) 0:01:06.461 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968553.2500398, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5bf3889268d1fcb6200f5c88b520aebf7ad82913", "ctime": 1708968553.2500398, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708968553.2500398, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 282, "uid": 0, "version": "1970525892", "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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:29:13 +0000 (0:00:00.203) 0:01:06.664 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:29:13 +0000 (0:00:00.194) 0:01:06.858 ******* changed: [sut] => { "changed": true, "cmd": [ "grub2-mkconfig", "-o", "/boot/grub2/grub.cfg" ], "delta": "0:00:03.585715", "end": "2024-02-26 17:29:17.667050", "rc": 0, "start": "2024-02-26 17:29:14.081335" } 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:29:17 +0000 (0:00:03.778) 0:01:10.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:29:17 +0000 (0:00:00.008) 0:01:10.646 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:29:17 +0000 (0:00:00.008) 0:01:10.654 ******* 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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:29:17 +0000 (0:00:00.007) 0:01:10.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:29:17 +0000 (0:00:00.007) 0:01:10.669 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet debug", "default": false, "id": "e85c46b2654743cd8a68fd2437e3ab4c-6.7.4-100.fc38.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone1" }, { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet debug", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "1", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet debug", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 17:29:18 +0000 (0:00:00.365) 0:01:11.034 ******* 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.149012", "end": "2024-02-26 17:29:18.408092", "rc": 0, "start": "2024-02-26 17:29:18.259080" } STDOUT: args="ro ro crashkernel=auto net.ifnames=0 rhgb quiet 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 crashkernel=auto net.ifnames=0 rhgb quiet 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 crashkernel=auto net.ifnames=0 rhgb quiet debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 17:29:18 +0000 (0:00:00.340) 0:01:11.375 ******* included: /WORKDIR/git-bios-uefialutmox3/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-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:29:18 +0000 (0:00:00.007) 0:01:11.383 ******* changed: [sut] => { "changed": true, "elapsed": 44, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:30:03 +0000 (0:00:45.409) 0:01:56.792 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:30:03 +0000 (0:00:00.008) 0:01:56.801 ******* 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-uefialutmox3/tests/tests_settings.yml:79 Monday 26 February 2024 17:30:03 +0000 (0:00:00.011) 0:01:56.813 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefialutmox3/tests/tests_settings.yml:83 Monday 26 February 2024 17:30:03 +0000 (0:00:00.010) 0:01:56.823 ******* 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-uefialutmox3/tests/tests_settings.yml:174 Monday 26 February 2024 17:30:03 +0000 (0:00:00.011) 0:01:56.835 ******* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "delta": "0:00:00.107938", "end": "2024-02-26 17:30:04.109927", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:30:04.001989" } 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:30:04 +0000 (0:00:00.322) 0:01:57.157 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 45.41s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.28s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed -- 10.82s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg --- 3.78s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 linux-system-roles.bootloader : Ensure required packages are installed --- 2.88s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.86s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.63s /WORKDIR/git-bios-uefialutmox3/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 1.08s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.83s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.69s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.45s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.45s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.43s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.41s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.40s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Determine platform type ----------------- 0.37s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.37s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.34s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Remove cloned kernels --------------------------------------------------- 0.32s /WORKDIR/git-bios-uefialutmox3/tests/tests_settings.yml:174 ------------------- linux-system-roles.bootloader : Check if system is ostree --------------- 0.26s /WORKDIR/git-bios-uefialutmox3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, 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. ---^---^---^---^---^---