Michael Goldish wrote:
> - "David Huff" wrote:
>> The way I always envisioned it was something like this..
>>
>> The config file specifies the whole test matrix, ie all variants that
>> you could run each test on, ie all os's, all archs, all di
Michael Goldish wrote:
> - "Lucas Meneghel Rodrigues" wrote:
>
>> Currently we have our kvm test control file and configuration file,
>> having them split like this makes it harder for users to edit it,
>> let's
>> say, using the web frontend.
>>
>> So it might be good to merge the control fi
Lucas Meneghel Rodrigues wrote:
I've been trough the changes, thank you for your work David:
Comments/questions:
* Any particular reason why you guys wrote the PXE boot setup as a
shell script instead of a python module (that could be also used as a
stand alone program)?
We decided to use en
This is a stopgap to test unattended installs.
We will write a new seprate test for unattended installs
---
client/tests/kvm/kvm_tests.py | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_tests.py b/client/tests/kvm/kvm_tests.py
index 54d2a7
You must add your own product key to the windows config file.
---
client/tests/kvm/unattended/Fedora-11-i386.ks | 24 +++
client/tests/kvm/unattended/WinXP-32.sif | 52 +
2 files changed, 76 insertions(+), 0 deletions(-)
create mode 100644 client/tests/kvm
+#
+# unattended.sh - sets up environment for an unattended install for
kvm_autotest
+#
+# Copyright (C) 2009 Red Hat, Inc.
+# Written by:
+# David Huff
+# Darryl L. Pierce
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public
---
client/tests/kvm/kvm_tests.cfg.sample | 75 +---
1 files changed, 68 insertions(+), 7 deletions(-)
diff --git a/client/tests/kvm/kvm_tests.cfg.sample
b/client/tests/kvm/kvm_tests.cfg.sample
index c73da7c..2d96bac 100644
--- a/client/tests/kvm/kvm_tests.cfg.sampl
This allows you to not specify the full path in the
config file, appends to the image dir
---
client/tests/kvm/kvm_vm.py | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 5028161..621f0ca 100644
--- a/
Second pass at the unattended install test. Both Linux and Windows guests are
working however currently it just uses the existing boot test and extends
timeouts. We still need a good way of determining if an unattended install
completed without error. For Linux guest we should be able to run som
Lucas Meneghel Rodrigues wrote:
> On Fri, 2009-06-12 at 10:43 -0400, David Huff wrote:
>> This patch adds the processes_command function to the preprocessor which
>> will run custom scripts before and after a test is executed.
>>
>> processes_command will ex
This patch adds the processes_command function to the preprocessor which
will run custom scripts before and after a test is executed.
processes_command will export all test parameters as environmental variables
for passing parameters to a custom script.
processes_command uses parameters defined i
This patch adds the processes_command function to the preprocessor which
will run custom scripts before and after a test is executed.
processes_command will export all test parameters as environmental variables
for passing parameters to a custom script.
processes_command uses parameters defined i
Lucas Meneghel Rodrigues wrote:
Patch queue:
Left out: [PATCH] Added functionality to the preprocessor to run scripts
This patch adds support for pre_command and post_command parameters in
the congif file that s
David Huff wrote:
> Ok, I am sending out the first pass at the unattended install scripts. I have
> tested with both Linux and Windows guests and everything seems ok. I have
> been
> hitting a couple issues and I am sure there are more that need to be resolved
> however I want
.
+# Written by:
+# David Huff
+# Darryl L. Pierce
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the
Ok, I am sending out the first pass at the unattended install scripts. I have
tested with both Linux and Windows guests and everything seems ok. I have been
hitting a couple issues and I am sure there are more that need to be resolved
however I wanted some initial feedback...
Requires the proce
---
client/tests/kvm_runtest_2/kvm_tests.cfg.sample | 28 +-
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/client/tests/kvm_runtest_2/kvm_tests.cfg.sample
b/client/tests/kvm_runtest_2/kvm_tests.cfg.sample
index c73da7c..12e6a77 100644
--- a/client/tests/kvm
Uri Lublin wrote:
> Hi Mike,
>
> Can you load those kernel modules before running kvm-autotest (something
> like a setup script) ? And clean up when the run completes (cleanup
> script) ?
This can problay be done with the pre_command and post_command
parameters that I added in my previous patch.
Uri Lublin wrote:
> Hi David,
>
> I'm not sure this patch-set makes development much easier, as it only
> saves adding one line (entry) in test_routines table, but is less
> flexible (e.g. force file-name and function-name of test routines).
>
> Moving the test to a separate kvm_tests directory c
This patch will run pre and post scripts
defined in config file with the parameter pre_command
and post_command post_command.
Also exports all the prameters in preprocess for passing
arguments to the script.
---
client/tests/kvm_runtest_2/kvm_preprocessing.py | 34 +++
1 fil
---
client/tests/kvm_runtest_2/kvm_tests.py | 396 ---
1 files changed, 0 insertions(+), 396 deletions(-)
delete mode 100644 client/tests/kvm_runtest_2/kvm_tests.py
diff --git a/client/tests/kvm_runtest_2/kvm_tests.py
b/client/tests/kvm_runtest_2/kvm_tests.py
delete
autotest.py, boot.py, linux_s3.py, migration.py, yum_update.py
---
client/tests/kvm_runtest_2/kvm_tests/autotest.py | 145
client/tests/kvm_runtest_2/kvm_tests/boot.py | 45 ++
client/tests/kvm_runtest_2/kvm_tests/linux_s3.py | 53 +++
client/tests/kvm_r
This will allow for adding of additional tests with out modifying the "code."
One would just add the testname.py file to the test_dir and edit the comfig
file.
fixed typo
---
client/tests/kvm_runtest_2/kvm_runtest_2.py | 32 +++---
1 files changed, 23 insertions(+), 9 del
resending patch set... first pass at spiting up tests into separate files...
These relatively simple changes to kvm_runtest_2 will allow for the addition of
new tests without having modifying kvm_runtest "code."
One would just add a newtest.py file and update the config file. This will
simpl
Michael Goldish wrote:
> Looks good to me. See some comments below.
>
> ----- "David Huff" wrote:
>
>> This patch will run pre and post scripts
>> defined in config file with the parameter pre_command
>> and post_command post_command.
>>
>&
example: kernel_args = "ks=floppy console=ttyS0 noacpi"
fix modifies kvm_config.split_and_strip so it will only split once per line.
---
client/tests/kvm_runtest_2/kvm_config.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm_runtest_2/kvm_config.py
b/c
Avi Kivity wrote:
> Michael Goldish wrote:
>> This makes sense, thanks.
>>
>> One thing though -- I don't know if it's even worth mentioning -- we
>> always try to put a single space after a comma (I think the Python
>> style guide recommends that but I'm not sure). Generally we try to
>> follow th
This patch will run pre and post scripts
defined in config file with the parameter pre_command
and post_command post_command.
Also exports all the prameters in preprocess for passing
arguments to the script.
---
client/tests/kvm_runtest_2/kvm_preprocessing.py | 31 +-
1 file
fix modifies kvm_config.split_and_strip so it will only split once per line.
example: kernel_args = "ks=floppy console=ttyS0 noacpi"
---
client/tests/kvm_runtest_2/kvm_config.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm_runtest_2/kvm_config.py
b/c
yogi wrote:
Hello everyone,
I like to submit patch to add support for "remote migration" in
kvm-autotest.
Thanks for the patch, Uri is out on vacation for a while. I'll apply the
patch to my test repo and do some validation testing, however may be a
little while untill it makes it in.
-D
autotest.py, boot.py, linux_s3.py, migration.py, yum_update.py
---
client/tests/kvm_runtest_2/kvm_tests/autotest.py | 145
client/tests/kvm_runtest_2/kvm_tests/boot.py | 45 ++
client/tests/kvm_runtest_2/kvm_tests/linux_s3.py | 53 +++
client/tests/kvm_r
---
client/tests/kvm_runtest_2/kvm_tests.py | 396 ---
1 files changed, 0 insertions(+), 396 deletions(-)
delete mode 100644 client/tests/kvm_runtest_2/kvm_tests.py
diff --git a/client/tests/kvm_runtest_2/kvm_tests.py
b/client/tests/kvm_runtest_2/kvm_tests.py
delete
This will allow for adding of additional tests with out modifying the "code."
One would just add the testname.py file to the test_dir and edit the comfig
file.
---
client/tests/kvm_runtest_2/kvm_runtest_2.py | 32 +++---
1 files changed, 23 insertions(+), 9 deletions(-)
di
looking for comments/feedback
These relatively simple changes to kvm_runtest_2 will allow for the addition of
new tests without having modifying kvm_runtest "code."
One would just add a newtest.py file and update the config file. This will
simplify test development and make it easier to
---
client/tests/kvm_runtest_2/kvm_runtest_2.py |1 +
client/tests/kvm_runtest_2/kvm_tests.cfg.sample |6 ++
client/tests/kvm_runtest_2/kvm_tests.py | 97 +++
3 files changed, 104 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm_runtest_2/kvm_r
Submitting new test for review and comments.
This test was originally developed by the Red Hat QE team.
It starts a new guest saves it and reloads the saved state.
looking for comments and or improvements that can be made to this test.
-D
--
To unsubscribe from this list: send the line "unsu
36 matches
Mail list logo