# 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-cisziswy96/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:9 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.011) 0:00:00.011 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.026) 0:00:00.038 ********** included: /WORKDIR/git-weekly-cisziswy96/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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 04 May 2024 13:44:25 +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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.386) 0:00:00.436 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.185) 0:00:00.621 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.020) 0:00:00.641 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.027) 0:00:00.669 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 04 May 2024 13:44:25 +0000 (0:00:00.016) 0:00:00.685 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.712) 0:00:01.397 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.339386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1714466830.2333705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466830.2333705, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "760802952", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.127) 0:00:01.524 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.009) 0:00:01.534 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.007) 0:00:01.541 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.113) 0:00:01.655 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.013) 0:00:01.668 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.339386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1714466830.2333705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466830.2333705, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "760802952", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 04 May 2024 13:44:26 +0000 (0:00:00.124) 0:00:01.793 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.7553754, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "58b2da6983d5fb79d05f12370288cd1fa80cd465", "ctime": 1714467511.1353705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466905.3333704, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "760815222", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 04 May 2024 13:44:27 +0000 (0:00:00.129) 0:00:01.923 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 04 May 2024 13:44:27 +0000 (0:00:00.008) 0:00:01.931 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Saturday 04 May 2024 13:44:27 +0000 (0:00:00.169) 0:00:02.101 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Saturday 04 May 2024 13:44:27 +0000 (0:00:00.119) 0:00:02.220 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 04 May 2024 13:44:27 +0000 (0:00:00.163) 0:00:02.384 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Saturday 04 May 2024 13:44:27 +0000 (0:00:00.452) 0:00:02.836 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.443) 0:00:03.280 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.008) 0:00:03.289 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:15 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.008) 0:00:03.297 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.004845", "end": "2024-05-04 13:44:28.543984", "failed_when_result": false, "rc": 0, "start": "2024-05-04 13:44:28.539139" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.2CA0BA6B7B21519B7498D7D85ED5C03E4450EADBA494B8D550EF963365FAC3DE4827EC74CECAFBBA6D425DC21B17F5A11E7A04839002945C8165FC58C93B3BD1.5EAEF240D1D657C3D6527BB81F30A2663E0F30891A5D2089AF3B8AEC525DD0557E22C1847586DE7C4E604097BBFA0DC411264FE8C54BAB5B1C441A2896157A75 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:23 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.120) 0:00:03.418 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.020) 0:00:03.438 ********** included: /WORKDIR/git-weekly-cisziswy96/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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.009) 0:00:03.447 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.008) 0:00:03.456 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.007) 0:00:03.463 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.007) 0:00:03.470 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.017) 0:00:03.488 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 04 May 2024 13:44:28 +0000 (0:00:00.007) 0:00:03.495 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.566) 0:00:04.062 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.339386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1714466830.2333705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466830.2333705, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "760802952", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.127) 0:00:04.189 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.008) 0:00:04.198 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.007) 0:00:04.205 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.112) 0:00:04.318 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.015) 0:00:04.333 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.339386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1714466830.2333705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466830.2333705, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "760802952", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.127) 0:00:04.460 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.7553754, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "58b2da6983d5fb79d05f12370288cd1fa80cd465", "ctime": 1714467511.1353705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466905.3333704, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "760815222", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.129) 0:00:04.590 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.009) 0:00:04.600 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.119) 0:00:04.720 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Saturday 04 May 2024 13:44:29 +0000 (0:00:00.119) 0:00:04.839 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.116) 0:00:04.956 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.009) 0:00:04.966 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.007) 0:00:04.973 ********** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.189) 0:00:05.162 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:29 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.008) 0:00:05.171 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:34 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.116) 0:00:05.287 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:41 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.009) 0:00:05.297 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.021) 0:00:05.319 ********** included: /WORKDIR/git-weekly-cisziswy96/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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.010) 0:00:05.329 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.008) 0:00:05.338 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.007) 0:00:05.346 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.007) 0:00:05.353 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.019) 0:00:05.372 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 04 May 2024 13:44:30 +0000 (0:00:00.008) 0:00:05.381 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.561) 0:00:05.942 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.339386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1714466830.2333705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466830.2333705, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "760802952", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.130) 0:00:06.073 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.009) 0:00:06.083 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.007) 0:00:06.090 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.113) 0:00:06.204 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.014) 0:00:06.218 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.339386, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1714466830.2333705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466830.2333705, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "760802952", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.128) 0:00:06.346 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1714830257.7553754, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "58b2da6983d5fb79d05f12370288cd1fa80cd465", "ctime": 1714467511.1353705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1714466905.3333704, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "760815222", "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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.130) 0:00:06.477 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.009) 0:00:06.486 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.119) 0:00:06.606 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.120) 0:00:06.726 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.114) 0:00:06.841 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.009) 0:00:06.851 ********** 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-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Saturday 04 May 2024 13:44:31 +0000 (0:00:00.007) 0:00:06.858 ********** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Saturday 04 May 2024 13:44:32 +0000 (0:00:00.123) 0:00:06.981 ********** 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 04 May 2024 13:44:32 +0000 (0:00:00.007) 0:00:06.989 ********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 1.13s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 0.71s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Generate boot loader password ----------- 0.45s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.44s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.39s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.31s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.26s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.26s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.26s /WORKDIR/git-weekly-cisziswy96/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.24s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.24s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.23s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Determine platform type ----------------- 0.23s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 linux-system-roles.bootloader : Check if system is ostree --------------- 0.19s /WORKDIR/git-weekly-cisziswy96/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.17s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.16s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.13s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.13s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.12s /WORKDIR/git-weekly-cisziswy96/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.12s /WORKDIR/git-weekly-cisziswy96/tests/tests_password.yml:15 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---