← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1495547] Re: nova.tests.unit.test_crypto.RevokeCertsTest.test_revoke_cert_project_not_found_chdir_fails fails locally since ~9/11

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1495547

Title:
  nova.tests.unit.test_crypto.RevokeCertsTest.test_revoke_cert_project_not_found_chdir_fails
  fails locally since ~9/11

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  I rebased my local master branch around 9/11 and I've been seeing this
  failing consistently locally:

  nova.tests.unit.test_crypto.RevokeCertsTest.test_revoke_cert_project_not_found_chdir_fails
  ------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "nova/tests/unit/test_crypto.py", line 168, in test_revoke_cert_project_not_found_chdir_fails
          2, 'test_file')
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 422, in assertRaises
          self.assertThat(our_callable, matcher)
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
          mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 483, in _matchHelper
          mismatch = matcher.match(matchee)
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
          mismatch = self.exception_matcher.match(exc_info)
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
          mismatch = matcher.match(matchee)
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 414, in match
          reraise(*matchee)
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
          result = matchee()
        File "/home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 969, in __call__
          return self._callable_object(*self._args, **self._kwargs)
        File "nova/crypto.py", line 227, in revoke_cert
          raise exception.RevokeCertFailure(project_id=project_id)
      nova.exception.RevokeCertFailure: Failed to revoke certificate for 2

  The last changes to test_crypto were made on 9/4:

  https://review.openstack.org/#/c/191604/

  Given that's related to processutils in oslo.concurrency, I'm
  wondering if there was a regression in 2.6.0, released on 9/8:

  https://pypi.python.org/pypi/oslo.concurrency/2.6.0

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


References