# 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-cik_6_91w1/.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_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-cik_6_91w1/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Test default settings] *************************************************** task path: /WORKDIR/git-weekly-cik_6_91w1/tests/tests_default.yml:7 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.027) 0:00:00.027 ******* included: /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/install_and_check.yml for sut TASK [Run postgresql role] ***************************************************** task path: /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/install_and_check.yml:5 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.023) 0:00:00.050 ******* included: fedora.linux_system_roles.postgresql for sut TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cik_6_91w1/.collection/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.025) 0:00:00.076 ******* included: /WORKDIR/git-weekly-cik_6_91w1/.collection/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cik_6_91w1/.collection/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.012) 0:00:00.089 ******* fatal: [sut]: FAILED! => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDERR: OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.14.237 originally 10.31.14.237 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.14.237 is address debug1: re-parsing configuration debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.14.237 originally 10.31.14.237 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 Traceback (most recent call last): File "", line 107, in File "", line 99, in _ansiballz_main File "", line 44, in invoke_module File "", line 971, in _find_and_load File "", line 951, in _find_and_load_unlocked File "", line 894, in _find_spec File "", line 1157, in find_spec File "", line 1131, in _get_spec File "", line 1112, in _legacy_get_spec File "", line 441, in spec_from_loader File "", line 544, in spec_from_file_location File "/tmp/ansible_setup_payload_v7ck1lbt/ansible_setup_payload.zip/ansible/module_utils/basic.py", line 5 SyntaxError: future feature annotations is not defined debug2: Received exit status from master 1 TASK [Clean up] **************************************************************** task path: /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/install_and_check.yml:75 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.300) 0:00:00.390 ******* included: /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/clean_instance.yml for sut TASK [Run handlers] ************************************************************ task path: /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/clean_instance.yml:3 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.020) 0:00:00.410 ******* META: triggered running handlers for sut TASK [Uninstall postgresql] **************************************************** task path: /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/clean_instance.yml:6 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.001) 0:00:00.411 ******* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'ansible_pkg_mgr' fatal: [sut]: FAILED! => { "changed": false } MSG: Could not detect a package manager. Try using the "use" option. to retry, use: --limit @/tmp/tests_default.retry PLAY RECAP ********************************************************************* sut : ok=4 changed=0 unreachable=0 failed=2 skipped=0 rescued=0 ignored=0 Saturday 10 August 2024 18:40:14 +0000 (0:00:00.251) 0:00:00.663 ******* =============================================================================== fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role --- 0.30s /WORKDIR/git-weekly-cik_6_91w1/.collection/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Uninstall postgresql ---------------------------------------------------- 0.25s /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/clean_instance.yml:6 --------------- Run postgresql role ----------------------------------------------------- 0.03s /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/install_and_check.yml:5 ------------ Test default settings --------------------------------------------------- 0.02s /WORKDIR/git-weekly-cik_6_91w1/tests/tests_default.yml:7 ---------------------- Clean up ---------------------------------------------------------------- 0.02s /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/install_and_check.yml:75 ----------- fedora.linux_system_roles.postgresql : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-cik_6_91w1/.collection/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Run handlers ------------------------------------------------------------ 0.00s /WORKDIR/git-weekly-cik_6_91w1/tests/tasks/clean_instance.yml:3 --------------- ---^---^---^---^---^--- # 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) [WARNING]: 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. ---^---^---^---^---^---