# 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-efig2kv09f3/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-efig2kv09f3/tests/tests_default.yml:9 Monday 03 June 2024 16:55:14 +0000 (0:00:00.014) 0:00:00.014 *********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 03 June 2024 16:55:14 +0000 (0:00:00.028) 0:00:00.043 *********** included: /WORKDIR/git-password-efig2kv09f3/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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 16:55:14 +0000 (0:00:00.013) 0:00:00.056 *********** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 03 June 2024 16:55:15 +0000 (0:00:00.541) 0:00:00.598 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 03 June 2024 16:55:15 +0000 (0:00:00.248) 0:00:00.846 *********** 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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 03 June 2024 16:55:15 +0000 (0:00:00.019) 0:00:00.865 *********** 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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 03 June 2024 16:55:15 +0000 (0:00:00.027) 0:00:00.892 *********** 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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 03 June 2024 16:55:15 +0000 (0:00:00.016) 0:00:00.909 *********** 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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 03 June 2024 16:55:18 +0000 (0:00:02.397) 0:00:03.307 *********** 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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Monday 03 June 2024 16:55:18 +0000 (0:00:00.190) 0:00:03.498 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Monday 03 June 2024 16:55:18 +0000 (0:00:00.010) 0:00:03.508 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Monday 03 June 2024 16:55:18 +0000 (0:00:00.009) 0:00:03.518 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 03 June 2024 16:55:18 +0000 (0:00:00.170) 0:00:03.688 *********** 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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Monday 03 June 2024 16:55:18 +0000 (0:00:00.015) 0:00:03.704 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717433718.204859, "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-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 03 June 2024 16:55:18 +0000 (0:00:00.189) 0:00:03.894 *********** 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 stub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Monday 03 June 2024 16:55:18 +0000 (0:00:00.195) 0:00:04.089 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "configfile", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.003632", "end": "2024-06-03 16:55:19.060599", "rc": 1, "start": "2024-06-03 16:55:19.056967" } MSG: non-zero return code TASK [Assert failure on s390x architecture] ************************************ task path: /WORKDIR/git-password-efig2kv09f3/tests/tests_default.yml:13 Monday 03 June 2024 16:55:19 +0000 (0:00:00.252) 0:00:04.342 *********** included: /WORKDIR/git-password-efig2kv09f3/tests/tasks/assert_fail_on_s390x.yml for sut TASK [Assert failure] ********************************************************** task path: /WORKDIR/git-password-efig2kv09f3/tests/tasks/assert_fail_on_s390x.yml:6 Monday 03 June 2024 16:55:19 +0000 (0:00:00.012) 0:00:04.354 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Fail if in a rescue block] *********************************************** task path: /WORKDIR/git-password-efig2kv09f3/tests/tasks/assert_fail_on_s390x.yml:17 Monday 03 June 2024 16:55:19 +0000 (0:00:00.010) 0:00:04.364 *********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'msg': 'non-zero return code', 'cmd': ['grep', 'configfile', '/boot/grub2/grub.cfg'], 'stdout': '', 'stderr': '', 'rc': 1, 'start': '2024-06-03 16:55:19.056967', 'end': '2024-06-03 16:55:19.060599', 'delta': '0:00:00.003632', 'changed': False, 'failed': True, 'invocation': {'module_args': {'_raw_params': 'grep configfile /boot/grub2/grub.cfg', 'warn': True, '_uses_shell': False, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'stdout_lines': [], 'stderr_lines': [], '_ansible_no_log': False} to retry, use: --limit @/tmp/tests_default.retry PLAY RECAP ********************************************************************* sut : ok=11 changed=0 unreachable=0 failed=1 skipped=5 rescued=1 ignored=0 Monday 03 June 2024 16:55:19 +0000 (0:00:00.009) 0:00:04.373 *********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.40s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.54s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Verify if there is a stub config in /boot/grub2/grub.cfg --- 0.25s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Check if system is ostree --------------- 0.25s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.20s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.19s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.19s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Determine platform type ----------------- 0.17s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Run with default parameters --------------------------------------------- 0.03s /WORKDIR/git-password-efig2kv09f3/tests/tests_default.yml:9 ------------------- linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Fail on s390x architecture -------------- 0.02s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Assert failure on s390x architecture ------------------------------------ 0.01s /WORKDIR/git-password-efig2kv09f3/tests/tests_default.yml:13 ------------------ linux-system-roles.bootloader : Get bootloader args of the default kernel --- 0.01s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Assert failure ---------------------------------------------------------- 0.01s /WORKDIR/git-password-efig2kv09f3/tests/tasks/assert_fail_on_s390x.yml:6 ------ Fail if in a rescue block ----------------------------------------------- 0.01s /WORKDIR/git-password-efig2kv09f3/tests/tasks/assert_fail_on_s390x.yml:17 ----- linux-system-roles.bootloader : Generate /etc/default/grub -------------- 0.01s /WORKDIR/git-password-efig2kv09f3/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---