# 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-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml PLAY [Create static inventory from hostvars] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:2 Thursday 30 November 2023 19:02:37 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] META: ran handlers TASK [Create temporary file] *************************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:7 Thursday 30 November 2023 19:02:38 +0000 (0:00:00.869) 0:00:00.884 ***** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0600", "owner": "jenkins", "path": "/tmp/ansible.vwi882h9.inventory.yaml", "size": 0, "state": "file", "uid": 1000090000 } TASK [Create static inventory from hostvars] *********************************** task path: /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:14 Thursday 30 November 2023 19:02:38 +0000 (0:00:00.200) 0:00:01.084 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "7f2381b133d74e189c26b4d01b43a0ec9adc4c67", "dest": "/tmp/ansible.vwi882h9.inventory.yaml", "gid": 1001, "group": "jenkins", "md5sum": "dde835bf7ed392cf7bb66b318e8ccc05", "mode": "0644", "owner": "jenkins", "size": 51401, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701370958.924295-4565-207470606602188/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-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:2 Thursday 30 November 2023 19:02:39 +0000 (0:00:00.540) 0:00:01.624 ***** ok: [sut] META: ran handlers TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:59 Thursday 30 November 2023 19:02:40 +0000 (0:00:00.782) 0:00:02.407 ***** ok: [sut -> sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:64 Thursday 30 November 2023 19:02:40 +0000 (0:00:00.698) 0:00:03.105 ***** 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-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:27 Thursday 30 November 2023 19:02:40 +0000 (0:00:00.027) 0:00:03.133 ***** ok: [sut] META: ran handlers TASK [Run ansible-playbook with tests_ssh.yml in check mode] ******************* task path: /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:34 Thursday 30 November 2023 19:02:41 +0000 (0:00:00.777) 0:00:03.910 ***** fatal: [sut -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.vwi882h9.inventory.yaml", "--check", "tests_ssh.yml" ], "delta": "0:00:00.995930", "end": "2023-11-30 19:02:42.901488", "rc": 2, "start": "2023-11-30 19:02:41.905558" } 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-test-kdump-path-cleanup6jw02mcb/.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.vwi882h9.inventory.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.vwi882h9.inventory.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.vwi882h9.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-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:2 Thursday 30 November 2023 19:02:42 +0000 (0:00:00.034) 0:00:00.034 ***** Using module file /opt/gluetool/lib/python3.9/site-packages/ansible/modules/setup.py Pipelining is enabled. <10.31.46.4> ESTABLISH SSH CONNECTION FOR USER: root <10.31.46.4> 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/6175f196a3"' 10.31.46.4 '/bin/sh -c '"'"'/usr/bin/python2 && sleep 0'"'"'' <10.31.46.4> (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.4> 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 Thursday 30 November 2023 19:02:42 +0000 (0:00:00.311) 0:00:00.345 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.31s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/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 Thursday 30 November 2023 19:02:42 +0000 (0:00:01.186) 0:00:05.097 ***** =============================================================================== Run ansible-playbook with tests_ssh.yml in check mode ------------------- 1.19s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:34 --- Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:2 ---- Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:2 ------------ Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:27 --- Gather facts from sut --------------------------------------------------- 0.70s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:59 ----------- Create static inventory from hostvars ----------------------------------- 0.54s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:14 --- Create temporary file --------------------------------------------------- 0.20s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh_wrapper.yml:7 ---- Print message that this test is skipped on EL 6 ------------------------- 0.03s /WORKDIR/git-test-kdump-path-cleanup6jw02mcb/tests/tests_ssh.yml:64 ----------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---