[virt-test][PATCH 1/7] virt: Make Cartesian config more verbose

2013-03-29 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config.py | 72 1 file changed, 59 insertions(+), 13 deletions(-) diff --git a/virttest/cartesian_config.py b/virttest/cartesian_config.py index 318b635..092e88d 100755 --- a/virttest

[virt-test][PATCH 2/7] virt: Update cartesian config unittest

2013-03-29 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config_unittest.py | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/virttest/cartesian_config_unittest.py b/virttest/cartesian_config_unittest.py index c72cb71..afc1b14 100755

[virt-test][PATCH 3/7] virt: Adds formal definition for Cartesian config

2013-03-29 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config.py | 85 1 file changed, 85 insertions(+) diff --git a/virttest/cartesian_config.py b/virttest/cartesian_config.py index 092e88d..ef91051 100755 --- a/virttest

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

2013-03-29 Thread Jiří Župka
in case of example is it (virt_system = linux). It should reduce size of config file. Keys defined in config and keys defined by named variants are in same name space. Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config.py | 138 ++- 1 file

[virt-test][PATCH 5/7] virt: Update Cartesian config unittest named variants

2013-03-29 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config_unittest.py | 79 +++ 1 file changed, 79 insertions(+) diff --git a/virttest/cartesian_config_unittest.py b/virttest/cartesian_config_unittest.py index afc1b14..98c1efc 100755

[virt-test][PATCH 6/7] virt: Adds possibility filter defaults variant from variants

2013-03-29 Thread Jiří Župka
.virt_systemlinux.teststest2 run = test1 shortname = host_oswindows.WIN7.teststest2 tests = test2 virt_system = linux Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config.py | 82 1 file changed, 68 insertions(+), 14

[virt-test][PATCH 7/7] virt: Update Cartesian config unittest default variants.

2013-03-29 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/cartesian_config_unittest.py | 96 +++ 1 file changed, 96 insertions(+) diff --git a/virttest/cartesian_config_unittest.py b/virttest/cartesian_config_unittest.py index 98c1efc..4f5e50c 100755

[Autotest][PATCH] Server test: Adds support for multi-host migration in afe tool.

2012-12-10 Thread Jiří Župka
Test name Multi_host migration. Signed-off-by: Jiří Župka jzu...@redhat.com --- multihost_migration/control.srv| 55 +++ multihost_migration/multihost_migration.py | 136 2 files changed, 191 insertions(+), 0 deletions(-) create mode 100644

[Autotest][PATCH 1/4] virt: Adds support for cancel migration in multi-host tests.

2012-10-31 Thread Jiří Župka
1) Start migration with stressed VM. 2) Wait cancel_delay and then cancel migration. 3) Check if machine is alive on source host. 4) Stop stress of VM. 5) Migrate machine again. 6) Check if machine is alive on destination host. Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest

[Autotest][PATCH 2/4] virt: Multihost-migrate stops unnecessary vm disk clone.

2012-10-31 Thread Jiří Župka
If force_image_clone == no then only check vm image consistency. If vm image consistency is good use old image else copy again from original. Remove image if consistency is not correct after finish of test. Signed-off-by: Jiří Župka jzu...@redhat.com --- shared/cfg/subtests.cfg.sample |2

[Autotest][PATCH 3/4] virt: Move migration_multi_host_fd to framework

2012-10-31 Thread Jiří Župka
It allows use migration over fd in all multihost_migration tests. Signed-off-by: Jiří Župka jzu...@redhat.com --- kvm/tests/migration_multi_host_fd.py | 196 -- virttest/utils_test.py | 178 ++- 2 files changed, 173

[Autotest][PATCH 4/4] virt: Allows multihost test using of fd migration and adds new tests

2012-10-31 Thread Jiří Župka
New tests: 1) change downtime of migration after start of migration 2) change migration speed after start of migration. 3) cancel migration after start. Signed-off-by: Jiří Župka jzu...@redhat.com --- kvm/tests/migration_multi_host.py | 75 ++- kvm/tests

[PATCH] virt: Repairs Migration_multi_host_fd test Pylint correction.

2012-10-11 Thread Jiří Župka
Pylint correction makes migration_multi_host_fd test dysfunctional. pull-request: https://github.com/autotest/virt-test/pull/55 Signed-off-by: Jiří Župka jzu...@redhat.com --- kvm/tests/migration_multi_host_fd.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kvm

