# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] 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.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cigbm363ka/.collection executable location = /opt/ansible-2.17/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.17/bin/python) jinja version = 3.1.4 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_qdevice_minimal.yml ******************************************** 2 plays in /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:4 Wednesday 31 July 2024 16:28:04 +0000 (0:00:00.012) 0:00:00.013 ******** ok: [sut] => { "ansible_facts": { "ha_cluster_hacluster_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n31303833633366333561656439323930303361333161363239346166656537323933313436\n3432386236656563343237306335323637396239616230353561330a313731623238393238\n62343064666336643930663239383936616465643134646536656532323461356237646133\n3761616633323839633232353637366266350a313163633236376666653238633435306565\n3264623032333736393535663833\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cigbm363ka/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Test qdevice - minimal configuration] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:9 Wednesday 31 July 2024 16:28:04 +0000 (0:00:00.035) 0:00:00.048 ******** ok: [sut] TASK [Set qnetd address] ******************************************************* task path: /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:14 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.891) 0:00:00.940 ******** ok: [sut] => { "ansible_facts": { "__test_qnetd_address": "localhost" }, "changed": false } TASK [Run test] **************************************************************** task path: /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:18 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.013) 0:00:00.953 ******** included: /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml for sut TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:7 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.013) 0:00:00.967 ******** included: fedora.linux_system_roles.ha_cluster for sut TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.021) 0:00:00.988 ******** ok: [sut] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.014) 0:00:01.003 ******** skipping: [sut] => { "changed": false, "false_condition": "'distribution' not in ansible_facts", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.008) 0:00:01.011 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.242) 0:00:01.254 ******** ok: [sut] => { "ansible_facts": { "__ha_cluster_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.014) 0:00:01.269 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.008) 0:00:01.277 ******** skipping: [sut] => { "changed": false, "false_condition": "__ha_cluster_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Clean up test environment for qnetd] ************************************* task path: /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:12 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.013) 0:00:01.290 ******** included: fedora.linux_system_roles.ha_cluster for sut TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 Wednesday 31 July 2024 16:28:05 +0000 (0:00:00.020) 0:00:01.311 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Wednesday 31 July 2024 16:28:06 +0000 (0:00:00.625) 0:00:01.937 ******** ok: [sut] => { "changed": false, "path": "/etc/corosync/qnetd", "state": "absent" } TASK [Set up test environment for qnetd] *************************************** task path: /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:17 Wednesday 31 July 2024 16:28:06 +0000 (0:00:00.258) 0:00:02.195 ******** included: fedora.linux_system_roles.ha_cluster for sut TASK [fedora.linux_system_roles.ha_cluster : Install qnetd packages] *********** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_qnetd.yml:9 Wednesday 31 July 2024 16:28:06 +0000 (0:00:00.023) 0:00:02.219 ******** fatal: [sut]: FAILED! => { "changed": false, "failures": [ "No package corosync-qnetd available.", "No package pcs available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages TASK [Clean up test environment for qnetd] ************************************* task path: /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:63 Wednesday 31 July 2024 16:28:07 +0000 (0:00:00.566) 0:00:02.785 ******** included: fedora.linux_system_roles.ha_cluster for sut TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 Wednesday 31 July 2024 16:28:07 +0000 (0:00:00.023) 0:00:02.809 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present] *** task path: /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Wednesday 31 July 2024 16:28:07 +0000 (0:00:00.554) 0:00:03.363 ******** ok: [sut] => { "changed": false, "path": "/etc/corosync/qnetd", "state": "absent" } to retry, use: --limit @/tmp/tests_qdevice_minimal.retry PLAY RECAP ********************************************************************* sut : ok=15 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 Wednesday 31 July 2024 16:28:08 +0000 (0:00:00.199) 0:00:03.563 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:9 -------------- fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed --- 0.63s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 fedora.linux_system_roles.ha_cluster : Install qnetd packages ----------- 0.57s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_qnetd.yml:9 fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed --- 0.55s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present --- 0.26s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.24s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 fedora.linux_system_roles.ha_cluster : Make sure qnetd config files are not present --- 0.20s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Include vault variables ------------------------------------------------- 0.04s /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:4 -------------- Clean up test environment for qnetd ------------------------------------- 0.02s /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:63 ------------------ Set up test environment for qnetd --------------------------------------- 0.02s /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:17 ------------------ Set up test environment ------------------------------------------------- 0.02s /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:7 ------------------- Clean up test environment for qnetd ------------------------------------- 0.02s /WORKDIR/git-weekly-cigbm363ka/tests/template_qdevice.yml:12 ------------------ fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.01s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Set qnetd address ------------------------------------------------------- 0.01s /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:14 ------------- fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd --- 0.01s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Run test ---------------------------------------------------------------- 0.01s /WORKDIR/git-weekly-cigbm363ka/tests/tests_qdevice_minimal.yml:18 ------------- fedora.linux_system_roles.ha_cluster : Ensure facts used by tests ------- 0.01s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories --- 0.01s /WORKDIR/git-weekly-cigbm363ka/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 ---^---^---^---^---^--- # 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. [WARNING]: Platform linux on host sut 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. ---^---^---^---^---^---