[Kimchi-devel] [kimchi-devel][RFC] Snapshot mockmodel tests fail for RHEL7 and fedora20

Royce Lv lvroyce at linux.vnet.ibm.com
Mon Feb 2 08:19:31 UTC 2015


On 01/27/2015 07:17 AM, Aline Manera wrote:
>
> Royce, could you confirm if reverting the commit 
> fe38d2383db7bb3c1ae6283a5931f8984dda0d8c solves the problem?
It can solve this problem.
>
> On 27/01/2015 02:04, Royce Lv wrote:
>> Latest added snapshots mockmodel tests fails at RHEL7 and fedora20 
>> because libvirt test model lacks of related support:
>> ======================================================================
>> ERROR: test_vm_lifecycle (test_rest.RestTests)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File "test_rest.py", line 92, in setUp
>>     model.reset()
>>   File "/home/royce/kimchi-2/kimchi/src/kimchi/mockmodel.py", line 
>> 133, in reset
>>     getattr(self, '%s_delete' % res[:-1])(i)
>>   File "/home/royce/kimchi-2/kimchi/src/kimchi/model/vms.py", line 
>> 847, in delete
>>     snapshot_names = self.vmsnapshots.get_list(name)
>>   File "/home/royce/kimchi-2/kimchi/src/kimchi/model/vmsnapshots.py", 
>> line 117, in get_list
>>     {'vm': vm_name, 'err': e.message})
>> OperationFailed: KCHSNAP0005E: Unable to list snapshots on virtual 
>> machine 'kimchi-test'. Details: this function is not supported by the 
>> connection driver: virDomainListAllSnapshots
>>
>> I suggest probe the libvirt version or add feature probe as we do for 
>> qemu stream to make sure tests run well on these systems.
>>
>> _______________________________________________
>> 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