# 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-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:13 Monday 03 June 2024 21:14:10 +0000 (0:00:00.013) 0:00:00.013 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:14:10 +0000 (0:00:00.024) 0:00:00.037 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:14:10 +0000 (0:00:00.011) 0:00:00.049 *********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:14:10 +0000 (0:00:00.687) 0:00:00.736 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:14:10 +0000 (0:00:00.181) 0:00:00.918 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:14:10 +0000 (0:00:00.014) 0:00:00.932 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:14:11 +0000 (0:00:00.017) 0:00:00.950 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:14:11 +0000 (0:00:00.007) 0:00:00.957 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:14:11 +0000 (0:00:00.839) 0:00:01.796 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1716903284.765065, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:14:12 +0000 (0:00:00.147) 0:00:01.944 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:14:12 +0000 (0:00:00.008) 0:00:01.952 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:14:12 +0000 (0:00:00.006) 0:00:01.959 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:14:12 +0000 (0:00:00.127) 0:00:02.086 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:14:12 +0000 (0:00:00.021) 0:00:02.108 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449251.979381, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:14:12 +0000 (0:00:00.139) 0:00:02.247 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1716903353.876065, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2f71fa1b20cd79edfcb2a2914294270388291516", "ctime": 1716903751.222065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716903353.8820648, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072511069551", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:14:12 +0000 (0:00:00.145) 0:00:02.392 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:14:12 +0000 (0:00:00.007) 0:00:02.400 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:14:12 +0000 (0:00:00.204) 0:00:02.604 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:14:12 +0000 (0:00:00.132) 0:00:02.736 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:14:12 +0000 (0:00:00.179) 0:00:02.916 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:14:12 +0000 (0:00:00.010) 0:00:02.927 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:14:13 +0000 (0:00:00.009) 0:00:02.937 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:14:13 +0000 (0:00:00.013) 0:00:02.950 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:19 Monday 03 June 2024 21:14:13 +0000 (0:00:00.374) 0:00:03.324 *********** 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-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:26 Monday 03 June 2024 21:14:13 +0000 (0:00:00.001) 0:00:03.326 *********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:29 Monday 03 June 2024 21:14:13 +0000 (0:00:00.000) 0:00:03.327 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:3 Monday 03 June 2024 21:14:13 +0000 (0:00:00.012) 0:00:03.340 *********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:7 Monday 03 June 2024 21:14:13 +0000 (0:00:00.021) 0:00:03.361 *********** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f5076cead1462cea53a2ca69249dc95d245693f8", "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64" }, "md5sum": "8d9b8ffe8940145977a27df6e6aa7b9c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a1ba6ada8f7e1f41e9935e34b214ea02d99aa01", "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img" }, "md5sum": "65a520fa9213c60f039c1f2862a6bdd7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20144293, "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:21 Monday 03 June 2024 21:14:14 +0000 (0:00:00.631) 0:00:03.992 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:14:14 +0000 (0:00:00.021) 0:00:04.013 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:14:14 +0000 (0:00:00.010) 0:00:04.023 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:14:14 +0000 (0:00:00.016) 0:00:04.040 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:14:14 +0000 (0:00:00.009) 0:00:04.049 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:14:14 +0000 (0:00:00.008) 0:00:04.058 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:14:14 +0000 (0:00:00.015) 0:00:04.074 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:14:14 +0000 (0:00:00.006) 0:00:04.081 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:14:14 +0000 (0:00:00.519) 0:00:04.600 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449251.979381, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:14:14 +0000 (0:00:00.137) 0:00:04.737 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:14:14 +0000 (0:00:00.007) 0:00:04.745 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:14:14 +0000 (0:00:00.007) 0:00:04.753 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:14:14 +0000 (0:00:00.116) 0:00:04.869 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:14:14 +0000 (0:00:00.020) 0:00:04.890 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449251.979381, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1716903284.766065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716903284.766065, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072511057253", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:14:15 +0000 (0:00:00.132) 0:00:05.023 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449252.4293823, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2f71fa1b20cd79edfcb2a2914294270388291516", "ctime": 1716903751.222065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716903353.8820648, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072511069551", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:14:15 +0000 (0:00:00.137) 0:00:05.161 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:14:15 +0000 (0:00:00.007) 0:00:05.168 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:14:15 +0000 (0:00:00.130) 0:00:05.299 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:14:15 +0000 (0:00:00.137) 0:00:05.437 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:14:15 +0000 (0:00:00.385) 0:00:05.822 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:14:15 +0000 (0:00:00.012) 0:00:05.834 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:14:15 +0000 (0:00:00.010) 0:00:05.844 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:14:15 +0000 (0:00:00.013) 0:00:05.858 *********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:36 Monday 03 June 2024 21:14:15 +0000 (0:00:00.015) 0:00:05.873 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:14:15 +0000 (0:00:00.001) 0:00:05.874 *********** 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.022446", "end": "2024-06-03 21:14:16.134074", "rc": 0, "start": "2024-06-03 21:14:16.111628" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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_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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:14:16 +0000 (0:00:00.209) 0:00:06.084 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:14:16 +0000 (0:00:00.010) 0:00:06.095 *********** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:14:53 +0000 (0:00:37.322) 0:00:43.417 *********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:14:53 +0000 (0:00:00.007) 0:00:43.424 *********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:39 Monday 03 June 2024 21:14:53 +0000 (0:00:00.010) 0:00:43.435 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:43 Monday 03 June 2024 21:14:53 +0000 (0:00:00.010) 0:00:43.445 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:14:53 +0000 (0:00:00.031) 0:00:43.476 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:14:53 +0000 (0:00:00.011) 0:00:43.488 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:14:53 +0000 (0:00:00.017) 0:00:43.505 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:14:53 +0000 (0:00:00.010) 0:00:43.515 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:14:53 +0000 (0:00:00.010) 0:00:43.526 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:14:53 +0000 (0:00:00.017) 0:00:43.544 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:14:53 +0000 (0:00:00.006) 0:00:43.551 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:14:54 +0000 (0:00:00.770) 0:00:44.321 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1333916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449256.1323915, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449256.1313915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "745328546", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:14:54 +0000 (0:00:00.140) 0:00:44.461 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:14:54 +0000 (0:00:00.009) 0:00:44.471 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:14:54 +0000 (0:00:00.008) 0:00:44.479 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:14:54 +0000 (0:00:00.121) 0:00:44.600 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:14:54 +0000 (0:00:00.023) 0:00:44.624 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1333916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449256.1323915, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449256.1313915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "745328546", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:14:54 +0000 (0:00:00.133) 0:00:44.757 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1153915, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a3f44fca7e128ca5ce1bd615538aaebe65bbba31", "ctime": 1717449255.8723907, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169659, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449255.8723907, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "745328542", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:14:54 +0000 (0:00:00.140) 0:00:44.898 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:14:54 +0000 (0:00:00.009) 0:00:44.907 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:14:55 +0000 (0:00:00.133) 0:00:45.040 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:14:55 +0000 (0:00:00.132) 0:00:45.172 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:14:55 +0000 (0:00:00.127) 0:00:45.300 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:14:55 +0000 (0:00:00.011) 0:00:45.311 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:14:55 +0000 (0:00:00.010) 0:00:45.321 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:14:55 +0000 (0:00:00.014) 0:00:45.336 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:35 Monday 03 June 2024 21:14:55 +0000 (0:00:00.155) 0:00:45.491 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:44 Monday 03 June 2024 21:14:55 +0000 (0:00:00.023) 0:00:45.515 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:14:55 +0000 (0:00:00.029) 0:00:45.544 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:14:55 +0000 (0:00:00.010) 0:00:45.555 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:14:55 +0000 (0:00:00.017) 0:00:45.572 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:14:55 +0000 (0:00:00.010) 0:00:45.582 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:14:55 +0000 (0:00:00.010) 0:00:45.592 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:14:55 +0000 (0:00:00.018) 0:00:45.611 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:14:55 +0000 (0:00:00.006) 0:00:45.618 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:14:56 +0000 (0:00:00.508) 0:00:46.126 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1333916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449256.1323915, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449256.1313915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "745328546", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:14:56 +0000 (0:00:00.133) 0:00:46.260 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:14:56 +0000 (0:00:00.009) 0:00:46.270 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:14:56 +0000 (0:00:00.009) 0:00:46.279 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:14:56 +0000 (0:00:00.119) 0:00:46.398 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:14:56 +0000 (0:00:00.024) 0:00:46.423 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1333916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449256.1323915, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449256.1313915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "745328546", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:14:56 +0000 (0:00:00.135) 0:00:46.559 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1153915, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a3f44fca7e128ca5ce1bd615538aaebe65bbba31", "ctime": 1717449255.8723907, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169659, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449255.8723907, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "745328542", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:14:56 +0000 (0:00:00.138) 0:00:46.698 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:14:56 +0000 (0:00:00.010) 0:00:46.708 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:14:56 +0000 (0:00:00.136) 0:00:46.844 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:14:57 +0000 (0:00:00.131) 0:00:46.975 *********** 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-3.10.0-1160.118.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:14:57 +0000 (0:00:00.158) 0:00:47.134 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:14:57 +0000 (0:00:00.012) 0:00:47.146 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:14:57 +0000 (0:00:00.013) 0:00:47.159 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:14:57 +0000 (0:00:00.017) 0:00:47.177 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:61 Monday 03 June 2024 21:14:57 +0000 (0:00:00.145) 0:00:47.322 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:65 Monday 03 June 2024 21:14:57 +0000 (0:00:00.021) 0:00:47.344 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:3 Monday 03 June 2024 21:14:57 +0000 (0:00:00.016) 0:00:47.361 *********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:7 Monday 03 June 2024 21:14:57 +0000 (0:00:00.021) 0:00:47.382 *********** changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f5076cead1462cea53a2ca69249dc95d245693f8", "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64" }, "md5sum": "8d9b8ffe8940145977a27df6e6aa7b9c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a1ba6ada8f7e1f41e9935e34b214ea02d99aa01", "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img" }, "md5sum": "65a520fa9213c60f039c1f2862a6bdd7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20144293, "src": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:21 Monday 03 June 2024 21:14:57 +0000 (0:00:00.535) 0:00:47.918 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:14:58 +0000 (0:00:00.022) 0:00:47.940 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:14:58 +0000 (0:00:00.010) 0:00:47.951 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:14:58 +0000 (0:00:00.017) 0:00:47.968 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:14:58 +0000 (0:00:00.011) 0:00:47.980 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:14:58 +0000 (0:00:00.014) 0:00:47.995 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:14:58 +0000 (0:00:00.017) 0:00:48.012 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:14:58 +0000 (0:00:00.007) 0:00:48.020 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:14:58 +0000 (0:00:00.550) 0:00:48.571 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1333916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449256.1323915, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449256.1313915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "745328546", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:14:58 +0000 (0:00:00.145) 0:00:48.716 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:14:58 +0000 (0:00:00.010) 0:00:48.726 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:14:58 +0000 (0:00:00.010) 0:00:48.737 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:14:58 +0000 (0:00:00.120) 0:00:48.857 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:14:58 +0000 (0:00:00.035) 0:00:48.892 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449256.1333916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449256.1323915, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449256.1313915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "745328546", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:14:59 +0000 (0:00:00.135) 0:00:49.028 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449297.3613546, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2f71fa1b20cd79edfcb2a2914294270388291516", "ctime": 1717449297.1833427, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449297.1833427, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072781917415", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:14:59 +0000 (0:00:00.135) 0:00:49.163 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:14:59 +0000 (0:00:00.009) 0:00:49.173 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:14:59 +0000 (0:00:00.135) 0:00:49.309 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:14:59 +0000 (0:00:00.132) 0:00:49.442 *********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:14:59 +0000 (0:00:00.166) 0:00:49.608 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:14:59 +0000 (0:00:00.013) 0:00:49.622 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:14:59 +0000 (0:00:00.011) 0:00:49.634 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:14:59 +0000 (0:00:00.015) 0:00:49.649 *********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:36 Monday 03 June 2024 21:14:59 +0000 (0:00:00.015) 0:00:49.665 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:14:59 +0000 (0:00:00.001) 0:00:49.667 *********** 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.017486", "end": "2024-06-03 21:14:59.860438", "rc": 0, "start": "2024-06-03 21:14:59.842952" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:14:59 +0000 (0:00:00.142) 0:00:49.809 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:14:59 +0000 (0:00:00.008) 0:00:49.818 *********** changed: [sut] => { "changed": true, "elapsed": 32, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:15:32 +0000 (0:00:33.096) 0:01:22.914 *********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:15:32 +0000 (0:00:00.008) 0:01:22.922 *********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:39 Monday 03 June 2024 21:15:32 +0000 (0:00:00.011) 0:01:22.934 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:43 Monday 03 June 2024 21:15:33 +0000 (0:00:00.011) 0:01:22.946 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:33 +0000 (0:00:00.031) 0:01:22.977 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:33 +0000 (0:00:00.012) 0:01:22.990 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:33 +0000 (0:00:00.019) 0:01:23.009 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:33 +0000 (0:00:00.012) 0:01:23.022 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:33 +0000 (0:00:00.011) 0:01:23.034 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:33 +0000 (0:00:00.018) 0:01:23.052 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:33 +0000 (0:00:00.007) 0:01:23.060 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:15:34 +0000 (0:00:00.997) 0:01:24.057 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449299.8594987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449299.8584986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449299.8584986, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072781917462", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:15:34 +0000 (0:00:00.139) 0:01:24.196 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:15:34 +0000 (0:00:00.008) 0:01:24.204 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:15:34 +0000 (0:00:00.006) 0:01:24.211 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:15:34 +0000 (0:00:00.121) 0:01:24.333 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:15:34 +0000 (0:00:00.022) 0:01:24.356 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449299.8594987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449299.8584986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449299.8584986, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072781917462", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:15:34 +0000 (0:00:00.135) 0:01:24.491 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449299.8464987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "79af5b08fa3ac0302bcc25b3e145ab92053fdbb9", "ctime": 1717449299.658498, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169719, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449299.658498, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072781917458", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:15:34 +0000 (0:00:00.173) 0:01:24.665 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:15:34 +0000 (0:00:00.008) 0:01:24.673 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:15:34 +0000 (0:00:00.132) 0:01:24.805 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:15:35 +0000 (0:00:00.134) 0:01:24.939 *********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:15:35 +0000 (0:00:00.121) 0:01:25.061 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:15:35 +0000 (0:00:00.010) 0:01:25.072 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:15:35 +0000 (0:00:00.010) 0:01:25.082 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:15:35 +0000 (0:00:00.014) 0:01:25.096 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:71 Monday 03 June 2024 21:15:35 +0000 (0:00:00.151) 0:01:25.248 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:78 Monday 03 June 2024 21:15:35 +0000 (0:00:00.020) 0:01:25.269 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 21:15:35 +0000 (0:00:00.035) 0:01:25.305 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 21:15:35 +0000 (0:00:00.010) 0:01:25.315 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 21:15:35 +0000 (0:00:00.016) 0:01:25.331 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 21:15:35 +0000 (0:00:00.010) 0:01:25.342 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 21:15:35 +0000 (0:00:00.010) 0:01:25.352 *********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 21:15:35 +0000 (0:00:00.018) 0:01:25.370 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 21:15:35 +0000 (0:00:00.006) 0:01:25.377 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 21:15:35 +0000 (0:00:00.516) 0:01:25.894 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449299.8594987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449299.8584986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449299.8584986, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072781917462", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 21:15:36 +0000 (0:00:00.135) 0:01:26.030 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 21:15:36 +0000 (0:00:00.008) 0:01:26.038 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 21:15:36 +0000 (0:00:00.007) 0:01:26.045 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 21:15:36 +0000 (0:00:00.120) 0:01:26.166 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 21:15:36 +0000 (0:00:00.026) 0:01:26.193 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449299.8594987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1717449299.8584986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449299.8584986, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072781917462", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 21:15:36 +0000 (0:00:00.136) 0:01:26.329 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717449299.8464987, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "79af5b08fa3ac0302bcc25b3e145ab92053fdbb9", "ctime": 1717449299.658498, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169719, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717449299.658498, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072781917458", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 03 June 2024 21:15:36 +0000 (0:00:00.137) 0:01:26.467 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Monday 03 June 2024 21:15:36 +0000 (0:00:00.008) 0:01:26.476 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Monday 03 June 2024 21:15:36 +0000 (0:00:00.132) 0:01:26.608 *********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 Monday 03 June 2024 21:15:36 +0000 (0:00:00.134) 0:01:26.742 *********** 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-3.10.0-1160.118.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 03 June 2024 21:15:36 +0000 (0:00:00.152) 0:01:26.895 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Monday 03 June 2024 21:15:36 +0000 (0:00:00.012) 0:01:26.908 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:122 Monday 03 June 2024 21:15:36 +0000 (0:00:00.010) 0:01:26.918 *********** 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Monday 03 June 2024 21:15:36 +0000 (0:00:00.015) 0:01:26.933 *********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.118.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.118.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-c8eefc9e6e854192829d745d76c3b1a8.img", "kernel": "/boot/vmlinuz-0-rescue-c8eefc9e6e854192829d745d76c3b1a8", "root": "UUID=dd02744c-6fae-4b7a-9fde-a4c27b20bff6", "title": "CentOS Linux (0-rescue-c8eefc9e6e854192829d745d76c3b1a8) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:88 Monday 03 June 2024 21:15:37 +0000 (0:00:00.145) 0:01:27.079 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:95 Monday 03 June 2024 21:15:37 +0000 (0:00:00.023) 0:01:27.102 *********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone1" ], "delta": "0:00:00.014190", "end": "2024-06-03 21:15:37.213981", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-06-03 21:15:37.199791" } changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.118.1.el7.x86_64_clone2" ], "delta": "0:00:00.013927", "end": "2024-06-03 21:15:37.353405", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-06-03 21:15:37.339478" } 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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 03 June 2024 21:15:37 +0000 (0:00:00.265) 0:01:27.368 *********** 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.019130", "end": "2024-06-03 21:15:37.504215", "rc": 0, "start": "2024-06-03 21:15:37.485085" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 03 June 2024 21:15:37 +0000 (0:00:00.140) 0:01:27.508 *********** included: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 03 June 2024 21:15:37 +0000 (0:00:00.008) 0:01:27.516 *********** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 03 June 2024 21:16:15 +0000 (0:00:38.083) 0:02:05.600 *********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 03 June 2024 21:16:15 +0000 (0:00:00.007) 0:02:05.607 *********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=103 changed=13 unreachable=0 failed=0 skipped=79 rescued=0 ignored=0 Monday 03 June 2024 21:16:15 +0000 (0:00:00.012) 0:02:05.620 *********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.08s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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 -- 37.32s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.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 -- 33.10s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.00s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.84s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.77s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.69s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.63s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:7 ------------- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.55s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.54s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tasks/clone_kernel.yml:7 ------------- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.52s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.52s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.51s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.39s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.37s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:129 Remove cloned kernels --------------------------------------------------- 0.27s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/tests/tests_add_rm.yml:95 ------------------ fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.21s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.20s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.18s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.18s /WORKDIR/git-tox-lsr-3.4.0bv_yibcs/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:92 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---