# 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_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:13 Monday 26 February 2024 17:28:15 +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:16 +0000 (0:00:00.020) 0:00:00.032 ******* 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:16 +0000 (0:00:00.009) 0:00:00.042 ******* 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:16 +0000 (0:00:00.582) 0:00:00.625 ******* 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:16 +0000 (0:00:00.263) 0:00:00.888 ******* 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:16 +0000 (0:00:00.012) 0:00:00.901 ******* 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:16 +0000 (0:00:00.016) 0:00:00.918 ******* 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:19 +0000 (0:00:02.731) 0:00:03.650 ******* 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:19 +0000 (0:00:00.272) 0:00:03.923 ******* 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:20 +0000 (0:00:00.206) 0:00:04.129 ******* 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:20 +0000 (0:00:00.021) 0:00:04.150 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435823.619, "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:20 +0000 (0:00:00.232) 0:00:04.383 ******* 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:20 +0000 (0:00:00.279) 0:00:04.663 ******* 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:20 +0000 (0:00:00.009) 0:00:04.672 ******* 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:20 +0000 (0:00:00.006) 0:00:04.679 ******* 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:20 +0000 (0:00:00.009) 0:00:04.688 ******* 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:20 +0000 (0:00:00.008) 0:00:04.697 ******* 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:20 +0000 (0:00:00.012) 0:00:04.710 ******* 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_add_rm.yml:19 Monday 26 February 2024 17:28:21 +0000 (0:00:00.476) 0:00:05.186 ******* 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_add_rm.yml:26 Monday 26 February 2024 17:28:21 +0000 (0:00:00.001) 0:00:05.188 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:29 Monday 26 February 2024 17:28:21 +0000 (0:00:00.000) 0:00:05.189 ******* 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:21 +0000 (0:00:00.011) 0:00:05.200 ******* 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:21 +0000 (0:00:00.020) 0:00:05.220 ******* 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:22 +0000 (0:00:01.175) 0:00:06.396 ******* 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:22 +0000 (0:00:00.018) 0:00:06.415 ******* 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:22 +0000 (0:00:00.011) 0:00:06.426 ******* 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:22 +0000 (0:00:00.017) 0:00:06.444 ******* 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:22 +0000 (0:00:00.009) 0:00:06.453 ******* 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:22 +0000 (0:00:00.009) 0:00:06.462 ******* 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:22 +0000 (0:00:00.018) 0:00:06.481 ******* 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:25 +0000 (0:00:02.732) 0:00:09.213 ******* 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:25 +0000 (0:00:00.488) 0:00:09.702 ******* 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:25 +0000 (0:00:00.214) 0:00:09.916 ******* 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:25 +0000 (0:00:00.021) 0:00:09.937 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968500.3341942, "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:26 +0000 (0:00:00.232) 0:00:10.169 ******* 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:26 +0000 (0:00:00.229) 0:00:10.399 ******* 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:26 +0000 (0:00:00.009) 0:00:10.408 ******* 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:26 +0000 (0:00:00.006) 0:00:10.415 ******* 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:26 +0000 (0:00:00.009) 0:00:10.424 ******* 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:26 +0000 (0:00:00.008) 0:00:10.433 ******* 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:26 +0000 (0:00:00.013) 0:00:10.446 ******* 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:26 +0000 (0:00:00.013) 0:00:10.459 ******* 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:26 +0000 (0:00:00.001) 0:00:10.461 ******* 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.172777", "end": "2024-02-26 17:28:26.872309", "rc": 0, "start": "2024-02-26 17:28:26.699532" } 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:26 +0000 (0:00:00.447) 0:00:10.908 ******* 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:26 +0000 (0:00:00.008) 0:00:10.916 ******* 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:29:13 +0000 (0:00:46.098) 0:00:57.015 ******* 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:13 +0000 (0:00:00.006) 0:00:57.022 ******* 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:13 +0000 (0:00:00.008) 0:00:57.031 ******* 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:13 +0000 (0:00:00.008) 0:00:57.040 ******* 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:13 +0000 (0:00:00.023) 0:00:57.063 ******* 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:13 +0000 (0:00:00.010) 0:00:57.074 ******* 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:13 +0000 (0:00:00.016) 0:00:57.090 ******* 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:13 +0000 (0:00:00.009) 0:00:57.100 ******* 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:13 +0000 (0:00:00.008) 0:00:57.109 ******* 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:13 +0000 (0:00:00.017) 0:00:57.126 ******* 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:24 +0000 (0:00:11.419) 0:01:08.545 ******* 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:24 +0000 (0:00:00.207) 0:01:08.753 ******* 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:24 +0000 (0:00:00.203) 0:01:08.956 ******* 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:24 +0000 (0:00:00.021) 0:01:08.978 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968506.8709738, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968506.869974, "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": 1708968506.869974, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1080832785", "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:25 +0000 (0:00:00.256) 0:01:09.234 ******* 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:25 +0000 (0:00:00.216) 0:01:09.450 ******* 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:25 +0000 (0:00:00.009) 0:01:09.460 ******* 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:25 +0000 (0:00:00.006) 0:01:09.467 ******* 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:25 +0000 (0:00:00.009) 0:01:09.476 ******* 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:25 +0000 (0:00:00.008) 0:01:09.485 ******* 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:25 +0000 (0:00:00.012) 0:01:09.498 ******* 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": "7039d116e293443e8436f256c7b09478-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 settings] ********************************************************* task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:35 Monday 26 February 2024 17:29:25 +0000 (0:00:00.396) 0:01:09.895 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:44 Monday 26 February 2024 17:29:25 +0000 (0:00:00.021) 0:01:09.916 ******* 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:25 +0000 (0:00:00.022) 0:01:09.939 ******* 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:25 +0000 (0:00:00.010) 0:01:09.949 ******* 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:25 +0000 (0:00:00.015) 0:01:09.965 ******* 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:25 +0000 (0:00:00.008) 0:01:09.973 ******* 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:25 +0000 (0:00:00.008) 0:01:09.982 ******* 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:25 +0000 (0:00:00.017) 0:01:09.999 ******* 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:29 +0000 (0:00:03.925) 0:01:13.924 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "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:30 +0000 (0:00:00.499) 0:01:14.424 ******* 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:30 +0000 (0:00:00.203) 0:01:14.627 ******* 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:30 +0000 (0:00:00.020) 0:01:14.648 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968506.8709738, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968506.869974, "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": 1708968506.869974, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1080832785", "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:30 +0000 (0:00:00.220) 0:01:14.868 ******* 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:31 +0000 (0:00:00.219) 0:01:15.088 ******* 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:31 +0000 (0:00:00.009) 0:01:15.098 ******* 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:31 +0000 (0:00:00.006) 0:01:15.104 ******* 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:31 +0000 (0:00:00.009) 0:01:15.114 ******* 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:31 +0000 (0:00:00.009) 0:01:15.123 ******* 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:31 +0000 (0:00:00.012) 0:01:15.136 ******* 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 [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:61 Monday 26 February 2024 17:29:31 +0000 (0:00:00.347) 0:01:15.484 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:65 Monday 26 February 2024 17:29:31 +0000 (0:00:00.021) 0:01:15.505 ******* 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:29:31 +0000 (0:00:00.013) 0:01:15.519 ******* 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:29:31 +0000 (0:00:00.020) 0:01:15.539 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.4-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "07e5eaee2ecbe02b351e23cdbc7954b6199e59a2", "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "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_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8013b07b4ec317cde218ecb9881767196b88b0c7", "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "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 Clone2] **************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 17:29:32 +0000 (0:00:01.116) 0:01:16.656 ******* 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:32 +0000 (0:00:00.017) 0:01:16.673 ******* 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:32 +0000 (0:00:00.010) 0:01:16.684 ******* 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:32 +0000 (0:00:00.016) 0:01:16.700 ******* 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:32 +0000 (0:00:00.009) 0:01:16.710 ******* 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:32 +0000 (0:00:00.009) 0:01:16.720 ******* 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:32 +0000 (0:00:00.016) 0:01:16.737 ******* 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:35 +0000 (0:00:02.619) 0:01:19.356 ******* 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_clone2 --initrd=/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "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:35 +0000 (0:00:00.486) 0:01:19.843 ******* 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:36 +0000 (0:00:00.210) 0:01:20.053 ******* 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:36 +0000 (0:00:00.021) 0:01:20.075 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968506.8709738, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968506.869974, "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": 1708968506.869974, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1080832785", "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:36 +0000 (0:00:00.228) 0:01:20.303 ******* 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:36 +0000 (0:00:00.224) 0:01:20.528 ******* 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:36 +0000 (0:00:00.009) 0:01:20.538 ******* 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:36 +0000 (0:00:00.006) 0:01:20.544 ******* 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:36 +0000 (0:00:00.010) 0:01:20.555 ******* 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:36 +0000 (0:00:00.009) 0:01:20.564 ******* 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:36 +0000 (0:00:00.013) 0:01:20.577 ******* 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:29:36 +0000 (0:00:00.014) 0:01:20.592 ******* 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:36 +0000 (0:00:00.001) 0:01:20.594 ******* 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.170669", "end": "2024-02-26 17:29:36.946490", "rc": 0, "start": "2024-02-26 17:29:36.775821" } 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="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [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:36 +0000 (0:00:00.388) 0:01:20.982 ******* 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:36 +0000 (0:00:00.008) 0:01:20.990 ******* 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:22 +0000 (0:00:45.699) 0:02:06.690 ******* 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:22 +0000 (0:00:00.006) 0:02:06.697 ******* 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:30:22 +0000 (0:00:00.008) 0:02:06.705 ******* 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:30:22 +0000 (0:00:00.008) 0:02:06.714 ******* 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:30:22 +0000 (0:00:00.023) 0:02:06.738 ******* 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:30:22 +0000 (0:00:00.010) 0:02:06.748 ******* 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:30:22 +0000 (0:00:00.015) 0:02:06.764 ******* 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:30:22 +0000 (0:00:00.009) 0:02:06.774 ******* 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:30:22 +0000 (0:00:00.009) 0:02:06.784 ******* 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:30:22 +0000 (0:00:00.016) 0:02:06.800 ******* 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:30:29 +0000 (0:00:06.433) 0:02:13.233 ******* 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:30:29 +0000 (0:00:00.210) 0:02:13.444 ******* 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:30:29 +0000 (0:00:00.205) 0:02:13.650 ******* 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:30:29 +0000 (0:00:00.021) 0:02:13.671 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968576.9446998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968576.9436998, "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": 1708968576.9426997, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1653165433", "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:30:29 +0000 (0:00:00.262) 0:02:13.933 ******* 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:30:30 +0000 (0:00:00.226) 0:02:14.160 ******* 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:30:30 +0000 (0:00:00.009) 0:02:14.170 ******* 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:30:30 +0000 (0:00:00.006) 0:02:14.176 ******* 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:30:30 +0000 (0:00:00.010) 0:02:14.187 ******* 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:30:30 +0000 (0:00:00.008) 0:02:14.196 ******* 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:30:30 +0000 (0:00:00.012) 0:02:14.209 ******* 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": "test=kernel", "default": false, "id": "7039d116e293443e8436f256c7b09478-6.7.4-100.fc38.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:71 Monday 26 February 2024 17:30:30 +0000 (0:00:00.408) 0:02:14.618 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:78 Monday 26 February 2024 17:30:30 +0000 (0:00:00.020) 0:02:14.639 ******* 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:30:30 +0000 (0:00:00.031) 0:02:14.670 ******* 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:30:30 +0000 (0:00:00.013) 0:02:14.683 ******* 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:30:30 +0000 (0:00:00.021) 0:02:14.705 ******* 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:30:30 +0000 (0:00:00.010) 0:02:14.715 ******* 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:30:30 +0000 (0:00:00.011) 0:02:14.726 ******* 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:30:30 +0000 (0:00:00.022) 0:02:14.749 ******* 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:30:33 +0000 (0:00:02.754) 0:02:17.504 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2" ], "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:30:33 +0000 (0:00:00.490) 0:02:17.994 ******* 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:30:34 +0000 (0:00:00.203) 0:02:18.198 ******* 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:30:34 +0000 (0:00:00.021) 0:02:18.220 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968576.9446998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708968576.9436998, "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": 1708968576.9426997, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1653165433", "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:30:34 +0000 (0:00:00.245) 0:02:18.465 ******* 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:30:34 +0000 (0:00:00.222) 0:02:18.688 ******* 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:30:34 +0000 (0:00:00.009) 0:02:18.698 ******* 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:30:34 +0000 (0:00:00.006) 0:02:18.705 ******* 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:30:34 +0000 (0:00:00.010) 0:02:18.716 ******* 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:30:34 +0000 (0:00:00.010) 0:02:18.727 ******* 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:30:34 +0000 (0:00:00.015) 0:02:18.742 ******* 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 [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:88 Monday 26 February 2024 17:30:35 +0000 (0:00:00.341) 0:02:19.083 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:92 Monday 26 February 2024 17:30:35 +0000 (0:00:00.020) 0:02:19.104 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "delta": "0:00:00.056614", "end": "2024-02-26 17:30:35.335538", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 17:30:35.278924" } STDERR: The param /boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2" ], "delta": "0:00:00.055996", "end": "2024-02-26 17:30:35.591166", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 17:30:35.535170" } STDERR: The param /boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2 is incorrect MSG: non-zero return code 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 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:30:35 +0000 (0:00:00.520) 0:02:19.625 ******* 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.135700", "end": "2024-02-26 17:30:35.935083", "rc": 0, "start": "2024-02-26 17:30:35.799383" } 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="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [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:30:35 +0000 (0:00:00.344) 0:02:19.970 ******* 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:30:35 +0000 (0:00:00.007) 0:02:19.978 ******* changed: [sut] => { "changed": true, "elapsed": 43, "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:31:20 +0000 (0:00:44.250) 0:03:04.228 ******* 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:31:20 +0000 (0:00:00.006) 0:03:04.235 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=82 changed=13 unreachable=0 failed=0 skipped=65 rescued=0 ignored=0 Monday 26 February 2024 17:31:20 +0000 (0:00:00.010) 0:03:04.245 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 46.10s /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 -- 45.70s /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 -- 44.25s /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 -- 11.42s /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 --- 6.43s /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 --- 3.93s /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.75s /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.73s /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.73s /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.62s /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.18s /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:7 ----------------- Clone test_kernel kernel and initrd for test purposes ------------------- 1.12s /WORKDIR/git-bios-uefisa99m0tr/tests/tasks/clone_kernel.yml:7 ----------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.58s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Remove cloned kernels --------------------------------------------------- 0.52s /WORKDIR/git-bios-uefisa99m0tr/tests/tests_add_rm.yml:92 ---------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.50s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.48s /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.45s /WORKDIR/git-bios-uefisa99m0tr/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---