# 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-ci1_7f62zo/tests/tests_ssh_wrapper.yml PLAY [Create static inventory from hostvars] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:2 Saturday 10 February 2024 07:47:03 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Create temporary file] *************************************************** task path: /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:7 Saturday 10 February 2024 07:47:04 +0000 (0:00:00.904) 0:00:00.916 ***** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0600", "owner": "jenkins", "path": "/tmp/ansible.os4mb_pd.inventory.yaml", "size": 0, "state": "file", "uid": 1000090000 } TASK [Create static inventory from hostvars] *********************************** task path: /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:14 Saturday 10 February 2024 07:47:04 +0000 (0:00:00.160) 0:00:01.076 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "ee133d11db3e3dd7af74b6a243bf7fced9403224", "dest": "/tmp/ansible.os4mb_pd.inventory.yaml", "gid": 1001, "group": "jenkins", "md5sum": "607a9f0426270c03b59d8eb3ddb5672e", "mode": "0644", "owner": "jenkins", "size": 51385, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707551224.9964905-4928-80295254003148/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-ci1_7f62zo/tests/tests_ssh.yml:2 Saturday 10 February 2024 07:47:05 +0000 (0:00:00.421) 0:00:01.498 ***** ok: [sut] META: ran handlers TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh.yml:59 Saturday 10 February 2024 07:47:06 +0000 (0:00:00.683) 0:00:02.182 ***** ok: [sut -> sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh.yml:64 Saturday 10 February 2024 07:47:06 +0000 (0:00:00.681) 0:00:02.864 ***** 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-ci1_7f62zo/tests/tests_ssh_wrapper.yml:27 Saturday 10 February 2024 07:47:06 +0000 (0:00:00.021) 0:00:02.885 ***** ok: [sut] META: ran handlers TASK [Run ansible-playbook with tests_ssh.yml in check mode] ******************* task path: /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:34 Saturday 10 February 2024 07:47:07 +0000 (0:00:00.681) 0:00:03.566 ***** fatal: [sut -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.os4mb_pd.inventory.yaml", "--check", "tests_ssh.yml" ], "delta": "0:00:00.824283", "end": "2024-02-10 07:47:08.447377", "rc": 2, "start": "2024-02-10 07:47:07.623094" } 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-ci1_7f62zo/.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.os4mb_pd.inventory.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.os4mb_pd.inventory.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.os4mb_pd.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-ci1_7f62zo/tests/tests_ssh.yml:2 Saturday 10 February 2024 07:47:08 +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.44.173> ESTABLISH SSH CONNECTION FOR USER: root <10.31.44.173> 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/cdde215514"' 10.31.44.173 '/bin/sh -c '"'"'/usr/bin/python2 && sleep 0'"'"'' <10.31.44.173> (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.44.173> 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 10 February 2024 07:47:08 +0000 (0:00:00.261) 0:00:00.289 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci1_7f62zo/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 10 February 2024 07:47:08 +0000 (0:00:00.988) 0:00:04.555 ***** =============================================================================== Run ansible-playbook with tests_ssh.yml in check mode ------------------- 0.99s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:34 ----------------- Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:2 ------------------ Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh.yml:2 -------------------------- Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:27 ----------------- Gather facts from sut --------------------------------------------------- 0.68s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh.yml:59 ------------------------- Create static inventory from hostvars ----------------------------------- 0.42s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:14 ----------------- Create temporary file --------------------------------------------------- 0.16s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh_wrapper.yml:7 ------------------ Print message that this test is skipped on EL 6 ------------------------- 0.02s /WORKDIR/git-weekly-ci1_7f62zo/tests/tests_ssh.yml:64 ------------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---