# 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_password.yml *************************************************** 1 plays in /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:9 Thursday 18 April 2024 15:10:10 +0000 (0:00:00.016) 0:00:00.016 ******** 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:10 +0000 (0:00:00.033) 0:00:00.049 ******** 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:10 +0000 (0:00:00.016) 0:00:00.065 ******** 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:10:10 +0000 (0:00:00.652) 0:00:00.718 ******** 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:10:11 +0000 (0:00:00.284) 0:00:01.002 ******** 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:10:11 +0000 (0:00:00.025) 0:00:01.027 ******** 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:11 +0000 (0:00:00.033) 0:00:01.061 ******** 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:11 +0000 (0:00:00.021) 0:00:01.082 ******** 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:12 +0000 (0:00:01.479) 0:00:02.562 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "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:10:12 +0000 (0:00:00.205) 0:00:02.767 ******** 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:12 +0000 (0:00:00.013) 0:00:02.780 ******** 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:12 +0000 (0:00:00.010) 0:00:02.790 ******** 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:12 +0000 (0:00:00.186) 0:00:02.976 ******** 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:13 +0000 (0:00:00.019) 0:00:02.995 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "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:10:13 +0000 (0:00:00.203) 0:00:03.199 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453005.3860097, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713453005.3860097, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713453005.3860097, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1443726650", "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:13 +0000 (0:00:00.207) 0:00:03.407 ******** 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:13 +0000 (0:00:00.014) 0:00:03.421 ******** 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:13 +0000 (0:00:00.285) 0:00:03.707 ******** 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:13 +0000 (0:00:00.195) 0:00:03.902 ******** 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:14 +0000 (0:00:00.280) 0:00:04.182 ******** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } 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:14 +0000 (0:00:00.568) 0:00:04.750 ******** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } 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:15 +0000 (0:00:00.619) 0:00:05.370 ******** 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:15 +0000 (0:00:00.012) 0:00:05.382 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:15 Thursday 18 April 2024 15:10:15 +0000 (0:00:00.012) 0:00:05.394 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003054", "end": "2024-04-18 15:10:15.585875", "failed_when_result": false, "rc": 0, "start": "2024-04-18 15:10:15.582821" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.5DE4AE93EA4D79E9A422CBAF24075280B2495714E3D5CD0E37E5D0F1668997945A4E52420213B6F7C0AE97E6F751F3F640403674F964F05A69F94B5FE3A66801.7DBF18C7D19851EB1437DF38CFD1ED74F4FD48F8E401375E4C284B5273D1AF6821BE9C5D006DE5FCAFFC26753DD48E4FDD6927813DC3A69F28D50F99F7B9B039 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:23 Thursday 18 April 2024 15:10:15 +0000 (0:00:00.199) 0:00:05.594 ******** 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:15 +0000 (0:00:00.044) 0:00:05.638 ******** 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:15 +0000 (0:00:00.018) 0:00:05.657 ******** 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:15 +0000 (0:00:00.012) 0:00:05.669 ******** 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:15 +0000 (0:00:00.013) 0:00:05.683 ******** 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:15 +0000 (0:00:00.009) 0:00:05.693 ******** 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:15 +0000 (0:00:00.026) 0:00:05.719 ******** 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:15 +0000 (0:00:00.010) 0:00:05.729 ******** 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:17 +0000 (0:00:01.349) 0:00:07.079 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "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:10:17 +0000 (0:00:00.208) 0:00:07.288 ******** 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:17 +0000 (0:00:00.011) 0:00:07.300 ******** 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:17 +0000 (0:00:00.011) 0:00:07.311 ******** 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:17 +0000 (0:00:00.192) 0:00:07.503 ******** 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:17 +0000 (0:00:00.021) 0:00:07.525 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "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:10:17 +0000 (0:00:00.209) 0:00:07.734 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453013.3888562, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713453005.3860097, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713453005.3860097, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1443726650", "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:17 +0000 (0:00:00.212) 0:00:07.947 ******** 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:17 +0000 (0:00:00.014) 0:00:07.961 ******** 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:18 +0000 (0:00:00.204) 0:00:08.166 ******** 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:18 +0000 (0:00:00.201) 0:00:08.367 ******** 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:18 +0000 (0:00:00.194) 0:00:08.561 ******** 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:18 +0000 (0:00:00.013) 0:00:08.574 ******** 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:18 +0000 (0:00:00.010) 0:00:08.585 ******** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } 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:18 +0000 (0:00:00.286) 0:00:08.872 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:29 Thursday 18 April 2024 15:10:18 +0000 (0:00:00.013) 0:00:08.885 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:34 Thursday 18 April 2024 15:10:19 +0000 (0:00:00.192) 0:00:09.078 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:41 Thursday 18 April 2024 15:10:19 +0000 (0:00:00.013) 0:00:09.092 ******** 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:19 +0000 (0:00:00.030) 0:00:09.122 ******** 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:19 +0000 (0:00:00.013) 0:00:09.135 ******** 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:19 +0000 (0:00:00.011) 0:00:09.146 ******** 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:19 +0000 (0:00:00.013) 0:00:09.159 ******** 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:19 +0000 (0:00:00.011) 0:00:09.170 ******** 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:19 +0000 (0:00:00.031) 0:00:09.202 ******** 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:19 +0000 (0:00:00.016) 0:00:09.218 ******** 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:25 +0000 (0:00:06.417) 0:00:15.635 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "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:10:25 +0000 (0:00:00.206) 0:00:15.842 ******** 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:25 +0000 (0:00:00.013) 0:00:15.855 ******** 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:25 +0000 (0:00:00.010) 0:00:15.866 ******** 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:26 +0000 (0:00:00.189) 0:00:16.055 ******** 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:26 +0000 (0:00:00.019) 0:00:16.075 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "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:10:26 +0000 (0:00:00.208) 0:00:16.283 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453013.3888562, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1713453005.3860097, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713453005.3860097, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1443726650", "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:26 +0000 (0:00:00.213) 0:00:16.496 ******** 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:26 +0000 (0:00:00.013) 0:00:16.509 ******** 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:26 +0000 (0:00:00.202) 0:00:16.712 ******** 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:26 +0000 (0:00:00.196) 0:00:16.909 ******** 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:27 +0000 (0:00:00.196) 0:00:17.105 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:27 +0000 (0:00:00.013) 0:00:17.118 ******** 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:27 +0000 (0:00:00.012) 0:00:17.130 ******** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } 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:27 +0000 (0:00:00.200) 0:00:17.331 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=40 changed=3 unreachable=0 failed=0 skipped=29 rescued=0 ignored=0 Thursday 18 April 2024 15:10:27 +0000 (0:00:00.010) 0:00:17.342 ******** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 7.77s /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.48s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.65s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.62s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 linux-system-roles.bootloader : Generate boot loader password ----------- 0.57s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.49s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.43s /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.42s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.42s /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.41s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.40s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.39s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Determine platform type ----------------- 0.38s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.29s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Check if system is ostree --------------- 0.28s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.28s /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.21s /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.21s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.20s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.20s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_password.yml:15 ----------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---