Bug 1922235 - [build-watch] e2e-aws-upi - e2e-aws-upi container setup failing because of Python code version mismatch
Summary: [build-watch] e2e-aws-upi - e2e-aws-upi container setup failing because of Py...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.8.0
Assignee: Aditya Narayanaswamy
QA Contact: Gaoyun Pei
URL:
Whiteboard:
: 1924806 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-29 13:52 UTC by Kevin Pouget
Modified: 2021-07-27 22:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Pip version 21 does not support Python 2 installed, leading to an error resolving all the dependent packages required to setup the container. Pip version is now fixed to a version less than 21 to avoid this problem.
Clone Of:
Environment:
[sig-sippy] infrastructure should work
Last Closed: 2021-07-27 22:37:34 UTC
Target Upstream Version: 4.8.0
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None Waiting on Customer RHEL7.8では使えていた入力方法(設定アプリの「地域と言語」「入力ソース」に日本語(かな漢字)がRHEL8.2では出てこない。 2022-06-20 03:17:31 UTC

Description Kevin Pouget 2021-01-29 13:52:26 UTC
test: e2e-aws-upi - e2e-aws-upi container setup is failing frequently in CI, see search results:
https://testgrid.k8s.io/redhat-openshift-ocp-release-4.6-informing#release-openshift-ocp-installer-e2e-aws-upi-4.6
https://prow.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.6/1355145020251836416

because of a mix of Python 2 and 3 files:

> 21.0-py2.7.egg/pip/_internal/utils/unpacking.py", line 276
>     f'Cannot determine archive format of {location}'
>                                                    ^
> SyntaxError: invalid syntax
> 
>   File "/tmp/.local/lib/python2.7/site-packages/pip-21.0-py2.7.egg/pip/_internal/utils/wheel.py", line 60
>     p for p in wheel_zip.namelist() if p.startswith(f"{info_dir}/")
>                                                                  ^
> SyntaxError: invalid syntax
> 
>   File "/tmp/.local/lib/python2.7/site-packages/pip-21.0-py2.7.egg/pip/_internal/vcs/git.py", line 156
>     raise ValueError(f'unexpected show-ref line: {line!r}')
>                                                          ^
> SyntaxError: invalid syntax
> 
>   File "/tmp/.local/lib/python2.7/site-packages/pip-21.0-py2.7.egg/pip/_internal/vcs/versioncontrol.py", line 72
>     req = f'{repo_url}@{rev}#egg={egg_project_name}'

Comment 1 aaleman 2021-02-01 19:33:17 UTC
@keving Pouget: This is not a test infrastructure issue but a test issue, please contact the owner of the step

Comment 2 Matthew Staebler 2021-02-03 16:51:56 UTC
*** Bug 1924806 has been marked as a duplicate of this bug. ***

Comment 3 Matthew Staebler 2021-02-03 22:38:52 UTC
This has been fixed by https://github.com/openshift/release/pull/15226.

In the rehearsal for that PR, the test made it past the python issue.

This bug is only relevant to CI, so I am moving this BZ to Verified.

Comment 6 errata-xmlrpc 2021-07-27 22:37:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.