# 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-cioghmkigt/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-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Sunday 11 August 2024 02:02:29 +0000 (0:00:00.014) 0:00:00.014 ********* included: /WORKDIR/git-weekly-cioghmkigt/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-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Sunday 11 August 2024 02:02:29 +0000 (0:00:00.024) 0:00:00.038 ********* ok: [sut] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.485) 0:00:00.524 ********* 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_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.034) 0:00:00.558 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.261) 0:00:00.820 ********* 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-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.020) 0:00:00.840 ********* 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-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.008) 0:00:00.848 ********* ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.006) 0:00:00.854 ********* included: /WORKDIR/git-weekly-cioghmkigt/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-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.025) 0:00:00.880 ********* fatal: [sut]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: ['python3-blivet', 'libblockdev-crypto', 'libblockdev-dm', 'libblockdev-lvm', 'libblockdev-mdraid', 'libblockdev-swap', 'vdo', 'kmod-kvdo', 'xfsprogs', 'stratisd', 'stratis-cli', "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"]: 'ansible_architecture' is undefined The error appears to be in '/WORKDIR/git-weekly-cioghmkigt/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 Sunday 11 August 2024 02:02:30 +0000 (0:00:00.018) 0:00:00.898 ********* =============================================================================== linux-system-roles.storage : Ensure ansible_facts used by role ---------- 0.49s /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 linux-system-roles.storage : Check if system is ostree ------------------ 0.26s /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 linux-system-roles.storage : Set platform/version specific variables ---- 0.03s /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 linux-system-roles.storage : Include the appropriate provider tasks ----- 0.03s /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:13 linux-system-roles.storage : Set platform/version specific variables ---- 0.02s /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:2 linux-system-roles.storage : Set flag to indicate system is ostree ------ 0.02s /WORKDIR/git-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 linux-system-roles.storage : Make sure blivet is available -------------- 0.02s /WORKDIR/git-weekly-cioghmkigt/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-weekly-cioghmkigt/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-weekly-cioghmkigt/tests/roles/linux-system-roles.storage/tasks/main.yml:9 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---