[CI] "python_venv_build : Upgrade pip/setuptools/wheel to the versions we want" should not use remote upper-constraint

Bug #1914547 reported by Cédric Jeanneret
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Unassigned

Bug Description

Hello there,

It seems the mentioned task points to a remote constraint file:
https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt

This might lead to useless recheck due to the following:
:stderr: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='opendev.org', port=443): Read timed out. (read timeout=60.0)",)': /openstack/requirements/raw/branch/master/upper-constraints.txt

It makes the task fail, and the whole job is dead.

An example is available here:
https://logserver.rdoproject.org/12/772412/5/openstack-check/tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001/ff0a753/job-output.txt

It was linked to the following change:
https://review.opendev.org/c/openstack/tripleo-common/+/772412

and happened on stable/train RDO job.

Apparently, that same file exists somewhere on the filesystem, meaning we could avoid this failure, and therefore save a check-rdo (and resources, and time, and... the world! #orMaybeNot)

Cheers,

C.

Tags: ci
Revision history for this message
yatin (yatinkarel) wrote :
Download full text (4.2 KiB)

Also see during quickstart install, which can also be fixed as part of this bug:-

2021-02-10 17:50:35.170654 | primary | Installing setuptools, pip, wheel...
2021-02-10 17:50:35.170733 | primary | Complete output from command /home/zuul/workspace/.quickstart/bin/python3 - setuptools pip wheel:
2021-02-10 17:50:35.170748 | primary | Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='opendev.org', port=443): Read timed out. (read timeout=60.0)",)': /openstack/requirements/raw/branch/stable/train/upper-constraints.txt
2021-02-10 17:50:35.170760 | primary | Exception:
2021-02-10 17:50:35.170768 | primary | Traceback (most recent call last):
2021-02-10 17:50:35.170777 | primary | File "/usr/share/python3-wheels/pip-9.0.3-py2.py3-none-any.whl/pip/basecommand.py", line 215, in main
2021-02-10 17:50:35.170785 | primary | status = self.run(options, args)
2021-02-10 17:50:35.170793 | primary | File "/usr/share/python3-wheels/pip-9.0.3-py2.py3-none-any.whl/pip/commands/install.py", line 334, in run
2021-02-10 17:50:35.170802 | primary | wheel_cache
2021-02-10 17:50:35.170811 | primary | File "/usr/share/python3-wheels/pip-9.0.3-py2.py3-none-any.whl/pip/basecommand.py", line 269, in populate_requirement_set
2021-02-10 17:50:35.170819 | primary | session=session, wheel_cache=wheel_cache):
2021-02-10 17:50:35.170828 | primary | File "/usr/share/python3-wheels/pip-9.0.3-py2.py3-none-any.whl/pip/req/req_file.py", line 84, in parse_requirements
2021-02-10 17:50:35.170836 | primary | filename, comes_from=comes_from, session=session
2021-02-10 17:50:35.170845 | primary | File "/usr/share/python3-wheels/pip-9.0.3-py2.py3-none-any.whl/pip/download.py", line 419, in get_file_content
2021-02-10 17:50:35.170853 | primary | resp.raise_for_status()
2021-02-10 17:50:35.170879 | primary | File "/usr/share/python3-wheels/pip-9.0.3-py2.py3-none-any.whl/pip/_vendor/requests/models.py", line 935, in raise_for_status
2021-02-10 17:50:35.170888 | primary | raise HTTPError(http_error_msg, response=self)
2021-02-10 17:50:35.170896 | primary | pip._vendor.requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt
2021-02-10 17:50:35.170904 | primary | ----------------------------------------
2021-02-10 17:50:35.170914 | primary | ...Installing setuptools, pip, wheel...done.
2021-02-10 17:50:35.170929 | primary | Traceback (most recent call last):
2021-02-10 17:50:35.170965 | primary | File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
2021-02-10 17:50:35.171905 | primary | "__main__", mod_spec)
2021-02-10 17:50:35.171937 | primary | File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
2021-02-10 17:50:35.172094 | primary | exec(code, run_globals)
2021-02-10 17:50:35.172125 | primary | File "/usr/lib/python3.6/site-packages/virtualenv.py", line 2333, in <module>
2021-02-10 17:50:35.173412 | primary | main()
2021-02-10 17:50:35.173453 | primary | File "/usr/lib/python3.6/site-packages/vir...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.