# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-password-efienqea0xb/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /WORKDIR/git-password-efienqea0xb/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Run with default parameters] ********************************************* task path: /WORKDIR/git-password-efienqea0xb/tests/tests_default.yml:9 Monday 03 June 2024 14:19:15 +0000 (0:00:00.037) 0:00:00.037 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 14:19:15 +0000 (0:00:00.021) 0:00:00.059 *********** included: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 14:19:15 +0000 (0:00:00.010) 0:00:00.069 *********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 14:19:16 +0000 (0:00:00.618) 0:00:00.687 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 14:19:16 +0000 (0:00:00.278) 0:00:00.965 *********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 14:19:16 +0000 (0:00:00.013) 0:00:00.979 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 14:19:16 +0000 (0:00:00.017) 0:00:00.996 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 14:19:16 +0000 (0:00:00.007) 0:00:01.004 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 03 June 2024 14:19:19 +0000 (0:00:02.672) 0:00:03.676 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902477.095, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716902607.934, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 163486, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902476.564, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1330585553", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 03 June 2024 14:19:19 +0000 (0:00:00.237) 0:00:03.914 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 03 June 2024 14:19:19 +0000 (0:00:00.008) 0:00:03.922 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 03 June 2024 14:19:19 +0000 (0:00:00.006) 0:00:03.929 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 03 June 2024 14:19:19 +0000 (0:00:00.217) 0:00:04.146 *********** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 03 June 2024 14:19:19 +0000 (0:00:00.022) 0:00:04.169 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1717424359.3627505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716902607.934, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 163486, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902476.564, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1330585553", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 03 June 2024 14:19:19 +0000 (0:00:00.239) 0:00:04.408 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902479.31, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "997af8abc0b5f938e6a3f2541f0b19287c421850", "ctime": 1716902479.31, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716902479.31, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "3086758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 03 June 2024 14:19:20 +0000 (0:00:00.252) 0:00:04.660 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "configfile", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.003672", "end": "2024-06-03 14:19:20.419748", "rc": 1, "start": "2024-06-03 14:19:20.416076" } MSG: non-zero return code TASK [Assert failure on s390x architecture] ************************************ task path: /WORKDIR/git-password-efienqea0xb/tests/tests_default.yml:13 Monday 03 June 2024 14:19:20 +0000 (0:00:00.300) 0:00:04.961 *********** included: /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml for sut TASK [Assert failure] ********************************************************** task path: /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml:6 Monday 03 June 2024 14:19:20 +0000 (0:00:00.011) 0:00:04.973 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [End execution on s390x host to avoid failures in clean up] *************** task path: /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml:12 Monday 03 June 2024 14:19:20 +0000 (0:00:00.006) 0:00:04.979 *********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Fail if in a rescue block] *********************************************** task path: /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml:17 Monday 03 June 2024 14:19:20 +0000 (0:00:00.001) 0:00:04.981 *********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'stdout': '', 'stderr': '', 'rc': 1, 'cmd': ['grep', 'configfile', '/boot/grub2/grub.cfg'], 'start': '2024-06-03 14:19:20.416076', 'end': '2024-06-03 14:19:20.419748', 'delta': '0:00:00.003672', 'failed': True, 'msg': 'non-zero return code', 'invocation': {'module_args': {'_raw_params': 'grep configfile /boot/grub2/grub.cfg', '_uses_shell': False, 'expand_argument_vars': True, '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': None} 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 14:19:20 +0000 (0:00:00.012) 0:00:04.994 *********** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.67s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.62s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Verify if there is a stub config in /boot/grub2/grub.cfg --- 0.30s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.28s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.25s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.24s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.24s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.22s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Run with default parameters --------------------------------------------- 0.02s /WORKDIR/git-password-efienqea0xb/tests/tests_default.yml:9 ------------------- fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Fail if in a rescue block ----------------------------------------------- 0.01s /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml:17 ----- Assert failure on s390x architecture ------------------------------------ 0.01s /WORKDIR/git-password-efienqea0xb/tests/tests_default.yml:13 ------------------ fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel --- 0.01s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 fedora.linux_system_roles.bootloader : Fail on s390x architecture ------- 0.01s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Generate /etc/default/grub ------- 0.01s /WORKDIR/git-password-efienqea0xb/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Assert failure ---------------------------------------------------------- 0.01s /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml:6 ------ End execution on s390x host to avoid failures in clean up --------------- 0.00s /WORKDIR/git-password-efienqea0xb/tests/tasks/assert_fail_on_s390x.yml:12 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---