# 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-bios-uefi8k7vgwix/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:9 Monday 26 February 2024 20:00:35 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:35 +0000 (0:00:00.025) 0:00:00.037 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:36 +0000 (0:00:00.017) 0:00:00.055 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:00:36 +0000 (0:00:00.522) 0:00:00.578 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:00:36 +0000 (0:00:00.258) 0:00:00.837 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:00:36 +0000 (0:00:00.018) 0:00:00.856 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:36 +0000 (0:00:00.026) 0:00:00.882 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:00:38 +0000 (0:00:01.402) 0:00:02.284 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:00:38 +0000 (0:00:00.181) 0:00:02.466 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:00:38 +0000 (0:00:00.029) 0:00:02.496 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977630.1587815, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:00:38 +0000 (0:00:00.199) 0:00:02.696 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977630.8237643, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977630.8237643, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 322961729, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977630.8237643, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2411988373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:00:38 +0000 (0:00:00.209) 0:00:02.905 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:00:38 +0000 (0:00:00.012) 0:00:02.918 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:00:39 +0000 (0:00:00.237) 0:00:03.155 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:00:39 +0000 (0:00:00.188) 0:00:03.343 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:00:39 +0000 (0:00:00.281) 0:00:03.625 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:00:40 +0000 (0:00:00.473) 0:00:04.098 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:00:40 +0000 (0:00:00.632) 0:00:04.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:00:40 +0000 (0:00:00.025) 0:00:04.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:15 Monday 26 February 2024 20:00:40 +0000 (0:00:00.012) 0:00:04.769 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003347", "end": "2024-02-26 20:00:40.889730", "failed_when_result": false, "rc": 0, "start": "2024-02-26 20:00:40.886383" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.D0AA21A9ABE31DA32D5E6E58F328C51F464E9D5C8D41A1E152A004A43FE46CDC6098CEC8A978FC06FCAFADF0745D37CA9D199B96E8A353E89C82846D0FA7ACA9.97B591476600B57259C800198354ADF7EE093023114BBBB0FF09B81C41E26BC90BB9538EC7DA343EDD5B96CAE7839E13EA0CF56132BE5109598FE8DFDB0FC5D9 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:23 Monday 26 February 2024 20:00:40 +0000 (0:00:00.192) 0:00:04.961 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:40 +0000 (0:00:00.018) 0:00:04.979 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:40 +0000 (0:00:00.010) 0:00:04.989 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:00:40 +0000 (0:00:00.015) 0:00:05.005 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:00:40 +0000 (0:00:00.023) 0:00:05.029 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:00:40 +0000 (0:00:00.010) 0:00:05.039 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:41 +0000 (0:00:00.019) 0:00:05.059 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:00:42 +0000 (0:00:01.343) 0:00:06.403 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:00:42 +0000 (0:00:00.190) 0:00:06.593 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:00:42 +0000 (0:00:00.014) 0:00:06.607 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977630.1587815, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:00:42 +0000 (0:00:00.209) 0:00:06.817 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977638.8135564, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977630.8237643, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 322961729, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977630.8237643, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2411988373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:00:42 +0000 (0:00:00.225) 0:00:07.042 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:00:43 +0000 (0:00:00.026) 0:00:07.069 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:00:43 +0000 (0:00:00.216) 0:00:07.286 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:00:43 +0000 (0:00:00.216) 0:00:07.503 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:00:43 +0000 (0:00:00.258) 0:00:07.761 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:00:43 +0000 (0:00:00.012) 0:00:07.774 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:00:43 +0000 (0:00:00.010) 0:00:07.784 ******* changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:00:44 +0000 (0:00:00.274) 0:00:08.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:29 Monday 26 February 2024 20:00:44 +0000 (0:00:00.009) 0:00:08.069 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:34 Monday 26 February 2024 20:00:44 +0000 (0:00:00.182) 0:00:08.252 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:38 Monday 26 February 2024 20:00:44 +0000 (0:00:00.015) 0:00:08.268 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:44 +0000 (0:00:00.029) 0:00:08.297 ******* included: /WORKDIR/git-bios-uefi8k7vgwix/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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:44 +0000 (0:00:00.036) 0:00:08.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:00:44 +0000 (0:00:00.018) 0:00:08.352 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:00:44 +0000 (0:00:00.009) 0:00:08.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:00:44 +0000 (0:00:00.015) 0:00:08.377 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:44 +0000 (0:00:00.026) 0:00:08.403 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:00:45 +0000 (0:00:01.324) 0:00:09.728 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:00:45 +0000 (0:00:00.180) 0:00:09.909 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:00:45 +0000 (0:00:00.014) 0:00:09.923 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977630.1587815, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:00:46 +0000 (0:00:00.200) 0:00:10.123 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977638.8135564, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977630.8237643, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 322961729, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977630.8237643, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2411988373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:00:46 +0000 (0:00:00.204) 0:00:10.328 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 Monday 26 February 2024 20:00:46 +0000 (0:00:00.010) 0:00:10.339 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Monday 26 February 2024 20:00:46 +0000 (0:00:00.197) 0:00:10.536 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 26 February 2024 20:00:46 +0000 (0:00:00.200) 0:00:10.737 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 26 February 2024 20:00:46 +0000 (0:00:00.194) 0:00:10.931 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 Monday 26 February 2024 20:00:46 +0000 (0:00:00.014) 0:00:10.946 ******* 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-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 Monday 26 February 2024 20:00:46 +0000 (0:00:00.031) 0:00:10.977 ******* ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 26 February 2024 20:00:47 +0000 (0:00:00.199) 0:00:11.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=37 changed=3 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 26 February 2024 20:00:47 +0000 (0:00:00.008) 0:00:11.184 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.67s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.40s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.63s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:83 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.52s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.47s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:91 linux-system-roles.bootloader : Generate boot loader password ----------- 0.47s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.45s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.43s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.42s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.41s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.41s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 linux-system-roles.bootloader : Determine platform type ----------------- 0.37s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.28s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Check if system is ostree --------------- 0.26s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.24s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:44 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.21s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.20s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.19s /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:15 -------------------- linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.19s /WORKDIR/git-bios-uefi8k7vgwix/tests/roles/linux-system-roles.bootloader/tasks/main.yml:53 Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.18s /WORKDIR/git-bios-uefi8k7vgwix/tests/tests_password.yml:29 -------------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---