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

Paulo Ricardo Paz Vital pvital at gmail.com
Tue Jan 27 07:55:22 UTC 2015


+1

On Tue Jan 27 2015 at 5:04:47 AM Royce Lv <lvroyce at linux.vnet.ibm.com>
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150127/83c63f22/attachment.html>


More information about the Kimchi-devel mailing list