validation suite fails to install on focal behind proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
Fix Released
|
Undecided
|
Adam Stokes |
Bug Description
When trying to install the validation suite on a focal machine behind a proxy the install hangs installing pynacl==1.1.2. This is with a proxy set in ~/.config/
It seems that this was never an issue on bionic, since pyncal's bionic version is 1.1.2, the install would use the existing version on our test systems.
Jason Hobbs found that the install fails because pyncal 1.1.2 uses setuptools to install cffi and flake8 and setuptools does not honor the proxy.
Additionally pip does not garotte that order of requirements files will be followed.
There seem to be a few workaround choices on focal:
1) change the requirements to be pynacl >= 1.1.2, this allows for using 1.3.0 from focal to run the test. I validated that the tests still run correctly using python3-nacl 1.3.0. I ran into a few problems running the tests on vsphere, but all of them have commits which fix them in the latest version of the validation suite.
2) set the tox.ini to install cffi and flake8 before anything else; See the attached patch from Jason
3) snap the suite so environment doesnt matter anymore.
tags: | added: cdo-release-blocker |
attaching patch