[PATCH] KVM test: make KVM tests explicitly pick qemu vs qemu-kvm depending on the test.

2010-03-23 Thread Lucas Meneghel Rodrigues
From: Jes Sorensen jes.soren...@redhat.com Make KVM tests explicitly pick qemu vs qemu-kvm depending on the test, rather than relying on a global variable for it. Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- client/tests/kvm/tests.cfg.sample |7 ++- 1 files changed, 6

Re: [Autotest] [PATCH] [KVM-AUTOTEST]Opensuse unattended install

2010-03-23 Thread Lucas Meneghel Rodrigues
On Tue, Mar 23, 2010 at 11:49 AM, Yogananth Subramanian anant...@linux.vnet.ibm.com wrote: Adds support to do unattended install of Opensuse11, patch adds a new autoyast file (OpenSUSE.xml) and creates entries for unattended install in tests_base.cfg. The patch also introduces a small

[PATCH] Monotonic time test: Don't force static compilation of time_test

2010-03-23 Thread Lucas Meneghel Rodrigues
remove this constraint from the Makefile. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/monotonic_time/src/Makefile |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/client/tests/monotonic_time/src/Makefile b/client/tests/monotonic_time/src/Makefile

Re: [Autotest] [PATCH] Monotonic time test: Don't force static compilation of time_test

2010-03-23 Thread Lucas Meneghel Rodrigues
On Tue, Mar 23, 2010 at 3:25 PM, Martin Bligh mbl...@google.com wrote: +cc:md (he wrote the test). On Tue, Mar 23, 2010 at 11:13 AM, Lucas Meneghel Rodrigues l...@redhat.com wrote: The Makefile for the monotonic_test C program forces static compilation of the object files. Since we

Re: [Autotest] [PATCH 2/4] KVM test: Add TSC into guest test

