[Kimchi-devel] Error in kimchi model test

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Tue Feb 4 23:50:38 UTC 2014


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




More information about the Kimchi-devel mailing list