Re: KVM autotest tip of the week - How to run KVM autotest tests on an existing guest image

2011-07-25 Thread pradeep
ince we are making adjustments on how to write and contribute new > tests, writing a new test will be the next tip of the week. Please > bear with us :) We'd love to hear your feedback on our docs. > Thanks Lucas. Its very informative. How about multi host migration? --Pradeep &g

Re: [Autotest] [PATCH] Virt: Adding softlockup subtest

2011-08-12 Thread pradeep
On Wed, 20 Jul 2011 22:30:09 -0300 Lucas Meneghel Rodrigues wrote: > From: pradeep > > This patch introduces a soft lockup/drift test with stress. > > 1) Boot up a VM. > 2) Build stress on host and guest. > 3) run heartbeat monitor with the given options on

Re: [Autotest] [PATCH] Virt: Adding softlockup subtest

2011-08-12 Thread pradeep
On Fri, 12 Aug 2011 12:37:15 +0530 pradeep wrote: > On Wed, 20 Jul 2011 22:30:09 -0300 > Lucas Meneghel Rodrigues wrote: > > > From: pradeep > > > > This patch introduces a soft lockup/drift test with stress. > > > > 1) Boot up a VM. > >

Re: [PATCH] KVM test: Add cpu_hotplug subtest

2011-08-23 Thread pradeep
On Wed, 24 Aug 2011 01:05:13 -0300 Lucas Meneghel Rodrigues wrote: > Tests the ability of adding virtual cpus on the fly to qemu using > the monitor command cpu_set, then after everything is OK, run the > cpu_hotplug testsuite on the guest through autotest. > > Updates: As of the latest qemu-kvm

ethtool

2011-09-30 Thread pradeep
Hello Amos, Lmr Couple of networking tests like ethtool, file_transfer..etc are not doing cleaning properly. Huge files are not getting deleted after the test. So guest running out of space for next tests. --Pradeep -- To unsubscribe from this list: send the line "unsubscribe kvm&qu

[KVM] guest remote migration fails

2011-02-07 Thread pradeep
Migration of guest(both local and remote) fails with 2.6.37-rc8 host Test Procedure: --- A is the source host, B is the destination host: 1. Start the VM on B with the exact same parameters as the VM on A, in migration-listen mode: B: -incoming tcp:0: (or other PORT)) 2. S

Re: Startup/Shutdown scripts for KVM Machines in Debian (libvirt)

2010-11-10 Thread pradeep
On Wed, 10 Nov 2010 09:01:40 +0100 Hermann Himmelbauer wrote: > Hi, > I manage my KVM machines via libvirt and wonder if there are any > init.d scripts for automatically starting up and shutting down > virtual machines during boot/shutdown of the host? > > Writing this for myself seems to be not

Re: [Autotest] [PATCH 0/5] Make unattended install on Linux safer, fix OpenSUSE/SLES installs

2011-04-19 Thread pradeep
yway, I am confident > that this patchset will bring a major improvement for the users of > those guests. Hello Lucas, Now SLES guest install works fine. Thanks for fixing it. --pradeep -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to ma

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

2010-04-09 Thread pradeep
Hi Lucas Thanks for your comments. Please find the patch, with suggested changes. Thanks Pradeep Signed-off-by: Pradeep Kumar Surisetty --- diff -uprN autotest-old/client/tests/kvm/tests/balloon_check.py autotest/client/tests/kvm/tests/balloon_check.py --- autotest-old/client/tests/kvm

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

2010-04-12 Thread pradeep
sudhir kumar wrote: On Fri, Apr 9, 2010 at 2:40 PM, pradeep wrote: Hi Lucas Thanks for your comments. Please find the patch, with suggested changes. Thanks Pradeep Signed-off-by: Pradeep Kumar Surisetty --- diff -uprN autotest-old/client/tests/kvm/tests/balloon_check.py autotest

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

2010-04-12 Thread pradeep
Lucas Any comments?? --sp pradeep wrote: sudhir kumar wrote: On Fri, Apr 9, 2010 at 2:40 PM, pradeep wrote: Hi Lucas Thanks for your comments. Please find the patch, with suggested changes. Thanks Pradeep Signed-off-by: Pradeep Kumar Surisetty --- diff -uprN autotest

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

