Re: virt: New version Cartesian config

2013-05-16 Thread Jiri Zupka
I'll change comments to sphinx syntax. Regards, Jiří Župka - Original Message - Jiří, okay, got it and thanks. -- Regards, Alex - Original Message - From: Jiri Zupka jzu...@redhat.com To: Alex Jia a...@redhat.com Cc: virt-test-de...@redhat.com, kvm

virt: New version Cartesian config

2013-05-03 Thread Jiri Zupka
is in some patch too. Because it should be in one patch with tested code. In future I'll change comments to sphinx syntax. Regards, Jiří Župka - Original Message - Jiří, okay, got it and thanks. -- Regards, Alex - Original Message - From: Jiri Zupka jzu...@redhat.com

Re: [Virt-test-devel] [virt-test][PATCH 4/7] virt: Adds named variants to Cartesian config.

2013-04-16 Thread Jiri Zupka
Hi Alex, I hope you use new version of cart config in github https://github.com/autotest/virt-test/pull/255. This was older RFC version of vart config. And I'm preparing new version based on communication with Eduardo and Pablo. If you don't please loot at documentation

Re: [Virt-test-devel] [virt-test][PATCH 4/7] virt: Adds named variants to Cartesian config.

2013-04-16 Thread Jiri Zupka
Hi Alex, thanks again for review. I recognize now what you mean. I thought that you another thread of mails. I was try it again with https://github.com/autotest/virt-test/pull/255 and demo example works. If you are interest in this feature. Check new version which I'll send in future days.

Re: [virt-test][PATCH 4/7] virt: Adds named variants to Cartesian config.

2013-04-04 Thread Jiri Zupka
- Original Message - Sorry for not reading the commit message before my previous reply. Now I see the origin of the syntax. On Fri, Mar 29, 2013 at 06:14:07PM +0100, Jiří Župka wrote: [...] For filtering of named variants is used character because there was problem with

Re: [PATCH 1/4] [kvm-autotest] cgroup-kvm: add_*_drive / rm_drive

2011-10-10 Thread Jiri Zupka
This is useful function. This function can be in kvm utils. - Original Message - * functions for adding and removal of drive to vm using host-file or host-scsi_debug device. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 125

Re: [PATCH 1/2] cgroup: cgroup_common.py bugfixies and modifications

2011-09-23 Thread Jiri Zupka
Acked-by: Jiří Župka jzu...@redhat.com - Original Message - [FIX] incorrect prop/dir variable usage [MOD] Use __del__() instead of cleanup - Simplifies the code with small drawback (failures can't be handled. Anyway, they are not critical and were never handled before...)

Re: [PATCH 2/2] adds cgroup tests on KVM guests with first test

2011-09-23 Thread Jiri Zupka
Acked-by: Jiří Župka jzu...@redhat.com - Original Message - basic structure: * similar to general client/tests/cgroup/ test (imports from the cgroup_common.py) * uses classes for better handling * improved logging and error handling * checks/repair the guests after each

Re: Add ability client part starts autotest like server part

2011-09-05 Thread Jiri Zupka
- Original Message - On 08/26/2011 04:12 AM, Jiří Župka wrote: This patch series was created because client part of autotest started to be used like server part and there are lot of tests which can be unified to one test (multicast, netperf) if there will be able to start

Re: [AUTOTEST][KVM][PATCH] Add test for testing of killing guest when network is under usage.

2011-08-26 Thread Jiri Zupka
- Original Message - Hi Jiří, Do you have any further plans with this test? I'm not convinced that netperf only as a stress is necessarily. You can use netcat or simple python udp send/recv (flood attack ;-) ). With netperf is easy to simulate easy way lots of type of network load.

Re: [PATCH 1/4] [NEW] cgroup test * general smoke_test + module dependend subtests (memory test included) * library for future use in other tests (kvm)

2011-08-18 Thread Jiri Zupka
Hi, some minor problem in some timeout. Commented down in code. Otherwise good work. - Original Message - From: root r...@dhcp-26-193.brq.redhat.com cgroup.py: * structure for different cgroup subtests * contains basic cgroup-memory test cgroup_common.py: * library for

Re: [PATCH] Adds cgroup handling library

2011-08-09 Thread Jiri Zupka
ACK nice work. May be cgroup_common should be more general and placed in client/common_lib and can work general tools for manipulating with cgroups. - Original Message - [new] cgroup_common.py * library for handling cgroups Signed-off-by: Lukas Doktor ldok...@redhat.com ---

Re: [PATCH] [NEW] cgroup test * general smoke_test + module dependend subtests (memory test included) * library for future use in other tests (kvm)

2011-08-08 Thread Jiri Zupka
I go through this and let you know. - Original Message - From: root r...@dhcp-26-193.brq.redhat.com cgroup.py: * structure for different cgroup subtests * contains basic cgroup-memory test cgroup_common.py: * library for cgroup handling (intended to be used from kvm test in the

Re: [Autotest] [AUTOTEST][KVM] [PATCH 2/2] Add ability to call autotest client tests from kvm tests like a subtest.

2011-05-04 Thread Jiri Zupka
- Original Message - Hi Jiri, after reviewing the code I have comments, similar to Cleber's: On Fri, Apr 29, 2011 at 10:59 AM, Jiří Župka jzu...@redhat.com wrote: Example run autotest/client/netperf2 like a server. ... snip diff --git a/client/tests/kvm/tests/subtest.py

Re: [PATCH] KVM test: Cleanup of virtio_console subtest

2011-02-09 Thread Jiri Zupka
- Original Message - This is a cleanup patch for virtio_console: 1) Use the safer is None instead of == None or similar comparisons 2) Remove some unused imports 3) Remove some unneded parenthesis 4) Correct typos Thank you for your corrections. Signed-off-by: Lucas Meneghel

