# 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-module_work2a8u04cw/.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-module_work2a8u04cw/tests/tests_mount_verify_fail.yml PLAY [Verify mount action fails with wrong mount point] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-module_work2a8u04cw/tests/tests_mount_verify_fail.yml:2 Wednesday 19 June 2024 14:16:25 +0000 (0:00:00.033) 0:00:00.033 ******** ok: [sut] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-module_work2a8u04cw/tests/tests_mount_verify_fail.yml:19 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.865) 0:00:00.898 ******** included: /WORKDIR/git-module_work2a8u04cw/tests/tasks/setup.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-module_work2a8u04cw/tests/tasks/setup.yml:10 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.011) 0:00:00.910 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set mount parent] ******************************************************** task path: /WORKDIR/git-module_work2a8u04cw/tests/tasks/setup.yml:15 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.257) 0:00:01.168 ******** ok: [sut] => { "ansible_facts": { "test_mnt_parent": "/mnt" }, "changed": false } TASK [Run the storage role install base packages] ****************************** task path: /WORKDIR/git-module_work2a8u04cw/tests/tasks/setup.yml:19 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.029) 0:00:01.198 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.015) 0:00:01.213 ******** included: /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.013) 0:00:01.227 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.019) 0:00:01.247 ******** 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_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" ] }, "ansible_included_var_files": [ "/WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/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" ] }, "ansible_included_var_files": [ "/WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.027) 0:00:01.274 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.194) 0:00:01.468 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.015) 0:00:01.483 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.008) 0:00:01.492 ******** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.009) 0:00:01.502 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 19 June 2024 14:16:26 +0000 (0:00:00.027) 0:00:01.529 ******** fatal: [sut]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-module_work2a8u04cw/tests/tests_mount_verify_fail.yml:93 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.805) 0:00:02.335 ******** included: /WORKDIR/git-module_work2a8u04cw/tests/tasks/cleanup.yml for sut TASK [Remove storage volumes] ************************************************** task path: /WORKDIR/git-module_work2a8u04cw/tests/tasks/cleanup.yml:7 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.011) 0:00:02.346 ******** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.012) 0:00:02.358 ******** included: /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.011) 0:00:02.369 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.017) 0:00:02.386 ******** 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_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" ] }, "ansible_included_var_files": [ "/WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/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" ] }, "ansible_included_var_files": [ "/WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.024) 0:00:02.411 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.010) 0:00:02.422 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.010) 0:00:02.433 ******** 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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.009) 0:00:02.442 ******** ok: [sut] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.008) 0:00:02.451 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 19 June 2024 14:16:27 +0000 (0:00:00.022) 0:00:02.473 ******** fatal: [sut]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist 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 Wednesday 19 June 2024 14:16:28 +0000 (0:00:00.695) 0:00:03.169 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-module_work2a8u04cw/tests/tests_mount_verify_fail.yml:2 ---------- fedora.linux_system_roles.storage : Make sure blivet is available ------- 0.81s /WORKDIR/git-module_work2a8u04cw/.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.70s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-module_work2a8u04cw/tests/tasks/setup.yml:10 --------------------- fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.19s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Set mount parent -------------------------------------------------------- 0.03s /WORKDIR/git-module_work2a8u04cw/tests/tasks/setup.yml:15 --------------------- fedora.linux_system_roles.storage : Include the appropriate provider tasks --- 0.03s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.03s /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 fedora.linux_system_roles.storage : Include the appropriate provider tasks --- 0.02s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/tests/tasks/setup.yml:19 --------------------- fedora.linux_system_roles.storage : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-module_work2a8u04cw/.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-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Remove storage volumes -------------------------------------------------- 0.01s /WORKDIR/git-module_work2a8u04cw/tests/tasks/cleanup.yml:7 -------------------- Setup ------------------------------------------------------------------- 0.01s /WORKDIR/git-module_work2a8u04cw/tests/tests_mount_verify_fail.yml:19 --------- fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.01s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Cleanup ----------------------------------------------------------------- 0.01s /WORKDIR/git-module_work2a8u04cw/tests/tests_mount_verify_fail.yml:93 --------- fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.01s /WORKDIR/git-module_work2a8u04cw/.collection/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---