[Autotest][PATCH] virt: Adds multi_host_migration early boot tests.

2012-10-11 Thread Jiří Župka
pull-request: https://github.com/autotest/virt-test/pull/56 Signed-off-by: Jiří Župka jzu...@redhat.com --- kvm/cfg/multi-host-tests.cfg.sample |2 ++ kvm/tests/migration_multi_host_fd.py |7 +-- shared/cfg/subtests.cfg.sample | 17 +++-- virttest/env_process.py

[virt][PATCH 2/4] virt: Cleanup unused import in libvirt_xml.py

2012-10-04 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/libvirt_xml.py |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/virttest/libvirt_xml.py b/virttest/libvirt_xml.py index bedc496..4376111 100644 --- a/virttest/libvirt_xml.py +++ b/virttest/libvirt_xml.py

[virt][PATCH 3/4] virt: Adds kvm,libvirt check of machine model

2012-10-04 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/kvm_vm.py | 12 ++-- virttest/libvirt_vm.py | 13 +++-- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/virttest/kvm_vm.py b/virttest/kvm_vm.py index 9877d55..c51cd1b 100644 --- a/virttest/kvm_vm.py

[virt][PATCH 4/4] virt: Adds multihost machine type test variants.

2012-10-04 Thread Jiří Župka
This patch groups multihost test into one group to which is added machine types variant of test. Signed-off-by: Jiří Župka jzu...@redhat.com --- kvm/cfg/multi-host-tests.cfg.sample |6 +- shared/cfg/subtests.cfg.sample | 164 ++- 2 files changed, 107

[virt][PATCH 1/3] virt: Adds OpenVSwitch support to virt tests.

2012-10-03 Thread Jiří Župka
When autotest tries add tap to bridge then test recognize if test is bridge is standard linux or OpenVSwitch. And adds some utils for bridge manipulation. Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/utils_misc.py | 473 ++-- 1 files

[virt][PATCH 2/3] virt: Adds functionality for vms.

2012-10-03 Thread Jiří Župka
Allow creating of machine with tap devices which are not connected to bridge. Add function for fill virtnet object with address. Signed-off-by: Jiří Župka jzu...@redhat.com --- virttest/kvm_vm.py |9 +++-- virttest/utils_misc.py | 45

[Autotest][PATCH] Autotest: Add utils for OpenVSwitch patch

2012-10-03 Thread Jiří Župka
pull-request https://github.com/autotest/autotest/pull/569 ForAllxx: run object method on every object in list ForAll[a,b,c].print() Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/base_utils.py | 81 +- client/shared/openvswitch.py | 578

[Autotest][PATCH 1/5] Autotest: Add utils for OpenVSwitch patch

2012-09-21 Thread Jiří Župka
ForAllxx: run object method on every object in list ForAll[a,b,c].print() Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/base_utils.py | 81 +++--- 1 files changed, 67 insertions(+), 14 deletions(-) diff --git a/client/shared

[Autotest][PATCH 2/5] virt: Adds OpenVSwitch support to virt tests.

2012-09-21 Thread Jiří Župka
When autotest tries add tap to bridge then test recognize if test is bridge is standard linux or OpenVSwitch. And adds some utils for bridge manipulation. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/openvswitch.py | 583 ++ client/tests

[Autotest][PATCH 3/5] virt: Adds functionality for vms.

2012-09-21 Thread Jiří Župka
Allow creating of machine with tap devices which are not connected to bridge. Add function for fill virtnet object with address. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/virt/virttest/kvm_vm.py |9 + client/tests/virt/virttest/utils_misc.py |3 ++- client

[Autotest][PATCH 5/5] virt: Repair import path.

2012-09-21 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/virt/kvm/control.parallel|2 +- client/tests/virt/virttest/libvirt_xml.py |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tests/virt/kvm/control.parallel b/client/tests/virt/kvm/control.parallel

[PATCH][Autotest] client.shared: Adds VersionableClass.

2012-08-16 Thread Jiří Župka
pull-request: https://github.com/autotest/autotest/pull/519 Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/base_utils.py | 263 ++ client/shared/base_utils_unittest.py | 233 ++ 2 files changed, 496 insertions

