Closed
Bug 1458557
Opened 7 years ago
Closed 7 years ago
puppet often fails to install "cryptography" python module on the first try
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Unassigned)
References
Details
Attachments
(1 file)
2.46 KB,
patch
|
bhearsum
:
review+
|
Details | Diff | Splinter Review |
I've seen this on a few different hosts when a virtualenv is rebuilt, the error is always:
May 02 08:30:11 buildduty-tools.srv.releng.usw2.mozilla.com puppet-agent: (/Stage[main]/Buildduty_tools::Builddutytools/Python::Virtualenv[/home/buildduty/buildduty-tools]/Python::Virtualenv::Package[/home/buildduty/buildduty-tools||cryptography==0.6]/Exec[pip /home/buildduty/buildduty-tools||cryptography==0.6]/returns) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('six>=1.4.1')
However, six is available, and gets installed after cryptography. On the next puppet run, cryptography ends up installing fine. I'm not sure if this is a problem with the pip version we're using, or something with Puppet.
Reporter | ||
Comment 1•7 years ago
|
||
I did some looking into this, and it looks like this is an issue with one (or more) of setuptools, pip, virtualenv based on a read of https://github.com/pyca/cryptography/issues/1203. We're planning to upgrade those this quarter, so I don't think we need to do anything special for this right now.
Comment 2•7 years ago
|
||
I bet we need to move those above cryptography in the module order. I pushed for an alphabetical sort, but we may want to go for a practical working sort.
QA Contact: catlee
Comment 3•7 years ago
|
||
I may have fixed this in my multiple landings.
Reporter | ||
Comment 4•7 years ago
|
||
This didn't end up blocking the Python upgrades.
No longer blocks: 1450035
Comment 5•7 years ago
|
||
Attachment #8975568 -
Flags: review?(bhearsum)
Reporter | ||
Updated•7 years ago
|
Attachment #8975568 -
Flags: review?(bhearsum) → review+
Pushed by asasaki@mozilla.com:
https://hg.mozilla.org/build/puppet/rev/2d40e97c743f
reorder deps to fix cryptography first time install. r=bhearsum
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•