openstack-tox-pep8 consistently fails because it fails to install flake8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Takashi Kajinami |
Bug Description
Description
===========
The openstack-tox-pep8 job is consistently failing with the following error in some repositories.
So far I'm aware this issue is observed in python-
```
[INFO] Initializing environment for https:/
[INFO] Initializing environment for https:/
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:/
```
examples:
https:/
https:/
Manually running the tox command in my local, I found out that pre commit hook tries to install flake8 from Gitlab but the repository is no longer available there.
Because of that, Gitlab is asking authentication and results in the above message.
Changed in tripleo: | |
importance: | Undecided → Critical |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Changed in tripleo: | |
status: | New → In Progress |
Changed in tripleo: | |
milestone: | none → antelope-1 |
Submitted the fixes for master: https:/ /review. opendev. org/q/topic: bug%252F1996668
We likely need to backport it to older branches.