Re: [PATCH 0/3] fsfreeze and fsthaw API testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/02/15 17:16, Jincheng Miao wrote:
Added guest agent conf to domain xml in order to test API
fsfreeze and fsthaw.

Jincheng Miao (3):
  add guest agent configuration to domain xml
Here is a conflict with your former commit 9d0feb81224075daa82, please check it again.
  Add domain fsfreeze and fsthaw API testing
Please remove  extra spaces from above patch
  Add fsfreeze fsthaw test case to linux_domain

 cases/linux_domain.conf                            |   18 +++++
repos/domain/domain_fsfreeze.py | 76 ++++++++++++++++++++
 repos/domain/domain_fsthaw.py                      |   49 +++++++++++++
 .../domain/xmls/kvm_linux_guest_install_cdrom.xml  |    4 +
 repos/domain/xmls/kvm_linux_guest_install_net.xml  |   20 +++--
 5 files changed, 159 insertions(+), 8 deletions(-)
 create mode 100644 repos/domain/domain_fsfreeze.py
 create mode 100644 repos/domain/domain_fsthaw.py

I try to run it in fedora 21 with below packages, qemu did not freeze the given mountpoint path. If I used a wrong version, what versions did you test during coding this API?
[root@hp-dl320eg8-07 libvirt-test-API]# rpm -q libvirt-python qemu
libvirt-python-1.2.7-2.fc21.x86_64
qemu-2.1.3-2.fc21.x86_64

Scripts ouput:
++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@hp-dl320eg8-07 libvirt-test-API]# python libvirt-test-api -c ff.conf -l 0
Checking Testing Environment...
Linux hp-dl320eg8-07.qe.lab.eng.nay.redhat.com 3.16.1-301.fc21.x86_64 #1 SMP Mon Aug 25 13:06:39 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    Virsh command line tool of libvirt: 1.2.7
    libvirtd (libvirt) 1.2.7
    Default URI: qemu:///system
QEMU emulator version 2.1.3 (qemu-2.1.3-2.fc21), Copyright (c) 2003-2008 Fabrice Bellard

Start Testing:
    Case Count: 4
    Log File: log/20150213164835/libvirt_test001

    domain:domain_fsfreeze
            16:48:36|INFO  |freeze 2 fs
            16:48:36|INFO  |Check frozen fs num: pass
            Result: OK

    domain:domain_fsthaw
            16:48:36|INFO  |fsThaw 2 fs
            Result: OK

    domain:domain_fsfreeze
            16:48:36|INFO  |freeze 2 fs
            16:48:36|ERROR |Check frozen fs num: failed
            Result: FAIL

    domain:domain_fsthaw
            16:48:36|INFO  |fsThaw 2 fs
            Result: OK


Summary:
    Total:4 [Pass:3 Fail:1 Skip:0]
+++++++++++++++++++++++++++++++++++++++++++++++++++

For the rest, it's OK for me.

BR,
Jianwei

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]