[Autotest][PATCH 1/2] frontend: Replaces mod_python by mod_wsgi apache module

2012-06-07 Thread Jiří Župka
This patch also repairs bug with readonly_connection to mysql database. Signed-off-by: Jiří Župka jzu...@redhat.com --- apache/conf/django-directives| 49 + frontend/db/backends/afe/base.py | 11 frontend/frontend.wsgi | 32

[Autotest][PATCH 01/12] virt: Add possiblity to find subtests in more directory

2012-05-25 Thread Jiří Župka
example: ovirt tests in client/tests/ovirt wants to use test from kvm/tests/ vm_type = ovirt other_tests_dirs = kvm This adds client/test/kvm/tests path to subtests dir group where subtest will be searched. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests

[Autotest] v.2 Adds migration measure speed tests.

2012-05-25 Thread Jiří Župka
adds: single host and multi-host migration speed measure tests. pull-request: https://github.com/autotest/autotest/pull/358 [Autotest][PATCH 01/12] virt: Add possiblity to find subtests in more [Autotest][PATCH 02/12] test-spice.cfg.sample: Misc fixes [Autotest][PATCH 03/12] rv_connect.py: Add

[Autotest][PATCH 02/12] test-spice.cfg.sample: Misc fixes

2012-05-25 Thread Jiří Župka
From: Vaclav Ehrlich vehrl...@redhat.com * removing duplicates in test-spice.cfg.sample * also removed two duplicated lines * added spice_gen_x509 * added spice_client_host_subject Signed-off-by: Vaclav Ehrlich vehrl...@redhat.com --- client/tests/kvm/tests-spice.cfg.sample |4 ++-- 1 files

[Autotest][PATCH 07/12] virt.kvm: Unifying qmp/human monitor set_migration_speed

2012-05-25 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_monitor.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/client/virt/kvm_monitor.py b/client/virt/kvm_monitor.py index a49fd18..1320ba5 100644 --- a/client/virt/kvm_monitor.py +++ b/client/virt

[Autotest][PATCH 08/12] virt,kvm: Adds possibility to don't wait for finish of migration

2012-05-25 Thread Jiří Župka
After setting not_wait_for_migration the kvm_vm.migration method returns control to parent function immediately after sending of migration command to qemu monitor. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_vm.py | 16 +++- 1 files changed, 11 insertions(+), 5

[Autotest][PATCH 06/12] shared: Adds class for simple statistics and convert size function

2012-05-25 Thread Jiří Župka
convert_data_size('1M') == 1024 * 1024 bytes Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/base_utils.py | 58 ++ client/shared/base_utils_unittest.py | 41 2 files changed, 99 insertions(+), 0 deletions

[Autotest][PATCH 03/12] rv_connect.py: Add openssl support

2012-05-25 Thread Jiří Župka
From: Vaclav Ehrlich vehrl...@redhat.com Add openssl support required for spice ssl testing. It creates command line options for remote-viewer, then launches it. Signed-off-by: Vaclav Ehrlich vehrl...@redhat.com --- client/virt/tests/rv_connect.py | 25 - 1 files

[Autotest][PATCH 12/12] kvm-tests: Adds tests for measure migration speed.

2012-05-25 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- .../migration_multi_host_with_measure_speed.py | 189 .../kvm/tests/migration_with_measure_speed.py | 121 + client/virt/subtests.cfg.sample| 16 ++- 3 files changed, 325 insertions(+), 1

[Autotest][PATCH 09/12] virt: Adds funtion to virt_utils install_cpuflags_util_on_vm

2012-05-25 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/virt_utils.py | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/client/virt/virt_utils.py b/client/virt/virt_utils.py index 17963fb..a2a73ec 100644 --- a/client/virt/virt_utils.py +++ b

[Autotest][PATCH 05/12] virt: Add memory stress test to cpu_flags test

2012-05-25 Thread Jiří Župka
usage: ./cpuflags-test --stressmem 100 (in MB) Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/deps/test_cpu_flags/Makefile|9 +- client/virt/deps/test_cpu_flags/cpuflags-test.c | 28 --- client/virt/deps/test_cpu_flags/stressmem.c | 33

[Autotest][PATCH] virt: Add possiblity to find subtests in more directory

