# 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-weekly-cipxtd6e_t/.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_mount_verify_fail.yml ****************************************** 1 plays in /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml PLAY [Verify mount action fails with wrong mount point] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml:2 Saturday 20 July 2024 22:39:50 +0000 (0:00:00.036) 0:00:00.036 ********* ok: [sut] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml:19 Saturday 20 July 2024 22:39:50 +0000 (0:00:00.735) 0:00:00.772 ********* included: /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml:10 Saturday 20 July 2024 22:39:50 +0000 (0:00:00.011) 0:00:00.784 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set mount parent] ******************************************************** task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml:15 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.181) 0:00:00.965 ********* ok: [sut] => { "ansible_facts": { "test_mnt_parent": "/mnt" }, "changed": false } TASK [Run the storage role install base packages] ****************************** task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml:19 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.019) 0:00:00.984 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.015) 0:00:01.000 ********* included: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.013) 0:00:01.013 ********* skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.019) 0:00:01.032 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.024) 0:00:01.056 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.124) 0:00:01.181 ********* ok: [sut] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.014) 0:00:01.195 ********* ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.009) 0:00:01.204 ********* ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.008) 0:00:01.213 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.025) 0:00:01.239 ********* fatal: [sut]: FAILED! => { "changed": false } MSG: Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64 TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml:93 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.529) 0:00:01.768 ********* included: /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/cleanup.yml for sut TASK [Remove storage volumes] ************************************************** task path: /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/cleanup.yml:7 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.011) 0:00:01.780 ********* TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.012) 0:00:01.793 ********* included: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.011) 0:00:01.805 ********* skipping: [sut] => { "changed": false, "false_condition": "__storage_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.018) 0:00:01.823 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.024) 0:00:01.847 ********* skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.012) 0:00:01.860 ********* skipping: [sut] => { "changed": false, "false_condition": "not __storage_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.011) 0:00:01.872 ********* ok: [sut] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.010) 0:00:01.882 ********* ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.011) 0:00:01.893 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for sut TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Saturday 20 July 2024 22:39:51 +0000 (0:00:00.025) 0:00:01.919 ********* fatal: [sut]: FAILED! => { "changed": false } MSG: Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64 to retry, use: --limit @/tmp/tests_mount_verify_fail.retry PLAY RECAP ********************************************************************* sut : ok=17 changed=0 unreachable=0 failed=2 skipped=4 rescued=0 ignored=0 Saturday 20 July 2024 22:39:52 +0000 (0:00:00.414) 0:00:02.334 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml:2 ------------ fedora.linux_system_roles.storage : Make sure blivet is available ------- 0.53s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Make sure blivet is available ------- 0.41s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml:10 ----------------------- fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.12s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 fedora.linux_system_roles.storage : Include the appropriate provider tasks --- 0.03s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 fedora.linux_system_roles.storage : Include the appropriate provider tasks --- 0.03s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Set mount parent -------------------------------------------------------- 0.02s /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml:15 ----------------------- fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Run the storage role install base packages ------------------------------ 0.02s /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/setup.yml:19 ----------------------- fedora.linux_system_roles.storage : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Remove storage volumes -------------------------------------------------- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/tests/tasks/cleanup.yml:7 ---------------------- fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Cleanup ----------------------------------------------------------------- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml:93 ----------- Setup ------------------------------------------------------------------- 0.01s /WORKDIR/git-weekly-cipxtd6e_t/tests/tests_mount_verify_fail.yml:19 ----------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---