test_get_certificate fails on stable/liberty with "AttributeError: load_der_x509_certificate"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Triaged
|
Medium
|
Unassigned | ||
Liberty |
Triaged
|
Medium
|
Unassigned | ||
Mitaka |
Triaged
|
Medium
|
Unassigned | ||
Newton |
Triaged
|
Medium
|
Unassigned |
Bug Description
2016-03-21 06:34:24.295 | FAIL: glance.
2016-03-21 06:34:24.295 | tags: worker-6
2016-03-21 06:34:24.295 | -------
2016-03-21 06:34:24.295 | Traceback (most recent call last):
2016-03-21 06:34:24.295 | File "/home/
2016-03-21 06:34:24.295 | patching.
2016-03-21 06:34:24.295 | File "/home/
2016-03-21 06:34:24.295 | delattr(
2016-03-21 06:34:24.295 | AttributeError: load_der_
2016-03-21 06:34:24.295 | Ran 2851 tests in 312.180s
This is due to the cryptography 1.3 release on 3/18 which removed that public method which is mocked in the test:
Changed in glance: | |
status: | New → Confirmed |
tags: | added: gate |
tags: | added: liberty-backport-potential |
What's odd is the method is still in the cryptography 1.3 code:
https:/ /github. com/pyca/ cryptography/ blob/1. 3/src/cryptogra phy/x509/ __init_ _.py#L119