2012-05-22 Thread Jiří Župka
example: ovirt tests in client/tests/ovirt wants to use test from kvm/tests/ vm_type = ovirt other_tests_dirs = kvm This adds client/test/kvm/tests path to subtests dir group where subtest will be searched. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests

[Autotest][PATCH 1/7] virt: Add memory stress test to cpu_flags test.

2012-05-21 Thread Jiří Župka
usage: ./cpuflags-test --stressmem 100 (in MB) Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/deps/test_cpu_flags/Makefile|9 +- client/virt/deps/test_cpu_flags/cpuflags-test.c | 28 --- client/virt/deps/test_cpu_flags/stressmem.c | 33

[Autotest][PATCH 2/7] shared: Adds class for collecting a simple statistics.

2012-05-21 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/shared/base_utils.py | 34 ++ client/shared/base_utils_unittest.py | 19 +++ 2 files changed, 53 insertions(+), 0 deletions(-) diff --git a/client/shared/base_utils.py b/client

[Autotest][PATCH 3/7] virt.kvm: Unifying qmp/human monitor set_migration_speed

2012-05-21 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_monitor.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/virt/kvm_monitor.py b/client/virt/kvm_monitor.py index a49fd18..f7a3e34 100644 --- a/client/virt/kvm_monitor.py +++ b/client/virt

[Autotest][PATCH 4/7] virt,kvm: Adds possibility interrupt migration function.

2012-05-21 Thread Jiří Župka
It starts migration and after start of migration it returns control to calling function. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_vm.py | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py

[Autotest][PATCH 7/7] kvm-tests: Adds tests for measure migration speed.

2012-05-21 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- .../migration_multi_host_with_measure_speed.py | 189 .../kvm/tests/migration_with_measure_speed.py | 121 + client/virt/subtests.cfg.sample| 16 ++- 3 files changed, 325 insertions(+), 1

[Autotest][PATCH] virt: Repair bug in speed limiting of scp.

2012-05-11 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/virt_vm.py | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/client/virt/virt_vm.py b/client/virt/virt_vm.py index 7694cda..662263a 100644 --- a/client/virt/virt_vm.py +++ b/client/virt/virt_vm.py

[Autotest][PATCH 2/3] virt: Allow set speed limit for scp

2012-05-04 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/virt_utils.py | 47 +++- 1 files changed, 33 insertions(+), 14 deletions(-) diff --git a/client/virt/virt_utils.py b/client/virt/virt_utils.py index 0ac52d8..7c92068 100644 --- a/client/virt

[Autotest][PATCH 3/3] kvm-test: Adds multihost migtration test with file transfer.

2012-05-04 Thread Jiří Župka
... vm-host1 ... checksum filemig_migrate_count(host2-host1) end: check all checksum with orig_file checksum Signed-off-by: Jiří Župka jzu...@redhat.com --- .../migration_multi_host_with_file_transfer.py | 242

[autotest][PATCH 1/3] virt multihost_mig: Repairs bug in starting sequence of tests.

2012-04-19 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/multi_host.srv | 22 ++ 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/client/tests/kvm/multi_host.srv b/client/tests/kvm/multi_host.srv index 5aafeda..e54325f 100644 --- a/client/tests/kvm

[autotest][PATCH 2/3] virt: Adds migration over fd for kvm.

2012-04-19 Thread Jiří Župka
descriptor. migrate fd:DSC_NAME destination: 1) Start child process with open second side of source descriptor. 2) Start machine with param -incoming fd:descriptor 3) Wait for finishing migration. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_vm.py

[autotest][PATCH 3/3] kvm-test: Add support for multihost migration over file descriptor.

2012-04-19 Thread Jiří Župka
Test create socket get descriptor from socket and migrate through the descriptor. This test allow migration only of one machine at once. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/migration_multi_host_fd.py | 124 + client/virt/virt_utils.py

[PATCH 1/3] virt multihost_mig: Repairs bug in starting sequence of tests.

2012-04-19 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/multi_host.srv | 22 ++ 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/client/tests/kvm/multi_host.srv b/client/tests/kvm/multi_host.srv index 5aafeda..e54325f 100644 --- a/client/tests/kvm

[PATCH 3/3] kvm-test: Add support for multihost migration over file descriptor.

2012-04-19 Thread Jiří Župka
Test create socket get descriptor from socket and migrate through the descriptor. This test allow migration only of one machine at once. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/migration_multi_host_fd.py | 124 + client/virt/virt_utils.py

