# 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-fix-timeoutvh8n6hnw/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:9 Thursday 08 February 2024 17:03:04 +0000 (0:00:00.013) 0:00:00.013 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:03:04 +0000 (0:00:00.025) 0:00:00.039 ***** included: /WORKDIR/git-fix-timeoutvh8n6hnw/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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:03:04 +0000 (0:00:00.015) 0:00:00.054 ***** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:03:05 +0000 (0:00:00.325) 0:00:00.380 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:03:05 +0000 (0:00:00.250) 0:00:00.630 ***** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:03:05 +0000 (0:00:00.020) 0:00:00.650 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:03:05 +0000 (0:00:00.027) 0:00:00.678 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:03:06 +0000 (0:00:00.703) 0:00:01.381 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:03:06 +0000 (0:00:00.212) 0:00:01.594 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:03:06 +0000 (0:00:00.113) 0:00:01.707 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:03:06 +0000 (0:00:00.053) 0:00:01.761 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411778.592181, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1705650374.649217, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16962561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705650374.649217, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072330479348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:03:06 +0000 (0:00:00.130) 0:00:01.891 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:03:06 +0000 (0:00:00.198) 0:00:02.090 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411779.2551498, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a5cfdb89a4ec72e6b8586b23320b4532109a649d", "ctime": 1707411779.2561498, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601410, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411779.2551498, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4279, "uid": 0, "version": "18446744073595581794", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:03:07 +0000 (0:00:00.131) 0:00:02.221 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:03:07 +0000 (0:00:00.119) 0:00:02.341 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:03:07 +0000 (0:00:00.482) 0:00:02.823 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.469) 0:00:03.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.012) 0:00:03.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:15 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.034) 0:00:03.340 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002978", "end": "2024-02-08 17:03:08.334806", "failed_when_result": false, "rc": 0, "start": "2024-02-08 17:03:08.331828" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.35CBA2906FB5AE5F91885D0957A804A45663BFA6668E6886850C7F092038CE513F6E82BB4E7F462328BAD5336825993B7BA9C27C7CFACB3FE959AB2AFA7671A6.3CC60E847123F7C266C95B430FC00662EE8574A783144DF1D257336A2DD8201850F3991D2B595B01D63DE536A9E001571B3B956A419D8E8E2048A9CAE53585E8 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:23 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.132) 0:00:03.473 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.041) 0:00:03.514 ***** included: /WORKDIR/git-fix-timeoutvh8n6hnw/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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.013) 0:00:03.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.016) 0:00:03.545 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.010) 0:00:03.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.009) 0:00:03.565 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:03:08 +0000 (0:00:00.020) 0:00:03.586 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.565) 0:00:04.151 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.120) 0:00:04.272 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.122) 0:00:04.394 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.034) 0:00:04.429 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411778.592181, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1705650374.649217, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16962561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705650374.649217, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072330479348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.128) 0:00:04.557 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.122) 0:00:04.680 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411787.0767825, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a5cfdb89a4ec72e6b8586b23320b4532109a649d", "ctime": 1707411779.2561498, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601410, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411779.2551498, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4279, "uid": 0, "version": "18446744073595581794", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.130) 0:00:04.810 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.117) 0:00:04.928 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.009) 0:00:04.937 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:03:09 +0000 (0:00:00.007) 0:00:04.945 ***** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.207) 0:00:05.152 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:29 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.010) 0:00:05.162 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:34 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.115) 0:00:05.278 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:38 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.013) 0:00:05.291 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.024) 0:00:05.315 ***** included: /WORKDIR/git-fix-timeoutvh8n6hnw/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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.019) 0:00:05.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.016) 0:00:05.351 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.009) 0:00:05.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.008) 0:00:05.369 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.020) 0:00:05.390 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 08 February 2024 17:03:10 +0000 (0:00:00.637) 0:00:06.027 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.119) 0:00:06.147 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.115) 0:00:06.262 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.014) 0:00:06.277 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411778.592181, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1705650374.649217, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16962561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705650374.649217, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744072330479348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.129) 0:00:06.406 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.128) 0:00:06.535 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707411787.0767825, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a5cfdb89a4ec72e6b8586b23320b4532109a649d", "ctime": 1707411779.2561498, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601410, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707411779.2551498, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4279, "uid": 0, "version": "18446744073595581794", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.210) 0:00:06.745 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.120) 0:00:06.866 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.008) 0:00:06.875 ***** 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-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.007) 0:00:06.882 ***** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.125) 0:00:07.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=37 changed=3 unreachable=0 failed=0 skipped=17 rescued=0 ignored=0 Thursday 08 February 2024 17:03:11 +0000 (0:00:00.012) 0:00:07.021 ***** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 1.20s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 0.70s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Generate boot loader password ----------- 0.48s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.47s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.34s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.33s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.33s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.26s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.25s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Check if system is ostree --------------- 0.25s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.24s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.24s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.24s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.21s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.20s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.13s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:15 ------------------ linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.13s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.13s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.12s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.12s /WORKDIR/git-fix-timeoutvh8n6hnw/tests/tests_password.yml:29 ------------------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---