Re: [PATCH 1/1] virtio_console: perf-test fix [FIX] read-out all data after perf-test [FIX] code clean-up

2010-09-29 Thread Jiri Zupka
- Amit Shah amit.s...@redhat.com wrote: On (Thu) Sep 23 2010 [14:11:52], Lukas Doktor wrote: @@ -829,6 +832,11 @@ def run_virtio_console(test, params, env): exit_event.set() thread.join() +# Let the guest read-out all the remaining data +

[PATCH] KVM test: KSM (kernel shared memory) overcommit test

2010-02-10 Thread Jiri Zupka
/allocator.py new file mode 100644 index 000..e0b8c75 --- /dev/null +++ b/client/tests/kvm/scripts/allocator.py @@ -0,0 +1,230 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +Auxiliary script used to allocate memory on guests. + +...@copyright: 2008-2009 Red Hat Inc. +...@author: Jiri Zupka

[KVM-autotest][RFC] 32/32 PAE bit guest system definition

2009-12-11 Thread Jiri Zupka
Hello, we write KSM_overcommit test. If we calculate memory for guest we need to know which architecture is Guest. If it is a 32b or 32b with PAE or 64b system. Because with a 32b guest we can allocate only 3100M +-. Currently we use the name of disk's image file. Image file name ends with 64

Re: [Autotest] [KVM-AUTOTEST] KSM-overcommit test v.2 (python version)

2009-11-17 Thread Jiri Zupka
Hi, We find a little mistake with ending of allocator.py. Because I send this patch today. I resend whole repaired patch again. - Original Message - From: Jiri Zupka jzu...@redhat.com To: autotest autot...@test.kernel.org, kvm kvm@vger.kernel.org Cc: u...@redhat.com Sent: Tuesday

[KVM-AUTOTEST] KSM-overcommit test v.2 (python version)

2009-11-16 Thread Jiri Zupka
+import tempfile +from datetime import datetime +from datetime import timedelta + + +KVM test definitions. + +...@copyright: 2008-2009 Red Hat Inc. +Jiri Zupka jzu...@redhat.com + +PAGE_SIZE = 4096 #machine page size + +class mem_fill: + +Guest side script to test KSM driver

Re: [KVM-AUTOTEST PATCH 1/2] Add KSM test

2009-09-25 Thread Jiri Zupka
- Dor Laor dl...@redhat.com wrote: On 09/16/2009 04:09 PM, Jiri Zupka wrote: - Dor Laordl...@redhat.com wrote: On 09/15/2009 09:58 PM, Jiri Zupka wrote: After a quick review I have the following questions: 1. Why did you implement the guest tool in 'c' and not in python

Re: [KVM-AUTOTEST PATCH 1/2] Add KSM test

2009-09-16 Thread Jiri Zupka
- Dor Laor dl...@redhat.com wrote: On 09/15/2009 09:58 PM, Jiri Zupka wrote: After a quick review I have the following questions: 1. Why did you implement the guest tool in 'c' and not in python? Python is much simpler and you can share some code with the server. This 'test

Re: [KVM-AUTOTEST PATCH 1/2] Add KSM test

2009-09-15 Thread Jiri Zupka
After a quick review I have the following questions: 1. Why did you implement the guest tool in 'c' and not in python? Python is much simpler and you can share some code with the server. This 'test protocol' would also be easier to understand this way. We need speed and the precise