[PATCH 2/3] virt: Adds migration over fd for kvm.

2012-04-19 Thread Jiří Župka
descriptor. migrate fd:DSC_NAME destination: 1) Start child process with open second side of source descriptor. 2) Start machine with param -incoming fd:descriptor 3) Wait for finishing migration. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_vm.py

[PATCH] kvm test cpuflags: Try all supported cpu models.

2012-04-16 Thread Jiří Župka
If cpu model isn't defined then test compare all guest cpu models with host cpu model and try test all cpu models which is supported by host. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/cpuflags.py | 66 ++-- client/virt

[PATCH] kvm-autotest: Allow migration of multiple machines.

2012-04-04 Thread Jiří Župka
Change migration_multi_host test to migrate all vms on same time. https://github.com/autotest/autotest/pull/270 Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/migration_multi_host.py |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/client/tests

[PATCH] virt: Repairs aexpect expect.read_nonblocking infinite read.

2012-04-03 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/ksm_overcommit.py |2 +- client/tests/kvm/tests/virtio_console.py |2 +- client/virt/aexpect.py | 28 ++-- client/virt/deps/test_cpu_flags/stress.c |2 +- 4 files changed

[PATCH 1/3][Autotest][virt] autotest.base_utils: Move virt.utils.Thread to common_lib

2012-03-21 Thread Jiří Župka
Move the class virt.utils.Thread to base_utils.InterruptedThread thus it can be used in general utils. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/common_lib/base_utils.py| 65 ++ .../kvm/tests/migration_with_file_transfer.py |6

[PATCH 1/3][Autotest][virt] autotest.base_utils: Move virt.utils.Thread-base_utils.InterruptedThread

2012-03-19 Thread Jiří Župka
It is necessary for adding syncdata class. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/common_lib/base_barrier.py |2 +- client/common_lib/base_utils.py| 65 ++ .../kvm/tests/migration_with_file_transfer.py |6

[PATCH 3/3][Autotest][virt] virt.virt_utils: Add framework for multihost migration.

2012-03-19 Thread Jiří Župka
and different work on guests. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/multi_host.srv| 94 +++-- client/tests/kvm/tests/cpuflags.py | 203 --- client/tests/kvm/tests/migration_multi_host.py | 105 +- client/virt/base.cfg.sample

[KVM-Autotest][PATCH 1/2] kvm test: Change cpuflags test call structure.

2012-02-10 Thread Jiří Župka
This changes are neccesary because people who use the test want to use this test another way. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/cpuflags.py | 890 +--- client/virt/subtests.cfg.sample| 24 +- 2 files changed, 438

[KVM-Autotest][PATCH 2/2] kvm test: Adds new subtest to cpuflags test.

2012-02-10 Thread Jiří Župka
Adds new subtest which tests warning of qemu-kvm -cpu started with parameter check. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/cpuflags.py | 35 +++ client/virt/subtests.cfg.sample|2 ++ client/virt/virt_utils.py

[KVM-Autotest][PATCH 1/5] virt: Check illegal instruction code

2012-01-31 Thread Jiří Župka
Add a check on the base VM class for illegal instruction code executed by the VM. That check is performed on the serial console output. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/virt_vm.py | 27 +++ 1 files changed, 27 insertions(+), 0 deletions

[KVM-Autotest][PATCH 2/5] virt: Add aliases to class Flag.

2012-01-31 Thread Jiří Župka
The patch solve problem with doubled name of cpuflags sse4_1, sse4.1 etc. in cpuflag test. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/virt_utils.py | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/client/virt/virt_utils.py b/client/virt

[KVM-Autotest][PATCH 3/5] kvm test: Introduce multi_host.srv

2012-01-31 Thread Jiří Župka
, added new configuration file tests-shared.cfg which contains shared data among single host and multi host tests. The changes are useful for multihost tests, since we can use a lot of configuration from regular single host tests. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm

[KVM-Autotest][PATCH 5/5] kvm test: Add multihost migration support to cpuflag test

2012-01-31 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/cpuflags.py | 284 +++- client/virt/subtests.cfg.sample| 17 ++- 2 files changed, 263 insertions(+), 38 deletions(-) diff --git a/client/tests/kvm/tests/cpuflags.py b/client/tests/kvm

