# 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-09xn5kqlex/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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 09 January 2024 17:50:46 +0000 (0:00:00.013) 0:00:00.013 ******* included: /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 17:50:46 +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-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 09 January 2024 17:50:46 +0000 (0:00:00.429) 0:00:00.456 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 09 January 2024 17:50:46 +0000 (0:00:00.258) 0:00:00.714 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 09 January 2024 17:50:46 +0000 (0:00:00.020) 0:00:00.735 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 09 January 2024 17:50:46 +0000 (0:00:00.027) 0:00:00.762 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 09 January 2024 17:50:50 +0000 (0:00:03.378) 0:00:04.141 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Get grub directory stat] ***************** task path: /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Tuesday 09 January 2024 17:50:50 +0000 (0:00:00.257) 0:00:04.398 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702395070.53, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1702394992.743, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 3913820, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1702394992.743, "nlink": 2, "path": "/etc/default", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 33, "uid": 0, "version": "3297326266", "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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Tuesday 09 January 2024 17:50:50 +0000 (0:00:00.204) 0:00:04.603 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:32 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.288) 0:00:04.892 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1702394992.953, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1702394992.744, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2102124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1702394992.744, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3343437215", "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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:37 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.205) 0:00:05.097 ******* ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.260) 0:00:05.358 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:52 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.182) 0:00:05.541 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.020) 0:00:05.561 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.023) 0:00:05.585 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.007) 0:00:05.592 ******* 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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Tuesday 09 January 2024 17:50:51 +0000 (0:00:00.007) 0:00:05.599 ******* 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:50:51 +0000 (0:00:00.006) 0:00:05.606 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 3.38s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.43s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Ensure grub directory exists ------------ 0.29s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:37 linux-system-roles.bootloader : Check if system is ostree --------------- 0.26s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.26s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get grub config stat -------------------- 0.21s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:32 linux-system-roles.bootloader : Get grub directory stat ----------------- 0.20s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/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-09xn5kqlex/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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Generate boot loader password ----------- 0.02s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/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-09xn5kqlex/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-09xn5kqlex/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-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.01s /WORKDIR/git-update-ostree-data-2024-01-09xn5kqlex/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---