# 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-cicnkbwktp/.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 statically imported: /WORKDIR/git-weekly-cicnkbwktp/tests/get_services_state.yml statically imported: /WORKDIR/git-weekly-cicnkbwktp/tests/restore_services_state.yml 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_verify_basic.yml *********************************************** 2 plays in /WORKDIR/git-weekly-cicnkbwktp/tests/tests_verify_basic.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-weekly-cicnkbwktp/tests/tests_verify_basic.yml:4 Saturday 03 August 2024 10:45:26 +0000 (0:00:00.019) 0:00:00.019 ******* ok: [sut] => { "ansible_facts": { "pcptest_pw": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n65343431623161346664373330646165636437656265656632613961363839303132393064663934\n3137396633373562393466633037356533326566343338350a386238333034336162333932313162\n62643937336534356131376134303463306466316433366636643562633637376336653034646334\n3063663466333735390a333330366461386166633233373133326237323663333831653232646566\n3363\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cicnkbwktp/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Test basic services of the role are installed and running] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cicnkbwktp/tests/tests_verify_basic.yml:9 Saturday 03 August 2024 10:45:26 +0000 (0:00:00.011) 0:00:00.030 ******* fatal: [sut]: FAILED! => { "ansible_facts": {}, "changed": false, "failed_modules": { "ansible.legacy.setup": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "failed": true, "module_stderr": "OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.31.10.50 originally 10.31.10.50\r\ndebug2: match not found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 10.31.10.50 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 10.31.10.50 originally 10.31.10.50\r\ndebug2: match found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug1: mux_client_request_session: master session id: 2\r\nTraceback (most recent call last):\n File \"\", line 107, in \n File \"\", line 99, in _ansiballz_main\n File \"\", line 44, in invoke_module\n File \"\", line 971, in _find_and_load\n File \"\", line 951, in _find_and_load_unlocked\n File \"\", line 894, in _find_spec\n File \"\", line 1157, in find_spec\n File \"\", line 1131, in _get_spec\n File \"\", line 1112, in _legacy_get_spec\n File \"\", line 441, in spec_from_loader\n File \"\", line 544, in spec_from_file_location\n File \"/tmp/ansible_ansible.legacy.setup_payload_xqogxorw/ansible_ansible.legacy.setup_payload.zip/ansible/module_utils/basic.py\", line 5\nSyntaxError: future feature annotations is not defined\ndebug2: Received exit status from master 1\r\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "warnings": [ "Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3, 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." ] } } } MSG: The following modules failed to execute: ansible.legacy.setup to retry, use: --limit @/tmp/tests_verify_basic.retry PLAY RECAP ********************************************************************* sut : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Saturday 03 August 2024 10:45:26 +0000 (0:00:00.287) 0:00:00.317 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.29s /WORKDIR/git-weekly-cicnkbwktp/tests/tests_verify_basic.yml:9 ----------------- Include vault variables ------------------------------------------------- 0.01s /WORKDIR/git-weekly-cicnkbwktp/tests/tests_verify_basic.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. [WARNING]: Unhandled error in Python interpreter discovery for host sut: Expecting value: line 1 column 1 (char 0) ---^---^---^---^---^---