[KVM-autotest][PATCH 1/4] virt: Check ilegal instruction code

2012-01-17 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/virt_vm.py | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/client/virt/virt_vm.py b/client/virt/virt_vm.py index 32593c1..c2b6586 100644 --- a/client/virt/virt_vm.py +++ b/client/virt

[KVM-autotest][PATCH 3/4] kvm migration: Repair migration_control.srv to new interface of kvm configs.

2012-01-17 Thread Jiří Župka
configuration and tests configuration. The changes is usefull for multihost migration tests. Because there is possible to use lot of configuration from normal tests. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/migration_control.srv | 35 + client/tests/kvm/tests

[KVM-autotest][PATCH 4/4] kvm test: Add multihost migration support to cpuflag test

2012-01-17 Thread Jiří Župka
And additional reduce memory usage of cpu flags test stress because there is problem with link bandwith during migration. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests.cfg.sample| 43 +- client/tests/kvm/tests/cpuflags.py | 292

[KVM-autotest]Cpuflags test

2012-01-06 Thread Jiří Župka
Pull-Request: https://github.com/autotest/autotest/pull/133 -- 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

[KVM-autotest][PATCH 1/2] Virt test:Add new instruction sets

2012-01-06 Thread Jiří Župka
fma4, sse4a, xop Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/deps/test_cpu_flags/Makefile| 83 +++ client/virt/deps/test_cpu_flags/aes.c | 13 +++- client/virt/deps/test_cpu_flags/avx.c | 30 + client/virt/deps

[KVM-autotest][PATCH 2/2] Kvm test: Split cpuflags test to variants.

2012-01-06 Thread Jiří Župka
Clean up cpuflags-test code. Repair some minor bugs which were been created by merging to upstream. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/cpuflags.py | 71 +++ client/virt/deps/test_cpu_flags/cpuflags-test.c |2 - client

[tests-AUTOTEST][PATCH] virt tests kvm: Adds cpuflags test

2012-01-03 Thread Jiří Župka
in next version.. This program ensure to test special instruction provides cpuflags like rdrand etc.. This patch also contain cpuflag stress test in tests dir which can be used by vitr.autotest test. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/cpuflags/control

[tests-Autotests][PATCH] virt tests kvm: Adds cpuflags test

2012-01-03 Thread Jiří Župka
in next version.. This program ensure to test special instruction provides cpuflags like rdrand etc.. This patch also contain cpuflag stress test in tests dir which can be used by vitr.autotest test. Pull Request: https://github.com/autotest/autotest/pull/109 Signed-off-by: Jiří Župka jzu

[PATCH][Autotest] Add explain to unpickle error in parallel module.

2011-12-09 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/bin/parallel.py |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/client/bin/parallel.py b/client/bin/parallel.py index cb02082..78a02c9 100644 --- a/client/bin/parallel.py +++ b/client/bin/parallel.py @@ -56,7

[PATCH][Autotest] Autotest: Add subtest inteface to client utils.

2011-12-09 Thread Jiří Župka
Subtest.get_text_result() 2) Subtest.get_text_result(result_to_string) Pull-request: https://github.com/autotest/autotest/pull/111 Signed-off-by: Jiří Župka jzu...@redhat.com --- client/common_lib/base_utils.py | 214 ++ client/common_lib

[PATCH][kvm-autotest] Adds cpuflags test and subtest interface.

2011-12-08 Thread Jiří Župka
) Subtest.result_to_string = result_to_string Subtest.get_text_result() 2) Subtest.get_text_result(result_to_string) Pull-request: https://github.com/autotest/autotest/pull/109 Signed-off-by: Jiří Župka jzu...@redhat.com --- .../scripts/cpuflags-test/cpuflags-test.tar.bz2| Bin 0 - 3303 bytes

Add ability client part starts autotest like server part

2011-08-26 Thread Jiří Župka
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 already done tests from client part of autotest on virtual machine. The patch

[AUTOTEST][PATCH 3/3] autotest: Client/server part unification.

2011-08-26 Thread Jiří Župka
/job uses agressive way how to clean directory and erase data for all jobs. This problem can be easily resolve. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/bin/job.py| 143 +- client/bin/profilers.py |5 + client

[AUTOTEST][PATCH][KVM] Add test for problem with killing guest when network is under load.

