Bug 2144753

Summary: The osp-tox-pep8 job is broken because flake8 repository was migrated to github
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: openstack-tripleo-commonAssignee: Takashi Kajinami <tkajinam>
Status: MODIFIED --- QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: drosenfe, mburns, ramishra, slinaber
Target Milestone: z10Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-15.4.1-0.20221122090255.51f6577.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2144752 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2144752    
Bug Blocks:    

Description Takashi Kajinami 2022-11-22 08:29:09 UTC
+++ This bug was initially created as a clone of Bug #2144752 +++

Description of problem:

The osp-tox-pep8 job consistently fails with the following error.

```
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.git.
An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'fetch', 'origin', '--tags')
return code: 128
expected return code: 0
stdout: (none)
stderr:
    fatal: could not read Username for 'https://gitlab.com': No such device or address
```

This was already fixed in upstream by [1].
We have to backport the fix to our downstream branch which no longer imports the upstream branches.

[1] https://review.opendev.org/q/I0a30b9ae7ccc2d5faf67e78c1f2d04cea446cecc 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: