ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-ISA executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_default.yml **************************************************** 1 plays in /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml PLAY [Basic usability test] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 Saturday 05 October 2024 18:10:40 -0400 (0:00:00.007) 0:00:00.007 ****** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:15 Saturday 05 October 2024 18:10:42 -0400 (0:00:02.378) 0:00:02.385 ****** included: fedora.linux_system_roles.gfs2 for managed-node2 TASK [fedora.linux_system_roles.gfs2 : Validating arguments against arg spec 'main' - The gfs2 role.] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 Saturday 05 October 2024 18:10:42 -0400 (0:00:00.024) 0:00:02.409 ****** ok: [managed-node2] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "gfs2", "path": "/tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2", "type": "role" } } MSG: The arg spec validation passed TASK [fedora.linux_system_roles.gfs2 : Set platform/version specific variables] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:3 Saturday 05 October 2024 18:10:42 -0400 (0:00:00.018) 0:00:02.428 ****** included: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.gfs2 : Ensure ansible_facts used by role] ****** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:2 Saturday 05 October 2024 18:10:42 -0400 (0:00:00.018) 0:00:02.447 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__gfs2_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Check if system is ostree] ************** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:10 Saturday 05 October 2024 18:10:42 -0400 (0:00:00.038) 0:00:02.485 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.gfs2 : Set flag to indicate system is ostree] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:15 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.436) 0:00:02.921 ****** ok: [managed-node2] => { "ansible_facts": { "__gfs2_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.gfs2 : Set platform/version specific variables] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:19 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.031) 0:00:02.953 ****** skipping: [managed-node2] => (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: [managed-node2] => (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: [managed-node2] => (item=CentOS_10.yml) => { "ansible_facts": { "__gfs2_repos": [ { "id": "resilientstorage", "name": "ResilientStorage" } ] }, "ansible_included_var_files": [ "/tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node2] => (item=CentOS_10.yml) => { "ansible_facts": { "__gfs2_repos": [ { "id": "resilientstorage", "name": "ResilientStorage" } ] }, "ansible_included_var_files": [ "/tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.gfs2 : Check if role is supported on current architecture] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:6 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.057) 0:00:03.010 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"architecture\"] in [\"aarch64\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Install required packages] ************** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:13 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.013) 0:00:03.024 ****** included: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml for managed-node2 TASK [fedora.linux_system_roles.gfs2 : Find environment-specific tasks to enable repositories] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:3 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.019) 0:00:03.044 ****** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__gfs2_enable_repo_tasks_file": "/tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/RedHat.yml" }, "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed-node2] => (item=CentOS.yml) => { "ansible_facts": { "__gfs2_enable_repo_tasks_file": "/tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml" }, "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml" } skipping: [managed-node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__gfs2_enable_repo_tasks_file_candidate is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__gfs2_enable_repo_tasks_file_candidate is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Run environment-specific tasks to enable repositories] *** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:23 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.060) 0:00:03.105 ****** included: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml for managed-node2 TASK [fedora.linux_system_roles.gfs2 : List active CentOS repositories] ******** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:3 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.043) 0:00:03.148 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "repolist" ], "delta": "0:00:00.196928", "end": "2024-10-05 18:10:43.918106", "rc": 0, "start": "2024-10-05 18:10:43.721178" } STDOUT: repo id repo name appstream CentOS Stream 10 - AppStream baseos CentOS Stream 10 - BaseOS beaker-client Beaker Client - RedHatEnterpriseLinux9 beaker-harness Beaker harness beakerlib-libraries Copr repo for beakerlib-libraries owned by bgoncalv highavailability CentOS Stream 10 - HighAvailability TASK [fedora.linux_system_roles.gfs2 : Enable CentOS repositories] ************* task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:9 Saturday 05 October 2024 18:10:43 -0400 (0:00:00.612) 0:00:03.760 ****** changed: [managed-node2] => (item={'id': 'resilientstorage', 'name': 'ResilientStorage'}) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "resilientstorage" ], "delta": "0:00:00.194224", "end": "2024-10-05 18:10:44.462536", "item": { "id": "resilientstorage", "name": "ResilientStorage" }, "rc": 0, "start": "2024-10-05 18:10:44.268312" } TASK [fedora.linux_system_roles.gfs2 : Install packages] *********************** task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:29 Saturday 05 October 2024 18:10:44 -0400 (0:00:00.545) 0:00:04.306 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "failures": [ "No package gfs2-utils available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages TASK [Check role error on unsupported arch] ************************************ task path: /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:19 Saturday 05 October 2024 18:10:45 -0400 (0:00:00.957) 0:00:05.263 ****** fatal: [managed-node2]: FAILED! => { "assertion": "__msg in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed PLAY RECAP ********************************************************************* managed-node2 : ok=12 changed=1 unreachable=0 failed=1 skipped=2 rescued=1 ignored=0 Saturday 05 October 2024 18:10:45 -0400 (0:00:00.014) 0:00:05.277 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 2.38s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 fedora.linux_system_roles.gfs2 : Install packages ----------------------- 0.96s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:29 fedora.linux_system_roles.gfs2 : List active CentOS repositories -------- 0.61s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.gfs2 : Enable CentOS repositories ------------- 0.55s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:9 fedora.linux_system_roles.gfs2 : Check if system is ostree -------------- 0.44s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:10 fedora.linux_system_roles.gfs2 : Find environment-specific tasks to enable repositories --- 0.06s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:3 fedora.linux_system_roles.gfs2 : Set platform/version specific variables --- 0.06s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:19 fedora.linux_system_roles.gfs2 : Run environment-specific tasks to enable repositories --- 0.04s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:23 fedora.linux_system_roles.gfs2 : Ensure ansible_facts used by role ------ 0.04s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:2 fedora.linux_system_roles.gfs2 : Set flag to indicate system is ostree --- 0.03s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:15 Run the role ------------------------------------------------------------ 0.02s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:15 fedora.linux_system_roles.gfs2 : Install required packages -------------- 0.02s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:13 fedora.linux_system_roles.gfs2 : Set platform/version specific variables --- 0.02s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:3 fedora.linux_system_roles.gfs2 : Validating arguments against arg spec 'main' - The gfs2 role. --- 0.02s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 Check role error on unsupported arch ------------------------------------ 0.01s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:19 fedora.linux_system_roles.gfs2 : Check if role is supported on current architecture --- 0.01s /tmp/collections-ISA/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:6