2011-08-26 Thread Jiří Župka
This patch contain two tests. 1) Try kill guest when guest netwok is under loading. 2) Try kill guest after multiple adding and removing network drivers. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests_base.cfg.sample| 18 client/virt/tests

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

2011-08-17 Thread Jiří Župka
This patch contain two tests. 1) Try kill guest when guest netwok is under loading. 2) Try kill guest after multiple adding and removing network drivers. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests_base.cfg.sample| 23 + client/virt/tests

[PATCH] Repair minor exception text formatting in kvm.py.

2011-06-13 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/kvm.py |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py index bb17f28..84c361e 100644 --- a/client/tests/kvm/kvm.py +++ b/client/tests/kvm/kvm.py @@ -71,7

[AUTOTEST][PATCH 1/2] Subtest return test result.

2011-06-13 Thread Jiří Župka
If subtest is successful runsubtest returns True otherwise False. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/common_lib/test.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/common_lib/test.py b/client/common_lib/test.py index d5564c3..5b2e12c

[AUTOTEST][PATCH 2/2] Extend base_job_unittest for support subtest change.

2011-06-13 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/common_lib/base_job_unittest.py | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/client/common_lib/base_job_unittest.py b/client/common_lib/base_job_unittest.py index 503b62c..b98b01d 100755

[AUTOTEST][PATCH] Add ability to call autotest client tests from kvm tests like a subtest.

2011-05-04 Thread Jiří Župka
.. Make patch of tests_base.cfs.sample in correct way. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/bin/client_logging_config.py|5 +- client/bin/net/net_utils.py| 16 - client/common_lib/base_job.py |2 + client/common_lib/logging_config.py

[AUTOTEST][KVM] Add ability to call autotest client tests from kvm tests like a subtest.

2011-04-29 Thread Jiří Župka
Repaired version of previous patch which has aplication problem with new patches of autotest. First patch in series repair minor bug in creation of kvm guest machine. This patch is necessary for aplication of main patch. -- To unsubscribe from this list: send the line unsubscribe kvm in the body

[AUTOTEST][KVM] [PATCH 1/2] Repair bug of creating kvm guest machine.

2011-04-29 Thread Jiří Župka
Access to undefined variable. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/virt/kvm_vm.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py index 5df8719..619a5f9 100644 --- a/client/virt/kvm_vm.py +++ b/client/virt

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

2011-04-29 Thread Jiří Župka
of creation double version of test. netperf, multicast, etc.. Make patch of tests_base.cfs.sample in correct way. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/bin/client_logging_config.py|5 +- client/bin/net/net_utils.py| 16 - client/common_lib/base_job.py

[AUTOTEST][PATCH] Add ability to call autotest client tests from kvm tests like a subtest.

2011-04-26 Thread Jiří Župka
of creation double version of test. netperf, multicast, etc.. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/bin/client_logging_config.py|5 +- client/bin/net/net_utils.py| 16 - client/common_lib/base_job.py |2 + client/common_lib/logging_config.py

[KVM-Autotest][PATCH][virtio-console] KVM-test: Add hotplug test.

2011-02-23 Thread Jiří Župka
Tests: Hotplug of virtioserial and console. Hotplug of virtio-serial-pci device. Signed-off-by: Jiří Župka jzu...@redhat.com --- client/tests/kvm/scripts/virtio_console_guest.py |3 +- client/tests/kvm/tests/virtio_console.py | 382 +- client/tests/kvm

[KVM-Autotest][PATCH 1/2][virtio-console] Corrects virtio-console test.

2011-02-02 Thread Jiří Župka
Adds support for new tests. Adds new clean function for destructive tests. Corrects kernel crash log monitor. Signed-off-by: Jiří Župka jzu...@redhat.com Signed-off-by: Lukáš Doktor ldok...@redhat.com --- client/tests/kvm/scripts/virtio_console_guest.py | 63 +-- client/tests/kvm/tests

[KVM-Autotest][PATCH 2/2][virtio-console] Adds many tests to virtio-console.

2011-02-02 Thread Jiří Župka
serial ports. - Max console ports. - Max console and serial ports. 6) Try to gently shutdown the machine. Virtio_console shouldn't block this. 7) Let the machine migrate. Virtio_concoles should survive this. Signed-off-by: Jiří Župka jzu...@redhat.com Signed-off-by: Lukaš Doktor ldok

