# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ssh_wrapper.yml ************************************************ 3 plays in /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml PLAY [Create static inventory from hostvars] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:2 Saturday 06 January 2024 07:54:26 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Create temporary file] *************************************************** task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:7 Saturday 06 January 2024 07:54:28 +0000 (0:00:01.754) 0:00:01.767 ****** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0600", "owner": "jenkins", "path": "/tmp/ansible.kwfr80yu.inventory.yaml", "size": 0, "state": "file", "uid": 1000090000 } TASK [Create static inventory from hostvars] *********************************** task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:14 Saturday 06 January 2024 07:54:28 +0000 (0:00:00.153) 0:00:01.921 ****** changed: [sut -> localhost] => { "changed": true, "checksum": "eb51f17b4169e053908903c8c805f06806979f35", "dest": "/tmp/ansible.kwfr80yu.inventory.yaml", "gid": 1001, "group": "jenkins", "md5sum": "749b41501d371e9eb1f3ba06ca5244ca", "mode": "0644", "owner": "jenkins", "size": 51397, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704527668.7261732-4866-37342390696511/source", "state": "file", "uid": 1000090000 } META: ran handlers META: ran handlers PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:2 Saturday 06 January 2024 07:54:29 +0000 (0:00:00.424) 0:00:02.345 ****** ok: [sut] META: ran handlers TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:59 Saturday 06 January 2024 07:54:29 +0000 (0:00:00.714) 0:00:03.059 ****** ok: [sut -> sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:64 Saturday 06 January 2024 07:54:30 +0000 (0:00:00.700) 0:00:03.760 ****** ok: [sut] => {} MSG: Skipping the test on EL 6 when storing logs over ssh to localhost META: ending play for sut PLAY [Run tests_ssh.yml in check_mode] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:27 Saturday 06 January 2024 07:54:30 +0000 (0:00:00.022) 0:00:03.782 ****** ok: [sut] META: ran handlers TASK [Run ansible-playbook with tests_ssh.yml in check mode] ******************* task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:34 Saturday 06 January 2024 07:54:31 +0000 (0:00:00.725) 0:00:04.508 ****** fatal: [sut -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.kwfr80yu.inventory.yaml", "--check", "tests_ssh.yml" ], "delta": "0:00:00.836125", "end": "2024-01-06 07:54:32.284972", "rc": 2, "start": "2024-01-06 07:54:31.448847" } STDOUT: ansible-playbook [core 2.14.7] 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/gluetool/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cigied265m/.collection executable location = /opt/gluetool/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/gluetool/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file host_list declined parsing /tmp/ansible.kwfr80yu.inventory.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.kwfr80yu.inventory.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.kwfr80yu.inventory.yaml inventory source with yaml plugin 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_ssh.yml ******************************************************** 1 plays in tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:2 Saturday 06 January 2024 07:54:31 +0000 (0:00:00.027) 0:00:00.027 ****** Using module file /opt/gluetool/lib/python3.9/site-packages/ansible/modules/setup.py Pipelining is enabled. <10.31.46.197> ESTABLISH SSH CONNECTION FOR USER: root <10.31.46.197> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 'ControlPath="/home/jenkins/.ansible/cp/a81b9273c9"' 10.31.46.197 '/bin/sh -c '"'"'/usr/bin/python2 && sleep 0'"'"'' <10.31.46.197> (1, b'\n{"failed": true, "msg": "ansible-core requires a minimum of Python2 version 2.7 or Python3 version 3.5. Current version: 2.6.6 (r266:84292, Jun 11 2019, 11:01:44) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]"}\n', b'') <10.31.46.197> Failed to connect to the host via ssh: fatal: [sut]: FAILED! => { "ansible_facts": {}, "changed": false, "failed_modules": { "ansible.legacy.setup": { "failed": true, "msg": "ansible-core requires a minimum of Python2 version 2.7 or Python3 version 3.5. Current version: 2.6.6 (r266:84292, Jun 11 2019, 11:01:44) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]" } } } MSG: The following modules failed to execute: ansible.legacy.setup to retry, use: --limit @/tmp/tests_ssh.retry PLAY RECAP ********************************************************************* sut : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Saturday 06 January 2024 07:54:32 +0000 (0:00:00.264) 0:00:00.292 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.27s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:2 -------------------------- STDERR: [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. MSG: non-zero return code to retry, use: --limit @/tmp/tests_ssh_wrapper.retry PLAY RECAP ********************************************************************* sut : ok=7 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Saturday 06 January 2024 07:54:32 +0000 (0:00:01.000) 0:00:05.509 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.75s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:2 ------------------ Run ansible-playbook with tests_ssh.yml in check mode ------------------- 1.00s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:34 ----------------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:27 ----------------- Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:2 -------------------------- Gather facts from sut --------------------------------------------------- 0.70s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:59 ------------------------- Create static inventory from hostvars ----------------------------------- 0.42s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:14 ----------------- Create temporary file --------------------------------------------------- 0.15s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh_wrapper.yml:7 ------------------ Print message that this test is skipped on EL 6 ------------------------- 0.02s /WORKDIR/git-weekly-cigied265m/tests/tests_ssh.yml:64 ------------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---