yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08702
[Bug 1257876] Re: tests fail when libvirt not installed
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1257876
Title:
tests fail when libvirt not installed
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
======================================================================
FAIL: nova.tests.virt.libvirt.test_libvirt.LibvirtNonblockingTestCase.test_tpool_execute_calls_libvirt
----------------------------------------------------------------------
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "/var/lib/jenkins/workspace/nova-virtualenv-debian6/nova/nova/tests/virt/libvirt/test_libvirt.py", line 7405, in test_tpool_execute_calls_libvirt
conn = libvirt.virConnect()
TypeError: __init__() takes at least 3 arguments (1 given)
If libvirt is not installed, nova/tests/virt/libvirt/fakelibvirt.py
defines libvirt.virConnect = fakelibvirt.Connection which does not
have default parameters like the actual libvirt.virConnect. There is
no way for tests to pass if libvirt is not installed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1257876/+subscriptions
References