← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241032] Re: test_static_translated_string_is_Message fails when building in Wheezy (with backports)

 

IIRC, this was actually being caused by an out-of-tree patch being
carried by Debian. Please re-open if I'm mistaken.

** Changed in: keystone
       Status: Incomplete => Invalid

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

Title:
  test_static_translated_string_is_Message fails when building in Wheezy
  (with backports)

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  When building in Wheezy (with some backports I maintain), I had the
  below unit test error. Note that this bug might be a duplicate of
  #1241030, though I'm not sure, so I'm filling 2 separate bugs. This is
  the only unit test which fails in Keystone Havana RC3, so it'd be
  really nice to see it fixed.

  >> ERROR:
  >> keystone.tests.test_wsgi.LocalizedResponseTest.test_static_translated_string_is_Message
  >> ----------------------------------------------------------------------
  >> Traceback (most recent call last):
  >>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 133, in run
  >>     self.runTest(result)
  >>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 151, in runTest
  >>     test(result)
  >>   File "/usr/lib/python2.7/unittest/case.py", line 396, in __call__
  >>     return self.run(*args, **kwds)
  >>   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
  >> 526, in run
  >>     return self.__RunTest(self, self.exception_handlers).run(result)
  >>   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 74,
  >> in run
  >>     return self._run_one(actual_result)
  >>   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 88,
  >> in _run_one
  >>     return self._run_prepared_result(ExtendedToOriginalDecorator(result))
  >>   File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line
  >> 107, in _run_prepared_result
  >>     handler(self.case, self.result, e)
  >>   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
  >> 499, in _report_failure
  >>     result.addFailure(self, details=self.getDetails())
  >>   File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py",
  >> line 1151, in addFailure
  >>     return self.decorated.addFailure(test, err)
  >>   File "/usr/lib/python2.7/dist-packages/nose/proxy.py", line 146, in
  >> addFailure
  >>     formatted = plugins.formatFailure(self.test, err)
  >>   File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line
  >> 94, in __call__
  >>     return self.call(*arg, **kw)
  >>   File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line
  >> 136, in chain
  >>     result = meth(*arg, **kw)
  >>   File "/usr/lib/python2.7/dist-packages/nose/plugins/failuredetail.py",
  >> line 41, in formatFailure
  >>     tbinfo = inspect_traceback(tb)
  >>   File "/usr/lib/python2.7/dist-packages/nose/inspector.py", line 26, in
  >> inspect_traceback
  >>     while tb.tb_next:
  >> AttributeError: 'NoneType' object has no attribute 'tb_next'
  >> -------------------- >> begin captured logging << --------------------
  >> keystone.common.cache.core: DEBUG: Adding cache-proxy
  >> 'keystone.tests.test_cache.CacheIsolatingProxy' to backend.
  >> --------------------- >> end captured logging << ---------------------

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