# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bios-uefisa99m0tr/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_settings.yml *************************************************** 1 plays in /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:13 Monday 26 February 2024 17:28:14 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 17:28:14 +0000 (0:00:00.021) 0:00:00.034 ******* included: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:28:14 +0000 (0:00:00.010) 0:00:00.044 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 17:28:15 +0000 (0:00:00.569) 0:00:00.614 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 17:28:15 +0000 (0:00:00.261) 0:00:00.875 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 17:28:15 +0000 (0:00:00.013) 0:00:00.889 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 17:28:15 +0000 (0:00:00.019) 0:00:00.908 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 17:28:18 +0000 (0:00:02.688) 0:00:03.596 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 17:28:18 +0000 (0:00:00.262) 0:00:03.859 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 17:28:18 +0000 (0:00:00.198) 0:00:04.057 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 17:28:18 +0000 (0:00:00.021) 0:00:04.079 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968473.5810032, "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 [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 17:28:18 +0000 (0:00:00.215) 0:00:04.294 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 17:28:19 +0000 (0:00:00.267) 0:00:04.561 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 26 February 2024 17:28:19 +0000 (0:00:00.009) 0:00:04.571 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 17:28:19 +0000 (0:00:00.006) 0:00:04.577 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:81 Monday 26 February 2024 17:28:19 +0000 (0:00:00.009) 0:00:04.587 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:89 Monday 26 February 2024 17:28:19 +0000 (0:00:00.008) 0:00:04.596 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Monday 26 February 2024 17:28:19 +0000 (0:00:00.014) 0:00:04.610 ******* 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 } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:19 Monday 26 February 2024 17:28:19 +0000 (0:00:00.461) 0:00:05.071 ******* META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:26 Monday 26 February 2024 17:28:19 +0000 (0:00:00.001) 0:00:05.073 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:29 Monday 26 February 2024 17:28:19 +0000 (0:00:00.000) 0:00:05.074 ******* included: /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 17:28:19 +0000 (0:00:00.011) 0:00:05.086 ******* 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-uefisa99m0tr/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 17:28:19 +0000 (0:00:00.020) 0:00:05.106 ******* 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-uefisa99m0tr/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 17:28:20 +0000 (0:00:01.400) 0:00:06.506 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 17:28:20 +0000 (0:00:00.018) 0:00:06.525 ******* included: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:28:21 +0000 (0:00:00.011) 0:00:06.536 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 17:28:21 +0000 (0:00:00.015) 0:00:06.552 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 17:28:21 +0000 (0:00:00.010) 0:00:06.562 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 17:28:21 +0000 (0:00:00.008) 0:00:06.571 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 17:28:21 +0000 (0:00:00.016) 0:00:06.587 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 17:28:23 +0000 (0:00:02.568) 0:00:09.155 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. 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 [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 17:28:24 +0000 (0:00:00.449) 0:00:09.604 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 17:28:24 +0000 (0:00:00.201) 0:00:09.806 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 17:28:24 +0000 (0:00:00.021) 0:00:09.827 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968473.5810032, "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 [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 17:28:24 +0000 (0:00:00.219) 0:00:10.046 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 17:28:24 +0000 (0:00:00.213) 0:00:10.260 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 26 February 2024 17:28:24 +0000 (0:00:00.009) 0:00:10.269 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 17:28:24 +0000 (0:00:00.007) 0:00:10.276 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:81 Monday 26 February 2024 17:28:24 +0000 (0:00:00.009) 0:00:10.286 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:89 Monday 26 February 2024 17:28:24 +0000 (0:00:00.008) 0:00:10.295 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Monday 26 February 2024 17:28:24 +0000 (0:00:00.014) 0:00:10.309 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 17:28:24 +0000 (0:00:00.015) 0:00:10.325 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 17:28:24 +0000 (0:00:00.001) 0:00:10.326 ******* 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.154666", "end": "2024-02-26 17:28:25.191194", "rc": 0, "start": "2024-02-26 17:28:25.036528" } 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 [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 17:28:25 +0000 (0:00:00.414) 0:00:10.741 ******* included: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:28:25 +0000 (0:00:00.009) 0:00:10.750 ******* changed: [sut] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:29:07 +0000 (0:00:41.985) 0:00:52.736 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:29:07 +0000 (0:00:00.006) 0:00:52.743 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 17:29:07 +0000 (0:00:00.008) 0:00:52.751 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 17:29:07 +0000 (0:00:00.008) 0:00:52.760 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 17:29:07 +0000 (0:00:00.023) 0:00:52.783 ******* included: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:29:07 +0000 (0:00:00.010) 0:00:52.794 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 17:29:07 +0000 (0:00:00.016) 0:00:52.810 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 17:29:07 +0000 (0:00:00.010) 0:00:52.820 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 17:29:07 +0000 (0:00:00.009) 0:00:52.830 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 17:29:07 +0000 (0:00:00.017) 0:00:52.847 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 17:29:13 +0000 (0:00:06.344) 0:00:59.191 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 17:29:13 +0000 (0:00:00.199) 0:00:59.390 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 17:29:14 +0000 (0:00:00.195) 0:00:59.586 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 17:29:14 +0000 (0:00:00.021) 0:00:59.607 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968505.189948, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968505.188948, "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": 1708968505.188948, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "528279428", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 17:29:14 +0000 (0:00:00.253) 0:00:59.860 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 17:29:14 +0000 (0:00:00.211) 0:01:00.072 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_timeout_conf is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 26 February 2024 17:29:14 +0000 (0:00:00.009) 0:01:00.082 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 17:29:14 +0000 (0:00:00.006) 0:01:00.088 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:81 Monday 26 February 2024 17:29:14 +0000 (0:00:00.009) 0:01:00.098 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:89 Monday 26 February 2024 17:29:14 +0000 (0:00:00.009) 0:01:00.107 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Monday 26 February 2024 17:29:14 +0000 (0:00:00.012) 0:01:00.120 ******* 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)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "9b3305b423aa41348839e0eb4a4c4aa8-6.7.4-100.fc38.x86_64_clone1", "index": "2", "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 [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:35 Monday 26 February 2024 17:29:14 +0000 (0:00:00.366) 0:01:00.486 ******* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.061454", "end": "2024-02-26 17:29:15.196930", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:29:15.135476" } STDOUT: /boot/vmlinuz-6.7.4-100.fc38.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:44 Monday 26 February 2024 17:29:15 +0000 (0:00:00.270) 0:01:00.757 ******* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "9b3305b423aa41348839e0eb4a4c4aa8-6.7.4-100.fc38.x86_64_clone1", "index": "2", "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-uefisa99m0tr/tests/tests_settings.yml:48 Monday 26 February 2024 17:29:15 +0000 (0:00:00.020) 0:01:00.777 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 17:29:15 +0000 (0:00:00.024) 0:01:00.801 ******* included: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:29:15 +0000 (0:00:00.010) 0:01:00.811 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 17:29:15 +0000 (0:00:00.015) 0:01:00.826 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 17:29:15 +0000 (0:00:00.009) 0:01:00.836 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 17:29:15 +0000 (0:00:00.008) 0:01:00.844 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 17:29:15 +0000 (0:00:00.017) 0:01:00.862 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 17:29:17 +0000 (0:00:02.544) 0:01:03.406 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --update-kernel=2 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb quiet 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 [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 17:29:18 +0000 (0:00:01.027) 0:01:04.433 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 17:29:19 +0000 (0:00:00.197) 0:01:04.630 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 17:29:19 +0000 (0:00:00.021) 0:01:04.652 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968558.84238, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5bf3889268d1fcb6200f5c88b520aebf7ad82913", "ctime": 1708968558.84238, "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": 1708968558.84238, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 282, "uid": 0, "version": "751822585", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 17:29:19 +0000 (0:00:00.211) 0:01:04.863 ******* changed: [sut] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 26 February 2024 17:29:19 +0000 (0:00:00.213) 0:01:05.076 ******* changed: [sut] => { "changed": true, "cmd": [ "grub2-mkconfig", "-o", "/boot/grub2/grub.cfg" ], "delta": "0:00:02.407132", "end": "2024-02-26 17:29:22.137543", "rc": 0, "start": "2024-02-26 17:29:19.730411" } STDERR: Generating grub configuration file ... Adding boot menu entry for UEFI Firmware Settings ... done TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 26 February 2024 17:29:22 +0000 (0:00:02.611) 0:01:07.688 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Monday 26 February 2024 17:29:22 +0000 (0:00:00.006) 0:01:07.695 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:81 Monday 26 February 2024 17:29:22 +0000 (0:00:00.010) 0:01:07.706 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:89 Monday 26 February 2024 17:29:22 +0000 (0:00:00.008) 0:01:07.714 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Monday 26 February 2024 17:29:22 +0000 (0:00:00.014) 0:01:07.728 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet debug", "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 ro crashkernel=auto net.ifnames=0 rhgb quiet debug", "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)" }, { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet debug", "default": false, "id": "9b3305b423aa41348839e0eb4a4c4aa8-6.7.4-100.fc38.x86_64_clone1", "index": "2", "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 [Flush handlers] ********************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:71 Monday 26 February 2024 17:29:22 +0000 (0:00:00.365) 0:01:08.094 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 17:29:22 +0000 (0:00:00.001) 0:01:08.095 ******* 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.148132", "end": "2024-02-26 17:29:22.895207", "rc": 0, "start": "2024-02-26 17:29:22.747075" } 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 [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 17:29:22 +0000 (0:00:00.350) 0:01:08.445 ******* included: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:29:22 +0000 (0:00:00.007) 0:01:08.453 ******* changed: [sut] => { "changed": true, "elapsed": 45, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:30:08 +0000 (0:00:45.764) 0:01:54.218 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:30:08 +0000 (0:00:00.006) 0:01:54.225 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:74 Monday 26 February 2024 17:30:08 +0000 (0:00:00.009) 0:01:54.234 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:78 Monday 26 February 2024 17:30:08 +0000 (0:00:00.016) 0:01:54.250 ******* 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-uefisa99m0tr/tests/tests_settings.yml:169 Monday 26 February 2024 17:30:08 +0000 (0:00:00.019) 0:01:54.269 ******* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "delta": "0:00:00.117918", "end": "2024-02-26 17:30:08.672382", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:30:08.554464" } 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:09 +0000 (0:00:00.340) 0:01:54.609 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 45.76s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.99s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 6.34s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.69s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg --- 2.61s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.57s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.54s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.40s /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:7 ----------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.03s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.57s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.46s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.45s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.41s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.37s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.37s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.35s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Remove cloned kernels --------------------------------------------------- 0.34s /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:169 ------------------- Verify that default bootloader is correct in bootloader_gather_facts ---- 0.27s /WORKDIR/git-bios-uefisa99m0tr/tests/tests_settings.yml:35 -------------------- fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.27s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.26s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---