# 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-mainuoq5auna/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Friday 09 August 2024 00:00:38 +0000 (0:00:00.013) 0:00:00.013 ********* included: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for sut TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Friday 09 August 2024 00:00:38 +0000 (0:00:00.019) 0:00:00.033 ********* ok: [sut] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Friday 09 August 2024 00:00:38 +0000 (0:00:00.484) 0:00:00.517 ********* 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" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Friday 09 August 2024 00:00:38 +0000 (0:00:00.030) 0:00:00.548 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Friday 09 August 2024 00:00:38 +0000 (0:00:00.183) 0:00:00.731 ********* ok: [sut] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Friday 09 August 2024 00:00:38 +0000 (0:00:00.020) 0:00:00.751 ********* ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Friday 09 August 2024 00:00:38 +0000 (0:00:00.007) 0:00:00.759 ********* ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Friday 09 August 2024 00:00:38 +0000 (0:00:00.006) 0:00:00.765 ********* included: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for sut TASK [linux-system-roles.storage : Make sure blivet is available] ************** task path: /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Friday 09 August 2024 00:00:38 +0000 (0:00:00.024) 0:00:00.790 ********* fatal: [sut]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: ['python-enum34', 'python-blivet3', 'libblockdev-crypto', 'libblockdev-dm', 'libblockdev-lvm', 'libblockdev-mdraid', 'libblockdev-swap', "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"]: 'ansible_architecture' is undefined The error appears to be in '/WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Make sure blivet is available ^ here to retry, use: --limit @/tmp/tests_default.retry PLAY RECAP ********************************************************************* sut : ok=8 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Friday 09 August 2024 00:00:38 +0000 (0:00:00.016) 0:00:00.807 ********* =============================================================================== linux-system-roles.storage : Ensure ansible_facts used by role ---------- 0.48s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 linux-system-roles.storage : Check if system is ostree ------------------ 0.18s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 linux-system-roles.storage : Set platform/version specific variables ---- 0.03s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 linux-system-roles.storage : Include the appropriate provider tasks ----- 0.02s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:13 linux-system-roles.storage : Set flag to indicate system is ostree ------ 0.02s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 linux-system-roles.storage : Set platform/version specific variables ---- 0.02s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:2 linux-system-roles.storage : Make sure blivet is available -------------- 0.02s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 linux-system-roles.storage : Define an empty list of pools to be used in testing --- 0.01s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:5 linux-system-roles.storage : Define an empty list of volumes to be used in testing --- 0.01s /WORKDIR/git-mainuoq5auna/tests/roles/linux-system-roles.storage/tasks/main.yml:9 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---