+1<br><br><div class="gmail_quote">On Tue Jan 27 2015 at 5:04:47 AM Royce Lv <<a href="mailto:lvroyce@linux.vnet.ibm.com">lvroyce@linux.vnet.ibm.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Latest added snapshots mockmodel tests fails at RHEL7 and fedora20<br>
because libvirt test model lacks of related support:<br>
==============================<u></u>==============================<u></u>==========<br>
ERROR: test_vm_lifecycle (test_rest.RestTests)<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
Traceback (most recent call last):<br>
File "test_rest.py", line 92, in setUp<br>
model.reset()<br>
File "/home/royce/kimchi-2/kimchi/<u></u>src/kimchi/mockmodel.py", line 133,<br>
in reset<br>
getattr(self, '%s_delete' % res[:-1])(i)<br>
File "/home/royce/kimchi-2/kimchi/<u></u>src/kimchi/model/vms.py", line 847,<br>
in delete<br>
snapshot_names = self.vmsnapshots.get_list(<u></u>name)<br>
File "/home/royce/kimchi-2/kimchi/<u></u>src/kimchi/model/vmsnapshots.<u></u>py",<br>
line 117, in get_list<br>
{'vm': vm_name, 'err': e.message})<br>
OperationFailed: KCHSNAP0005E: Unable to list snapshots on virtual<br>
machine 'kimchi-test'. Details: this function is not supported by the<br>
connection driver: virDomainListAllSnapshots<br>
<br>
I suggest probe the libvirt version or add feature probe as we do for<br>
qemu stream to make sure tests run well on these systems.<br>
<br>
______________________________<u></u>_________________<br>
Kimchi-devel mailing list<br>
<a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/kimchi-devel</a><br>
</blockquote></div>