[ovirt-devel] [vdsm] Another network test failing

Adam Litke alitke at redhat.com
Mon May 9 18:48:43 UTC 2016


When running make check on my local system I often (but not always)
get the following error:

$ rpm -qa | grep libvirt-python
libvirt-python-1.2.18-1.fc23.x86_64

<snip>

======================================================================
ERROR: Failure: ImportError (No module named 'libvirt')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/nose/failure.py", line 39, in
runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3.4/site-packages/nose/loader.py", line 418, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3.4/site-packages/nose/importer.py", line 47,
in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3.4/site-packages/nose/importer.py", line 94,
in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib64/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib64/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in
_call_with_frames_removed
  File "/home/alitke/src/vdsm/tests/network/models_test.py", line 27,
in <module>
    from vdsm.network.netinfo import bonding, mtus
  File "/home/alitke/src/vdsm/lib/vdsm/network/netinfo/__init__.py",
line 26, in <module>
    from vdsm import libvirtconnection
  File "/home/alitke/src/vdsm/lib/vdsm/libvirtconnection.py", line 29,
in <module>
    import libvirt
ImportError: No module named 'libvirt'

----------------------------------------------------------------------
Ran 234 tests in 11.084s

FAILED (SKIP=42, errors=1)


-- 
Adam Litke



More information about the Devel mailing list