ansible-playbook [core 2.17.12] 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-k1K executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', 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_packages_full.yml ********************************************** 1 plays in /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml PLAY [Test cockpit_packages: full] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:2 Saturday 24 May 2025 08:40:48 -0400 (0:00:00.021) 0:00:00.021 ********** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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-node1] TASK [Include cockpit role] **************************************************** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:11 Saturday 24 May 2025 08:40:49 -0400 (0:00:01.040) 0:00:01.062 ********** included: fedora.linux_system_roles.cockpit for managed-node1 TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Saturday 24 May 2025 08:40:49 -0400 (0:00:00.060) 0:00:01.122 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Saturday 24 May 2025 08:40:49 -0400 (0:00:00.029) 0:00:01.151 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__cockpit_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Run systemctl] *********************** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Saturday 24 May 2025 08:40:49 -0400 (0:00:00.036) 0:00:01.188 ********** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008457", "end": "2025-05-24 08:40:49.825701", "failed_when_result": false, "rc": 0, "start": "2025-05-24 08:40:49.817244" } STDOUT: running TASK [fedora.linux_system_roles.cockpit : Require installed systemd] *********** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:17 Saturday 24 May 2025 08:40:49 -0400 (0:00:00.426) 0:00:01.615 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 Saturday 24 May 2025 08:40:49 -0400 (0:00:00.058) 0:00:01.673 ********** ok: [managed-node1] => { "ansible_facts": { "__cockpit_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Check if system is ostree] *********** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:30 Saturday 24 May 2025 08:40:49 -0400 (0:00:00.034) 0:00:01.707 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:35 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.514) 0:00:02.222 ********** ok: [managed-node1] => { "ansible_facts": { "__cockpit_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:42 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.033) 0:00:02.256 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.cockpit : Set flag if transactional-update exists] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:47 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.370) 0:00:02.627 ********** ok: [managed-node1] => { "ansible_facts": { "__cockpit_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ****** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:51 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.022) 0:00:02.650 ********** ok: [managed-node1] => (item=/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml) => { "ansible_facts": { "__cockpit_packages": { "default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}", "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}", "minimal": "{{ __cockpit_packages_minimal }}" }, "__cockpit_packages_default": [ "cockpit", "cockpit-networkmanager", "cockpit-packagekit", "cockpit-selinux", "cockpit-storaged" ], "__cockpit_packages_exclude": [ "cockpit-docker", "cockpit-ostree", "cockpit-tests" ], "__cockpit_packages_full": [ "cockpit-*" ], "__cockpit_packages_minimal": [ "cockpit-system", "cockpit-ws" ] }, "ansible_included_var_files": [ "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-9.yml" } TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] ******* task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.021) 0:00:02.672 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] ************ task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.013) 0:00:02.686 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 Saturday 24 May 2025 08:40:50 -0400 (0:00:00.011) 0:00:02.697 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for managed-node1 => (item=/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml) TASK [fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 Saturday 24 May 2025 08:40:51 -0400 (0:00:00.043) 0:00:02.741 ********** ok: [managed-node1] => { "ansible_facts": { "cockpit_packages": "full" }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Get cockpit-bridge available version in "full" package install mode] *** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Saturday 24 May 2025 08:40:51 -0400 (0:00:00.020) 0:00:02.761 ********** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "dnf", "repoquery", "--latest-limit=1", "--queryformat", "%{version}", "cockpit-bridge" ], "delta": "0:00:07.290637", "end": "2025-05-24 08:40:58.600691", "rc": 1, "start": "2025-05-24 08:40:51.310054" } STDERR: CentOS Stream 9 - HighAvailability 581 B/s | 3.9 kB 00:06 Errors during downloading metadata for repository 'highavailability': - Downloading successful, but checksum doesn't match. Calculated: 4c091ea1fad7cee9328f3bf3fd7820d864bca253182442761478aacb8582f58f09d7588cd9f6be5d5c358946449b48a29809a4664a20bbd179f55d2bd8358709(sha512) Expected: e8f488e7e4510e688f3bedadb09e32b476c0423ddd331cee3ec7af069d6bc188d8197b114fbc35818fc01e44bb8132bd74414bc1cd3ac873f393b4fb36c2b669(sha512) - Downloading successful, but checksum doesn't match. Calculated: db39cb400981ca710e6bab8c142c0729ca6a397eee920dd6c2bceb1796063508091d7f08ffdaeeee1134bf4019ac415ef3b3e9114c291dca272d93319bac7751(sha512) Expected: e8f488e7e4510e688f3bedadb09e32b476c0423ddd331cee3ec7af069d6bc188d8197b114fbc35818fc01e44bb8132bd74414bc1cd3ac873f393b4fb36c2b669(sha512) Error: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried MSG: non-zero return code TASK [Cleanup] ***************************************************************** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:63 Saturday 24 May 2025 08:40:58 -0400 (0:00:07.624) 0:00:10.386 ********** included: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml for managed-node1 TASK [Cleanup - packages] ****************************************************** task path: /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 Saturday 24 May 2025 08:40:58 -0400 (0:00:00.025) 0:00:10.411 ********** fatal: [managed-node1]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried PLAY RECAP ********************************************************************* managed-node1 : ok=13 changed=0 unreachable=0 failed=2 skipped=4 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "delta": "0:00:07.290637", "end_time": "2025-05-24 08:40:58.600691", "host": "managed-node1", "message": "non-zero return code", "rc": 1, "start_time": "2025-05-24 08:40:51.310054", "stderr": "CentOS Stream 9 - HighAvailability 581 B/s | 3.9 kB 00:06 \nErrors during downloading metadata for repository 'highavailability':\n - Downloading successful, but checksum doesn't match. Calculated: 4c091ea1fad7cee9328f3bf3fd7820d864bca253182442761478aacb8582f58f09d7588cd9f6be5d5c358946449b48a29809a4664a20bbd179f55d2bd8358709(sha512) Expected: e8f488e7e4510e688f3bedadb09e32b476c0423ddd331cee3ec7af069d6bc188d8197b114fbc35818fc01e44bb8132bd74414bc1cd3ac873f393b4fb36c2b669(sha512) \n - Downloading successful, but checksum doesn't match. Calculated: db39cb400981ca710e6bab8c142c0729ca6a397eee920dd6c2bceb1796063508091d7f08ffdaeeee1134bf4019ac415ef3b3e9114c291dca272d93319bac7751(sha512) Expected: e8f488e7e4510e688f3bedadb09e32b476c0423ddd331cee3ec7af069d6bc188d8197b114fbc35818fc01e44bb8132bd74414bc1cd3ac873f393b4fb36c2b669(sha512) \nError: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "task_name": "Get cockpit-bridge available version in \"full\" package install mode", "task_path": "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T12:41:02.546027+00:00Z", "host": "managed-node1", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-05-24T12:40:58.675931+00:00Z", "task_name": "Cleanup - packages", "task_path": "/tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 08:41:02 -0400 (0:00:03.871) 0:00:14.284 ********** =============================================================================== fedora.linux_system_roles.cockpit : Get cockpit-bridge available version in "full" package install mode --- 7.62s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:7 Cleanup - packages ------------------------------------------------------ 3.87s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:2 fedora.linux_system_roles.cockpit : Check if system is ostree ----------- 0.51s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:30 fedora.linux_system_roles.cockpit : Run systemctl ----------------------- 0.43s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 fedora.linux_system_roles.cockpit : Check if transactional-update exists in /sbin --- 0.37s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:42 Include cockpit role ---------------------------------------------------- 0.06s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:11 fedora.linux_system_roles.cockpit : Require installed systemd ----------- 0.06s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:17 fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.04s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.04s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 fedora.linux_system_roles.cockpit : Set flag to indicate that systemd runtime operations are available --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:22 fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:35 fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role --- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Cleanup ----------------------------------------------------------------- 0.03s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_packages_full.yml:63 fedora.linux_system_roles.cockpit : Set flag if transactional-update exists --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:47 fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:51 fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.02s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:2 fedora.linux_system_roles.cockpit : List active RHEL repositories ------- 0.01s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 fedora.linux_system_roles.cockpit : Enable RHEL repositories ------------ 0.01s /tmp/collections-k1K/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18