# 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-uefitvwmy1p9/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:9 Monday 26 February 2024 20:45:48 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:45:48 +0000 (0:00:00.023) 0:00:00.036 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:45:48 +0000 (0:00:00.012) 0:00:00.049 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:45:49 +0000 (0:00:00.725) 0:00:00.774 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:45:49 +0000 (0:00:00.277) 0:00:01.052 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:45:49 +0000 (0:00:00.020) 0:00:01.073 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:45:49 +0000 (0:00:00.028) 0:00:01.101 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:45:52 +0000 (0:00:02.962) 0:00:04.063 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:45:53 +0000 (0:00:00.188) 0:00:04.252 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:45:53 +0000 (0:00:00.030) 0:00:04.282 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980344.6543803, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:45:53 +0000 (0:00:00.205) 0:00:04.487 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980345.3453577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980345.3453577, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980345.3453577, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "532049799", "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-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:45:53 +0000 (0:00:00.206) 0:00:04.693 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:45:53 +0000 (0:00:00.008) 0:00:04.702 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:45:53 +0000 (0:00:00.254) 0:00:04.956 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:45:54 +0000 (0:00:00.192) 0:00:05.149 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:45:54 +0000 (0:00:00.253) 0:00:05.402 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:45:54 +0000 (0:00:00.499) 0:00:05.902 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:45:55 +0000 (0:00:00.592) 0:00:06.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:45:55 +0000 (0:00:00.007) 0:00:06.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:15 Monday 26 February 2024 20:45:55 +0000 (0:00:00.008) 0:00:06.510 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003289", "end": "2024-02-26 20:45:55.581822", "failed_when_result": false, "rc": 0, "start": "2024-02-26 20:45:55.578533" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.5595F27BED674C2C82DA730389A895CA0C04C6107A06D3D179D4D17C694076B0C51BB0FB2D5A096B9AB3FD4705FAAF1AEAA713701776CE25DDD13E965029BF4F.34BC80678396B2CBFEAF1D05AD6477AF678B72436FF26103D75F8E6008D148369725778D825A612ED523315272D9BF7FC860BB5278435570D7FCE990E20FEDC6 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:23 Monday 26 February 2024 20:45:55 +0000 (0:00:00.195) 0:00:06.706 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:45:55 +0000 (0:00:00.017) 0:00:06.723 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:45:55 +0000 (0:00:00.009) 0:00:06.733 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:45:55 +0000 (0:00:00.008) 0:00:06.741 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:45:55 +0000 (0:00:00.007) 0:00:06.748 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:45:55 +0000 (0:00:00.007) 0:00:06.755 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:45:55 +0000 (0:00:00.018) 0:00:06.774 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:45:58 +0000 (0:00:02.889) 0:00:09.664 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:45:58 +0000 (0:00:00.188) 0:00:09.852 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:45:58 +0000 (0:00:00.013) 0:00:09.866 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980344.6543803, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:45:58 +0000 (0:00:00.205) 0:00:10.071 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980353.5560892, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980345.3453577, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980345.3453577, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "532049799", "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-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:45:59 +0000 (0:00:00.205) 0:00:10.277 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:45:59 +0000 (0:00:00.008) 0:00:10.285 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:45:59 +0000 (0:00:00.194) 0:00:10.479 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:45:59 +0000 (0:00:00.192) 0:00:10.672 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:45:59 +0000 (0:00:00.190) 0:00:10.863 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:45:59 +0000 (0:00:00.009) 0:00:10.872 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:45:59 +0000 (0:00:00.007) 0:00:10.879 ******* changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:46:00 +0000 (0:00:00.268) 0:00:11.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:29 Monday 26 February 2024 20:46:00 +0000 (0:00:00.008) 0:00:11.157 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:34 Monday 26 February 2024 20:46:00 +0000 (0:00:00.189) 0:00:11.346 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:38 Monday 26 February 2024 20:46:00 +0000 (0:00:00.010) 0:00:11.356 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 20:46:00 +0000 (0:00:00.017) 0:00:11.374 ******* included: /WORKDIR/git-bios-uefitvwmy1p9/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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:46:00 +0000 (0:00:00.012) 0:00:11.386 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 20:46:00 +0000 (0:00:00.008) 0:00:11.395 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 20:46:00 +0000 (0:00:00.008) 0:00:11.404 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 20:46:00 +0000 (0:00:00.019) 0:00:11.423 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 20:46:00 +0000 (0:00:00.033) 0:00:11.457 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 20:46:03 +0000 (0:00:02.904) 0:00:14.362 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Monday 26 February 2024 20:46:03 +0000 (0:00:00.188) 0:00:14.550 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Monday 26 February 2024 20:46:03 +0000 (0:00:00.014) 0:00:14.565 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980344.6543803, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Monday 26 February 2024 20:46:03 +0000 (0:00:00.206) 0:00:14.771 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980353.5560892, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708980345.3453577, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708980345.3453577, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "532049799", "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-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Monday 26 February 2024 20:46:03 +0000 (0:00:00.206) 0:00:14.977 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Monday 26 February 2024 20:46:03 +0000 (0:00:00.009) 0:00:14.987 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 20:46:04 +0000 (0:00:00.194) 0:00:15.181 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Monday 26 February 2024 20:46:04 +0000 (0:00:00.193) 0:00:15.375 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Monday 26 February 2024 20:46:04 +0000 (0:00:00.191) 0:00:15.566 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Monday 26 February 2024 20:46:04 +0000 (0:00:00.009) 0:00:15.576 ******* 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-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 20:46:04 +0000 (0:00:00.008) 0:00:15.584 ******* ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Monday 26 February 2024 20:46:04 +0000 (0:00:00.196) 0:00:15.781 ******* 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:46:04 +0000 (0:00:00.008) 0:00:15.789 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 5.79s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.96s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.73s /WORKDIR/git-bios-uefitvwmy1p9/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.59s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 linux-system-roles.bootloader : Generate boot loader password ----------- 0.50s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.47s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.41s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.41s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.39s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.39s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.38s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Determine platform type ----------------- 0.38s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Check if system is ostree --------------- 0.28s /WORKDIR/git-bios-uefitvwmy1p9/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.25s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.25s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.21s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.20s /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:15 -------------------- linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.19s /WORKDIR/git-bios-uefitvwmy1p9/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.19s /WORKDIR/git-bios-uefitvwmy1p9/tests/tests_password.yml:29 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, 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. ---^---^---^---^---^---