# 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-password-efi9chg1pa3/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Run with default parameters] ********************************************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/tests_default.yml:9 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.013) 0:00:00.014 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.027) 0:00:00.041 ********** included: /WORKDIR/git-password-efi9chg1pa3/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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.012) 0:00:00.054 ********** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.597) 0:00:00.651 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.314) 0:00:00.966 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.043) 0:00:01.009 ********** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.078) 0:00:01.088 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.055) 0:00:01.144 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Tuesday 04 June 2024 07:03:27 +0000 (0:00:02.608) 0:00:03.753 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902332.367, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Tuesday 04 June 2024 07:03:27 +0000 (0:00:00.251) 0:00:04.004 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Tuesday 04 June 2024 07:03:27 +0000 (0:00:00.012) 0:00:04.017 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Tuesday 04 June 2024 07:03:27 +0000 (0:00:00.008) 0:00:04.025 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Tuesday 04 June 2024 07:03:27 +0000 (0:00:00.178) 0:00:04.204 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Tuesday 04 June 2024 07:03:27 +0000 (0:00:00.016) 0:00:04.221 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484607.6377416, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.228) 0:00:04.449 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902333.1, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5be5f7ec89cf2fca9558ff18907e68ecdeb45f33", "ctime": 1716902333.101, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 650023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716902333.101, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "489559145", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.222) 0:00:04.671 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005036", "end": "2024-06-04 07:03:28.625078", "rc": 0, "start": "2024-06-04 07:03:28.620042" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.317) 0:00:04.989 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.044) 0:00:05.034 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.283) 0:00:05.317 ********** changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.190) 0:00:05.507 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.278) 0:00:05.785 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.025) 0:00:05.811 ********** 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-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.019) 0:00:05.831 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.011) 0:00:05.842 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=14 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.016) 0:00:05.858 ********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.61s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.60s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.32s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Check if system is ostree --------------- 0.31s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.28s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.28s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.25s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.23s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.22s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.19s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 linux-system-roles.bootloader : Determine platform type ----------------- 0.18s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 linux-system-roles.bootloader : Set platform/version specific variables --- 0.08s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Fail on s390x architecture -------------- 0.06s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config --- 0.04s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.04s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Run with default parameters --------------------------------------------- 0.03s /WORKDIR/git-password-efi9chg1pa3/tests/tests_default.yml:9 ------------------- linux-system-roles.bootloader : Generate boot loader password ----------- 0.03s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.02s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.02s /WORKDIR/git-password-efi9chg1pa3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---