2010-04-15 Thread pradeep
Hi Lucas Please ignore my earlier patch Find the correct patch with the suggested changes. --SP diff -purN autotest/client/tests/kvm/tests/balloon_check.py autotest-new/client/tests/kvm/tests/balloon_check.py --- autotest/client/tests/kvm/tests/balloon_check.py1969-12-31 19:00:00.00

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

2010-04-15 Thread pradeep
Lucas Meneghel Rodrigues wrote: 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 updated patch with changes. Please let me know what you think, if you are OK with them I'll commit it.

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

2010-02-11 Thread pradeep
Hi This path tests Memory ballooning functionality of a KVM guest. Create a guest. Boot the guest with "-balloon virtio" Try to increase/decrease the memory from qemu monitor and verify the changes. Please find the attached patch. Thanks Pradeep Signed-off-by: Pradeep Kumar

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

2010-02-11 Thread pradeep
Hi This path tests Memory ballooning functionality of a KVM guest. Create a guest. Boot the guest with "-balloon virtio" Try to increase/decrease the memory from qemu monitor and verify the changes. Please find the attached patch. Thanks Pradeep Signed-off-by: Pradeep Kumar

Re: [Autotest] [PATCH 18/18] KVM test: Add subtest of testing offload by ethtool

2010-09-23 Thread pradeep
_ifname'.. 04:23:59 DEBUG| Got shell prompt -- logged in 04:23:59 INFO | Logged into guest 'vm1' 04:23:59 ERROR| Test failed: AttributeError: 'module' object has no attribute 'get_linux_ifname' 04:23:59 DEBUG| Postprocessing VM 'vm1'... Ethtool is try

