# 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_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-ciqqhgbyn6/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 13 January 2024 13:48:33 +0000 (0:00:00.013) 0:00:00.013 ****** included: /WORKDIR/git-weekly-ciqqhgbyn6/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-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 13 January 2024 13:48:33 +0000 (0:00:00.012) 0:00:00.026 ****** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 13 January 2024 13:48:34 +0000 (0:00:00.473) 0:00:00.499 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 13 January 2024 13:48:34 +0000 (0:00:00.249) 0:00:00.749 ****** 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-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 13 January 2024 13:48:34 +0000 (0:00:00.019) 0:00:00.769 ****** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 13 January 2024 13:48:34 +0000 (0:00:00.027) 0:00:00.796 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 13 January 2024 13:48:36 +0000 (0:00:02.281) 0:00:03.077 ****** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Get grub directory stat] ***************** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 13 January 2024 13:48:37 +0000 (0:00:00.232) 0:00:03.310 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1702395008.937, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702394919.162, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6621922, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702394919.162, "nlink": 2, "path": "/etc/default", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 33, "uid": 0, "version": "1681011101", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.bootloader : Ensure grub directory exists] ************ task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Saturday 13 January 2024 13:48:37 +0000 (0:00:00.193) 0:00:03.504 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/default", "secontext": "system_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [linux-system-roles.bootloader : Get grub config stat] ******************** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:32 Saturday 13 January 2024 13:48:37 +0000 (0:00:00.265) 0:00:03.769 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1702394919.324, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1702394919.162, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6989296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1702394919.162, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2179725826", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:37 Saturday 13 January 2024 13:48:37 +0000 (0:00:00.198) 0:00:03.967 ****** ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.252) 0:00:04.220 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:52 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.175) 0:00:04.395 ****** 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 : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.020) 0:00:04.416 ****** 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-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.023) 0:00:04.440 ****** 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-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.007) 0:00:04.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.007) 0:00:04.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=12 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Saturday 13 January 2024 13:48:38 +0000 (0:00:00.006) 0:00:04.461 ****** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.28s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.47s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Ensure grub directory exists ------------ 0.27s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.25s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:37 linux-system-roles.bootloader : Check if system is ostree --------------- 0.25s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.23s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get grub config stat -------------------- 0.20s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:32 linux-system-roles.bootloader : Get grub directory stat ----------------- 0.19s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Determine platform type ----------------- 0.18s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Generate boot loader password ----------- 0.02s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:52 linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.01s /WORKDIR/git-weekly-ciqqhgbyn6/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---