2010-03-23 Thread Lucas Meneghel Rodrigues
On Mon, Mar 22, 2010 at 4:45 AM, Jason Wang jasow...@redhat.com wrote: TSC is used to check the whether the TSC of processors are synchronized which is useful for testing virtual TSC. The only thing that needs to be corrected here is that this test needs -smp 1 to work (actually, even numbers

Re: [Autotest] [PATCH 2/4] KVM test: Add TSC into guest test

2010-03-24 Thread Lucas Meneghel Rodrigues
On Wed, Mar 24, 2010 at 2:59 AM, Jason Wang jasow...@redhat.com wrote: Lucas Meneghel Rodrigues wrote: On Mon, Mar 22, 2010 at 4:45 AM, Jason Wang jasow...@redhat.com wrote: TSC is used to check the whether the TSC of processors are synchronized which is useful for testing virtual TSC

Re: [PATCH v2] KVM test: Enable timedrift for Linux guests

2010-03-24 Thread Lucas Meneghel Rodrigues
On Wed, Mar 24, 2010 at 3:25 AM, Jason Wang jasow...@redhat.com wrote: We should also test timedrift for Linux guests especially for guest with pvclock. So this patch enable the timedrift for linux guests. Changes from v1: - Correct the wrong name for guest load cleaning - Use

Re: [Autotest] [PATCH 3/4] KVM test: Add scrashme into guest test

2010-03-24 Thread Lucas Meneghel Rodrigues
This test was applied, but I changed the argument list to execute the test with --mode=random, that is, random syscalls will be tested with random values. On Mon, Mar 22, 2010 at 4:45 AM, Jason Wang jasow...@redhat.com wrote: This patch let the scrashme run in the guest. Scrashme is one kind of

KVM autotest patch queue report 03-25-2010

2010-03-24 Thread Lucas Meneghel Rodrigues
. [2/2] KVM test: Add cpu_set subtest 2010-02-25 Lucas Meneghel Rodrigues lmr Under Review This patch will stay on the queue until the feature tested gets in a better shape on KVM upstream KVM test: Add

[PATCH] KVM test: Removing system_powerdown from windows set

2010-03-25 Thread Lucas Meneghel Rodrigues
Windows guests will display a dialog for the user and refuse to shutdown when the system_powerdown command is sent. Let's just remove this test from the windows set of tests. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/tests_base.cfg.sample |2 +- 1 files

Re: [PATCH] KVM test: Put os.kill in kvm_stat into try block to avoid traceback

2010-03-29 Thread Lucas Meneghel Rodrigues
On Mon, 2010-03-29 at 17:56 +0800, Yolkfull Chow wrote: Sometimes it tried to kill an already terminated process which can cause a traceback. This patch fixes the problem. Thanks, applied! Signed-off-by: Yolkfull Chow yz...@redhat.com --- client/profilers/kvm_stat/kvm_stat.py |5 -

[PATCH] Web frontend database: Expand test and subdir fields from tko_tests

2010-03-29 Thread Lucas Meneghel Rodrigues
Tests with large tags, such as the ones that can appear on the kvm test can have the fields 'test' and 'subdir' too large. This patch raises the length of such fields on the autotest_web database to 300. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- .../migrations

[PATCH] Web frontend database: Expand test and subdir fields from tko_tests v2

2010-03-29 Thread Lucas Meneghel Rodrigues
the original value that test has from 30 to 60, so changed the downgrade sql statement accordingly. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- .../migrations/052_expand_test_subdir_fields.py|9 + frontend/tko/models.py |4 ++-- 2 files

Re: [Autotest] [PATCH] Update sar command and handle OSError error.

2010-03-31 Thread Lucas Meneghel Rodrigues
On Tue, Mar 30, 2010 at 2:24 AM, Feng Yang fy...@redhat.com wrote: This patch do following things: 1. Update sar command in start function in /profilers/sar/sar.py, because when i manual run '/usr/bin/sar -o %s %d 0' command, help message is show up. Sames count number could not be 0, so use

Re: [Autotest] [PATCH 1/2] KVM test: Make the profiler could be configurated

2010-03-31 Thread Lucas Meneghel Rodrigues
On Tue, Mar 30, 2010 at 2:02 PM, Michael Goldish mgold...@redhat.com wrote: - Jason Wang jasow...@redhat.com wrote: The patch let the profilers could be specified through configuration file. kvm_stat was kept as the default profiler. Looks good.  Some minor style comments:

[PATCH] KVM test: Fix some typos on autotest run utility function

2010-04-06 Thread Lucas Meneghel Rodrigues
Fix some typos found on the utility function that runs autotest tests on a guest. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm_test_utils.py |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/tests/kvm/kvm_test_utils.py b

[PATCH] [RFC] KVM test: Introduce sample performance test set

2010-04-06 Thread Lucas Meneghel Rodrigues
a particular KVM release. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- .../tests/kvm/autotest_control/hackbench.control |6 +- client/tests/kvm/autotest_control/iozone.control | 18 +++ .../tests/kvm/autotest_control

KVM autotest patch queue report 04-07-2010

2010-04-07 Thread Lucas Meneghel Rodrigues
. [RFC] KVM test: Introduce sample performance test set 2010-04-07 Lucas Meneghel Rodrigues lmr Under Review First pass at implementing automated performance testing. Still has a lot of work to make it in shape for upstream inclusion

Re: [Autotest] [PATCH] KVM test: Memory ballooning test for KVM guest

2010-04-13 Thread Lucas Meneghel Rodrigues
On Tue, Apr 13, 2010 at 1:24 AM, pradeep psuri...@linux.vnet.ibm.com wrote: Lucas Any comments?? No pradeep, Sudhir's comments are very reasonable, please implement the changes he suggested and re-send the patch, I am going to do some testing on it on my local systems and then commit it

Re: [Autotest] Autotest: Unattended_install testcase always fail with rhel3.9-32 guest

2010-04-14 Thread Lucas Meneghel Rodrigues
On Wed, Apr 14, 2010 at 10:26 AM, Amos Kong ak...@redhat.com wrote: Hi Lucas, When I execute unattended_install testcases on RHEL-5.5, it always fail when using rhel3.9-32 guest. I found it blocked after packages installation. Is it related that rhel39-32 guest don't support acpi ? I've

Re: [Autotest] [PATCH] KVM Test: Fix bug that check_image.py will check removed image.

2010-04-14 Thread Lucas Meneghel Rodrigues
On Mon, Apr 12, 2010 at 5:32 AM, Feng Yang fy...@redhat.com wrote: If set remove_image to yes, the image will be removed before check_image.py is executed as post command.  But check_img.py still try to check the removed image When it is running. This patch update check_image.py and let it do

Re: [Autotest] [PATCH] KVM test: Memory ballooning test for KVM guest

2010-04-14 Thread Lucas Meneghel Rodrigues
On Mon, Apr 12, 2010 at 8:03 AM, pradeep psuri...@linux.vnet.ibm.com wrote: sudhir kumar wrote: On Fri, Apr 9, 2010 at 2:40 PM, pradeep psuri...@linux.vnet.ibm.com wrote: Hi Lucas Thanks for your comments. Please find the patch, with suggested changes. Thanks Pradeep Signed-off-by:

[PATCH] KVM-test: Add a subtest 'qemu_img' v3

2010-04-15 Thread Lucas Meneghel Rodrigues
This is designed to test all subcommands of 'qemu-img' however so far 'commit' is not implemented. * For 'check' subcommand test, it will 'dd' to create a file with specified size and see whether it's supported to be checked. Then convert it to be supported formats ('qcow2' and 'raw' so far) to

Re: [Autotest] [PATCH] [Autotest PATCH v2] KVM-test: Add a subtest 'qemu_img'

2010-04-15 Thread Lucas Meneghel Rodrigues
On Wed, Mar 31, 2010 at 4:23 AM, Yolkfull Chow yz...@redhat.com wrote: This is designed to test all subcommands of 'qemu-img' however so far 'commit' is not implemented. * For 'check' subcommand test, it will 'dd' to create a file with specified size and see whether it's supported to be

[PATCH] KVM test: Memory ballooning test for KVM guest v4

2010-04-15 Thread Lucas Meneghel Rodrigues
many iterations they want Signed-off-by: Pradeep Kumar Surisetty psuri...@linux.vnet.ibm.com Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm_vm.py | 18 +- client/tests/kvm/tests/balloon_check.py | 102 +++ client

Re: [Autotest] [PATCH] KVM test: Memory ballooning test for KVM guest

2010-04-15 Thread Lucas Meneghel Rodrigues
On Thu, 2010-04-15 at 20:40 +0530, pradeep wrote: Hi Lucas Please ignore my earlier patch Find the correct patch with the suggested changes. Hi Pradeep, I was reading the test once again while trying it myself, some other ideas came to me. I spent some time hacking the test and sent an

Re: [Autotest] Autotest: Unattended_install testcase always fail with rhel3.9-32 guest

2010-04-16 Thread Lucas Meneghel Rodrigues
On Fri, 2010-04-16 at 08:03 -0600, David S. Ahern wrote: On 04/14/2010 08:01 AM, Lucas Meneghel Rodrigues wrote: On Wed, Apr 14, 2010 at 10:26 AM, Amos Kong ak...@redhat.com wrote: Hi Lucas, When I execute unattended_install testcases on RHEL-5.5, it always fail when using rhel3.9-32

[PATCH] KVM test: More improvements for autotest subtest

2010-04-16 Thread Lucas Meneghel Rodrigues
when postprocessing autotest status files. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm_test_utils.py | 74 ++- 1 files changed, 38 insertions(+), 36 deletions(-) diff --git a/client/tests/kvm/kvm_test_utils.py b/client/tests

[PATCH] [RFC] KVM test: Create a remote session cleaning thread

2010-04-16 Thread Lucas Meneghel Rodrigues
. This way we can save some good time in tests where the VM was terminated due to some weird reason. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm_preprocessing.py | 33 - client/tests/kvm/kvm_vm.py|7 +++ 2 files

Re: KVM autotest: add boot_savevm test

2010-04-17 Thread Lucas Meneghel Rodrigues
On Thu, 2010-04-15 at 16:09 -0300, Marcelo Tosatti wrote: This test boots a guest while periodically running savevm/loadvm. Ok Marcelo, test looks good, applied. Thanks! Adjust savevm_delay/guest memory size to reduce run time, if excessive. Signed-off-by: Marcelo Tosatti

[PATCH] KVM test: Introducing Opensuse and SLES unattended installs

2010-04-17 Thread Lucas Meneghel Rodrigues
file that allows people to adjust a wait time. In this particular case, the timeout is for autoyast to finish configuration. Signed-off-by: Yogananth Subramanian anant...@linux.vnet.ibm.com Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/tests/unattended_install.py

Re: [PATCH] [Autotest] [KVM-AUTOTEST]Opensuse unattended install

2010-04-17 Thread Lucas Meneghel Rodrigues
On Tue, 2010-03-23 at 20:19 +0530, Yogananth Subramanian wrote: Adds support to do unattended install of Opensuse11, patch adds a new autoyast file (OpenSUSE.xml) and creates entries for unattended install in tests_base.cfg. The patch also introduces a small delay(about 10s) in

Re: [Autotest] Autotest: Unattended_install testcase always fail with rhel3.9-32 guest

2010-04-18 Thread Lucas Meneghel Rodrigues
On Sat, 2010-04-17 at 22:55 -0600, David S. Ahern wrote: On 04/17/2010 10:09 PM, Amos Kong wrote: %post --interpreter /usr/bin/python import socket, os os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') os.system('echo 0 /selinux/enforce') server =

[PATCH] KVM-Test: Add KVM unit test (kvmctl)

2010-04-18 Thread Lucas Meneghel Rodrigues
From: sshang ssh...@redhat.com The test use kvm test harness kvmctl load binary test case file to test various functions of the kvm kernel module. This test is for older style unit testing, after some consideration we decided to keep the 2 modules separated. Signed-off-by: Shuxi Shang

Re: [PATCH] KVM-Test: Add KVM unit test (kvmctl)

2010-04-19 Thread Lucas Meneghel Rodrigues
On Mon, 2010-04-19 at 10:50 +0200, Jan Kiszka wrote: Lucas Meneghel Rodrigues wrote: From: sshang ssh...@redhat.com The test use kvm test harness kvmctl load binary test case file to test various functions of the kvm kernel module. I thought that tool is deprecated (or even broken

[PATCH] KVM Test: Add KVM unit test (kvmctl) v2

2010-04-19 Thread Lucas Meneghel Rodrigues
From: sshang ssh...@redhat.com The test use kvm test harness kvmctl load binary test case file to test various functions of the kvm kernel module. This test is for unit testing on older KVM branches, after some consideration we decided to keep the modules for upstream and branches that use

[PATCH] KVM test: Add cpu_set subtest

2010-04-19 Thread Lucas Meneghel Rodrigues
that SeaBIOS code has to be extended to support cpu_hotplug, like bochs bios did. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/tests/cpu_set.py | 95 client/tests/kvm/tests_base.cfg.sample |7 ++ 2 files changed, 102 insertions

[PATCH] KVM test: Fix RHEL 3.9 32 bit installation

2010-04-19 Thread Lucas Meneghel Rodrigues
not regress 3.9 64 bit. Special thanks go to David S. Ahern daah...@cisco.com for the time spent on resolving this problem. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/unattended/RHEL-3-series.ks |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff

Re: [Autotest] Autotest: Unattended_install testcase always fail with rhel3.9-32 guest

2010-04-19 Thread Lucas Meneghel Rodrigues
On Sun, 2010-04-18 at 21:32 -0600, David S. Ahern wrote: On 04/18/2010 12:26 PM, Lucas Meneghel Rodrigues wrote: On Sat, 2010-04-17 at 22:55 -0600, David S. Ahern wrote: On 04/17/2010 10:09 PM, Amos Kong wrote: %post --interpreter /usr/bin/python import socket, os os.system('dhclient

About cpu_set, CPU hotplug and related subjects

2010-04-19 Thread Lucas Meneghel Rodrigues
Hi folks, I've implemented a functional test for the cpu_set feature some time ago. I was going through the patch queue and realized the patch needed some respin, so I did it. I decided to try and see what is the state of the feature, considering last time I tried it was not working

KVM autotest patch queue - 21-04-2010

2010-04-21 Thread Lucas Meneghel Rodrigues
KVM test: Add cpu_set subtest 2010-04-19 Lucas Meneghel Rodrigues lmr Under Review The feature cpu_set needs some more work from upstream to be fully functional, this patch was re-mastered to follow some changes

Re: [PATCH] KVM test: Add the missing blank for the extra params of balloon check

2010-04-27 Thread Lucas Meneghel Rodrigues
On Tue, 2010-04-27 at 15:18 +0800, Jason Wang wrote: Add the missing blank for the extra params of balloon check in order to get the correct qemu-kvm command line. Ooops, my fault. Applied, thanks for fixing this! Signed-off-by: Jason Wang jasow...@redhat.com ---

[PATCH 1/2] IOzone test: Introduce postprocessing module

2010-04-30 Thread Lucas Meneghel Rodrigues
module is: * It doesn't pollute the main test class. * Allows us to use the postprocess module as a stand alone program, that can even do performance comparison between 2 IOzone runs. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/iozone/postprocessing.py | 487

[PATCH 2/2] IOzone test: Introduce additional results postprocessing

2010-04-30 Thread Lucas Meneghel Rodrigues
Using the postprocessing module introduced on the previous patch, use it to analyze results and write performance graphs and performance tables. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/iozone/iozone.py | 24 +++- 1 files changed, 19

Re: [Autotest] [PATCH 1/2] IOzone test: Introduce postprocessing module

2010-04-30 Thread Lucas Meneghel Rodrigues
. The reason why this was created as a separate module is: * It doesn't pollute the main test class. * Allows us to use the postprocess module as a stand alone program, that can even do performance comparison between 2 IOzone runs. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com

--mem-path option broken on qemu-kvm latest git

2010-05-01 Thread Lucas Meneghel Rodrigues
Hi folks, on during the latest upstream test job I noticed that the -mem-path option got broken on latest qemu-kvm. qemu abnormally ends with exit code 1 when trying to call it with -mem-path 04/29 18:35:32 DEBUG|kvm_vm:0461| Running qemu command: /usr/local/autotest/tests/kvm/qemu -name

[PATCH] IOzone test: Introduce postprocessing module v2

2010-05-03 Thread Lucas Meneghel Rodrigues
: Martin, as patch will ignore and not create the zero-sized files (high time we move to git), if the changes look good to you I can commit them all at once, making sure all files are created. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/iozone/common.py |8

[PATCH] KVM test: Add new subtest iozone_windows

2010-05-03 Thread Lucas Meneghel Rodrigues
test imports the postprocessing library directly from iozone, so it can postprocess the results right after the benchmark is finished on the windows guest. I'll update winutils.iso on the download page soon. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/tests

Re: [PATCH] IOzone test: Introduce postprocessing module v2

2010-05-03 Thread Lucas Meneghel Rodrigues
to this subject. What do you think? On Mon, May 3, 2010 at 2:52 PM, Lucas Meneghel Rodrigues l...@redhat.com wrote: This module contains code to postprocess IOzone data in a convenient way so we can generate performance graphs and condensed data. The graph generation part depends on gnuplot

[PATCH] KVM testing: New winutils.iso SHA1, refactoring some code

2010-05-04 Thread Lucas Meneghel Rodrigues
Make it possible to download the winutils.iso file right from its repository, making very convenient for users to perform windows testing. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/get_started.py | 65 +++--- 1 files changed

Re: [PATCH] KVM test: Add new subtest iozone_windows

2010-05-05 Thread Lucas Meneghel Rodrigues
On Wed, 2010-05-05 at 13:17 +0300, Michael Goldish wrote: On 05/04/2010 01:03 AM, Lucas Meneghel Rodrigues wrote: Following the new IOzone postprocessing changes, add a new KVM subtest iozone_windows, which takes advantage of the fact that there's a windows build for the test, so we can

[PATCH] KVM test: guest_s4 subtest - Expose timeout on config

2010-05-05 Thread Lucas Meneghel Rodrigues
After the test guest_s4 hibernates the VM, we try to loging on it. Let's make the login timeout configurable on the configuration file, since different systems might need more time to recover. Also, increasing the default timeout from 120s to 240s. Signed-off-by: Lucas Meneghel Rodrigues l

[PATCH] IOzone preprocessing: Fix wrong column mapping on graph generation

2010-05-06 Thread Lucas Meneghel Rodrigues
Fix a silly bug on graph generation: it was mapping the wrong columns when plotting the 2D throughput graphs. Sorry for the mistake. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/iozone/postprocessing.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [Autotest] [PATCH 6/9] KVM test: Raise error when met unknown type in kvm_vm.remote_login().

2010-05-06 Thread Lucas Meneghel Rodrigues
On Mon, Apr 26, 2010 at 7:04 AM, Jason Wang jasow...@redhat.com wrote: Need to raise the error when met the unknown type of shell_client in kvm_vm.remote_login() in order to avoid the traceback. In order to keep consistency, please make the function return None instead of throwing an exception.

Re: [PATCH 1/9] KVM test: Introduce the prompt assist

2010-05-06 Thread Lucas Meneghel Rodrigues
On Thu, 2010-05-06 at 10:55 +0800, Jason Wang wrote: Michael Goldish wrote: On 04/26/2010 01:03 PM, Jason Wang wrote: Sometimes we need to send an assist string to a session in order to get the prompt especially when re-connecting to an already logged serial session. This patch send

Re: [Autotest] [PATCH 3/3] KVM test: Remove the duplicated KERNEL paramters in the pxe configuration file

2010-05-06 Thread Lucas Meneghel Rodrigues
On Mon, Apr 26, 2010 at 7:07 AM, Jason Wang jasow...@redhat.com wrote: Remove the duplicated KERNEL vmlinuz in unattended.py Good catch, applied, thanks! Signed-off-by: Jason Wang jasow...@redhat.com ---  client/tests/kvm/scripts/unattended.py |    1 -  1 files changed, 0 insertions(+), 1

Re: [Autotest] [PATCH 1/3] KVM test: Use customized command to get the version of kvm and its

2010-05-06 Thread Lucas Meneghel Rodrigues
On Mon, Apr 26, 2010 at 7:07 AM, Jason Wang jasow...@redhat.com wrote: userspace Current method may or may not work for various kinds of distribution. So this patch enable the ability to use customized commands to get the version of kvm and its userspace. kvm_ver_cmd is used for kvm verison

Re: [Autotest] [KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation

2010-05-06 Thread Lucas Meneghel Rodrigues
On Wed, 2010-05-05 at 21:52 +0100, Lukáš Doktor wrote: Hi, we are back with new features of KSM_overcommit test: * NEW: guest_reserve and host_reserve are now calculated based on used memory * NEW: tmpfs reserve is also evaluated to fit the overhead * NEW: VM alive check during

[PATCH] KVM test: Add a subtest iofuzz

2010-05-06 Thread Lucas Meneghel Rodrigues
From: Jason Wang jasow...@redhat.com The design of iofuzz is simple: it just generate random I/O port activity inside the virtual machine. The correctness of the device emulation may be verified through this test. As the instrcutions are randomly generated, guest may enter the wrong state. The

Re: [Autotest] [PATCH] KVM test: Add a subtest iofuzz

2010-05-06 Thread Lucas Meneghel Rodrigues
On Wed, Apr 7, 2010 at 8:55 AM, Jason Wang jasow...@redhat.com wrote: The design of iofuzz is simple: it just generate random I/O port activity inside the virtual machine. The correctness of the device emulation may be verified through this test. As the instrcutions are randomly generated,

Re: [Autotest] [PATCH 3/3] KVM Test: Add ioquit test case

2010-05-06 Thread Lucas Meneghel Rodrigues
On Wed, Apr 7, 2010 at 5:49 AM, Feng Yang fy...@redhat.com wrote: Signed-off-by: Feng Yang fy...@redhat.com ---  client/tests/kvm/tests/ioquit.py       |   54  client/tests/kvm/tests_base.cfg.sample |    4 ++  2 files changed, 58 insertions(+), 0

Re: [Autotest] [PATCH 3/3] KVM Test: Add ioquit test case

2010-05-06 Thread Lucas Meneghel Rodrigues
On Wed, Apr 7, 2010 at 5:49 AM, Feng Yang fy...@redhat.com wrote: Signed-off-by: Feng Yang fy...@redhat.com ---  client/tests/kvm/tests/ioquit.py       |   54  client/tests/kvm/tests_base.cfg.sample |    4 ++  2 files changed, 58 insertions(+), 0

Re: [Autotest] [PATCH 1/3] KVM test: Use customized command to get the version of kvm and its

2010-05-07 Thread Lucas Meneghel Rodrigues
On Fri, 2010-05-07 at 18:10 +0800, Jason Wang wrote: Lucas Meneghel Rodrigues wrote: On Mon, Apr 26, 2010 at 7:07 AM, Jason Wang jasow...@redhat.com wrote: userspace Current method may or may not work for various kinds of distribution. So this patch enable the ability to use

Re: [Autotest][PATCH] KVM Test: Make remote_scp() more robust.

2010-05-07 Thread Lucas Meneghel Rodrigues
On Fri, 2010-05-07 at 18:26 +0800, Feng Yang wrote: 1. In remote_scp(), if SCP connetion stalled for some reason, following code will be ran. else: # match == None logging.debug(Timeout elapsed or process terminated) status = sub.get_status()

Re: [Autotest] [KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2)

2010-05-12 Thread Lucas Meneghel Rodrigues
Hi Lukas and Jiri - please hold on, cause this week I'm on vacation, will be back next week and will finish work on your patchset. Cheers, On Sat, May 8, 2010 at 2:01 PM, Lukas Doktor ldok...@redhat.com wrote: Hi, thanks for nice page about git workflow. I always wanted to try it but never

Re: [Autotest] [PATCH v2 01/10] KVM test: Introduce prompt assist

2010-05-12 Thread Lucas Meneghel Rodrigues
Hi Jason, just hold on cause next week I'm back and will finish work on your patchset. Cheers, On Tue, May 11, 2010 at 6:03 AM, Jason Wang jasow...@redhat.com wrote: We need to send an assist string to a session in order to get the prompt when re-connecting to session through serial. This

Re: [Autotest] [PATCH 2/2] KVM test: Support to SLES install

2010-05-12 Thread Lucas Meneghel Rodrigues
On Mon, May 10, 2010 at 7:27 AM, pradeepkumar psuri...@linux.vnet.ibm.com wrote: On Wed, 10 Mar 2010 08:45:59 -0300 Lucas Meneghel Rodrigues l...@redhat.com wrote: Hi Yogi/Lucas Thanks for including SLES guests support in KVM autotest. I tried SLES guest install. After succsfull install

Re: [Autotest] [KVM-AUTOTEST PATCH] KVM test: make use of tcpdump optional

2010-05-17 Thread Lucas Meneghel Rodrigues
On Mon, 2010-05-17 at 16:29 +0300, Michael Goldish wrote: To disable tcpdump, set 'run_tcpdump = no' in a config file. If 'run_tcpdump' isn't set at all, it defaults to 'yes'. (Currently TAP mode cannot be used without tcpdump.) Maybe we can just tie tcpdump execution to tap mode - if

Re: [PATCH 1/4] Increase maximum number of VNC ports

2010-05-17 Thread Lucas Meneghel Rodrigues
On Sat, 2010-05-08 at 18:01 +0100, Lukas Doktor wrote: Signed-off-by: Lukas Doktor ldok...@redhat.com The new patch set looks good, commited them all, see: http://autotest.kernel.org/changeset/4492 Thanks! --- client/tests/kvm/kvm_vm.py |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH v2 10/10] KVM test: Add a helper to search the panic in the log

2010-05-17 Thread Lucas Meneghel Rodrigues
On Mon, 2010-05-17 at 15:28 +0800, Jason Wang wrote: Michael Goldish wrote: On 05/11/2010 12:04 PM, Jason Wang wrote: This checker serves as the post_command to find the panic information in the file which contains the content of guest serial console. Signed-off-by: Jason Wang

Re: [Autotest][PATCH V2] KVM Test: Add ioquit test case

2010-05-17 Thread Lucas Meneghel Rodrigues
On Fri, 2010-05-14 at 17:43 +0800, Feng Yang wrote: Emulate the powercut under IO workload(dd so far) using kill -9. Then check image in post command. This case want to make sure powercut under IO workload will not break qcow2 image. The big question that came to my mind here is: Are we

Autotest 0.12.0-rc1

2010-05-19 Thread Lucas Meneghel Rodrigues
Hi folks, Autotest 0.12.0 is almost ready, due to be released in a few days http://autotest.kernel.org/milestone/0.12.0 I rolled out some pre-release tarballs that can be found on http://test.kernel.org/releases/0.12.0-rc1/ If you want to test it to see what it looks like, be my guest and

Re: [KVM-AUTOTEST PATCH] KVM test: use command line option wrapper functions

2010-05-20 Thread Lucas Meneghel Rodrigues
On Thu, 2010-05-20 at 12:50 +0300, Michael Goldish wrote: On 05/19/2010 11:25 AM, Feng Yang wrote: Hi, Michael Thanks for your patch. We plan add netdev parameter support in make_qemu_command. Since you are working on this part. Could you add netdev support in your patch? hopeful

Autotest 0.12.0 released!

2010-05-24 Thread Lucas Meneghel Rodrigues
://test.kernel.org/releases/0.12.0/ Release notes: http://autotest.kernel.org/wiki/Release0.12.0 Cheers! -- Lucas Meneghel Rodrigues Software Engineer (QE) Red Hat - Emerging Technologies -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord

Re: [PATCH v2 00/10] Redirct and make use of the guest serial console

2010-05-25 Thread Lucas Meneghel Rodrigues
On Tue, 2010-05-11 at 17:03 +0800, Jason Wang wrote: The guest console is useful for failure troubleshooting especially for the one who has calltrace. And as we plan to push the network related test in the next few weeks, we found the serial session in more reliable during the network testing.

Re: [PATCH 1/2] Adding rtctest as client test

2010-05-25 Thread Lucas Meneghel Rodrigues
On Mon, 2010-05-17 at 15:25 +0800, Jason Wang wrote: This new autotest module implements a simple test for the driver of realtime clock. It do the testing of interrupt, date reading, alarm and frequency. Ok, patchset applied, thank you! Please refer the Documentation/rtc.txt for details.

Re: [Autotest] [KVM-AUTOTEST PATCH] KVM test: make use of tcpdump optional

2010-05-25 Thread Lucas Meneghel Rodrigues
On Mon, 2010-05-17 at 16:29 +0300, Michael Goldish wrote: To disable tcpdump, set 'run_tcpdump = no' in a config file. If 'run_tcpdump' isn't set at all, it defaults to 'yes'. (Currently TAP mode cannot be used without tcpdump.) Ok, I agree with your reasoning, commited as:

Re: [Autotest] [PATCH V3] KVM Test: Add ioquit test case

2010-05-25 Thread Lucas Meneghel Rodrigues
On Mon, 2010-05-24 at 15:37 +0800, Feng Yang wrote: Emulate the powercut under IO workload(dd so far) using kill -9. Then check image in post command. This case want to make sure powercut under IO workload will not break qcow2 image. Now it only work on linux. Applied, thanks!

Re: [Autotest] [KVM-AUTOTEST PATCH] KVM test: use command line option wrapper functions

2010-05-26 Thread Lucas Meneghel Rodrigues
On Mon, 2010-05-17 at 16:29 +0300, Michael Goldish wrote: In order to support multiple versions of qemu which use different command line options or syntaxes, wrap all command line options in small helper functions, which append text to the command line according to the output of 'qemu -help'.

Re: [PATCH 2/3] KVM test: Do not use the hard-coded address during unattended installation

2010-05-26 Thread Lucas Meneghel Rodrigues
On Wed, 2010-05-19 at 17:20 +0800, Jason Wang wrote: When we do the unattended installation in tap mode, we should use vm.get_address() instead of the 'localhost' in order the connect to the finish program running in the guest. Signed-off-by: Jason Wang jasow...@redhat.com ---

Re: [PATCH 3/3] KVM test: Add implementation of network based unattended installation

2010-05-27 Thread Lucas Meneghel Rodrigues
On Wed, 2010-05-19 at 17:20 +0800, Jason Wang wrote: This patch could let the unattended installation to be done through the following method: - cdrom: the original method which does the installation from cdrom - url: installing the linux guest from http or ftp, tree url was specified

Re: [PATCH] KVM Test: Make login timeout configurable.

2010-06-01 Thread Lucas Meneghel Rodrigues
On Fri, 2010-05-28 at 13:36 +0800, Feng Yang wrote: Add login_timeout parameter to make login timeout configurable. Currently default timeout value is 240s. It is always not enough, many case fail foer could not boot up in 240s in our testing. I like the idea of unifying all login timeouts. I

[PATCH] KVM test: Fixing size of NTFS partitions on windows unattended installs

2010-06-02 Thread Lucas Meneghel Rodrigues
While running tests on WinVista SP2 64 bits, I noticed that, even though we reserved 20GB of disk space on images, the unattended files are allocating 15GB of the effective space, causing SP2 64 bit install to fail. Fix that, make sure all primary disks do use 20GB. Signed-off-by: Lucas Meneghel

Re: [KVM-AUTOTEST PATCH] KVM test: kvm_vm.py: don't require pci_assignable to be defined

2010-06-07 Thread Lucas Meneghel Rodrigues
On Sun, 2010-06-06 at 09:41 +0300, Michael Goldish wrote: Currently to disable PCI device assignment pci_assignable must be explicitly set to no. This patch allows it to remain undefined (and adds a warning message and a comment). I have noticed this on Friday, while I was testing the patches

Re: [Autotest] [KVM-AUTOTEST PATCH] KVM test: kvm_vm.py: don't require pci_assignable to be defined

2010-06-07 Thread Lucas Meneghel Rodrigues
On Mon, 2010-06-07 at 10:24 -0300, Lucas Meneghel Rodrigues wrote: On Sun, 2010-06-06 at 09:41 +0300, Michael Goldish wrote: Currently to disable PCI device assignment pci_assignable must be explicitly set to no. This patch allows it to remain undefined (and adds a warning message

Upstream build problem

2009-09-09 Thread Lucas Meneghel Rodrigues
Hi folks, it seems that we are still hitting the problem of qemu-kvm being unable to find the option roms? -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

qemu-kvm still unable to load option rom extboot.bin

2009-09-09 Thread Lucas Meneghel Rodrigues
Hi folks, seems like we are still facing a build problem on qemu-kvm: The option rom is failing to boot: 09/04 11:12:08 DEBUG|kvm_vm:0384| Running qemu command: /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090904-111208-9nyy,server,nowait -drive

Re: [Autotest] [PATCH 18/19] KVM test: kvm_tests.cfg.sample: get all Windows test utilities from a single ISO

2009-09-09 Thread Lucas Meneghel Rodrigues
On Wed, Sep 9, 2009 at 3:12 PM, Michael Goldish mgold...@redhat.com wrote: Instead of rss.iso, vlc.iso and autoit.iso -- look for everything in winutils.iso by default. This make maintenance a little easier, and eliminates the need to restart VMs between tests just in order to change the

Re: [Autotest] [PATCH 19/19] KVM test: kvm_preprocessing.py: verify PPM file validity before passing to PIL

2009-09-09 Thread Lucas Meneghel Rodrigues
On Wed, Sep 9, 2009 at 3:12 PM, Michael Goldish mgold...@redhat.com wrote: Passing PIL an invalid PPM file makes it throw an IOError. This one was missing a ppm_utils import. Applied with minimal corrections. Signed-off-by: Michael Goldish mgold...@redhat.com ---  

Re: [Autotest] [PATCH 01/19] KVM test: kvm_utils.py: make verify_ip_address_ownership() more robust

2009-09-09 Thread Lucas Meneghel Rodrigues
As the changes were mostly bugfixes and short, I managed to review and apply them all. Thank you very much Michael! On Wed, Sep 9, 2009 at 3:11 PM, Michael Goldish mgold...@redhat.com wrote: Use arping in addition to querying the arp cache. Under certain circumstances a TCP connection may not

[PATCH 1/3] KVM test: Move top level docstrings, other cleanups

2009-09-10 Thread Lucas Meneghel Rodrigues
on scan_results.py where 80 char line width was not being obeyed. Also, cleaned up the last places where we were using the shebang #/usr/bin/env python, which is not the preferred usage of the shebang across the project. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm

[PATCH 2/3] KVM test: Removing the fix_cdkeys.py program

2009-09-10 Thread Lucas Meneghel Rodrigues
That is no longer necessary since we handle cd keys on a separate configuration file. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/fix_cdkeys.py | 76 1 files changed, 0 insertions(+), 76 deletions(-) delete mode 100755

[PATCH 3/3] KVM test: Points user to online documentation

2009-09-10 Thread Lucas Meneghel Rodrigues
-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/BEFORE_YOU_START | 19 --- client/tests/kvm/README |3 +++ client/tests/kvm/control |2 ++ client/tests/kvm/kvm.py |3 +++ 4 files changed, 8 insertions(+), 19 deletions

[PATCH] KVM test: Make install test not strip binaries

2009-09-10 Thread Lucas Meneghel Rodrigues
Don't strip binaries on all supported build methods. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm_install.py |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/tests/kvm/kvm_install.py b/client/tests/kvm/kvm_install.py index

Re: [Autotest] [PATCH] Adding a userspace application crash handling system to autotest

2009-09-13 Thread Lucas Meneghel Rodrigues
Hi John, do you think the code looks good enough for inclusion? On Tue, Sep 8, 2009 at 10:53 AM, Lucas Meneghel Rodrigues l...@redhat.com wrote: This patch adds a system to watch user space segmentation faults, writing core dumps and some degree of core dump analysis report. We believe

[PATCH 1/2] KVM test: Renaming some test files

2009-09-15 Thread Lucas Meneghel Rodrigues
Move kvm_guest_wizard.py to steps.py and kvm_install.py to build.py. Made the necessary arrangements in the subtest loading code. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/build.py| 333 ++ client/tests/kvm/control

[PATCH 2/2] KVM test: Fixing KVM release tag detection

2009-09-15 Thread Lucas Meneghel Rodrigues
Sourceforge changes again their URL schema so it's time to fix it. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/build.py |4 +++- client/tests/kvm/control |4 +++- client/tests/kvm/kvm_utils.py | 13 ++--- 3 files changed, 12 insertions

[PATCH] KVM test: Fixing the release tag fix...

2009-09-15 Thread Lucas Meneghel Rodrigues
Ooops, one change was left behind on the release tag fix. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/build.py |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/build.py b/client/tests/kvm/build.py index f6856ad..718611c

[PATCH 3/4] KVM test: Moving utility functions to kvm_utils.py

2009-09-15 Thread Lucas Meneghel Rodrigues
Moved dump_env and load_env to kvm_utils.py since it makes the main test class cleaner. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm.py | 26 +- client/tests/kvm/kvm_utils.py | 26 ++ 2 files changed

[PATCH 4/4] KVM tests: Load tests from the test module

2009-09-15 Thread Lucas Meneghel Rodrigues
. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/kvm.py| 61 --- client/tests/kvm/kvm_utils.py |2 +- client/tests/kvm/tests/autotest.py |2 +- 3 files changed, 16 insertions(+), 49 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >