# 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-docsostn3dll/.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-docsostn3dll/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:13 Monday 26 February 2024 12:53:32 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:53:32 +0000 (0:00:00.020) 0:00:00.033 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:53:32 +0000 (0:00:00.009) 0:00:00.042 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:53:33 +0000 (0:00:00.535) 0:00:00.578 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:53:33 +0000 (0:00:00.191) 0:00:00.770 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:53:33 +0000 (0:00:00.013) 0:00:00.783 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:53:33 +0000 (0:00:00.016) 0:00:00.800 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:53:34 +0000 (0:00:00.875) 0:00:01.676 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:53:34 +0000 (0:00:00.193) 0:00:01.869 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:53:34 +0000 (0:00:00.129) 0:00:01.998 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:53:34 +0000 (0:00:00.020) 0:00:02.019 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708443955.650116, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "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": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:53:34 +0000 (0:00:00.154) 0:00:02.173 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:53:35 +0000 (0:00:00.204) 0:00:02.378 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708444028.417116, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fa2e1f260ac4ee273723401e7ba1082c865c6790", "ctime": 1708444498.772116, "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": 1708444028.423116, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744071638603162", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:53:35 +0000 (0:00:00.154) 0:00:02.532 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:53:35 +0000 (0:00:00.141) 0:00:02.673 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:53:35 +0000 (0:00:00.010) 0:00:02.684 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:53:35 +0000 (0:00:00.008) 0:00:02.693 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:53:35 +0000 (0:00:00.012) 0:00:02.705 ******* 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.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "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-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:19 Monday 26 February 2024 12:53:35 +0000 (0:00:00.269) 0:00:02.975 ******* 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-docsostn3dll/tests/tests_add_rm.yml:26 Monday 26 February 2024 12:53:35 +0000 (0:00:00.001) 0:00:02.977 ******* META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:29 Monday 26 February 2024 12:53:35 +0000 (0:00:00.001) 0:00:02.978 ******* included: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 12:53:35 +0000 (0:00:00.010) 0:00:02.989 ******* 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.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 12:53:35 +0000 (0:00:00.020) 0:00:03.009 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "13857543321608a3ed2e7b1afae3062e18b3a59e", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "d23a6ff78d6da2f095e3952bf5a3eca4", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20134014, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 12:53:36 +0000 (0:00:00.635) 0:00:03.644 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:53:36 +0000 (0:00:00.018) 0:00:03.663 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:53:36 +0000 (0:00:00.010) 0:00:03.673 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:53:36 +0000 (0:00:00.015) 0:00:03.689 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:53:36 +0000 (0:00:00.009) 0:00:03.699 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:53:36 +0000 (0:00:00.009) 0:00:03.708 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:53:36 +0000 (0:00:00.017) 0:00:03.725 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:53:42 +0000 (0:00:05.602) 0:00:09.327 ******* 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.108.1.el7.x86_64_clone1 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:53:42 +0000 (0:00:00.348) 0:00:09.675 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:53:42 +0000 (0:00:00.131) 0:00:09.807 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:53:42 +0000 (0:00:00.019) 0:00:09.826 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952014.9328773, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "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": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:53:42 +0000 (0:00:00.147) 0:00:09.974 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:53:42 +0000 (0:00:00.145) 0:00:10.119 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952022.4429088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3902fd22da094722c1546b379fc1badd289f399f", "ctime": 1708952022.4489088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708952022.4489088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "1392134315", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:53:43 +0000 (0:00:00.149) 0:00:10.269 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:53:43 +0000 (0:00:00.143) 0:00:10.412 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:53:43 +0000 (0:00:00.010) 0:00:10.422 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:53:43 +0000 (0:00:00.008) 0:00:10.431 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:53:43 +0000 (0:00:00.013) 0:00:10.444 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 12:53:43 +0000 (0:00:00.013) 0:00:10.457 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 12:53:43 +0000 (0:00:00.001) 0:00:10.459 ******* 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.024618", "end": "2024-02-26 12:53:43.450345", "rc": 0, "start": "2024-02-26 12:53:43.425727" } 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 12:53:43 +0000 (0:00:00.215) 0:00:10.675 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:53:43 +0000 (0:00:00.008) 0:00:10.683 ******* changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:54:30 +0000 (0:00:46.573) 0:00:57.256 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:54:30 +0000 (0:00:00.006) 0:00:57.263 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 12:54:30 +0000 (0:00:00.008) 0:00:57.272 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 12:54:30 +0000 (0:00:00.008) 0:00:57.280 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:54:30 +0000 (0:00:00.023) 0:00:57.304 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:54:30 +0000 (0:00:00.010) 0:00:57.315 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:54:30 +0000 (0:00:00.016) 0:00:57.331 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:54:30 +0000 (0:00:00.010) 0:00:57.342 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:54:30 +0000 (0:00:00.009) 0:00:57.352 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:54:30 +0000 (0:00:00.017) 0:00:57.370 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:54:30 +0000 (0:00:00.712) 0:00:58.082 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:54:31 +0000 (0:00:00.133) 0:00:58.216 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:54:31 +0000 (0:00:00.128) 0:00:58.345 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:54:31 +0000 (0:00:00.020) 0:00:58.365 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952023.4489129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708952023.446913, "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": 1708952023.446913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1392134335", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:54:31 +0000 (0:00:00.147) 0:00:58.513 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:54:31 +0000 (0:00:00.143) 0:00:58.656 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952023.0269113, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3902fd22da094722c1546b379fc1badd289f399f", "ctime": 1708952022.4489088, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708952022.4489088, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5725, "uid": 0, "version": "1392134315", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:54:31 +0000 (0:00:00.153) 0:00:58.810 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:54:31 +0000 (0:00:00.144) 0:00:58.954 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:54:31 +0000 (0:00:00.010) 0:00:58.965 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:54:31 +0000 (0:00:00.009) 0:00:58.974 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:54:31 +0000 (0:00:00.013) 0:00:58.987 ******* 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.108.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "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.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "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-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:35 Monday 26 February 2024 12:54:31 +0000 (0:00:00.161) 0:00:59.149 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:44 Monday 26 February 2024 12:54:31 +0000 (0:00:00.021) 0:00:59.170 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:54:31 +0000 (0:00:00.023) 0:00:59.193 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:54:31 +0000 (0:00:00.010) 0:00:59.204 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:54:32 +0000 (0:00:00.015) 0:00:59.219 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:54:32 +0000 (0:00:00.009) 0:00:59.229 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:54:32 +0000 (0:00:00.008) 0:00:59.238 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:54:32 +0000 (0:00:00.016) 0:00:59.254 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:54:37 +0000 (0:00:05.598) 0:01:04.853 ******* 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.108.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:54:37 +0000 (0:00:00.174) 0:01:05.027 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:54:37 +0000 (0:00:00.128) 0:01:05.156 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:54:37 +0000 (0:00:00.019) 0:01:05.176 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952023.4489129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708952023.446913, "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": 1708952023.446913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1392134335", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:54:38 +0000 (0:00:00.143) 0:01:05.319 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:54:38 +0000 (0:00:00.143) 0:01:05.463 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952077.7953565, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fa2e1f260ac4ee273723401e7ba1082c865c6790", "ctime": 1708952077.8013566, "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": 1708952077.8013566, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744072426166433", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:54:38 +0000 (0:00:00.146) 0:01:05.609 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:54:38 +0000 (0:00:00.139) 0:01:05.749 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:54:38 +0000 (0:00:00.010) 0:01:05.760 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:54:38 +0000 (0:00:00.008) 0:01:05.769 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:54:38 +0000 (0:00:00.014) 0:01:05.783 ******* 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.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "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-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:61 Monday 26 February 2024 12:54:38 +0000 (0:00:00.153) 0:01:05.936 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:65 Monday 26 February 2024 12:54:38 +0000 (0:00:00.021) 0:01:05.958 ******* included: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 12:54:38 +0000 (0:00:00.014) 0:01:05.972 ******* 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.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:7 Monday 26 February 2024 12:54:38 +0000 (0:00:00.019) 0:01:05.991 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "13857543321608a3ed2e7b1afae3062e18b3a59e", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "d23a6ff78d6da2f095e3952bf5a3eca4", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20134014, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:21 Monday 26 February 2024 12:54:39 +0000 (0:00:00.546) 0:01:06.538 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:54:39 +0000 (0:00:00.017) 0:01:06.555 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:54:39 +0000 (0:00:00.010) 0:01:06.566 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:54:39 +0000 (0:00:00.015) 0:01:06.582 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:54:39 +0000 (0:00:00.008) 0:01:06.591 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:54:39 +0000 (0:00:00.008) 0:01:06.599 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:54:39 +0000 (0:00:00.016) 0:01:06.615 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:54:39 +0000 (0:00:00.581) 0:01:07.197 ******* 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.108.1.el7.x86_64_clone2 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:54:40 +0000 (0:00:00.173) 0:01:07.371 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:54:40 +0000 (0:00:00.129) 0:01:07.501 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:54:40 +0000 (0:00:00.020) 0:01:07.521 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952023.4489129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708952023.446913, "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": 1708952023.446913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "1392134335", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:54:40 +0000 (0:00:00.144) 0:01:07.665 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:54:40 +0000 (0:00:00.143) 0:01:07.809 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952080.1403646, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8baadd52bb756e7965a4815e006a1bec9e85c0c7", "ctime": 1708952080.1453645, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169962, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708952080.1453645, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072426166472", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:54:40 +0000 (0:00:00.152) 0:01:07.961 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:54:40 +0000 (0:00:00.144) 0:01:08.105 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:54:40 +0000 (0:00:00.010) 0:01:08.116 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:54:40 +0000 (0:00:00.009) 0:01:08.125 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:54:40 +0000 (0:00:00.013) 0:01:08.138 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:36 Monday 26 February 2024 12:54:40 +0000 (0:00:00.013) 0:01:08.152 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 12:54:40 +0000 (0:00:00.001) 0:01:08.153 ******* 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.020322", "end": "2024-02-26 12:54:41.084495", "rc": 0, "start": "2024-02-26 12:54:41.064173" } 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 12:54:41 +0000 (0:00:00.156) 0:01:08.310 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:54:41 +0000 (0:00:00.007) 0:01:08.318 ******* changed: [sut] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:55:14 +0000 (0:00:33.249) 0:01:41.567 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:55:14 +0000 (0:00:00.006) 0:01:41.574 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:39 Monday 26 February 2024 12:55:14 +0000 (0:00:00.009) 0:01:41.583 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:43 Monday 26 February 2024 12:55:14 +0000 (0:00:00.008) 0:01:41.592 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:55:14 +0000 (0:00:00.024) 0:01:41.616 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:55:14 +0000 (0:00:00.011) 0:01:41.627 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:55:14 +0000 (0:00:00.016) 0:01:41.644 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:55:14 +0000 (0:00:00.010) 0:01:41.654 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:55:14 +0000 (0:00:00.009) 0:01:41.663 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:55:14 +0000 (0:00:00.016) 0:01:41.679 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:55:15 +0000 (0:00:00.714) 0:01:42.394 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:55:15 +0000 (0:00:00.136) 0:01:42.531 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:55:15 +0000 (0:00:00.131) 0:01:42.662 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:55:15 +0000 (0:00:00.020) 0:01:42.682 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952081.0833678, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708952081.082368, "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": 1708952081.082368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072426166492", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:55:15 +0000 (0:00:00.148) 0:01:42.831 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:55:15 +0000 (0:00:00.145) 0:01:42.977 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952080.7193666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8baadd52bb756e7965a4815e006a1bec9e85c0c7", "ctime": 1708952080.1453645, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169962, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708952080.1453645, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5143, "uid": 0, "version": "18446744072426166472", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:55:15 +0000 (0:00:00.153) 0:01:43.130 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:55:16 +0000 (0:00:00.141) 0:01:43.271 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:55:16 +0000 (0:00:00.011) 0:01:43.282 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:55:16 +0000 (0:00:00.009) 0:01:43.292 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:55:16 +0000 (0:00:00.014) 0:01:43.306 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "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-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:71 Monday 26 February 2024 12:55:16 +0000 (0:00:00.161) 0:01:43.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:78 Monday 26 February 2024 12:55:16 +0000 (0:00:00.020) 0:01:43.488 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 12:55:16 +0000 (0:00:00.028) 0:01:43.517 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:55:16 +0000 (0:00:00.010) 0:01:43.527 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 12:55:16 +0000 (0:00:00.016) 0:01:43.544 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 12:55:16 +0000 (0:00:00.009) 0:01:43.553 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 12:55:16 +0000 (0:00:00.008) 0:01:43.562 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 12:55:16 +0000 (0:00:00.015) 0:01:43.578 ******* 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 : Ensure boot loader settings] ****** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 12:55:16 +0000 (0:00:00.559) 0:01:44.137 ******* 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.108.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 26 February 2024 12:55:17 +0000 (0:00:00.166) 0:01:44.304 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:24 Monday 26 February 2024 12:55:17 +0000 (0:00:00.130) 0:01:44.434 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 26 February 2024 12:55:17 +0000 (0:00:00.021) 0:01:44.455 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952081.0833678, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708952081.082368, "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": 1708952081.082368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744072426166492", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 26 February 2024 12:55:17 +0000 (0:00:00.148) 0:01:44.604 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:48 Monday 26 February 2024 12:55:17 +0000 (0:00:00.142) 0:01:44.747 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708952117.0740345, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fa2e1f260ac4ee273723401e7ba1082c865c6790", "ctime": 1708952117.0790346, "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": 1708952117.0790346, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "18446744073176757083", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 12:55:17 +0000 (0:00:00.151) 0:01:44.898 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:63 Monday 26 February 2024 12:55:17 +0000 (0:00:00.147) 0:01:45.045 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 26 February 2024 12:55:17 +0000 (0:00:00.016) 0:01:45.062 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 26 February 2024 12:55:17 +0000 (0:00:00.011) 0:01:45.073 ******* 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 12:55:17 +0000 (0:00:00.015) 0:01:45.089 ******* 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.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "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-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:88 Monday 26 February 2024 12:55:18 +0000 (0:00:00.160) 0:01:45.249 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:92 Monday 26 February 2024 12:55:18 +0000 (0:00:00.021) 0:01:45.270 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1" ], "delta": "0:00:00.013963", "end": "2024-02-26 12:55:18.195575", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-02-26 12:55:18.181612" } changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone2" ], "delta": "0:00:00.014107", "end": "2024-02-26 12:55:18.335949", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-02-26 12:55:18.321842" } 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 26 February 2024 12:55:18 +0000 (0:00:00.292) 0:01:45.563 ******* 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.020242", "end": "2024-02-26 12:55:18.501472", "rc": 0, "start": "2024-02-26 12:55:18.481230" } 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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 26 February 2024 12:55:18 +0000 (0:00:00.164) 0:01:45.727 ******* included: /WORKDIR/git-docsostn3dll/.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-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:55:18 +0000 (0:00:00.009) 0:01:45.736 ******* changed: [sut] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:55:57 +0000 (0:00:39.449) 0:02:25.186 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:55:57 +0000 (0:00:00.007) 0:02:25.193 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=96 changed=13 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Monday 26 February 2024 12:55:57 +0000 (0:00:00.011) 0:02:25.204 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 46.57s /WORKDIR/git-docsostn3dll/.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 -- 39.45s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 33.25s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.60s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.60s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.88s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.64s /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:7 ---------------------- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.58s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.55s /WORKDIR/git-docsostn3dll/tests/tasks/clone_kernel.yml:7 ---------------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.54s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.35s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Remove cloned kernels --------------------------------------------------- 0.29s /WORKDIR/git-docsostn3dll/tests/tests_add_rm.yml:92 --------------------------- fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.27s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.22s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.20s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.19s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.19s /WORKDIR/git-docsostn3dll/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---