[Kimchi-devel] Error in kimchi model test

Sheldon shaohef at linux.vnet.ibm.com
Mon Feb 10 02:15:40 UTC 2014


Hi Cristian and Trujillo:

Seems this is a bug of Fedora 20.

On F20, libvirt can create a pool with  non-ascii name, and start it.

However, libvirt can also create a VM with non-ascii name,  but it can 
not start it.

libvirt can send this VM name to qemu, and qemu can start this VM.

But libvirt fails to start this VM for something wrong with DBus

file this bug to redhat bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1062943

On 02/05/2014 07:50 AM, Rodrigo Trujillo wrote:
> Hey Cristian,
>
> the second error:Â  """ AssertionError: It is not necessary an 
> error.  You may need to increase the timeout number by 
> TEST_REPORT_TIMEOUT=200 ./run_tests.sh test_model """
> is related to sosreport. If you run it manually, you can see that it 
> outputs some errors and probably, the return code is different. Seems 
> to be a problem in sosreport with F20 version only.
>
> The first seems to be something wrong in kimchi... we need to dig more.
>
> Thanks for the answer.
>
> Trujillo
>
>
> On 02/04/2014 09:30 PM, Crístian Viana wrote:
>> Hi Trujillo,
>>
>> I'm running the same environment as you (Fedora 20, 
>> libvirt-1.1.3.3-2.fc20.x86_64) and I hit that (and other) error. I 
>> executed "cd tests/ && sudo ./run_tests.sh" on commit 9f33184 and 
>> this is the end of the error report:
>>
>> ======================================================================
>> ERROR: test_delete_running_vm (test_model.ModelTests)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> Â  File "/home/vianac/LTC/kimchi/tests/test_model.py", line 630, in 
>> test_delete_running_vm
>>     inst.vm_start(u'kīмkhī-∨м')
>> Â  File "/home/vianac/LTC/kimchi/src/kimchi/model/vms.py", line 358, 
>> in start
>> Â Â Â  dom.create()
>> Â  File 
>> "/home/vianac/LTC/kimchi/src/kimchi/model/libvirtconnection.py", line 
>> 65, in wrapper
>> Â Â Â  ret = f(*args, **kwargs)
>> Â  File 
>> "/home/vianac/LTC/kimchi/src/kimchi/model/libvirtconnection.py", line 
>> 65, in wrapper
>> Â Â Â  ret = f(*args, **kwargs)
>> Â  File 
>> "/home/vianac/LTC/kimchi/src/kimchi/model/libvirtconnection.py", line 
>> 65, in wrapper
>> Â Â Â  ret = f(*args, **kwargs)
>> Â  File 
>> "/home/vianac/LTC/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
>>
>> ======================================================================
>> FAIL: test_debug_reports (test_model.ModelTests)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> Â  File "/home/vianac/LTC/kimchi/tests/test_model.py", line 709, in 
>> test_debug_reports
>>     "It is not necessary an error.  "
>> AssertionError: It is not necessary an error.  You may need to 
>> increase the timeout number by TEST_REPORT_TIMEOUT=200 ./run_tests.sh 
>> test_model
>>
>> ----------------------------------------------------------------------
>> Ran 137 tests in 128.179s
>>
>> FAILED (failures=1, errors=1)
>>
>> _______________________________________________
>> Kimchi-devel mailing list
>> Kimchi-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel


-- 
Thanks and best regards!

Sheldon Feng(冯少合)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center




More information about the Kimchi-devel mailing list