yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01638
[Bug 1131023] Re: OSX unit tests intermittently fail due to coverage conflict
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-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/1131023
Title:
OSX unit tests intermittently fail due to coverage conflict
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Running unit tests with a high concurrency will lead to random test
failures like the following:
Traceback (most recent call last):
File "nova/tests/test_libvirt.py", line 4153, in test_create_cow_image
libvirt_utils.create_cow_image('/some/path', '/the/new/cow')
File "nova/virt/libvirt/utils.py", line 174, in create_cow_image
base_details = images.qemu_img_info(backing_file)
File "/usr/local/lib/python2.7/site-packages/coverage/control.py", line 234, in _should_trace
canonical = self.file_locator.canonical_filename(filename)
File "/usr/local/lib/python2.7/site-packages/coverage/files.py", line 42, in canonical_filename
if os.path.exists(f):
File "/usr/local/lib/python2.7/site-packages/mox.py", line 765, in __call__
return mock_method(*params, **named_params)
File "/usr/local/lib/python2.7/site-packages/mox.py", line 1002, in __call__
expected_method = self._VerifyMethodCall()
File "/usr/local/lib/python2.7/site-packages/mox.py", line 1060, in _VerifyMethodCall
raise UnexpectedMethodCallError(self, expected)
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+
- exists.__call__('./nova/virt/images.py') -> None
+ exists.__call__('/some/path') -> True
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1131023/+subscriptions