# 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-weekly-cityev9ohq/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-weekly-cityev9ohq/tests/tests_password.yml:9 Saturday 30 March 2024 15:36:29 +0000 (0:00:00.012) 0:00:00.012 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 30 March 2024 15:36:29 +0000 (0:00:00.025) 0:00:00.038 ******** included: /WORKDIR/git-weekly-cityev9ohq/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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 30 March 2024 15:36:29 +0000 (0:00:00.011) 0:00:00.049 ******** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 30 March 2024 15:36:30 +0000 (0:00:00.502) 0:00:00.552 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 30 March 2024 15:36:30 +0000 (0:00:00.245) 0:00:00.798 ******** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 30 March 2024 15:36:30 +0000 (0:00:00.018) 0:00:00.817 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 30 March 2024 15:36:30 +0000 (0:00:00.035) 0:00:00.853 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 30 March 2024 15:36:31 +0000 (0:00:01.383) 0:00:02.236 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812983.2199178, "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:21 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.189) 0:00:02.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.008) 0:00:02.434 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.007) 0:00:02.441 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:43 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.175) 0:00:02.617 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.013) 0:00:02.630 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812983.2199178, "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.189) 0:00:02.820 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812984.2759044, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1711812984.2769043, "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": 1711812984.2769043, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2139675501", "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:64 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.192) 0:00:03.013 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.008) 0:00:03.021 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 30 March 2024 15:36:32 +0000 (0:00:00.230) 0:00:03.252 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 30 March 2024 15:36:33 +0000 (0:00:00.181) 0:00:03.433 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Saturday 30 March 2024 15:36:33 +0000 (0:00:00.242) 0:00:03.676 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 Saturday 30 March 2024 15:36:33 +0000 (0:00:00.542) 0:00:04.219 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.565) 0:00:04.784 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.007) 0:00:04.792 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-weekly-cityev9ohq/tests/tests_password.yml:15 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.008) 0:00:04.801 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003009", "end": "2024-03-30 15:36:34.564170", "failed_when_result": false, "rc": 0, "start": "2024-03-30 15:36:34.561161" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.812EE61B45F7BD92E8F40D2DADE49E557222949C167B24E6C312F778D4500B2CD1A0F15E3A87010AACB232210A84904F6C2C72054693835F3D5C1494E6A7B1C1.B673C36B7FB013E581E4BECBF71DCF650A63340F6593E31CAA054F63ED33357786879F5FF9755D9E2F78887F1E749C445E978BDECF2E53E8058BF371CF941072 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cityev9ohq/tests/tests_password.yml:23 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.186) 0:00:04.988 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.020) 0:00:05.009 ******** included: /WORKDIR/git-weekly-cityev9ohq/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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.009) 0:00:05.018 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.008) 0:00:05.026 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.007) 0:00:05.034 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.007) 0:00:05.041 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 30 March 2024 15:36:34 +0000 (0:00:00.019) 0:00:05.061 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 30 March 2024 15:36:35 +0000 (0:00:01.239) 0:00:06.300 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812983.2199178, "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:21 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.189) 0:00:06.490 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.008) 0:00:06.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.007) 0:00:06.505 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:43 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.175) 0:00:06.681 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.013) 0:00:06.694 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812983.2199178, "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.192) 0:00:06.887 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812992.5777981, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1711812984.2769043, "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": 1711812984.2769043, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2139675501", "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:64 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.192) 0:00:07.079 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.008) 0:00:07.088 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 30 March 2024 15:36:36 +0000 (0:00:00.183) 0:00:07.272 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.183) 0:00:07.456 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.176) 0:00:07.632 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.008) 0:00:07.641 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.007) 0:00:07.648 ******** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.253) 0:00:07.902 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/tests_password.yml:29 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.009) 0:00:07.912 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-weekly-cityev9ohq/tests/tests_password.yml:34 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.178) 0:00:08.090 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cityev9ohq/tests/tests_password.yml:38 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.008) 0:00:08.099 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.019) 0:00:08.118 ******** included: /WORKDIR/git-weekly-cityev9ohq/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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.010) 0:00:08.129 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.008) 0:00:08.137 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.007) 0:00:08.145 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.007) 0:00:08.152 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 30 March 2024 15:36:37 +0000 (0:00:00.017) 0:00:08.170 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 30 March 2024 15:36:38 +0000 (0:00:01.223) 0:00:09.393 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812983.2199178, "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:21 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.191) 0:00:09.585 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.009) 0:00:09.594 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.007) 0:00:09.602 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:43 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.174) 0:00:09.777 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.014) 0:00:09.791 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812983.2199178, "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.190) 0:00:09.981 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711812992.5777981, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "83f88152b19a724c257dcb00b70eccdf0d4ecbc0", "ctime": 1711812984.2769043, "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": 1711812984.2769043, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2139675501", "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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:64 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.195) 0:00:10.177 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.009) 0:00:10.186 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 30 March 2024 15:36:39 +0000 (0:00:00.181) 0:00:10.368 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 30 March 2024 15:36:40 +0000 (0:00:00.181) 0:00:10.549 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Saturday 30 March 2024 15:36:40 +0000 (0:00:00.180) 0:00:10.729 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 Saturday 30 March 2024 15:36:40 +0000 (0:00:00.009) 0:00:10.739 ******** 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-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 Saturday 30 March 2024 15:36:40 +0000 (0:00:00.007) 0:00:10.746 ******** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 30 March 2024 15:36:40 +0000 (0:00:00.189) 0:00:10.936 ******** 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=26 rescued=0 ignored=0 Saturday 30 March 2024 15:36:40 +0000 (0:00:00.007) 0:00:10.943 ******** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.46s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.38s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.57s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 linux-system-roles.bootloader : Generate boot loader password ----------- 0.54s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.50s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.44s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.39s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.38s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.38s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.37s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.37s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.36s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Determine platform type ----------------- 0.35s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 linux-system-roles.bootloader : Check if system is ostree --------------- 0.25s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.24s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.23s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.19s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.19s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.19s /WORKDIR/git-weekly-cityev9ohq/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.19s /WORKDIR/git-weekly-cityev9ohq/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. ---^---^---^---^---^---