+++ 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: