[INTTEST-103] python2 pip install broken, causes CSIT jobs to abort Created: 19/Jun/20  Updated: 27/Jul/20  Resolved: 27/Jul/20

Status: Verified
Project: integration-test
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Highest
Reporter: Jamo Luhrsen Assignee: Jamo Luhrsen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This started happening ~10 hours ago.

example job

email thread

essentially, a pip install aborts with:

18:04:29   ERROR: Command errored out with exit status 1:
18:04:29    command: /tmp/v/robot/bin/python /tmp/v/robot/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0aEsso/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://nexus3.opendaylight.org/repository/PyPi/simple -- 'setuptools>=42' wheel 'setuptools_scm[toml]>=3.4.1'
18:04:29        cwd: None
18:04:29   Complete output (17 lines):
18:04:29   DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
18:04:29   Looking in indexes: https://nexus3.opendaylight.org/repository/PyPi/simple
18:04:29   Collecting setuptools>=42
18:04:29     Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/95/fe/2687907be1d6291a84a9b51220595a4f89d9477032c57f21e7c633465540/setuptools-47.3.1.zip (869 kB)
18:04:29       ERROR: Command errored out with exit status 32:
18:04:29        command: /tmp/v/robot/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-GeWopf/setuptools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-GeWopf/setuptools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ZYkxxx
18:04:29            cwd: /tmp/pip-install-GeWopf/setuptools/
18:04:29       Complete output (7 lines):
18:04:29       pkg_resources/py2_warn.py:15: UserWarning: Setuptools no longer works on Python 2
18:04:29       ************************************************************
18:04:29       Encountered a version of Setuptools that no longer supports
18:04:29       this version of Python. Please head to
18:04:29       https://bit.ly/setuptools-py2-sunset for support.
18:04:29       ************************************************************
18:04:29         warnings.warn(pre + "*" * 60 + msg + "*" * 60)
18:04:29       ----------------------------------------
18:04:29   ERROR: Command errored out with exit status 32: python setup.py egg_info Check the logs for full command output.
18:04:29   ----------------------------------------
18:04:29 ERROR: Command errored out with exit status 1: /tmp/v/robot/bin/python /tmp/v/robot/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0aEsso/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://nexus3.opendaylight.org/repository/PyPi/simple -- 'setuptools>=42' wheel 'setuptools_scm[toml]>=3.4.1' Check the logs for full command output.
18:04:30 Build step 'Execute shell' marked build as failure

 



 Comments   
Comment by Jamo Luhrsen [ 27/Jul/20 ]

the move to python3 fixed this issue

Generated at Wed Feb 07 20:04:34 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.