← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1560060] Re: test_get_certificate fails on stable/liberty with "AttributeError: load_der_x509_certificate"

 

** Also affects: glance/newton
   Importance: Undecided
       Status: New

** Also affects: glance/mitaka
   Importance: Undecided
       Status: Confirmed

** Also affects: glance/liberty
   Importance: Undecided
       Status: New

** Changed in: glance/liberty
   Importance: Undecided => Medium

** Changed in: glance/liberty
       Status: New => Triaged

** Changed in: glance/mitaka
       Status: Confirmed => Triaged

** Changed in: glance/mitaka
   Importance: Undecided => Medium

** Changed in: glance/newton
       Status: New => Triaged

** Changed in: glance/newton
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1560060

Title:
  test_get_certificate fails on stable/liberty with "AttributeError:
  load_der_x509_certificate"

Status in Glance:
  Triaged
Status in Glance liberty series:
  Triaged
Status in Glance mitaka series:
  Triaged
Status in Glance newton series:
  Triaged

Bug description:
  http://logs.openstack.org/periodic-stable/periodic-glance-
  python27-liberty/2193fe7/console.html#_2016-03-21_06_34_24_295

  2016-03-21 06:34:24.295 | FAIL: glance.tests.unit.common.test_signature_utils.TestSignatureUtils.test_get_certificate
  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/jenkins/workspace/periodic-glance-python27-liberty/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1318, in patched
  2016-03-21 06:34:24.295 |     patching.__exit__(*exc_info)
  2016-03-21 06:34:24.295 |   File "/home/jenkins/workspace/periodic-glance-python27-liberty/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1482, in __exit__
  2016-03-21 06:34:24.295 |     delattr(self.target, self.attribute)
  2016-03-21 06:34:24.295 | AttributeError: load_der_x509_certificate
  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:

  https://github.com/openstack/glance/blob/stable/liberty/glance/tests/unit/common/test_signature_utils.py#L322

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1560060/+subscriptions


References