# 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-password-efi9chg1pa3/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_password.yml:9 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.019) 0:00:00.019 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.032) 0:00:00.051 ********** included: /WORKDIR/git-password-efi9chg1pa3/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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.012) 0:00:00.064 ********** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.622) 0:00:00.687 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.308) 0:00:00.995 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.057) 0:00:01.053 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.033) 0:00:01.086 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.024) 0:00:01.111 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Tuesday 04 June 2024 07:03:31 +0000 (0:00:01.365) 0:00:02.476 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484602.728049, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.195) 0:00:02.671 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.010) 0:00:02.681 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.007) 0:00:02.689 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.178) 0:00:02.867 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.014) 0:00:02.881 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484602.728049, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.187) 0:00:03.068 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484604.137004, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.137004, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.137004, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3918097503", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 04 June 2024 07:03:31 +0000 (0:00:00.189) 0:00:03.257 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004577", "end": "2024-06-04 07:03:32.005523", "rc": 0, "start": "2024-06-04 07:03:32.000946" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Tuesday 04 June 2024 07:03:32 +0000 (0:00:00.231) 0:00:03.489 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Tuesday 04 June 2024 07:03:32 +0000 (0:00:00.010) 0:00:03.499 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Tuesday 04 June 2024 07:03:32 +0000 (0:00:00.229) 0:00:03.729 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Tuesday 04 June 2024 07:03:32 +0000 (0:00:00.182) 0:00:03.912 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Tuesday 04 June 2024 07:03:32 +0000 (0:00:00.252) 0:00:04.164 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.447) 0:00:04.612 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.587) 0:00:05.199 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.008) 0:00:05.208 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_password.yml:15 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.009) 0:00:05.218 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003135", "end": "2024-06-04 07:03:33.920403", "failed_when_result": false, "rc": 0, "start": "2024-06-04 07:03:33.917268" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.B1B7F984B0E80BC992EB1B37585C0D9DA1E2A0D492431CFAABA1439AB1C75CCEACC41D2E78840EF5D11C7F4DB19C6540B6724FE4A8E14ADC84DD4E4C0CFB6091.FF689B59D5B4F2093EE409BD304B08C73BF7A4B960646A8DC06CAC04478F33E9D5EC02627DD0710047432BF17A5DDE5C83C0E5245C1B89155E052AF5020F091A TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_password.yml:23 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.189) 0:00:05.407 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.024) 0:00:05.431 ********** included: /WORKDIR/git-password-efi9chg1pa3/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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.009) 0:00:05.441 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.008) 0:00:05.450 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 04 June 2024 07:03:33 +0000 (0:00:00.008) 0:00:05.458 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 04 June 2024 07:03:34 +0000 (0:00:00.007) 0:00:05.466 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:34 +0000 (0:00:00.020) 0:00:05.487 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:34 +0000 (0:00:00.010) 0:00:05.497 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Tuesday 04 June 2024 07:03:35 +0000 (0:00:01.261) 0:00:06.759 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484602.728049, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Tuesday 04 June 2024 07:03:35 +0000 (0:00:00.194) 0:00:06.953 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Tuesday 04 June 2024 07:03:35 +0000 (0:00:00.011) 0:00:06.964 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Tuesday 04 June 2024 07:03:35 +0000 (0:00:00.010) 0:00:06.975 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Tuesday 04 June 2024 07:03:35 +0000 (0:00:00.180) 0:00:07.155 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Tuesday 04 June 2024 07:03:35 +0000 (0:00:00.014) 0:00:07.170 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484602.728049, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Tuesday 04 June 2024 07:03:35 +0000 (0:00:00.187) 0:00:07.357 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484611.7607603, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.137004, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.137004, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3918097503", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.194) 0:00:07.551 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004690", "end": "2024-06-04 07:03:36.257240", "rc": 0, "start": "2024-06-04 07:03:36.252550" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.189) 0:00:07.740 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.010) 0:00:07.751 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.182) 0:00:07.934 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.184) 0:00:08.119 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.178) 0:00:08.297 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.010) 0:00:08.308 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Tuesday 04 June 2024 07:03:36 +0000 (0:00:00.010) 0:00:08.318 ********** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.255) 0:00:08.573 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_password.yml:29 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.023) 0:00:08.597 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_password.yml:34 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.179) 0:00:08.777 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_password.yml:41 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.012) 0:00:08.789 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.026) 0:00:08.816 ********** included: /WORKDIR/git-password-efi9chg1pa3/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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.011) 0:00:08.827 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.010) 0:00:08.837 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.008) 0:00:08.846 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.008) 0:00:08.855 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.022) 0:00:08.878 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:37 +0000 (0:00:00.009) 0:00:08.887 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Tuesday 04 June 2024 07:03:38 +0000 (0:00:01.263) 0:00:10.151 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484602.728049, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Tuesday 04 June 2024 07:03:38 +0000 (0:00:00.194) 0:00:10.346 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Tuesday 04 June 2024 07:03:38 +0000 (0:00:00.014) 0:00:10.360 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Tuesday 04 June 2024 07:03:38 +0000 (0:00:00.010) 0:00:10.371 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.183) 0:00:10.555 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.015) 0:00:10.571 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484602.728049, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.188) 0:00:10.759 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484611.7607603, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.137004, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 337641793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.137004, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3918097503", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.197) 0:00:10.957 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004839", "end": "2024-06-04 07:03:39.662049", "rc": 0, "start": "2024-06-04 07:03:39.657210" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.188) 0:00:11.145 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.011) 0:00:11.156 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Tuesday 04 June 2024 07:03:39 +0000 (0:00:00.184) 0:00:11.341 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Tuesday 04 June 2024 07:03:40 +0000 (0:00:00.182) 0:00:11.523 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Tuesday 04 June 2024 07:03:40 +0000 (0:00:00.180) 0:00:11.704 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Tuesday 04 June 2024 07:03:40 +0000 (0:00:00.010) 0:00:11.714 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Tuesday 04 June 2024 07:03:40 +0000 (0:00:00.008) 0:00:11.723 ********** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Tuesday 04 June 2024 07:03:40 +0000 (0:00:00.188) 0:00:11.912 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=43 changed=3 unreachable=0 failed=0 skipped=29 rescued=0 ignored=0 Tuesday 04 June 2024 07:03:40 +0000 (0:00:00.008) 0:00:11.920 ********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.53s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 1.37s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.62s /WORKDIR/git-password-efi9chg1pa3/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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 linux-system-roles.bootloader : Generate boot loader password ----------- 0.45s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.44s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.39s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.39s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.38s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.38s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.37s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.37s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Determine platform type ----------------- 0.36s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.36s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Check if system is ostree --------------- 0.31s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.25s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.23s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.23s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.20s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.19s /WORKDIR/git-password-efi9chg1pa3/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. ---^---^---^---^---^---