# 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-ciry765bcw/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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 08 August 2024 21:42:23 +0000 (0:00:00.014) 0:00:00.014 ******* included: /WORKDIR/git-weekly-ciry765bcw/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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.020) 0:00:00.034 ******* ok: [sut] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.515) 0:00:00.549 ******* 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_9.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-ciry765bcw/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [sut] => (item=CentOS_9.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-ciry765bcw/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.035) 0:00:00.585 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.264) 0:00:00.849 ******* 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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.020) 0:00:00.870 ******* 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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.007) 0:00:00.878 ******* ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : Include the appropriate provider tasks] ***** task path: /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.007) 0:00:00.886 ******* included: /WORKDIR/git-weekly-ciry765bcw/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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.027) 0:00:00.913 ******* 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-ciry765bcw/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 Thursday 08 August 2024 21:42:24 +0000 (0:00:00.024) 0:00:00.937 ******* =============================================================================== linux-system-roles.storage : Ensure ansible_facts used by role ---------- 0.52s /WORKDIR/git-weekly-ciry765bcw/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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:26 linux-system-roles.storage : Set platform/version specific variables ---- 0.04s /WORKDIR/git-weekly-ciry765bcw/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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:13 linux-system-roles.storage : Make sure blivet is available -------------- 0.02s /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 linux-system-roles.storage : Set flag to indicate system is ostree ------ 0.02s /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:31 linux-system-roles.storage : Set platform/version specific variables ---- 0.02s /WORKDIR/git-weekly-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:2 linux-system-roles.storage : Define an empty list of pools to be used in testing --- 0.01s /WORKDIR/git-weekly-ciry765bcw/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-ciry765bcw/tests/roles/linux-system-roles.storage/tasks/main.yml:9 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---