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' network.
Add join_mcast.py for joining machine into multicast groups.
Changes from v
From: Amos Kong
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
FIXME: Use dnsmasq for pxe test
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/pxe.py | 31
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:
- Make sure the old and newly generated MAC addresses are different
before proceeding wi
Add nw related functions ping and get_linux_ifname to
kvm_test_utils.
Changes from v1:
- Use None to indicate that the session should be local in raw_ping
- Use session.sendline("\003") to send (ctrl+c) signal
- Use None to indicate that the session should be local
- Fix of coding style
Signed-of
From: Amos Kong
Add network load by netperf, server is launched on guest, execute netperf
client with different protocols on host. if all clients execute successfully,
case will be pass. Test result will be record into result.txt.
Now this case only tests with "TCP_RR TCP_CRR UDP_RR TCP_STREAM T
The previous MAC address management breaks up the
physical_resources_check test (the test picks up NIC MAC parameters
from test parameters). Let's fix it by making it retrieve params
from the method VM.get_mac_address()
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/
From: Amos Kong
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Changes from v1:
- Don't abruptly fail the whole test if we get a failure for a single size
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/nic_prom
From: Amos Kong
This test is the basic test of transfering file between host and guest.
Try to transfer a large file from host to guest, and transfer it back
to host, then compare the files by calculate their md5 hash.
The default file size is 4000M, scp timeout is 1000s. It means if the
average
vlan subtest
KVM test: vlan subtest - Replace extra_params '-snapshot' with
image_snapshot
Lucas Meneghel Rodrigues (7):
KVM test: Make physical_resources_check to work with MAC management
KVM test: Remove address_pools.cfg dependency
KVM test: Add a get_ifname function
K
From: Amos Kong
Old method uses the addresses in the config files which could lead serious
problem when multiple tests running in different hosts.
This patch adds a new macaddress pool algorithm, it generates the mac prefix
based on mac address of the host, and fix it to correspond to IEEE802.
Wh
Since the previous patch introduces an automated management
mechanism for MAC addresses, let's simplify things a bit
by removing address_pools.cfg parsing from the control files,
as well as just removing address_pools.cfg.sample.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/test
On Mon, 2010-09-27 at 15:20 +0530, pradeep wrote:
> Hi Lucas
>
> Tried different combinations for this jumbo test case. it dint work for
> me. I guess there is a problem while trying to remove ARP entry.
> ARP entry can be removed from cache using ip and network
> interface (for ex: eth0)
>
> arp
We had our guests configured wrong with regards to
serial port setup, in order to have a getty attached
to the serial port the order of the kernel arguments
has to be:
console=tty0 console=ttyS0,115200
instead of:
console=ttyS0,115200 console=tty0
Fixing it in all linux guests unattended files.
On Thu, 2010-09-23 at 21:11 -0300, Lucas Meneghel Rodrigues wrote:
> From: Yiqiao Pu
>
> In the new version of qemu device_add is instead of pci_add. So modify
> the scripts to suit for the new version of qemu. Now both nic and block
> devices are support in qemu, so keep using
From: Yiqiao Pu
In the new version of qemu device_add is instead of pci_add. So modify
the scripts to suit for the new version of qemu. Now both nic and block
devices are support in qemu, so keep using monitor command line for
this test.
Changs from v1:
Can support block device hotplug in script
On Thu, 2010-09-23 at 19:11 +0530, pradeep wrote:
> On Tue, 14 Sep 2010 19:25:43 -0300
> Lucas Meneghel Rodrigues wrote:
>
> > The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test.
> > RTL8139 NIC doesn't support TSO, LRO, it's too old, so
> > drop offload
Hi folks:
As most of you might know, we run some daily sanity and functional tests
with both qemu-kvm.git and qemu.git. I decided to write asking for help
with regards to what it appears to be a problem with the e1000 nw card
(the default). Here is a list of what it fails pretty much every day for
moved functions that were not essential to the
code's functionality
Also, fixed the configuration files to use all windows
virtio paths unescaped.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/scripts/unattended.py | 314 +---
client
This patchset contains a lot of much needed cleanups for
the unattended install setup code. As the final user visible
result, it is now possible to use both floppy as cdrom to
hold the kickstart/autoyast file (cdrom default).
Lucas Meneghel Rodrigues (2):
KVM test: Cleaning up scripts
eople won't loose
time trying to figure out why the msi is not being installed.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/tests_base.cfg.sample |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests_base.cfg.sample
b/client
The kvm_net_utils.py is a just a place that wraps common network
related commands which is used to do the network-related tests.
Use -1 as the packet ratio for loss analysis.
Use quiet mode when doing the flood ping.
Changes from v1:
- Use None to indicate that the session should be local in raw_p
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' network.
Add join_mcast.py for joining machine into multicast groups.
Changes from v
The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test.
RTL8139 NIC doesn't support TSO, LRO, it's too old, so
drop offload test from rtl8139. LRO, GRO are only
supported by latest kernel, virtio nic doesn't support
receive offloading function.
Initialize the callbacks first and execute all the su
From: Amos Kong
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
FIXME: Use dnsmasq for pxe test
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/pxe.py | 31
From: Amos Kong
Framework could not totalise default extra_params and extra_params_vm1 in the
following condition, it's difficult to realise when parsing config file or
calling get_sub_dict*().
extra_params += ' str1'
- case:
extra_params_vm1 += " str2"
Signed-off-by: Amos Kong
---
client/tes
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
. Test ping between same and different vlans
. Test by TCP data transfer, floop pi
From: Amos Kong
Signed-off-by: Amos Kong
---
client/tests/kvm/kvm_utils.py | 23 +++
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index bb5c868..71ab7d1 100644
--- a/client/tests/kvm/kvm_utils
From: Amos Kong
Add network load by netperf, server is launched on guest, execute netperf
client with different protocols on host. if all clients execute successfully,
case will be pass. Test result will be record into result.txt.
Now this case only tests with "TCP_RR TCP_CRR UDP_RR TCP_STREAM T
From: Amos Kong
This test is the basic test of transfering file between host and guest.
Try to transfer a large file from host to guest, and transfer it back
to host, then compare the files by calculate their md5 hash.
The default file size is 4000M, scp timeout is 1000s. It means if the
average
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`
Signed-off-by: Cao, Chen
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/mac_change.py | 65 ++
From: Amos Kong
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Changes from v1:
- Don't abruptly fail the whole test if we get a failure for a single size
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/nic_prom
From: Amos Kong
Repeatedly load/unload nic driver, try to transfer file between guest and host
by threads at the same time, and check the md5sum.
Changes from v1:
- Use a new method to get nic driver name
- Use utils.hash_file() to get md5sum
Signed-off-by: Amos Kong
---
client/tests/kvm/test
From: Amos Kong
This test use ping to check the virtual nics, it contains two kinds of test:
1. Packet loss ratio test, ping the guest with different size of packets.
2. Stress test, flood ping guest then use ordinary ping to test the network.
We could not raise an error when flood ping failed,
According to different nic model set different MTU for it. And ping from
guest to host, to see whether tested size can be received by host.
Changes from v2:
- Coding style fixes
Changes from v1:
- Make standard of lost ratio can be configured
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
It's clearer to use 'nic_mode + nic_index + vnc_port' than 'tap0',
It's also unique for one guest.
Signed-off-by: Amos Kong
---
client/tests/kvm/kvm_vm.py | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/k
Since the previous patch introduces an automated management
mechanism for MAC addresses, let's simplify things a bit
by removing address_pools.cfg parsing from the control files,
as well as just removing address_pools.cfg.sample.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/test
The previous MAC address management breaks up the
physical_resources_check test (the test picks up NIC MAC parameters
from test parameters). Let's fix it by making it retrieve params
from the method VM.get_mac_address()
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/
From: Amos Kong
Old method uses the addresses in the config files which could lead serious
problem when multiple tests running in different hosts.
This patch adds a new macaddress pool algorithm, it generates the mac prefix
based on mac address of the host, and fix it to correspond to IEEE802.
Wh
h
image_snapshot
Lucas Meneghel Rodrigues (6):
KVM test: Make physical_resources_check to work with MAC management
KVM test: Remove address_pools.cfg dependency
KVM test: Add a get_ifname function
KVM Test: Add a common ping module for network related tests
KVM test: Add a subtest j
On Mon, 2010-09-13 at 19:43 +0200, Michael S. Tsirkin wrote:
> netdev option in new qemu is mutually exclusive with vlan.
> Only pass vlan if netdev option is missing.
Looks good to me, applied, thanks!
http://autotest.kernel.org/changeset/4783
> Signed-off-by: Michael S. Tsirkin
>
> ---
>
>
On Mon, 2010-09-13 at 15:01 +0530, yogi wrote:
> Hello Lucas,
>
> I like to submit patch to do unattended install of cygwin and run
> autotest test case on Windows guests using cygwin.
> Cygwin enable running some of test like stress, lmbench, bonnie,
> compilebench and netperf directly under win
From: Amos Kong
Old method uses the addresses in the config files which could lead serious
problem when multiple tests running in different hosts.
This patch adds a new macaddress pool algorithm, it generates the mac prefix
based on mac address of the host, and fix it to correspond to IEEE802.
Wh
aving found this problem.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/tests.cfg.sample |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests.cfg.sample
b/client/tests/kvm/tests.cfg.sample
index 12e1d7a..ce3e307 100644
--- a/client/test
On Fri, 2010-09-10 at 12:57 -0300, Lucas Meneghel Rodrigues wrote:
> There's a small bug on the qemu sample testset for KVM autotest:
> We need to append -enable-kvm as extra params to the qemu command
> line, not replace all extra params. Small bug, renders the unattended
> ins
aving found this problem.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/fsfuzzer/control |2 +-
client/tests/kvm/tests.cfg.sample |2 +-
scheduler/scheduler_models.py | 14 +-
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/client/tests/fsf
On Thu, 2010-09-02 at 10:16 +0200, Lukáš Doktor wrote:
> Dne 2.9.2010 04:58, Lucas Meneghel Rodrigues napsal(a):
> > From: Lukáš Doktor
> >
> > 1) Starts VMs with the specified number of virtio console devices
> > 2) Start smoke test
> > 3) Start loopback t
On Mon, 2010-09-06 at 17:33 +0800, Jason Wang wrote:
> Make smp param in unittests.cfg works again.
The entire patchset was applied. Thank you very much for the fixes and
the support for the new unittests repo, Jason!
Lucas
> Signed-off-by: Jason Wang
> ---
> client/tests/kvm/tests/unittest.py
Lukas Doktor
Signed-off-by: Jiri Zupka
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/scripts/console_switch.py | 218
client/tests/kvm/tests/virtio_console.py | 774
client/tests/kvm/tests_base.cfg.sample | 11 +
3 files changed,
On Fri, 2010-08-06 at 10:23 +0800, Yiqiao Pu wrote:
> In the new version of qemu in RHEL 6.0 device_add is instead of pci_add. So
> modify the scripts to suit for the new version of qemu.
> There is still one problem here. Block device htoplug only supported in qmp
> command line, but qmp don't imp
t test set qemu_kvm_f13_quick.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/tests.cfg.sample |4 ++--
client/tests/kvm/tests_base.cfg.sample |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/client/tests/kvm/tests.cfg.sample
b/client/tests/kvm/tests.cfg.sa
On Tue, 2010-08-17 at 18:40 -0400, jzupka wrote:
> ---
> client/tests/kvm/tests/ksm_overcommit.py |7 ++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
Applied, thanks!
> diff --git a/client/tests/kvm/tests/ksm_overcommit.py
> b/client/tests/kvm/tests/ksm_overcommit.py
> index 2
If we can't install the client using the autotest internal
package management system, give the user a less intimidating
message, after all we'll fall back to use other methods to
install the client.
Signed-off-by: Lucas Meneghel Rodrigues
---
server/autotest.py |7 +++
1 fil
This is the sequel of the previous fix on the unittest
subtest: As we're running on a loop through the
unittest list, the original extra_params need to be
restored at the end of each test, so previously
set extra_params don't leak to other unittests.
Signed-off-by: Lucas Meneghel
On Tue, 2010-07-20 at 09:34 +0800, Amos Kong wrote:
> The following series contain 11 network related subtests, welcome to give me
> some suggestions about correctness, design, enhancement.
>
> Thank you so much!
Ok Amos, now that I made the first review of this patchset, I'll wait
for a v2 and s
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
> The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test. RTL8139 NIC doesn't
> support TSO, LRO, it's too old, so drop offload test from rtl8139. LRO, GRO
> are only supported by latest kernel, virtio nic doesn't support receive
> offloading func
On Mon, 2010-08-02 at 19:57 +0300, Avi Kivity wrote:
> On 08/02/2010 05:56 PM, Avi Kivity wrote:
> > Test behaviour both with svm enabled and with svm disabled.
> >
> > Signed-off-by: Avi Kivity
> > ---
> > kvm/test/x86/unittests.cfg | 10 ++
> > 1 files changed, 10 insertions(+), 0 de
The extra_param config option on qemu-kvm's unittest config
file wasn't being honored due to a silly mistake on the latest
version of the unittest patchset (forgot to add the extra_params
to the params dictionary). This patch fixes the problem.
Signed-off-by: Lucas Meneghel Rodrigues
-
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
> Add network load by netperf, server is launched on guest, execute netperf
> client with different protocols on host. if all clients execute successfully,
> case will be pass. Test result will be record into result.txt.
> Now this case only tests
First try to umount the large pages directory, then,
if that succeeds, free the used large pages by
writing 0 to proc/sys/vm/nr_hugepages.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/tests_base.cfg.sample |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a
It's interesting to know what's the current large memory page
settings for the host, and how many large pages autotest
calculated for a given test that requires them. So make
the setup script to print this information.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/k
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
> Mainly 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`
>
> Signed-off-by: Cao, Chen
> Signed-off-by: Amos Kong
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
> This case just snoop tftp packet through tcpdump, it depends on public dhcp
> server, better to test it through dnsmasq.
It would be a good idea to have an alternate implementation using
dnsmasq, but not urgent.
> Signed-off-by: Jason Wang
>
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
> 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' network.
> Add join_mcast.py for joining m
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> This test mainly covers TCP sent from host to guest and from guest to host
> with repeatedly turn on/off NIC promiscuous mode.
>
> Signed-off-by: Amos Kong
> ---
> 0 files changed, 0 insertions(+), 0 deletions(-)
>
> diff --git a/client/test
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> Repeatedly load/unload nic driver, try to transfer file between guest and host
> by threads at the same time, and check the md5sum.
>
> Signed-off-by: Amos Kong
> ---
> 0 files changed, 0 insertions(+), 0 deletions(-)
>
> diff --git a/client
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> This test is the basic test of transfering file between host and guest. Try to
> transfer a large file from host to guest, and transfer it back to host, then
> compare the files by diff command.
> The default file size is 4000M, scp timeout is 1
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> According to different nic model set different MTU for it. And ping from guest
> to host, to see whether tested size can be received by host.
>
> Signed-off-by: Jason Wang
> Signed-off-by: Amos Kong
> ---
> 0 files changed, 0 insertions(+),
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> This test use ping to check the virtual nics, it contains two kinds of test:
> 1. Packet loss ratio test, ping the guest with different size of packets.
> 2. Stress test, flood ping guest then use ordinary ping to test the network.
>
> The inte
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> The kvm_net_utils.py is a just a place that wraps common network
> related commands which is used to do the network-related tests.
> Use -1 as the packet ratio for loss analysis.
> Use quiet mode when doing the flood ping.
>
> Signed-off-by: Ja
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> The function get_interface_name is used to get the interface name of linux
> guest through the macaddress of specified macaddress.
I wonder if it wouldn't be overkill to have separate utility libraries
on the kvm test instead of a single kvm_ut
On Tue, 2010-07-20 at 09:34 +0800, Amos Kong wrote:
> Old method uses the mac address in the configuration files which could
> lead serious problem when multiple tests running in different hosts.
>
> This patch adds a new macaddress pool algorithm, it generates the mac prefix
> based on mac addres
ended install script to retrieve the cdrom from
the environment variable cdrom_cd1 instead of cdrom.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/scripts/unattended.py |2 +-
client/tests/kvm/tests_base.cfg.sample | 174
2 files changed, 88 inser
1) Make sure extra_driver_path is set on the xml files
2) Make sure the nw driver installer runs at the end of the
install for both the xml and .ini files
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/unattended/win2003-32.sif | 14 +
client/tests/kvm/unattended
Make the preparation script unattended.py to copy windows
virtio drivers to the boot floppy and modify the unattended
install files with the necessary data.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/scripts/unattended.py | 207 +++-
1 files
virtio network
driver.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/tests_base.cfg.sample | 47 +---
1 files changed, 43 insertions(+), 4 deletions(-)
diff --git a/client/tests/kvm/tests_base.cfg.sample
b/client/tests/kvm/tests_base.cfg.sample
index
On Tue, 2010-07-20 at 09:34 +0800, Amos Kong wrote:
> The following series contain 11 network related subtests, welcome to give me
> some suggestions about correctness, design, enhancement.
Awesome work, will start to review them today. Thanks!
> Thank you so much!
>
> ---
>
> Amos Kong (14):
>
On Mon, 2010-06-28 at 05:43 -0400, Feng Yang wrote:
> - "Michael Goldish" wrote:
> > Why not add a wrapper for the command you're interested in?
> > If we do it your way, a test that uses cmd() with parameters will
> > have
> > to handle the human case and the QMP case separately. For exampl
On Sun, 2010-07-04 at 16:42 +0300, Michael Goldish wrote:
> See details in docstrings in rss_file_transfer.py.
> See protocol details in deps/rss.cpp.
I've gone through both rss.cpp code and rss_file_transfer.py code, and
must say it's very good. The only comment I'd make about this module is
that
In order to make rss.exe self contained, -static-libgcc
has to be added to mingw command line. Update the Makefile
to reflect that.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/deps/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests
So it can get executed automatically by KVM autotest.
Signed-off-by: Lucas Meneghel Rodrigues
---
kvm/test/x86/unittests.cfg |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/kvm/test/x86/unittests.cfg b/kvm/test/x86/unittests.cfg
index 4a40989..f39c5bd 100644
--- a/kvm
new win2000
unattended install file. The new finish.exe executable
will be added only when this patch is going to be
commited, to avoid binary diffs sent to the list.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/deps/finish.cpp | 125 +---
client
On Thu, 2010-07-01 at 17:42 +0300, Avi Kivity wrote:
> On 06/30/2010 06:39 PM, Lucas Meneghel Rodrigues wrote:
> > By default, HPET is enabled on qemu and no time drift
> > mitigation is being made for it. So, add -no-hpet
> > if qemu supports it, during wi
Turns out $(tests-common) does not encompass all flat files
built for the unittests. So let's fix the makefile install
rule to include all flat files generated by the make
procedure.
Signed-off-by: Lucas Meneghel Rodrigues
---
kvm/test/config-x86-common.mak |2 +-
1 files chang
By default, HPET is enabled on qemu and no time drift
mitigation is being made for it. So, add -no-hpet
if qemu supports it, during windows timedrift tests.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/kvm_vm.py |9 +
client/tests/kvm
With this makefile, it's possible to comfortably compile
both rss.exe and finish.exe on a recent Fedora box with
the mingw packages installed. This is a nice convenience
and saves people of memorizing the compiler command lines.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm
If we have a certain file that has information about
running unit tests, let's build the unittests on the
build.git mode. This feature depends on a qemu-kvm patch
that is still not upstream, but I am sending anyways so
people can comment.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/
For unittesting, for example, is interesting that we
run the VM with the bare mininum number of parameters.
This fix allows that.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/kvm_vm.py |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/client/tests/kvm
From: Michael Goldish
Based on Naphtali Sprei's patches.
Changes from v1:
- Remove reference_output parameter
Signed-off-by: Michael Goldish
---
client/tests/kvm/unittests.cfg.sample | 56 +
1 files changed, 56 insertions(+), 0 deletions(-)
create mode 10064
re by exit status instead of output
- Restructure loop so that vm.is_dead() is called less often
- Copy test log to debugdir/unittest.log
- Change parameters passed to wait_for()
Signed-off-by: Michael Goldish
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/tests/unittest.py |
Should be set to "yes" to enable testdev.
Signed-off-by: Michael Goldish
---
client/tests/kvm/kvm_vm.py |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 87b037f..7b1fc05 100755
--- a/client/tests/kvm/kvm_
Signed-off-by: Michael Goldish
---
client/tests/kvm/kvm_vm.py |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 966fb3c..87b037f 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -
# Name of the flat file to be used
smp = 2 # Number of processors the VM will use during this test
extra_params = -cpu qemu64,+x2apic # Additional parameters used
For rpms, other patches defining qemu-kvm-tests.rpm will follow.
Signed-off-by: Lucas Meneghel Rodrigues
---
kvm/test/Makefile
On Thu, 2010-06-24 at 14:25 +0300, Yaniv Kaul wrote:
> On 6/24/2010 2:03 PM, Michael Goldish wrote:
> > Enable RSS to send/receive files and directory trees (recursively).
>
> Are you slowly developing a competitor to STAF
> (http://staf.sourceforge.net/) ?
> And re. the file transfer protocol, w
The code to remove the migration files was one indentation
block deeper than it should - my mistake. Now, we ensure
the files are being cleaned up at the end of the test.
Signed-off-by: Lucas Meneghel Rodrigues
---
client/tests/kvm/kvm_test_utils.py |6 --
1 files changed, 4 insertions
On Tue, 2010-06-22 at 12:29 +0300, Avi Kivity wrote:
> Newer qemu restricts identifiers to starting with a letter.
Applied, thanks Avi!
> Signed-off-by: Avi Kivity
> ---
> client/tests/kvm/kvm_utils.py |6 ++
> client/tests/kvm/kvm_vm.py|2 +-
> 2 files changed, 7 insertions(+),
causing an exception
while formatting the message. Let's fix that.
Signed-off-by: Lucas Meneghel Rodrigues
Signed-off-by: Michael Goldish
---
client/tests/kvm/tests/timedrift.py |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/timedrift.
From: Jason Wang
As we have the ability to dump the content from serial console or use
a session through it, we need to redirect the console to serial
through unattended files to make use of it. The patch also keep the
tty0 accroding to the suggestion of Michael Goldish.
Signed-off-by: Jason Wan
This patch enable the serial console during unattended installation
for all linux guests.
Signed-off-by: Jason Wang
---
client/tests/kvm/tests_base.cfg.sample |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/client/tests/kvm/tests_base.cfg.sample
b/client/tests/kv
From: Michael Goldish
Use kvm_utils.log_line() to log the output of all shell sessions and SCP
transfers.
Signed-off-by: Michael Goldish
---
client/tests/kvm/kvm_utils.py | 33 ++---
client/tests/kvm/kvm_vm.py| 15 ---
2 files changed, 38 inserti
From: Michael Goldish
Signed-off-by: Michael Goldish
---
client/tests/kvm/kvm.py |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py
index bab1e6f..0799cff 100644
--- a/client/tests/kvm/kvm.py
+++ b/client/tests/kvm/kvm.p
601 - 700 of 1343 matches
Mail list logo