# 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-cieoh94b20/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:9 Saturday 18 May 2024 13:39:35 +0000 (0:00:00.012) 0:00:00.012 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 18 May 2024 13:39:35 +0000 (0:00:00.028) 0:00:00.040 ********** included: /WORKDIR/git-weekly-cieoh94b20/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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 18 May 2024 13:39:35 +0000 (0:00:00.014) 0:00:00.055 ********** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 18 May 2024 13:39:35 +0000 (0:00:00.561) 0:00:00.616 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 18 May 2024 13:39:36 +0000 (0:00:00.266) 0:00:00.883 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 18 May 2024 13:39:36 +0000 (0:00:00.025) 0:00:00.908 ********** 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-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 18 May 2024 13:39:36 +0000 (0:00:00.029) 0:00:00.938 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 18 May 2024 13:39:36 +0000 (0:00:00.020) 0:00:00.958 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 18 May 2024 13:39:37 +0000 (0:00:01.356) 0:00:02.314 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039569.4031546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1715682136.827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715682136.827, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1933279269", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 18 May 2024 13:39:37 +0000 (0:00:00.208) 0:00:02.523 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 18 May 2024 13:39:37 +0000 (0:00:00.034) 0:00:02.557 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 18 May 2024 13:39:37 +0000 (0:00:00.079) 0:00:02.636 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 18 May 2024 13:39:37 +0000 (0:00:00.186) 0:00:02.823 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 18 May 2024 13:39:37 +0000 (0:00:00.036) 0:00:02.859 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039569.4031546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1715682136.827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715682136.827, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1933279269", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 18 May 2024 13:39:38 +0000 (0:00:00.202) 0:00:03.062 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039570.6511543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e47c70a56b6bbcbe2fa8430b4ca06eeecbad9fd0", "ctime": 1716039570.6511543, "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": 1716039570.6511543, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1233319797", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 18 May 2024 13:39:38 +0000 (0:00:00.192) 0:00:03.254 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 18 May 2024 13:39:38 +0000 (0:00:00.011) 0:00:03.266 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Saturday 18 May 2024 13:39:38 +0000 (0:00:00.226) 0:00:03.492 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Saturday 18 May 2024 13:39:38 +0000 (0:00:00.178) 0:00:03.670 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 18 May 2024 13:39:39 +0000 (0:00:00.283) 0:00:03.954 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Saturday 18 May 2024 13:39:39 +0000 (0:00:00.468) 0:00:04.422 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 18 May 2024 13:39:40 +0000 (0:00:00.547) 0:00:04.969 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Saturday 18 May 2024 13:39:40 +0000 (0:00:00.007) 0:00:04.977 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:15 Saturday 18 May 2024 13:39:40 +0000 (0:00:00.009) 0:00:04.986 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:01.004166", "end": "2024-05-18 13:39:41.265667", "failed_when_result": false, "rc": 0, "start": "2024-05-18 13:39:40.261501" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.40831DE8414BBF65E7A7502FBEA706B681FF0C739F1EADB3DC7CC100EE180CEE66B630BA7E272ECE041778F89373CC8872124080458049D96B5AE4F4439BBC31.7748D250544F8BAA6B1B6EFC35F285339058DFC5CA21A94F9A3EF961CFCE024A3BA53F18E80E7C461C55ADBF7213736C15C480C52F5570253FC7DB9DF635AE43 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:23 Saturday 18 May 2024 13:39:41 +0000 (0:00:01.177) 0:00:06.164 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.022) 0:00:06.187 ********** included: /WORKDIR/git-weekly-cieoh94b20/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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.009) 0:00:06.197 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.009) 0:00:06.207 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.007) 0:00:06.214 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.008) 0:00:06.222 ********** 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-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.020) 0:00:06.243 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 18 May 2024 13:39:41 +0000 (0:00:00.009) 0:00:06.252 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 18 May 2024 13:39:42 +0000 (0:00:01.188) 0:00:07.441 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039569.4031546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1715682136.827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715682136.827, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1933279269", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 18 May 2024 13:39:42 +0000 (0:00:00.192) 0:00:07.634 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 18 May 2024 13:39:42 +0000 (0:00:00.009) 0:00:07.644 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 18 May 2024 13:39:42 +0000 (0:00:00.008) 0:00:07.652 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 18 May 2024 13:39:42 +0000 (0:00:00.171) 0:00:07.824 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 18 May 2024 13:39:42 +0000 (0:00:00.015) 0:00:07.840 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039569.4031546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1715682136.827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715682136.827, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1933279269", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.196) 0:00:08.036 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039578.3431523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e47c70a56b6bbcbe2fa8430b4ca06eeecbad9fd0", "ctime": 1716039570.6511543, "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": 1716039570.6511543, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1233319797", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.182) 0:00:08.219 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.010) 0:00:08.230 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.172) 0:00:08.403 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.170) 0:00:08.574 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.167) 0:00:08.741 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.008) 0:00:08.750 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 18 May 2024 13:39:43 +0000 (0:00:00.007) 0:00:08.758 ********** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.248) 0:00:09.007 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:29 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.013) 0:00:09.020 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:34 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.170) 0:00:09.190 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:41 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.011) 0:00:09.202 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.041) 0:00:09.243 ********** included: /WORKDIR/git-weekly-cieoh94b20/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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.015) 0:00:09.259 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.013) 0:00:09.272 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.009) 0:00:09.281 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.010) 0:00:09.292 ********** 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-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.036) 0:00:09.328 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 18 May 2024 13:39:44 +0000 (0:00:00.023) 0:00:09.351 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 18 May 2024 13:39:45 +0000 (0:00:01.175) 0:00:10.527 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039569.4031546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1715682136.827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715682136.827, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1933279269", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 18 May 2024 13:39:45 +0000 (0:00:00.181) 0:00:10.709 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 18 May 2024 13:39:45 +0000 (0:00:00.010) 0:00:10.719 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 18 May 2024 13:39:45 +0000 (0:00:00.011) 0:00:10.730 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.173) 0:00:10.903 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.015) 0:00:10.919 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039569.4031546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1715682136.827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1715682136.827, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1933279269", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.183) 0:00:11.102 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716039578.3431523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e47c70a56b6bbcbe2fa8430b4ca06eeecbad9fd0", "ctime": 1716039570.6511543, "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": 1716039570.6511543, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1233319797", "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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.182) 0:00:11.285 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.008) 0:00:11.294 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.171) 0:00:11.465 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.178) 0:00:11.643 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.167) 0:00:11.811 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.009) 0:00:11.820 ********** 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-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 18 May 2024 13:39:46 +0000 (0:00:00.008) 0:00:11.829 ********** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Saturday 18 May 2024 13:39:47 +0000 (0:00:00.178) 0:00:12.007 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=40 changed=3 unreachable=0 failed=0 skipped=29 rescued=0 ignored=0 Saturday 18 May 2024 13:39:47 +0000 (0:00:00.008) 0:00:12.016 ********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.36s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 1.36s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Get contents of /boot/grub2/user.cfg ------------------------------------ 1.18s /WORKDIR/git-weekly-cieoh94b20/tests/tests_password.yml:15 -------------------- linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.56s /WORKDIR/git-weekly-cieoh94b20/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.55s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 linux-system-roles.bootloader : Generate boot loader password ----------- 0.47s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.43s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.38s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.37s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.37s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.35s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 linux-system-roles.bootloader : Determine platform type ----------------- 0.34s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.34s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.34s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.28s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Check if system is ostree --------------- 0.27s /WORKDIR/git-weekly-cieoh94b20/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.23s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.20s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.19s /WORKDIR/git-weekly-cieoh94b20/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---