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
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
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
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
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_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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
...
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
)
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
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
/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
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
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
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
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
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
..
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
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
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
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
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
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
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
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
* 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.
* 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.
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
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
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
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
---
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
---
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:
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
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
.
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 - 100 of 101 matches
Mail list logo