# 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-move-inventory-vars-to-playpsz685zw/.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_sbd_check_devices_count_combined.yml *************************** 2 plays in /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:4 Thursday 21 March 2024 20:26:20 +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-move-inventory-vars-to-playpsz685zw/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Test a check SBD devices count matches for all nodes (inventory + play)] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:13 Thursday 21 March 2024 20:26:20 +0000 (0:00:00.013) 0:00:00.026 ******** ok: [sut] TASK [Generate SBD devices variable] ******************************************* task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:23 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.868) 0:00:00.895 ******** ok: [sut] => (item=sut) => { "ansible_facts": { "__test_node_options": [ { "node_name": "sut", "sbd_devices": [ "/tmp/dev/sdx1" ] } ] }, "ansible_loop_var": "item", "changed": false, "item": "sut" } TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:44 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.024) 0:00:00.919 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Set SBD devices variable] ************************************************ task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:52 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.016) 0:00:00.935 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Print set SBD devices (inventory)] *************************************** task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:58 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.016) 0:00:00.952 ******** skipping: [sut] => { "false_condition": "ansible_play_hosts_all | length > 1" } TASK [Print set SBD devices (play)] ******************************************** task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:62 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.016) 0:00:00.968 ******** skipping: [sut] => { "false_condition": "ansible_play_hosts_all | length > 1" } TASK [Run the role] ************************************************************ task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:68 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.016) 0:00:00.984 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Unset SBD devices variable] ********************************************** task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:80 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.016) 0:00:01.001 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Message] ***************************************************************** task path: /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:85 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.016) 0:00:01.017 ******** ok: [sut] => {} MSG: This test needs two or more nodes PLAY RECAP ********************************************************************* sut : ok=4 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 21 March 2024 20:26:21 +0000 (0:00:00.023) 0:00:01.041 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:13 Generate SBD devices variable ------------------------------------------- 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:23 Message ----------------------------------------------------------------- 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:85 Run the role ------------------------------------------------------------ 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:68 Set up test environment ------------------------------------------------- 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:44 Set SBD devices variable ------------------------------------------------ 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:52 Print set SBD devices (inventory) --------------------------------------- 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:58 Print set SBD devices (play) -------------------------------------------- 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:62 Unset SBD devices variable ---------------------------------------------- 0.02s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:80 Include vault variables ------------------------------------------------- 0.01s /WORKDIR/git-move-inventory-vars-to-playpsz685zw/tests/tests_sbd_check_devices_count_combined.yml:4 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---