[Kimchi-devel] Error in kimchi model test

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Tue Feb 4 21:14:31 UTC 2014


I have seem this error in my machine:
- Fedora 20 - x86_64
- libvirt-1.1.3.3-2.fc20.x86_64

Can anyone try this test please, and let me know if you see the error ?

***************************************************************************
[rotru at dhcp-9-18-235-188 tests]$ sudo ./run_tests.sh 
test_model.ModelTests.test_delete_running_vm
libvirt: DBus Utils error : Invalid argument
E
======================================================================
ERROR: test_delete_running_vm (test_model.ModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_model.py", line 630, in test_delete_running_vm
inst.vm_start(u'kīмkhī-∨м')
File "/home/rotru/Projetos/Kimchi/kimchi/src/kimchi/model/vms.py", line 
371, in start
dom.create()
File 
"/home/rotru/Projetos/Kimchi/kimchi/src/kimchi/model/libvirtconnection.py", 
line 65, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 708, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: Invalid argument

----------------------------------------------------------------------
Ran 1 test in 0.369s

FAILED (errors=1)
***************************************************************************

I could get rid of this error changing the name of the vm created. The 
current name uses weird characters and unicode, but
this in intentional to check unicode in libvirt.
You can see the code in commit '5f04ac0750aacc97befa0088ae69fd036236349a'

Thanks,

Rodrigo Trujillo








More information about the Kimchi-devel mailing list