[PATCH] KVM Test: Call postprocess_vm before postprocess_image.

2011-08-04 Thread fyang
From: Feng Yang fy...@redhat.com Current we call postprocess_image befor postprocess_vm. If exception is thrown in postprocess_image, postprocess_vm will be skipped. So vm could not be killed, it may fail following case in same loop. Signed-off-by: Feng Yang fy...@redhat.com ---

[PATCH] KVM Test: Remove duplicated _close_sock function calls in kvm_monitor.py

2011-08-04 Thread fyang
From: Feng Yang fy...@redhat.com self._close_sock will be called two times in HumanMonitor.__init__ and QMPMonitor.__init__ in exception. Signed-off-by: Feng Yang fy...@redhat.com --- client/virt/kvm_monitor.py |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git

[PATCH] KVM Test: Drop sre module in script and use re module.

2011-08-04 Thread fyang
From: Feng Yang fy...@redhat.com sre moudle have been deprecated in python 2.6 Signed-off-by: Feng Yang fy...@redhat.com --- client/virt/virt_test_setup.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/virt/virt_test_setup.py b/client/virt/virt_test_setup.py

[PATCH] KVM Test: Catch AttributeError and make screendump thread continue.

2011-06-28 Thread fyang
From: Feng Yang fy...@redhat.com screendump is start before vm creating. At most time, it is ok. But when setting start_vm to no, then create vm in tests script. This may could not work. screendump thread exit for AttributeError exception. Some of our unattended_install case fail for this

[PATCH 1/2] KVM Test: Add a new kvm subtest multi_disk.

2011-05-25 Thread fyang
From: Feng Yang fy...@redhat.com This case test multi disk suport in kvm guest os. It can work on Linux and Windows guest. Signed-off-by: Feng Yang fy...@redhat.com --- client/tests/kvm/tests/multi_disk.py | 127 ++ 1 files changed, 127 insertions(+), 0

[PATCH 2/2] KVM Test: sample configure for multi_disk test case.

2011-05-25 Thread fyang
From: Feng Yang fy...@redhat.com Test this configure with nic_mode = tap Signed-off-by: Feng Yang fy...@redhat.com --- client/tests/kvm/tests_base.cfg.sample | 91 +++- 1 files changed, 89 insertions(+), 2 deletions(-) diff --git

[PATCH] KVM Test: Correct file_transfer import link.

2011-05-19 Thread fyang
From: Feng Yang fy...@redhat.com modified: client/tests/kvm/tests/set_link.py modified: client/virt/tests/nic_promisc.py modified: client/virt/tests/nicdriver_unload.py Signed-off-by: Feng Yang fy...@redhat.com --- client/tests/kvm/tests/set_link.py|2 +-

[PATCH] KVM Test: Switch current working folder in unattended_install.py.

2011-05-19 Thread fyang
From: Feng Yang fy...@redhat.com Current working folder for unattended_install_config = UnattendedInstallConfig(test, params) unattended_install_config.setup() must be kvm folder. Signed-off-by: Feng Yang fy...@redhat.com --- client/tests/kvm/tests/unattended_install.py |3 +++ 1