You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ansible playbook fails to install tap2junit on the rhel8-x64 machines (I've tried all three IBM hosted ones and the Digital Ocean machine).
TASK [jenkins-worker : install tap2junit] ***********************************************************************************************************************************************************************fatal: [test-ibm-rhel8-x64-1]: FAILED! => {"changed": false, "cmd": ["/usr/libexec/platform-python", "-m", "pip.__main__", "install", "tap2junit==0.1.6"], "msg": "stdout: Collecting tap2junit==0.1.6\n\n:stderr: WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.\n Could not find a version that satisfies the requirement tap2junit==0.1.6 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5)\nNo matching distribution found for tap2junit==0.1.6\n"}PLAY RECAP ******************************************************************************************************************************************************************************************************test-ibm-rhel8-x64-1 : ok=41 changed=3 unreachable=0 failed=1 skipped=73 rescued=0 ignored=0
I suspect the problem is that /usr/libexec/platform-python is being used, which is Python 3.6 on RHEL 8. We do have Python 3.9 installed on those machines:
`tap2junit` 0.1.6 requires Python >=3.7.
Use the installed `python3` (currently Python 3.9) rather than
`/usr/libexec/platform-python` which is Python 3.6.8.
Fixes: #3306
Ansible playbook fails to install
tap2junit
on the rhel8-x64 machines (I've tried all three IBM hosted ones and the Digital Ocean machine).I suspect the problem is that
/usr/libexec/platform-python
is being used, which is Python 3.6 on RHEL 8. We do have Python 3.9 installed on those machines:The text was updated successfully, but these errors were encountered: