[CI] "python_venv_build : Upgrade pip/setuptools/wheel to the versions we want" should not use remote upper-constraint
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:/
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 'ReadTimeoutErr
It makes the task fail, and the whole job is dead.
An example is available here:
https:/
It was linked to the following change:
https:/
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.
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... workspace/ .quickstart/ bin/python3 - setuptools pip wheel: or("HTTPSConnec tionPool( host='opendev. org', port=443): Read timed out. (read timeout=60.0)",)': /openstack/ requirements/ raw/branch/ stable/ train/upper- constraints. txt python3- wheels/ pip-9.0. 3-py2.py3- none-any. whl/pip/ basecommand. py", line 215, in main python3- wheels/ pip-9.0. 3-py2.py3- none-any. whl/pip/ commands/ install. py", line 334, in run python3- wheels/ pip-9.0. 3-py2.py3- none-any. whl/pip/ basecommand. py", line 269, in populate_ requirement_ set wheel_cache) : python3- wheels/ pip-9.0. 3-py2.py3- none-any. whl/pip/ req/req_ file.py" , line 84, in parse_requirements comes_from, session=session python3- wheels/ pip-9.0. 3-py2.py3- none-any. whl/pip/ download. py", line 419, in get_file_content for_status( ) python3- wheels/ pip-9.0. 3-py2.py3- none-any. whl/pip/ _vendor/ requests/ models. py", line 935, in raise_for_status http_error_ msg, response=self) requests. exceptions. HTTPError: 500 Server Error: Internal Server Error for url: https:/ /opendev. org/openstack/ requirements/ raw/branch/ stable/ train/upper- constraints. txt ------- ------- ------- ------- ----- python3. 6/runpy. py", line 193, in _run_module_as_main python3. 6/runpy. py", line 85, in _run_code python3. 6/site- packages/ virtualenv. py", line 2333, in <module> python3. 6/site- packages/ vir...
2021-02-10 17:50:35.170733 | primary | Complete output from command /home/zuul/
2021-02-10 17:50:35.170748 | primary | Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutErr
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/
2021-02-10 17:50:35.170785 | primary | status = self.run(options, args)
2021-02-10 17:50:35.170793 | primary | File "/usr/share/
2021-02-10 17:50:35.170802 | primary | wheel_cache
2021-02-10 17:50:35.170811 | primary | File "/usr/share/
2021-02-10 17:50:35.170819 | primary | session=session, wheel_cache=
2021-02-10 17:50:35.170828 | primary | File "/usr/share/
2021-02-10 17:50:35.170836 | primary | filename, comes_from=
2021-02-10 17:50:35.170845 | primary | File "/usr/share/
2021-02-10 17:50:35.170853 | primary | resp.raise_
2021-02-10 17:50:35.170879 | primary | File "/usr/share/
2021-02-10 17:50:35.170888 | primary | raise HTTPError(
2021-02-10 17:50:35.170896 | primary | pip._vendor.
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/
2021-02-10 17:50:35.171905 | primary | "__main__", mod_spec)
2021-02-10 17:50:35.171937 | primary | File "/usr/lib64/
2021-02-10 17:50:35.172094 | primary | exec(code, run_globals)
2021-02-10 17:50:35.172125 | primary | File "/usr/lib/
2021-02-10 17:50:35.173412 | primary | main()
2021-02-10 17:50:35.173453 | primary | File "/usr/lib/