test_clusterip_service_endpoint fails on import error

Bug #1973209 reported by Bas de Bruijne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charmed Kubernetes Testing
New
Undecided
Unassigned

Bug Description

In testrun:
https://solutions.qa.canonical.com/testruns/testRun/e7554f37-4862-4476-98bc-e0f1358aa31d

The k8s validation fails with:
========================================================
2022-05-12-01:35:56 root DEBUG Traceback (most recent call last):
2022-05-12-01:35:56 root DEBUG File "/home/ubuntu/k8s-validation/.tox/py3/bin/pip-sync", line 5, in <module>
2022-05-12-01:35:56 root DEBUG from piptools.scripts.sync import cli
2022-05-12-01:35:56 root DEBUG File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/piptools/scripts/sync.py", line 19, in <module>
2022-05-12-01:35:56 root DEBUG from ..repositories import PyPIRepository
2022-05-12-01:35:56 root DEBUG File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/piptools/repositories/__init__.py", line 1, in <module>
2022-05-12-01:35:56 root DEBUG from .local import LocalRequirementsRepository
2022-05-12-01:35:56 root DEBUG File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/piptools/repositories/local.py", line 14, in <module>
2022-05-12-01:35:56 root DEBUG from .pypi import PyPIRepository
2022-05-12-01:35:56 root DEBUG File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/piptools/repositories/pypi.py", line 23, in <module>
2022-05-12-01:35:56 root DEBUG from pip._internal.cli.progress_bars import BAR_TYPES
2022-05-12-01:35:56 root DEBUG ImportError: cannot import name 'BAR_TYPES' from 'pip._internal.cli.progress_bars' (/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py)
2022-05-12-01:35:56 root DEBUG ERROR: InvocationError for command /home/ubuntu/k8s-validation/.tox/py3/bin/pip-sync requirements.txt (exited with code 1)
2022-05-12-01:35:56 root DEBUG ___________________________________ summary ____________________________________
2022-05-12-01:35:56 root DEBUG ERROR: py3: commands failed
========================================================

We are on version 1.24. Maybe its an idea to pin the requirements to specific versions?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.