[KVM-Autotest][PATCH][virtio-console] Repair sigio bug, cleanup_function and code clean.

2010-12-16 Thread Jiří Župka
* Sigio console timeout. * Repair Multiopen test. * Cleanup function try repair ports. Virtual machine is restarted if something goes wrong. After crash any part of test summarize output is written to logs. Remove debug version of summarize output because there are to much unnecessary information.

[KVM-Autotest][PATCH][virtio-console][REPAIR] Repair sigio bug, cleanup_function and code clean.

2010-12-16 Thread Jiří Župka
* Sigio console timeout. * Repair Multiopen test. * Cleanup function try repair ports. Virtual machine is restarted if something goes wrong. After crash any part of test summarize output is written to logs. Remove debug version of summarize output because there are to much unnecessary information.

[KVM-Autotest][PATCH][virtio-console] Adding SIGIO test to virtio_console.

2010-12-06 Thread Jiří Župka
Sigio was added in kernel 2.6.37. It was necessary to slightly change structure of virtio_guest, because the signals coming into the main thread of process. Signals which arrived in the main thread cancel system call (os.read and others) and it caused problems New sructure: main thread

[PATCH] Correcting timeout interruption of virtio_console test.

2010-12-03 Thread Jiří Župka
Catch new exception from kvm_suprocess to avoid killing of tests. --- client/tests/kvm/tests/virtio_console.py | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/tests/virtio_console.py b/client/tests/kvm/tests/virtio_console.py index

[KVM-Autotest][PATCH][virtio-console] Correcting timeout interruption of virtio_console test.

2010-12-03 Thread Jiří Župka
Catch new exception from kvm_suprocess to avoid killing of tests. --- client/tests/kvm/tests/virtio_console.py | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/tests/virtio_console.py b/client/tests/kvm/tests/virtio_console.py index

[KVM-AUTOTEST][PATCH 1/2][virtio-console] Add subtest layer and prepare to add new tests.

2010-11-22 Thread Jiří Župka
This patch changes structure of the virtio_console test and prepares this test for simpler porting of another required tests. It creates a new layer for running the elementary tests allowing them to non-critically fail and let the test to finish the whole test loop. Tests are divided into parts

[KVM-AUTOTEST][PATCH 2/2][virtio-console] Fix compatibility with python 2.4.

2010-11-22 Thread Jiří Župka
--- client/tests/kvm/scripts/virtio_guest.py | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/client/tests/kvm/scripts/virtio_guest.py b/client/tests/kvm/scripts/virtio_guest.py index 87727c7..b039ec9 100755 ---

[Autotest] Performance Monitor Utils

2010-10-13 Thread Jiří Župka
This series of patch add system performance util which is in last part of patch series [PATCH 4/4]. In [PATCH 4/4] is described how to use this util. [PATCH 1-3/4] are supported utils for [PATCH 4/4]. Every single part can be used in autotest framework alone. -- To unsubscribe from this list:

[Autotest][PATCH 1/4] This add utils for get process name from his PID.

2010-10-13 Thread Jiří Župka
Signed-off-by: Jiří Župka jzu...@redhat.com --- client/common_lib/utils.py |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/client/common_lib/utils.py b/client/common_lib/utils.py index 2cbc740..8d6c1f7 100644 --- a/client/common_lib/utils.py +++ b/client/common_lib

[Autotest][PATCH 2/4] Parse value from string.

2010-10-13 Thread Jiří Župka
format: [(start_of_line,position in params)] example: data: cpu90 45 24 5 345 cpu0 14 11 83 34 33 start of line params 0 1 2 3 4 get_field(data,3,cpu0, +) = 34 get_field(data,4,cpu, +) = 345 Signed-off-by: Jiří Župka jzu...@redhat.com

[Autotest][PATCH 3/4] Monitoring numerical information from file and return value of this information.

2010-10-13 Thread Jiří Župka
. cpu.stop() # not necessary cpu.get_status() = return tuple of result. Signed-off-by: Jiří Župka jzu...@redhat.com Signed-off-by: Lukáš Doktor ldok...@redhat.com --- client/common_lib/utils.py | 139 1 files changed, 140 insertions(+), 0 deletions

  1   2   >