Public bug reported: It looks like latest release of setuptools breaks our stable CI for train and older branches:
+ lib/infra:install_infra:31 : local PIP_VIRTUAL_ENV=/opt/stack/requirements/.venv + lib/infra:install_infra:32 : '[' '!' -d /opt/stack/requirements/.venv ']' + lib/infra:install_infra:32 : virtualenv /opt/stack/requirements/.venv New python executable in /opt/stack/requirements/.venv/bin/python2 Also creating executable in /opt/stack/requirements/.venv/bin/python Installing setuptools, pkg_resources, pip, wheel... Complete output from command /opt/stack/requirements/.venv/bin/python2 - setuptools pkg_resources pip wheel: Collecting setuptools /opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings /opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings /opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings Downloading https://mirror-int.ord.rax.opendev.org/pypifiles/packages/af/e7/02db816dc88c598281bacebbb7ccf2c9f1a6164942e88f1a0fded8643659/setuptools-45.0.0-py2.py3-none-any.whl (583kB) setuptools requires Python '>=3.5' but the running Python is 2.7.17 ---------------------------------------- ...Installing setuptools, pkg_resources, pip, wheel...done. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/virtualenv.py", line 2375, in <module> main() File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main symlink=options.symlink) File "/usr/lib/python3/dist-packages/virtualenv.py", line 992, in create_environment download=download, File "/usr/lib/python3/dist-packages/virtualenv.py", line 922, in install_wheel call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) File "/usr/lib/python3/dist-packages/virtualenv.py", line 817, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /opt/stack/requirements/.venv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1 Running virtualenv with interpreter /usr/bin/python2 + lib/infra:install_infra:1 : exit_trap Sample stable/train failure: https://review.opendev.org/c/openstack/neutron/+/778701 with log https://zuul.opendev.org/t/openstack/build/e565a5ed50514877a8e88bee05a8e50c Sample stable/stein failure: https://review.opendev.org/c/openstack/neutron/+/774258 Sample stable/queens failure: https://review.opendev.org/c/openstack/neutron/+/777124 (UT need a cap on zipp there too apparently) ** Affects: neutron Importance: Undecided Status: New ** Tags: gate-failure -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1922727 Title: [stable] py2 jobs installation fails - setuptools requires Python '>=3.5' but the running Python is 2.7.17 Status in neutron: New Bug description: It looks like latest release of setuptools breaks our stable CI for train and older branches: + lib/infra:install_infra:31 : local PIP_VIRTUAL_ENV=/opt/stack/requirements/.venv + lib/infra:install_infra:32 : '[' '!' -d /opt/stack/requirements/.venv ']' + lib/infra:install_infra:32 : virtualenv /opt/stack/requirements/.venv New python executable in /opt/stack/requirements/.venv/bin/python2 Also creating executable in /opt/stack/requirements/.venv/bin/python Installing setuptools, pkg_resources, pip, wheel... Complete output from command /opt/stack/requirements/.venv/bin/python2 - setuptools pkg_resources pip wheel: Collecting setuptools /opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings /opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings /opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings Downloading https://mirror-int.ord.rax.opendev.org/pypifiles/packages/af/e7/02db816dc88c598281bacebbb7ccf2c9f1a6164942e88f1a0fded8643659/setuptools-45.0.0-py2.py3-none-any.whl (583kB) setuptools requires Python '>=3.5' but the running Python is 2.7.17 ---------------------------------------- ...Installing setuptools, pkg_resources, pip, wheel...done. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/virtualenv.py", line 2375, in <module> main() File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main symlink=options.symlink) File "/usr/lib/python3/dist-packages/virtualenv.py", line 992, in create_environment download=download, File "/usr/lib/python3/dist-packages/virtualenv.py", line 922, in install_wheel call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) File "/usr/lib/python3/dist-packages/virtualenv.py", line 817, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /opt/stack/requirements/.venv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1 Running virtualenv with interpreter /usr/bin/python2 + lib/infra:install_infra:1 : exit_trap Sample stable/train failure: https://review.opendev.org/c/openstack/neutron/+/778701 with log https://zuul.opendev.org/t/openstack/build/e565a5ed50514877a8e88bee05a8e50c Sample stable/stein failure: https://review.opendev.org/c/openstack/neutron/+/774258 Sample stable/queens failure: https://review.opendev.org/c/openstack/neutron/+/777124 (UT need a cap on zipp there too apparently) To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1922727/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

