# 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-update-ostree-data-2024-01-09r8m3wt5o/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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 09 January 2024 17:59:08 +0000 (0:00:00.013) 0:00:00.013 ******* included: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 17:59:08 +0000 (0:00:00.011) 0:00:00.025 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 09 January 2024 17:59:08 +0000 (0:00:00.464) 0:00:00.489 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 09 January 2024 17:59:09 +0000 (0:00:00.243) 0:00:00.733 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 09 January 2024 17:59:09 +0000 (0:00:00.017) 0:00:00.751 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 09 January 2024 17:59:09 +0000 (0:00:00.026) 0:00:00.777 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 09 January 2024 17:59:11 +0000 (0:00:02.218) 0:00:02.995 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Get grub directory stat] ***************** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Tuesday 09 January 2024 17:59:11 +0000 (0:00:00.230) 0:00:03.226 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Tuesday 09 January 2024 17:59:11 +0000 (0:00:00.192) 0:00:03.419 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:32 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.261) 0:00:03.681 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:37 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.197) 0:00:03.878 ******* ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.258) 0:00:04.137 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:52 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.175) 0:00:04.312 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.021) 0:00:04.334 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.025) 0:00:04.359 ******* 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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.007) 0:00:04.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.006) 0:00:04.373 ******* 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 Tuesday 09 January 2024 17:59:12 +0000 (0:00:00.006) 0:00:04.380 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.22s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.46s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Ensure grub directory exists ------------ 0.26s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.26s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:37 linux-system-roles.bootloader : Check if system is ostree --------------- 0.24s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.23s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get grub config stat -------------------- 0.20s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:32 linux-system-roles.bootloader : Get grub directory stat ----------------- 0.19s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Determine platform type ----------------- 0.18s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Generate boot loader password ----------- 0.03s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/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-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.01s /WORKDIR/git-update-ostree-data-2024-01-09r8m3wt5o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---