yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01676
[Bug 1133056] Re: nova/tests/fakelibvirt.py fails because it doesn't import time
** 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/1133056
Title:
nova/tests/fakelibvirt.py fails because it doesn't import time
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
When I run the nova tests I see this stacktrace:
$ python setup.py testr --coverage --testr-args=''
running testr
Unimplemented block at relaxng.c:3824
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/jenkins/workspace/nova-upstream/nova/virt/libvirt/driver.py", line 413, in _native_thread
libvirt.virEventRunDefaultImpl()
File "/home/jenkins/workspace/nova-upstream/nova/tests/fakelibvirt.py", line 909, in virEventRunDefaultImpl
time.sleep(1)
NameError: global name 'time' is not defined
Adding "import time" to the top of nova/tests/fakelibvirt.py seems to resolve the issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1133056/+subscriptions