yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36104
[Bug 1469734] Re: neutron.tests.functional.test_tools.TestSafeFixture.test_error_after_root_setup fails due to new fixture 1.3.0 release
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => liberty-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1469734
Title:
neutron.tests.functional.test_tools.TestSafeFixture.test_error_after_root_setup
fails due to new fixture 1.3.0 release
Status in neutron:
Fix Released
Bug description:
Today, June 29th was fixtures 1.3.0 released that introduced commit
https://github.com/testing-
cabal/fixtures/commit/354acf568aa86bb7d43a01c23d73c750f601b335 that
causes our new SafeFixture to fail test from Summary.
ft1.158: neutron.tests.functional.test_tools.TestSafeFixture.test_error_after_root_setup(testtools useFixture)_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
traceback-1: {{{
Traceback (most recent call last):
File "neutron/tests/functional/test_tools.py", line 73, in test_error_after_root_setup
self.assertRaises(ValueError, self.parent.useFixture, fixture)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 670, in useFixture
gather_details(fixture.getDetails(), self.getDetails())
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/fixture.py", line 169, in getDetails
result = dict(self._details)
TypeError: 'NoneType' object is not iterable
}}}
Traceback (most recent call last):
File "neutron/tests/tools.py", line 33, in <lambda>
self.setUp = lambda: self.safe_setUp(unsafe_setup)
File "neutron/tests/tools.py", line 46, in safe_setUp
self.safe_cleanUp()
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "neutron/tests/tools.py", line 43, in safe_setUp
unsafe_setup()
File "neutron/tests/functional/test_tools.py", line 43, in setUp
raise ValueError
ValueError
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1469734/+subscriptions
References