# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:13 Thursday 18 April 2024 15:09:27 +0000 (0:00:00.023) 0:00:00.023 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:09:27 +0000 (0:00:00.042) 0:00:00.065 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:09:27 +0000 (0:00:00.017) 0:00:00.083 ******** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:09:28 +0000 (0:00:00.727) 0:00:00.811 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:09:28 +0000 (0:00:00.280) 0:00:01.092 ******** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:09:29 +0000 (0:00:00.025) 0:00:01.117 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:09:29 +0000 (0:00:00.037) 0:00:01.154 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:09:29 +0000 (0:00:00.022) 0:00:01.176 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:09:31 +0000 (0:00:02.589) 0:00:03.766 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709714778.566, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709714778.407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714778.407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3323824319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:09:31 +0000 (0:00:00.209) 0:00:03.976 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:09:31 +0000 (0:00:00.012) 0:00:03.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:09:31 +0000 (0:00:00.010) 0:00:03.999 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:09:32 +0000 (0:00:00.188) 0:00:04.188 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:09:32 +0000 (0:00:00.018) 0:00:04.206 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452971.829008, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709714778.407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714778.407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3323824319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:09:32 +0000 (0:00:00.212) 0:00:04.418 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709714779.266, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "daa1c061ec5c47702d0be4b0e626b39f42774879", "ctime": 1709714779.267, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7301772, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1709714779.267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "1839740860", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:09:32 +0000 (0:00:00.210) 0:00:04.628 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:09:32 +0000 (0:00:00.012) 0:00:04.640 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:09:32 +0000 (0:00:00.280) 0:00:04.921 ******** changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.193) 0:00:05.114 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.271) 0:00:05.386 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.011) 0:00:05.397 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.010) 0:00:05.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.009) 0:00:05.417 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "c349f2226fa046be8eb58571fe1f537b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c349f2226fa046be8eb58571fe1f537b.img", "kernel": "/boot/vmlinuz-0-rescue-c349f2226fa046be8eb58571fe1f537b", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (0-rescue-c349f2226fa046be8eb58571fe1f537b) 9" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for sut META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:29 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.380) 0:00:05.797 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:3 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.018) 0:00:05.816 ******** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:8 Thursday 18 April 2024 15:09:33 +0000 (0:00:00.012) 0:00:05.829 ******** changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-427.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7f2676bfd37bf1f31b636df2357f44546a4079b9", "dest": "/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-427.el9.x86_64" }, "md5sum": "43a3cf55442c0e5c727e668e302ef871", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13592616, "src": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-427.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-427.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5ed43ca12f706c87a1e2574d50758d13c0cd79e9", "dest": "/boot/initramfs-5.14.0-427.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-427.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-427.el9.x86_64.img" }, "md5sum": "0105704be09346d448b705624f67eb28", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35036566, "src": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:22 Thursday 18 April 2024 15:09:34 +0000 (0:00:01.020) 0:00:06.849 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.026) 0:00:06.876 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.015) 0:00:06.891 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.011) 0:00:06.902 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.011) 0:00:06.913 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.011) 0:00:06.924 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.025) 0:00:06.950 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:09:34 +0000 (0:00:00.010) 0:00:06.961 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:09:36 +0000 (0:00:01.301) 0:00:08.262 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452971.829008, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709714778.407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714778.407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3323824319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.199) 0:00:08.461 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.013) 0:00:08.475 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.009) 0:00:08.485 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.180) 0:00:08.665 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.018) 0:00:08.684 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452971.829008, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709714778.407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714778.407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3323824319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.197) 0:00:08.882 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452972.9800117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713452972.9800117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329253185, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713452972.9800117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2235181296", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.199) 0:00:09.081 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:09:36 +0000 (0:00:00.012) 0:00:09.093 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.189) 0:00:09.283 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.192) 0:00:09.475 ******** NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1 --initrd=/boot/initramfs-5.14.0-427.el9.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.412) 0:00:09.888 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.011) 0:00:09.900 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.010) 0:00:09.910 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.010) 0:00:09.921 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 15:09:37 +0000 (0:00:00.007) 0:00:09.928 ******** 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.146523", "end": "2024-04-18 15:09:38.204250", "rc": 0, "start": "2024-04-18 15:09:38.057727" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 15:09:38 +0000 (0:00:00.407) 0:00:10.336 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 15:09:38 +0000 (0:00:00.012) 0:00:10.348 ******** changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 15:10:16 +0000 (0:00:37.867) 0:00:48.215 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.017) 0:00:48.233 ******** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:41 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.018) 0:00:48.251 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:45 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.014) 0:00:48.265 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.034) 0:00:48.300 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.019) 0:00:48.319 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.014) 0:00:48.334 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.012) 0:00:48.346 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.012) 0:00:48.358 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.028) 0:00:48.387 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:10:16 +0000 (0:00:00.010) 0:00:48.397 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:10:19 +0000 (0:00:03.668) 0:00:52.066 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452978.203029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713452978.202029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713452978.202029, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3887193579", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.245) 0:00:52.311 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.011) 0:00:52.323 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.011) 0:00:52.334 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.194) 0:00:52.529 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.021) 0:00:52.551 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452978.203029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713452978.202029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713452978.202029, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3887193579", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.210) 0:00:52.761 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452976.9340248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713452972.9800117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329253185, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713452972.9800117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2235181296", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.212) 0:00:52.974 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:10:20 +0000 (0:00:00.013) 0:00:52.987 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.202) 0:00:53.189 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.203) 0:00:53.393 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.203) 0:00:53.596 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.011) 0:00:53.608 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.010) 0:00:53.618 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.010) 0:00:53.629 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "5ccf850efb1747ccaf6f74fa3090186b-5.14.0-427.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "Clone1" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "c349f2226fa046be8eb58571fe1f537b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-c349f2226fa046be8eb58571fe1f537b.img", "kernel": "/boot/vmlinuz-0-rescue-c349f2226fa046be8eb58571fe1f537b", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (0-rescue-c349f2226fa046be8eb58571fe1f537b) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:35 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.364) 0:00:53.994 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:47 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.016) 0:00:54.010 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.037) 0:00:54.047 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.015) 0:00:54.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.013) 0:00:54.076 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.010) 0:00:54.087 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:10:21 +0000 (0:00:00.012) 0:00:54.099 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:10:22 +0000 (0:00:00.028) 0:00:54.128 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:10:22 +0000 (0:00:00.011) 0:00:54.139 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:10:23 +0000 (0:00:01.411) 0:00:55.550 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452978.203029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713452978.202029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713452978.202029, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3887193579", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:10:23 +0000 (0:00:00.218) 0:00:55.769 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:10:23 +0000 (0:00:00.014) 0:00:55.783 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:10:23 +0000 (0:00:00.013) 0:00:55.796 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:10:23 +0000 (0:00:00.201) 0:00:55.998 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:10:23 +0000 (0:00:00.020) 0:00:56.018 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452978.203029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713452978.202029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713452978.202029, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3887193579", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:10:24 +0000 (0:00:00.216) 0:00:56.235 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452976.9340248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713452972.9800117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329253185, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713452972.9800117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2235181296", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:10:24 +0000 (0:00:00.215) 0:00:56.450 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:10:24 +0000 (0:00:00.015) 0:00:56.466 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:10:24 +0000 (0:00:00.206) 0:00:56.673 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:10:24 +0000 (0:00:00.200) 0:00:56.873 ******** NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.449) 0:00:57.323 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.013) 0:00:57.337 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.011) 0:00:57.348 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.009) 0:00:57.358 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "c349f2226fa046be8eb58571fe1f537b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c349f2226fa046be8eb58571fe1f537b.img", "kernel": "/boot/vmlinuz-0-rescue-c349f2226fa046be8eb58571fe1f537b", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (0-rescue-c349f2226fa046be8eb58571fe1f537b) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:65 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.305) 0:00:57.663 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:71 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.013) 0:00:57.677 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:3 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.023) 0:00:57.701 ******** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:8 Thursday 18 April 2024 15:10:25 +0000 (0:00:00.014) 0:00:57.716 ******** changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-427.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7f2676bfd37bf1f31b636df2357f44546a4079b9", "dest": "/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-427.el9.x86_64" }, "md5sum": "43a3cf55442c0e5c727e668e302ef871", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13592616, "src": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-427.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-427.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5ed43ca12f706c87a1e2574d50758d13c0cd79e9", "dest": "/boot/initramfs-5.14.0-427.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-427.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-427.el9.x86_64.img" }, "md5sum": "0105704be09346d448b705624f67eb28", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35036566, "src": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:22 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.926) 0:00:58.642 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.021) 0:00:58.664 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.017) 0:00:58.682 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.013) 0:00:58.695 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.009) 0:00:58.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.010) 0:00:58.715 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.027) 0:00:58.742 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:10:26 +0000 (0:00:00.012) 0:00:58.754 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:10:28 +0000 (0:00:01.395) 0:01:00.150 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452978.203029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713452978.202029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713452978.202029, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3887193579", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.213) 0:01:00.363 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.014) 0:01:00.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.011) 0:01:00.389 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.198) 0:01:00.588 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.019) 0:01:00.607 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452978.203029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713452978.202029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713452978.202029, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3887193579", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.214) 0:01:00.821 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452976.9340248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713452972.9800117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329253185, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713452972.9800117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2235181296", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.217) 0:01:01.039 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:10:28 +0000 (0:00:00.013) 0:01:01.052 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.206) 0:01:01.258 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.203) 0:01:01.462 ******** NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2 --initrd=/boot/initramfs-5.14.0-427.el9.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.439) 0:01:01.902 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.013) 0:01:01.915 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.011) 0:01:01.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.012) 0:01:01.939 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 15:10:29 +0000 (0:00:00.009) 0:01:01.949 ******** 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.152584", "end": "2024-04-18 15:10:30.171542", "rc": 0, "start": "2024-04-18 15:10:30.018958" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 15:10:30 +0000 (0:00:00.354) 0:01:02.303 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 15:10:30 +0000 (0:00:00.013) 0:01:02.317 ******** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 15:11:07 +0000 (0:00:37.558) 0:01:39.876 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 15:11:07 +0000 (0:00:00.012) 0:01:39.888 ******** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 15:11:07 +0000 (0:00:00.012) 0:01:39.901 ******** 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.462049", "end": "2024-04-18 15:11:08.400191", "rc": 0, "start": "2024-04-18 15:11:07.938142" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 15:11:08 +0000 (0:00:01.035) 0:01:40.937 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 15:11:08 +0000 (0:00:00.013) 0:01:40.951 ******** changed: [sut] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 15:11:57 +0000 (0:00:48.766) 0:02:29.717 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.012) 0:02:29.730 ******** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:41 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.015) 0:02:29.746 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:45 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.014) 0:02:29.760 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.031) 0:02:29.792 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.017) 0:02:29.810 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.016) 0:02:29.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.012) 0:02:29.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.012) 0:02:29.851 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.029) 0:02:29.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:11:57 +0000 (0:00:00.011) 0:02:29.893 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:12:00 +0000 (0:00:02.729) 0:02:32.622 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453068.3984182, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713453068.396418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713453068.396418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "985167018", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:12:00 +0000 (0:00:00.246) 0:02:32.869 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:12:00 +0000 (0:00:00.015) 0:02:32.884 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:12:00 +0000 (0:00:00.012) 0:02:32.897 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:12:00 +0000 (0:00:00.199) 0:02:33.096 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:12:01 +0000 (0:00:00.019) 0:02:33.115 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453068.3984182, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713453068.396418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713453068.396418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "985167018", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:12:01 +0000 (0:00:00.214) 0:02:33.330 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452976.9340248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713452972.9800117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329253185, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713452972.9800117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2235181296", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:12:01 +0000 (0:00:00.217) 0:02:33.548 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:12:01 +0000 (0:00:00.015) 0:02:33.563 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:12:01 +0000 (0:00:00.210) 0:02:33.773 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:12:01 +0000 (0:00:00.211) 0:02:33.984 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.202) 0:02:34.187 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.013) 0:02:34.200 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.014) 0:02:34.215 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.014) 0:02:34.229 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "5ccf850efb1747ccaf6f74fa3090186b-5.14.0-427.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "c349f2226fa046be8eb58571fe1f537b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-c349f2226fa046be8eb58571fe1f537b.img", "kernel": "/boot/vmlinuz-0-rescue-c349f2226fa046be8eb58571fe1f537b", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (0-rescue-c349f2226fa046be8eb58571fe1f537b) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:77 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.363) 0:02:34.593 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:84 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.015) 0:02:34.609 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.048) 0:02:34.657 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.015) 0:02:34.672 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.012) 0:02:34.685 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.010) 0:02:34.696 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.010) 0:02:34.706 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.026) 0:02:34.732 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:12:02 +0000 (0:00:00.009) 0:02:34.742 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:12:04 +0000 (0:00:01.463) 0:02:36.205 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453068.3984182, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713453068.396418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713453068.396418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "985167018", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:12:04 +0000 (0:00:00.218) 0:02:36.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:12:04 +0000 (0:00:00.014) 0:02:36.439 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:12:04 +0000 (0:00:00.012) 0:02:36.451 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:12:04 +0000 (0:00:00.200) 0:02:36.652 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:12:04 +0000 (0:00:00.022) 0:02:36.674 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453068.3984182, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1713453068.396418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713453068.396418, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "985167018", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:12:04 +0000 (0:00:00.224) 0:02:36.898 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713452976.9340248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713452972.9800117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329253185, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713452972.9800117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2235181296", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.221) 0:02:37.120 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.014) 0:02:37.134 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.212) 0:02:37.346 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.209) 0:02:37.556 ******** NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.473) 0:02:38.029 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.014) 0:02:38.043 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.011) 0:02:38.055 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:12:05 +0000 (0:00:00.011) 0:02:38.067 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "c349f2226fa046be8eb58571fe1f537b-5.14.0-427.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-427.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-427.el9.x86_64", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (5.14.0-427.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "c349f2226fa046be8eb58571fe1f537b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c349f2226fa046be8eb58571fe1f537b.img", "kernel": "/boot/vmlinuz-0-rescue-c349f2226fa046be8eb58571fe1f537b", "root": "UUID=d673fe01-b454-4235-b8eb-90a73d08e5be", "title": "CentOS Stream (0-rescue-c349f2226fa046be8eb58571fe1f537b) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:94 Thursday 18 April 2024 15:12:06 +0000 (0:00:00.320) 0:02:38.388 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_add_rm.yml:103 Thursday 18 April 2024 15:12:06 +0000 (0:00:00.015) 0:02:38.403 ******** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-427.el9.x86_64_clone1" ], "delta": "0:00:00.052009", "end": "2024-04-18 15:12:06.526869", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-04-18 15:12:06.474860" } STDERR: The param /boot/vmlinuz-5.14.0-427.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-427.el9.x86_64_clone2" ], "delta": "0:00:00.051950", "end": "2024-04-18 15:12:06.773489", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-04-18 15:12:06.721539" } STDERR: The param /boot/vmlinuz-5.14.0-427.el9.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 15:12:06 +0000 (0:00:00.501) 0:02:38.905 ******** 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.115683", "end": "2024-04-18 15:12:07.082181", "rc": 0, "start": "2024-04-18 15:12:06.966498" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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 rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 15:12:07 +0000 (0:00:00.308) 0:02:39.213 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 15:12:07 +0000 (0:00:00.014) 0:02:39.228 ******** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 15:12:44 +0000 (0:00:37.023) 0:03:16.252 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 15:12:44 +0000 (0:00:00.012) 0:03:16.264 ******** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=16 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Thursday 18 April 2024 15:12:44 +0000 (0:00:00.013) 0:03:16.278 ******** =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 48.77s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.87s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.56s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 8.99s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 2.70s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 1.46s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 1.41s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.11s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 1.04s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Clone test_kernel kernel and initrd for test purposes ------------------- 1.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:8 -------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.93s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tasks/clone_kernel.yml:8 -------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.85s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.76s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.73s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.70s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.69s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.68s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.64s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.64s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---