yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30153
[Bug 1422385] Re: libvirt unit tests fail with older libvirt (or no libvirt installed)
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-3
--
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/1422385
Title:
libvirt unit tests fail with older libvirt (or no libvirt installed)
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
nova.tests.unit.virt.libvirt.test_host.HostTestCase.test_find_secret
--------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/jenkins/workspace/gerrit-nova-es-py27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "nova/tests/unit/virt/libvirt/test_host.py", line 668, in test_find_secret
mock.call(libvirt.VIR_SECRET_USAGE_TYPE_ISCSI, 'iscsivol'),
AttributeError: 'module' object has no attribute 'VIR_SECRET_USAGE_TYPE_ISCSI'
Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
nova.tests.unit.virt.libvirt.test_host.HostTestCase.test_list_instance_domains_fallback
---------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/jenkins/workspace/gerrit-nova-es-py27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "nova/tests/unit/virt/libvirt/test_host.py", line 516, in test_list_instance_domains_fallback
libvirt.VIR_CONNECT_LIST_DOMAINS_ACTIVE)
AttributeError: 'module' object has no attribute 'VIR_CONNECT_LIST_DOMAINS_ACTIVE'
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
--------
Those constants should be in fakelibvirt now that libvirt-python is no
longer in test-requirements.txt.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1422385/+subscriptions
References