# 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-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:13 Wednesday 24 April 2024 16:28:03 +0000 (0:00:00.014) 0:00:00.014 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:28:03 +0000 (0:00:00.025) 0:00:00.040 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:28:03 +0000 (0:00:00.011) 0:00:00.051 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:28:04 +0000 (0:00:00.670) 0:00:00.721 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:28:04 +0000 (0:00:00.202) 0:00:00.924 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:28:04 +0000 (0:00:00.015) 0:00:00.940 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:28:04 +0000 (0:00:00.021) 0:00:00.961 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:28:04 +0000 (0:00:00.009) 0:00:00.971 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:28:05 +0000 (0:00:00.829) 0:00:01.800 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713855795.5843267, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1713855795.5843267, "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": 1713855795.5843267, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1790821", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:28:05 +0000 (0:00:00.147) 0:00:01.948 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:28:05 +0000 (0:00:00.009) 0:00:01.958 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:28:05 +0000 (0:00:00.010) 0:00:01.969 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:28:05 +0000 (0:00:00.127) 0:00:02.097 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:28:05 +0000 (0:00:00.023) 0:00:02.120 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976085.7466893, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1713855795.5843267, "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": 1713855795.5843267, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1790821", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.141) 0:00:02.262 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713855860.884327, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "cf8d4be50f40685ede010aab882de4a2c822f42d", "ctime": 1713856420.5533268, "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": 1713855860.8893268, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "1803120", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.148) 0:00:02.410 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.009) 0:00:02.420 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.204) 0:00:02.624 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.141) 0:00:02.766 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.190) 0:00:02.956 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.012) 0:00:02.969 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.011) 0:00:02.981 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:28:06 +0000 (0:00:00.016) 0:00:02.997 ******* 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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.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=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "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-16d7560017354f41bd6bc10428e004ee.img", "kernel": "/boot/vmlinuz-0-rescue-16d7560017354f41bd6bc10428e004ee", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (0-rescue-16d7560017354f41bd6bc10428e004ee) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:19 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.338) 0:00:03.336 ******* 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-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:26 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.001) 0:00:03.337 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:29 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.000) 0:00:03.338 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:3 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.016) 0:00:03.355 ******* 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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:7 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.025) 0:00:03.380 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "213ec3240b7c23f32d946da9ae0da050a0f895e1", "dest": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64" }, "md5sum": "a4d654d15b5ccbe6fe208f72562b1c17", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "cbf79f95c188eb024c4891f88dd22b989aa15cc3", "dest": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img" }, "md5sum": "fd963f453252ed0cf87f0a329ad7efd9", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20144019, "src": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:21 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.621) 0:00:04.002 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.023) 0:00:04.025 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.012) 0:00:04.038 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.019) 0:00:04.057 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.011) 0:00:04.069 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.012) 0:00:04.081 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.019) 0:00:04.101 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:28:07 +0000 (0:00:00.008) 0:00:04.109 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.546) 0:00:04.656 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976085.7466893, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1713855795.5843267, "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": 1713855795.5843267, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1790821", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.131) 0:00:04.788 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.008) 0:00:04.797 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.010) 0:00:04.807 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.118) 0:00:04.925 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.023) 0:00:04.949 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976085.7466893, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1713855795.5843267, "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": 1713855795.5843267, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1790821", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:28:08 +0000 (0:00:00.133) 0:00:05.082 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976086.208693, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "cf8d4be50f40685ede010aab882de4a2c822f42d", "ctime": 1713856420.5533268, "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": 1713855860.8893268, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "1803120", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.136) 0:00:05.218 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.009) 0:00:05.227 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.130) 0:00:05.358 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.133) 0:00:05.492 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone1 --initrd=/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.375) 0:00:05.868 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.014) 0:00:05.882 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.012) 0:00:05.895 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.017) 0:00:05.913 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:36 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.019) 0:00:05.932 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.001) 0:00:05.933 ******* 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.023242", "end": "2024-04-24 16:28:09.955451", "rc": 0, "start": "2024-04-24 16:28:09.932209" } 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.205) 0:00:06.139 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 24 April 2024 16:28:09 +0000 (0:00:00.009) 0:00:06.149 ******* changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 24 April 2024 16:28:48 +0000 (0:00:38.374) 0:00:44.524 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.008) 0:00:44.532 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:39 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.010) 0:00:44.543 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:43 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.010) 0:00:44.553 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.030) 0:00:44.583 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.011) 0:00:44.594 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.017) 0:00:44.612 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.010) 0:00:44.623 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.010) 0:00:44.633 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.018) 0:00:44.651 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:28:48 +0000 (0:00:00.008) 0:00:44.659 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.702) 0:00:45.361 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.9547222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976089.9517221, "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": 1713976089.9517221, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073294414522", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.142) 0:00:45.504 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.008) 0:00:45.513 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.007) 0:00:45.520 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.123) 0:00:45.644 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.023) 0:00:45.667 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.9547222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976089.9517221, "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": 1713976089.9517221, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073294414522", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.137) 0:00:45.804 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.935722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bdba24b8621ceeb50b34aae58835e321fb5c776b", "ctime": 1713976089.6827202, "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": 1713976089.6827202, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "18446744073294414518", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.141) 0:00:45.946 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.008) 0:00:45.954 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:28:49 +0000 (0:00:00.135) 0:00:46.090 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.137) 0:00:46.227 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.127) 0:00:46.355 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.012) 0:00:46.367 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.011) 0:00:46.378 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.015) 0:00:46.394 ******* 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.114.2.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone1", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.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=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "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-16d7560017354f41bd6bc10428e004ee.img", "kernel": "/boot/vmlinuz-0-rescue-16d7560017354f41bd6bc10428e004ee", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (0-rescue-16d7560017354f41bd6bc10428e004ee) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:35 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.148) 0:00:46.542 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:44 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.022) 0:00:46.565 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.030) 0:00:46.595 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.011) 0:00:46.607 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.017) 0:00:46.625 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.011) 0:00:46.636 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.011) 0:00:46.648 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.019) 0:00:46.667 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:28:50 +0000 (0:00:00.007) 0:00:46.675 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.590) 0:00:47.266 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.9547222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976089.9517221, "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": 1713976089.9517221, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073294414522", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.131) 0:00:47.397 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.009) 0:00:47.406 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.008) 0:00:47.415 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.116) 0:00:47.531 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.024) 0:00:47.555 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.9547222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976089.9517221, "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": 1713976089.9517221, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073294414522", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.130) 0:00:47.686 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.935722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bdba24b8621ceeb50b34aae58835e321fb5c776b", "ctime": 1713976089.6827202, "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": 1713976089.6827202, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "18446744073294414518", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.133) 0:00:47.819 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.009) 0:00:47.829 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.129) 0:00:47.958 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:28:51 +0000 (0:00:00.130) 0:00:48.088 ******* 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.114.2.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.157) 0:00:48.246 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.011) 0:00:48.257 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.010) 0:00:48.267 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.015) 0:00:48.283 ******* 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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.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=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "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-16d7560017354f41bd6bc10428e004ee.img", "kernel": "/boot/vmlinuz-0-rescue-16d7560017354f41bd6bc10428e004ee", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (0-rescue-16d7560017354f41bd6bc10428e004ee) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:61 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.140) 0:00:48.423 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:65 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.023) 0:00:48.447 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:3 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.016) 0:00:48.464 ******* 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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:7 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.022) 0:00:48.486 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "213ec3240b7c23f32d946da9ae0da050a0f895e1", "dest": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64" }, "md5sum": "a4d654d15b5ccbe6fe208f72562b1c17", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "cbf79f95c188eb024c4891f88dd22b989aa15cc3", "dest": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img" }, "md5sum": "fd963f453252ed0cf87f0a329ad7efd9", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20144019, "src": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:21 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.504) 0:00:48.991 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.023) 0:00:49.014 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.012) 0:00:49.027 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.018) 0:00:49.045 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.012) 0:00:49.057 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.011) 0:00:49.069 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.019) 0:00:49.088 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:28:52 +0000 (0:00:00.007) 0:00:49.096 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.506) 0:00:49.603 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.9547222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976089.9517221, "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": 1713976089.9517221, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073294414522", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.134) 0:00:49.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.009) 0:00:49.746 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.009) 0:00:49.755 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.124) 0:00:49.880 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.023) 0:00:49.903 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976089.9547222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976089.9517221, "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": 1713976089.9517221, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744073294414522", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:28:53 +0000 (0:00:00.139) 0:00:50.042 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976132.2243094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "cf8d4be50f40685ede010aab882de4a2c822f42d", "ctime": 1713976132.0582721, "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": 1713976132.0582721, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "362659121", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.142) 0:00:50.184 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.008) 0:00:50.193 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.136) 0:00:50.330 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.138) 0:00:50.468 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone2 --initrd=/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.165) 0:00:50.633 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.012) 0:00:50.645 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.011) 0:00:50.657 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.015) 0:00:50.673 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:36 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.016) 0:00:50.689 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.001) 0:00:50.691 ******* 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.018447", "end": "2024-04-24 16:28:54.650227", "rc": 0, "start": "2024-04-24 16:28:54.631780" } 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.146) 0:00:50.837 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 24 April 2024 16:28:54 +0000 (0:00:00.008) 0:00:50.845 ******* changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 24 April 2024 16:29:32 +0000 (0:00:38.151) 0:01:28.997 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.010) 0:01:29.008 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:39 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.013) 0:01:29.021 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:43 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.011) 0:01:29.032 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.041) 0:01:29.074 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.011) 0:01:29.086 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.019) 0:01:29.105 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.013) 0:01:29.118 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.012) 0:01:29.130 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.020) 0:01:29.150 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:29:32 +0000 (0:00:00.008) 0:01:29.159 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:29:33 +0000 (0:00:00.714) 0:01:29.873 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976134.648855, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976134.6478548, "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": 1713976134.6478548, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "362659167", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:29:33 +0000 (0:00:00.141) 0:01:30.014 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:29:33 +0000 (0:00:00.008) 0:01:30.023 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:29:33 +0000 (0:00:00.007) 0:01:30.031 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:29:33 +0000 (0:00:00.122) 0:01:30.153 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.022) 0:01:30.176 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976134.648855, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976134.6478548, "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": 1713976134.6478548, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "362659167", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.140) 0:01:30.317 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976134.634852, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "594ff8fafc649bd9a999df191f9911f0a841b2d6", "ctime": 1713976134.444809, "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": 1713976134.444809, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "362659163", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.144) 0:01:30.461 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.008) 0:01:30.470 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.136) 0:01:30.606 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.133) 0:01:30.740 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.119) 0:01:30.859 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.011) 0:01:30.871 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.011) 0:01:30.882 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.015) 0:01:30.898 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.114.2.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.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=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "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-16d7560017354f41bd6bc10428e004ee.img", "kernel": "/boot/vmlinuz-0-rescue-16d7560017354f41bd6bc10428e004ee", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (0-rescue-16d7560017354f41bd6bc10428e004ee) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:71 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.148) 0:01:31.047 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:78 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.022) 0:01:31.069 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.037) 0:01:31.106 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.012) 0:01:31.118 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.018) 0:01:31.136 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.011) 0:01:31.148 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 24 April 2024 16:29:34 +0000 (0:00:00.011) 0:01:31.160 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.018) 0:01:31.179 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.007) 0:01:31.186 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.523) 0:01:31.710 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976134.648855, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976134.6478548, "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": 1713976134.6478548, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "362659167", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.131) 0:01:31.842 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.010) 0:01:31.852 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.007) 0:01:31.859 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.116) 0:01:31.976 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.023) 0:01:31.999 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976134.648855, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1713976134.6478548, "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": 1713976134.6478548, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "362659167", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 24 April 2024 16:29:35 +0000 (0:00:00.131) 0:01:32.131 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713976134.634852, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "594ff8fafc649bd9a999df191f9911f0a841b2d6", "ctime": 1713976134.444809, "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": 1713976134.444809, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "362659163", "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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.133) 0:01:32.265 ******* 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 timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.009) 0:01:32.274 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : On EL 7, update timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:86 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.129) 0:01:32.404 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.133) 0:01:32.537 ******* 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.114.2.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:106 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.148) 0:01:32.686 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:118 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.012) 0:01:32.698 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.011) 0:01:32.709 ******* 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.015) 0:01:32.725 ******* 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.114.2.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (3.10.0-1160.114.2.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=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "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-16d7560017354f41bd6bc10428e004ee.img", "kernel": "/boot/vmlinuz-0-rescue-16d7560017354f41bd6bc10428e004ee", "root": "UUID=06d9c317-57bc-4a65-a5fe-96d89bd9eb6c", "title": "CentOS Linux (0-rescue-16d7560017354f41bd6bc10428e004ee) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:88 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.140) 0:01:32.865 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:95 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.023) 0:01:32.889 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone1" ], "delta": "0:00:00.012868", "end": "2024-04-24 16:29:36.836146", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-04-24 16:29:36.823278" } changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.114.2.el7.x86_64_clone2" ], "delta": "0:00:00.012910", "end": "2024-04-24 16:29:36.958090", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-04-24 16:29:36.945180" } 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 24 April 2024 16:29:36 +0000 (0:00:00.255) 0:01:33.144 ******* 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.018231", "end": "2024-04-24 16:29:37.097315", "rc": 0, "start": "2024-04-24 16:29:37.079084" } 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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 24 April 2024 16:29:37 +0000 (0:00:00.138) 0:01:33.283 ******* included: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 24 April 2024 16:29:37 +0000 (0:00:00.008) 0:01:33.291 ******* changed: [sut] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 24 April 2024 16:30:07 +0000 (0:00:29.996) 0:02:03.288 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 24 April 2024 16:30:07 +0000 (0:00:00.008) 0:02:03.297 ******* 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 Wednesday 24 April 2024 16:30:07 +0000 (0:00:00.012) 0:02:03.309 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.37s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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 -- 38.15s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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 -- 30.00s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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.67s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.62s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:7 -- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.59s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.55s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.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-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.50s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tasks/clone_kernel.yml:7 -- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.38s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.34s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Remove cloned kernels --------------------------------------------------- 0.26s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/tests/tests_add_rm.yml:95 ------- fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.21s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub --- 0.20s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.20s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.19s /WORKDIR/git-separate-el7-workaroundsfk1qiyjx/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---