# 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-ciq31hj6y4/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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 24 February 2024 13:32:03 +0000 (0:00:00.014) 0:00:00.014 ***** included: /WORKDIR/git-weekly-ciq31hj6y4/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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 24 February 2024 13:32:03 +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-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 24 February 2024 13:32:03 +0000 (0:00:00.552) 0:00:00.578 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 24 February 2024 13:32:03 +0000 (0:00:00.252) 0:00:00.831 ***** 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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 24 February 2024 13:32:03 +0000 (0:00:00.033) 0:00:00.864 ***** 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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 24 February 2024 13:32:03 +0000 (0:00:00.043) 0:00:00.908 ***** 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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 24 February 2024 13:32:06 +0000 (0:00:02.333) 0:00:03.242 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 24 February 2024 13:32:06 +0000 (0:00:00.247) 0:00:03.489 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Saturday 24 February 2024 13:32:06 +0000 (0:00:00.176) 0:00:03.666 ***** 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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Saturday 24 February 2024 13:32:06 +0000 (0:00:00.031) 0:00:03.698 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708435641.64, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Saturday 24 February 2024 13:32:06 +0000 (0:00:00.190) 0:00:03.888 ***** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.274) 0:00:04.163 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708435642.279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "55c60a165805597c8679516c698bebeaff82c38b", "ctime": 1708435642.279, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2485714, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708435642.279, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2631421142", "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-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.195) 0:00:04.358 ***** changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.178) 0:00:04.536 ***** 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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.011) 0:00:04.548 ***** 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-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.009) 0:00:04.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.010) 0:00:04.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=12 changed=1 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Saturday 24 February 2024 13:32:07 +0000 (0:00:00.008) 0:00:04.576 ***** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.33s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.55s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.27s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Check if system is ostree --------------- 0.25s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.25s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.20s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.19s /WORKDIR/git-weekly-ciq31hj6y4/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.18s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.18s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Set platform/version specific variables --- 0.04s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.03s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.03s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Generate boot loader password ----------- 0.01s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-weekly-ciq31hj6y4/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-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.01s /WORKDIR/git-weekly-ciq31hj6y4/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---