you will see the following failure without this pr when you runtask using testcloud:
"changed": false, "failed": true, "module_stderr": "Shared connection to 192.168.122.201 closed.\r\n", "module_stdout": "/bin/sh: /usr/bin/python: No such file or directory\r\n", "msg": "MODULE FAILURE", "rc": 0}
The runtask will run successfully if you pre-install python in the testcloud vm,
or we can change the default interpreter like this pr dose.
testplan:
runtask -d -i gzip-1.8-1.fc25 -t koji_build --libvirt -a x86_64 task-rpmlint/run_tests.yml
you will see the following failure without this pr when you runtask using testcloud:
"changed": false, "failed": true, "module_stderr": "Shared connection to 192.168.122.201 closed.\r\n", "module_stdout": "/bin/sh: /usr/bin/python: No such file or directory\r\n", "msg": "MODULE FAILURE", "rc": 0}
The runtask will run successfully if you pre-install python in the testcloud vm,
or we can change the default interpreter like this pr dose.
testplan:
runtask -d -i gzip-1.8-1.fc25 -t koji_build --libvirt -a x86_64 task-rpmlint/run_tests.yml