# 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-add-alerts-support5o3y6k3e/.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-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:4 Thursday 01 August 2024 12:35:02 +0000 (0:00:00.012) 0:00:00.012 ******* 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-add-alerts-support5o3y6k3e/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Test qdevice - minimal configuration] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:9 Thursday 01 August 2024 12:35:02 +0000 (0:00:00.034) 0:00:00.047 ******* ok: [sut] TASK [Set qnetd address] ******************************************************* task path: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:14 Thursday 01 August 2024 12:35:03 +0000 (0:00:00.957) 0:00:01.004 ******* ok: [sut] => { "ansible_facts": { "__test_qnetd_address": "localhost" }, "changed": false } TASK [Run test] **************************************************************** task path: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:18 Thursday 01 August 2024 12:35:03 +0000 (0:00:00.014) 0:00:01.019 ******* included: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml for sut TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:7 Thursday 01 August 2024 12:35:03 +0000 (0:00:00.013) 0:00:01.032 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Thursday 01 August 2024 12:35:03 +0000 (0:00:00.021) 0:00:01.054 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Thursday 01 August 2024 12:35:03 +0000 (0:00:00.014) 0:00:01.069 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Thursday 01 August 2024 12:35:03 +0000 (0:00:00.008) 0:00:01.077 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Thursday 01 August 2024 12:35:04 +0000 (0:00:00.261) 0:00:01.339 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Thursday 01 August 2024 12:35:04 +0000 (0:00:00.014) 0:00:01.354 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Thursday 01 August 2024 12:35:04 +0000 (0:00:00.008) 0:00:01.362 ******* 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-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:12 Thursday 01 August 2024 12:35:04 +0000 (0:00:00.013) 0:00:01.376 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 Thursday 01 August 2024 12:35:04 +0000 (0:00:00.020) 0:00:01.396 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Thursday 01 August 2024 12:35:04 +0000 (0:00:00.678) 0:00:02.075 ******* ok: [sut] => { "changed": false, "path": "/etc/corosync/qnetd", "state": "absent" } TASK [Set up test environment for qnetd] *************************************** task path: /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:17 Thursday 01 August 2024 12:35:05 +0000 (0:00:00.279) 0:00:02.354 ******* included: fedora.linux_system_roles.ha_cluster for sut TASK [fedora.linux_system_roles.ha_cluster : Install qnetd packages] *********** task path: /WORKDIR/git-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup_qnetd.yml:9 Thursday 01 August 2024 12:35:05 +0000 (0:00:00.023) 0:00:02.377 ******* 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-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:63 Thursday 01 August 2024 12:35:05 +0000 (0:00:00.618) 0:00:02.996 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:9 Thursday 01 August 2024 12:35:05 +0000 (0:00:00.023) 0:00:03.019 ******* 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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Thursday 01 August 2024 12:35:06 +0000 (0:00:00.612) 0:00:03.632 ******* 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 Thursday 01 August 2024 12:35:06 +0000 (0:00:00.221) 0:00:03.853 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:9 ----- fedora.linux_system_roles.ha_cluster : Make sure qnetd is not installed --- 0.68s /WORKDIR/git-add-alerts-support5o3y6k3e/.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.62s /WORKDIR/git-add-alerts-support5o3y6k3e/.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.61s /WORKDIR/git-add-alerts-support5o3y6k3e/.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.28s /WORKDIR/git-add-alerts-support5o3y6k3e/.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.26s /WORKDIR/git-add-alerts-support5o3y6k3e/.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.22s /WORKDIR/git-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_cleanup_qnetd.yml:16 Include vault variables ------------------------------------------------- 0.03s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:4 ----- Clean up test environment for qnetd ------------------------------------- 0.02s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:63 --------- Set up test environment for qnetd --------------------------------------- 0.02s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:17 --------- Set up test environment ------------------------------------------------- 0.02s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:7 ---------- Clean up test environment for qnetd ------------------------------------- 0.02s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/template_qdevice.yml:12 --------- fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-add-alerts-support5o3y6k3e/.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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Set qnetd address ------------------------------------------------------- 0.01s /WORKDIR/git-add-alerts-support5o3y6k3e/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-add-alerts-support5o3y6k3e/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Run test ---------------------------------------------------------------- 0.01s /WORKDIR/git-add-alerts-support5o3y6k3e/tests/tests_qdevice_minimal.yml:18 ---- fedora.linux_system_roles.ha_cluster : Ensure facts used by tests ------- 0.01s /WORKDIR/git-add-alerts-support5o3y6k3e/.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-add-alerts-support5o3y6k3e/.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. ---^---^---^---^---^---