Re: [Autotest] [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-24 Thread pradeep
me. Gues ip: 192.168.122.104 try "arp -i 192.168.122.1 -i eth0" --Thanks Pradeep -- 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

Re: [Autotest] [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-27 Thread pradeep
ry When i try manually this one works for me. Gues ip: 192.168.122.104 try "arp -i 192.168.122.1 -i eth0" --Thanks Pradeep -- 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 ht

Re: [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-28 Thread pradeep
For sure host ip will be there in arp cache. Try with host ip @eth*. It works fine for me. Thanks Pradeep -- 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

Re: [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-29 Thread pradeep
t; from guest i tried to remove arp entry from cache as mentioned in code. arp -d 10.168.0.6 -i kvmbr0 It never worked for me. I guess this is the reason for this error. > > > > Thanks > > Pradeep > > > > > > > -- > To unsubscribe from this list: s

Re: [PATCH 08/18] KVM test: Add basic file transfer test

2010-09-29 Thread pradeep
On Tue, 28 Sep 2010 15:24:25 +0200 "Michael S. Tsirkin" wrote: > > > Signed-off-by: Amos Kong > > Why scp_timeout? Not transfer_timeout? > Is this really only scp file transfer to/from linux guest? > Need to either name it so or generalize. Other things that > need testing are NFS for linux gue

Re: [PATCH 16/18] KVM test: Improve vlan subtest

2010-09-29 Thread pradeep
On Mon, 27 Sep 2010 18:44:02 -0400 Lucas Meneghel Rodrigues wrote: > From: Amos Kong > > This is an enhancement of existed vlan test. Rename the vlan_tag.py > to vlan.py, it is more reasonable. > . Setup arp from "/proc/sys/net/ipv4/conf/all/arp_ignore" > . Multiple vlans exist simultaneously >

Re: [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-30 Thread pradeep
now jumbo tests works fine, since we added a static arp entry thanks Pradeep -- 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

Re: [PATCH 13/18] KVM test: Add a subtest of changing MAC address

2010-09-30 Thread pradeep
On Mon, 27 Sep 2010 18:43:59 -0400 Lucas Meneghel Rodrigues wrote: > From: Amos Kong > > Test steps: > > 1. Get a new mac from pool, and the old mac addr of guest. > 2. Execute the mac_change.sh in guest. > 3. Relogin to guest and query the interfaces info by `ifconfig` > > Changes from v3:

Re: [PATCH 11/18] KVM test: Add a subtest of multicast

2010-09-30 Thread pradeep
On Mon, 27 Sep 2010 18:43:57 -0400 Lucas Meneghel Rodrigues wrote: > From: Amos Kong > > Use 'ping' to test send/recive multicat packets. Flood ping test is > also added. Limit guest network as 'bridge' mode, because multicast > packets could not be transmitted to guest when using 'user' networ

Re: cpulimit and kvm process

2010-10-01 Thread pradeep
On Fri, 1 Oct 2010 10:03:28 +0300 Mihamina Rakotomandimby wrote: > Manao ahoana, Hello, Bonjour, > > I would like to launch several KVM guests on a multicore CPU. > The number of the KVM process is over the number of physical cores. > > I would like to limit each KVM process to say... 10% of CP

Re: [PATCH 14/18] KVM test: Add a netperf subtest

2010-10-05 Thread pradeep
In Todo list i find TCP_CRR UDP_RR test case failures. 2) netperf 17:35:11 DEBUG| Execute netperf client test: /root/autotest/client/tests/netperf2/netperf-2.4.5/src/netperf -t TCP_CRR -H 10.16.74.142 -l 60 -- -m 1 17:35:45 ERROR| Fail to execute netperf test, protocol:TCP_CRR 17:35:45 DEBUG|

Re: [PATCH 18/18] KVM test: Add subtest of testing offload by ethtool

2010-10-06 Thread pradeep
x27;192.168.122.66', '9a:52:2f:62:12:63': '192.168.122.151', '9a:52:2f:62:6b:28': '192.168.122.35'}, 'version': 0, 'tcpdump': } 23:48:05 INFO | ['iteration.1'] 23:48:05 ERROR| Exception escaping from test: Traceback (most recent ca

Re: [Autotest] [PATCH 18/18] KVM test: Add subtest of testing offload by ethtool

2010-10-06 Thread pradeep
On Wed, 6 Oct 2010 14:26:46 +0530 pradeep wrote: > On Mon, 27 Sep 2010 18:44:04 -0400 > Lucas Meneghel Rodrigues wrote: > > > ion, > > vm.get_mac_address(0)) > > +supported_features = params.get("supported_features").split() > > I guess split th

Re: [Autotest] [PATCH 14/18] KVM test: Add a netperf subtest

2010-10-06 Thread pradeep
> > > This case can pass with rhel5.5 & rhel6.0, not test with fedora. > it would not be the problem of testcase. > > I did not touch this problem, can you provide more debug info ? eg, > tcpdump, ... > It seems like RHEL 5.5 issue it fails only with TCP_CRR -- To unsubscribe from this list:

Re: [Autotest] [PATCH 00/18] Network Patchset v4

2010-10-07 Thread pradeep
fix this as well. Will send erros in a separate mail. Thanks Pradeep vhost Description: Binary data

Re: [Autotest] [PATCH 00/18] Network Patchset v4

2010-10-07 Thread pradeep
m test: Traceback (most recent call last): File "/home/pradeep/vhost_net/autotest/client/common_lib/test.py", line 412, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/pradeep/vhost_net/autotest/client/common_lib/test.py", line 598, in _call_test_fun

Network Patch set V4

2010-10-11 Thread pradeep
7;192.168.122.95', '9a:52:2f:62:e6:67': '192.168.122.176', '9a:52:2f:62:8c:b8': '192.168.122.59', '9a:52:2f:62:0b:38': '192.168.122.7'}, 'vm__vm2': , 'tcpdump': , 'version': 0} 03:17:26 INFO | ['iterat

Re: Network Patch set V4

2010-10-13 Thread pradeep
On Tue, 12 Oct 2010 15:23:05 +0800 Amos Kong wrote: > On Mon, Oct 11, 2010 at 08:09:27PM +0530, pradeep wrote: > > Hi Lucas, i covered below tests on RHEL 5.5 , RHEL 6 guests with > > vhost enbled. Please find the below errors and cause for errros. > > > > I also at

Re: Network Patch set V4

2010-10-13 Thread pradeep
Hi Michael could you share pointer to your tree which has rhel6 + vhost fixes. Thanks Pradeep -- 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

Re: [PATCH 2/2] KVM test: Remove image_boot=yes from virtio_blk variant

2010-10-13 Thread pradeep
e someone is testing older > versions. But older qemu shipped with distros might require "boot=on". Its good to check qemu version. Thanks Pradeep -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kern

[AUTOTEST] [PATCH 1/2] KVM : ping6 test

2010-10-14 Thread pradeep
low attached patch. Thanks Pradeep ipv6_1 Description: Binary data

[AUTOTEST] [PATCH 1/2] KVM : ping6 test

2010-10-14 Thread pradeep
Changes for tests_base.cfg to include ping6 test Please find below attached patch. Thanks Pradeep ipv6_2 Description: Binary data

Re: [Autotest] [AUTOTEST] [PATCH 1/2] KVM : ping6 test

2010-10-14 Thread pradeep
On Thu, 14 Oct 2010 18:05:04 +0800 Amos Kong wrote: > On Thu, Oct 14, 2010 at 02:56:59PM +0530, pradeep wrote: > > This patch is for Ping6 testing > > > > * ping6 with various message sizes guest to/from local/remote > > host using link-local addresses > >

Re: [PATCH 0/3] Launch other test during migration

2010-10-18 Thread pradeep
ata from host devices like CD, USB 2. migrate +file trasfer 3. migrate + reboot 4. internet download + migration 5. guest is given shutdown command and in parallel live migration happens 6.hotplugging of nic, storage, memory, cpu + live migration Thanks Pradeep -- To unsubscribe from t

qemu aborts if i add a already registered device from qemu monitor ..

2010-10-19 Thread pradeep
, which i dont want to. Is there a way to check, if device is already enrolled or not in the very beginning of "device_add" call. Thanks Pradeep -- 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

[Autotest] [PATCH]: watchdog test extension

2011-09-29 Thread Pradeep Kumar
>From b7fc8b21fb3cdd9fefffd05d12dabfd055032f8f Mon Sep 17 00:00:00 2001 From: pradeep Date: Thu, 29 Sep 2011 11:22:32 +0530 Subject: [PATCH] [KVM][Autotest]: watchdog test extension Signed-off-by: Pradeep K Surisetty modified: client/tests/kvm/subtests.cfg.sample modif

[KVM] soft lockup with RHEL 5.3 guest remote migaration

2009-05-26 Thread Pradeep K Surisetty
ls21 to another ls21 succeeded with qemu-10.1 Regards Pradeep -- 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

Fw: [KVM] soft lockup with RHEL 5.3 guest remote migaration

2009-05-27 Thread Pradeep K Surisetty
Find the total dmesg for RHEL5.3 guest http://pastebin.com/f7e22fd1a Regards Pradeep - Forwarded by Pradeep K Surisetty/India/IBM on 05/28/2009 12:13 PM - Pradeep K

Fw: [KVM] soft lockup with RHEL 5.3 guest remote migaration

2009-05-28 Thread Pradeep K Surisetty
Tried local migration of RHEL 5.3 guest on x3850. After local migration, both source and destination are in active state and leaves soft lockup oops. Thanks Pradeep - Forwarded by Pradeep K Surisetty/India/IBM on 05/28/2009 04:01 PM

SLES 10 SP1 guest install fails with SCSI

2009-07-13 Thread Pradeep K Surisetty
file=sles10.raw,if=scsi -m 512 -smp 2 Observations On host: ls_scsi error observations oh guest: guest install halts Let me know if any other information is required. Thanks -Pradeep -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message

Re: KVM: perf: a smart tool to analyse kvm events

2012-02-20 Thread Pradeep Kumar Surisetty
* Xiao Guangrong [2012-02-17 10:35:04]: > On 02/16/2012 11:52 PM, Pradeep Kumar wrote: > > > Xiao, > > > > i tried your perf events patch set on RHEL 6.1 host and failed to trace > > kvm-events with below error message. > > > > [root@kvm per

SLES 10 SP1 guest install fails with scsi drive

2009-05-20 Thread Pradeep K Surisetty
sles10.raw 4.start guest install qemu-kvm -cdrom SLES-10-SP1-DVD-i386-RC5-DVD1.iso -drive file=sles10.raw,if=scsi -m 512 -smp 2 Let me know if any other information is required. Thanks -Pradeep -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a

qemu sles 11 guest failed to boot up after the guest install

2009-05-20 Thread Pradeep K Surisetty
uired. Thanks Pradeep -- 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

Re: qemu sles 11 guest failed to boot up after the guest install

2009-05-20 Thread Pradeep K Surisetty
ile=sles11.raw,boot=on Tried the above command. its dropping to minimum shell Regards Pradeep -- 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

Re: qemu sles 11 guest failed to boot up after the guest install

2009-05-20 Thread Pradeep K Surisetty
o boot with qemu-kvm -boot c sles11.raw Assuming default interface is IDE, tried to boot the SLES 11 guest using below command and succeeded. qemu-kvm -drive file=sles11.raw,if=scsi,boot=on Thanks Pradeep -- To unsubscribe from this list: send the line "unsubscribe kvm" i