
Royce, could you confirm if reverting the commit fe38d2383db7bb3c1ae6283a5931f8984dda0d8c solves the 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel