this will
result in /sbin not being included in $PATH.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index 0372565
Instead of hardcoding binary paths, use kvm_utils.find_command().
This should make the KVM test a little more distro independent.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py |4 ++--
client/tests/kvm/kvm_utils.py |7 ---
2
) Use kill_tail_threads() instead of VM.kill_tail_thread() (which was there
for a different reason) in kvm_preprocessing.py.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py |5 +-
client/tests/kvm/kvm_subprocess.py| 121
On 06/29/2010 04:33 AM, Chen Cao wrote:
On Mon, Jun 28, 2010 at 05:54:18PM +0300, Michael Goldish wrote:
The telnet service isn't used by kvm-autotest (AFAIK) and may interfere with
rss.exe (port 23).
Michael,
I think it is better to leave the port 23 (and also 22) alone, people
may
Changes from v1:
- Use glob() instead of iglob() (Python 2.4 doesn't like iglob())
- Change a few comments
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/rss_file_transfer.py | 436 +
1 files changed, 436 insertions(+), 0 deletions
.
- When text box is full, clear 3/4 of old text instead of 1/2 (looks prettier).
- Use const char * instead of char * where appropriate.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/deps/rss.cpp | 1448 -
1 files changed, 989
and 10023 instead of 22 and 23.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 20 +++-
client/tests/kvm/tests_base.cfg.sample | 10 ++
2 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py
).)
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/deps/setuprss.bat |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/deps/setuprss.bat
b/client/tests/kvm/deps/setuprss.bat
index 82d620d..1adff0f 100644
--- a/client/tests/kvm/deps
Don't tell rss.exe to use port 22.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/deps/setuprss.bat |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/deps/setuprss.bat
b/client/tests/kvm/deps/setuprss.bat
index 1adff0f..97298cd
This will result in more informative messages, e.g.:
Test failed: FileTransferConnectError: Could not connect to server
instead of
Test failed: Could not connect to server
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm.py |3 ++-
1 files changed, 2 insertions
On 06/28/2010 10:45 AM, Feng Yang wrote:
This function allow user send qmp command with parameters.
e.g. balloon value=1073741824
Also log command to debug.
Signed-off-by: Feng Yang fy...@redhat.com
---
client/tests/kvm/kvm_monitor.py | 32
1 files
The telnet service isn't used by kvm-autotest (AFAIK) and may interfere with
rss.exe (port 23).
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/unattended/win2003-32.sif | 10 +++-
client/tests/kvm/unattended/win2003-64.sif | 10 +++-
.../kvm
).
- Use const char * instead of char * where appropriate.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/deps/rss.cpp | 1448 -
1 files changed, 989 insertions(+), 459 deletions(-)
diff --git a/client/tests/kvm/deps/rss.cpp b
See details in docstrings in rss_file_transfer.py.
See protocol details in rss.cpp.
Changes from v1:
- Use glob() instead of iglob() (Python 2.4 doesn't like iglob())
- Change a few comments
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/rss_file_transfer.py | 412
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index c5234c8..46b0aa3 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests
This will only work with the most recent rss.exe.
Usage examples:
vm.copy_files_from(r'C:\foobar\*', test.debugdir, timeout=30)
vm.copy_files_from(r'%SystemRoot%\memory.dmp', '/tmp/', timeout=60)
vm.copy_files_to('/usr/local', r'C:\Windows', timeout=600)
Signed-off-by: Michael Goldish mgold
On 06/25/2010 02:33 AM, Lucas Meneghel Rodrigues wrote:
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 l...@redhat.com
---
client/tests/kvm/kvm_vm.py |5 +++--
1
Enable RSS to send/receive files and directory trees (recursively).
See protocol details in rss.cpp.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/deps/rss.cpp | 1429 -
1 files changed, 970 insertions(+), 459 deletions(-)
diff
For usage details see docstrings in rss_file_transfer.py.
For protocol details see deps/rss.cpp.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/rss_file_transfer.py | 412 +
1 files changed, 412 insertions(+), 0 deletions(-)
create mode
On 06/24/2010 02:25 PM, 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/) ?
I think STAF offers much more stuff. However, rss
On 06/21/2010 01:07 PM, Feng Yang wrote:
Sometime check_cmd could not finish in setting time.
Then o=, so int(o) will cause ValueError:
invalid literal for int() with base 10: ''
So change to check return status.
Signed-off-by: Feng Yang fy...@redhat.com
---
vm.is_alive() verifies that the monitor is responsive, which is required for
taking screendumps.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm
Don't prefix image_name and cdrom at the end of tests_base.cfg.sample.
Instead, do it all in tests.cfg.sample, to make it clearer to users editing
the file.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests.cfg.sample | 10 --
client/tests/kvm
If there are no test results, max() tries to operate on an empty sequence
and throws an exception.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/scan_results.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/scan_results.py b
that one test talks to the human monitor and the next test talks to the QMP
monitor of the same VM.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/client/tests/kvm
We don't want an exception during postprocessing to mask the exception that
caused the failure.
Also, move abort-on-error handling from kvm_preprocessing.py to kvm.py, and
modify some debug messages.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm.py
get_event() looks for and returns a single event matching the given name,
or None if none is found.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_monitor.py | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm
Currently the error message appears twice: both in a logging.warn() statement
and in an exception. Also the error.TestError raised adds unnecessary text to
the exception message, which is informative enough as it is.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm
, such methods (called
instancemethods) cannot be pickled, and kvm_subprocess relies on pickling.
This patch offers an easy yet somewhat dirty solution to the problem.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py | 37
- Add _remote_login() and _remote_scp() which, instead of taking a command
line, take an existing session and operate on it. This is useful for logging
into existing always-open sessions, such as serial console sessions.
- Merge ssh/telnet/netcat into remote_login().
Signed-off-by: Michael
If the VM has QMP monitors and no such events are found, fail.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_test_utils.py | 14 +-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_test_utils.py
b/client/tests/kvm
Allow all kvm_subprocess classes (kvm_spawn, kvm_tail, kvm_expect,
kvm_shell_session) to close automatically if auto_close is given and True.
By default auto_close if False for all classes except kvm_shell_session,
for which it is True by default.
Signed-off-by: Michael Goldish mgold
In order to let the serial console work, we must let the
remote_login() send the username when met the username prompt. This
patch fails the progress if if it met the username prompt twice.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Michael Goldish mgold...@redhat.com
Based on Jason Wang's patch.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm
Converting the text to utf-8 seems to cause trouble when converting back (e.g.
when writing to files). The logging system seems to be fine with unsanitized
text, so let's not sanitize it.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_subprocess.py |6 ++
1
Use kvm_utils.log_line() to log the output of all shell sessions and SCP
transfers.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py | 33 ++---
client/tests/kvm/kvm_vm.py| 15 ---
2 files changed, 38 insertions
On 06/14/2010 05:39 AM, Amos Kong wrote:
On Sun, Jun 13, 2010 at 05:33:44PM +0300, Michael Goldish wrote:
An initial QMP client implementation.
Should be fully functional and supports asynchronous events.
However, most tests must be modified to support it, because it returns output
-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_monitor.py | 354 +++
1 files changed, 354 insertions(+), 0 deletions(-)
create mode 100644 client/tests/kvm/kvm_monitor.py
diff --git a/client/tests/kvm/kvm_monitor.py b/client/tests/kvm
(the main monitor).
- For now, ignore the parameter screendump_verbose because currently monitor
commands are always silent (when successful).
Changes from v1:
- Turn VM.monitor into a property
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py
_socket instead of socket
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_monitor.py | 305 +++
client/tests/kvm/kvm_vm.py |8 +-
2 files changed, 310 insertions(+), 3 deletions(-)
diff --git a/client/tests/kvm/kvm_monitor.py b
Inline comments are not supported (yet?) and break the parsing of
tests_base.cfg.sample.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests_base.cfg.sample | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/client/tests/kvm
Try to exclude tests as soon as possible.
(Also remove broken linux_s3 exception at the same time.)
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests_base.cfg.sample | 22 ++
1 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/client
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index 0da7015..82ecb77 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b
add_smp() is defined but not used.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index f65d967..039fbff 100755
--- a/client/tests
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index 82ecb77..0ea5a8a 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b
allowing them to be
garbage collected. This is mainly important for the new monitor classes.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_preprocessing.py
b
(the main monitor).
- For now, ignore the parameter screendump_verbose because currently monitor
commands are always silent (when successful).
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py | 33 ++--
client/tests/kvm/kvm_test_utils.py
If the value returned from a monitor method call is a string, treat it as
human monitor output. Otherwise treat it as QMP output.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_test_utils.py | 15 ---
1 files changed, 12 insertions(+), 3 deletions
of returning a (status, output) tuple.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_monitor.py | 275 +++
client/tests/kvm/kvm_vm.py |6 +-
2 files changed, 279 insertions(+), 2 deletions(-)
diff --git a/client/tests/kvm
).
It currently contains only an interface to the human monitor. A QMP interface
will be introduced in a future patch.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_monitor.py | 356 +++
1 files changed, 356 insertions(+), 0 deletions
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 36 ++--
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 039fbff..e40abb4 100755
--- a/client/tests
On 06/09/2010 03:03 PM, Avi Kivity wrote:
On 06/09/2010 12:50 AM, Michael Goldish wrote:
Signed-off-by: Michael Goldishmgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 94bacdf..f3c05f3 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b
Should be set to yes to enable testdev.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 28
1 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index f3c05f3
Based on Naphtali Sprei's patches.
Changes from v1:
- Determine success/failure 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 mgold
Based on Naphtali Sprei's patches.
Changes from v1:
- Remove reference_output parameter
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/unittests.cfg.sample | 83 +
1 files changed, 83 insertions(+), 0 deletions(-)
create mode 100644
Currently to disable PCI device assignment pci_assignable must be explicitly
set to no. This patch allows it to remain undefined (and adds a warning
message and a comment).
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 47
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 94bacdf..f3c05f3 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b
Should be set to yes to enable testdev.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py | 28
1 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index f3c05f3
Based on Naphtali Sprei's patches.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests/unittest.py | 66
1 files changed, 66 insertions(+), 0 deletions(-)
create mode 100644 client/tests/kvm/tests/unittest.py
diff --git a/client
Based on Naphtali Sprei's patches.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/unittests.cfg.sample | 98 +
1 files changed, 98 insertions(+), 0 deletions(-)
create mode 100644 client/tests/kvm/unittests.cfg.sample
diff --git
On 05/24/2010 10:38 AM, Jason Wang wrote:
Michael Goldish wrote:
On 05/19/2010 12:13 PM, Jason Wang wrote:
This checker serves as the post_command to find the panic information
in the file which contains the content of guest serial console.
Changes from v2:
- Put all things
On 05/26/2010 07:41 AM, Feng Yang wrote:
Update migrate() in kvm_test_utils.py to support unix, exec protocol
and migration cancel test.
Add four migration sub test. There are tcp, unix, exec and mig_cancel.
migrate_cancel only work in tcp protocol.
Signed-off-by: Feng Yang fy...@redhat.com
On 05/19/2010 05:14 AM, Feng Yang wrote:
- Michael Goldish mgold...@redhat.com wrote:
From: Michael Goldish mgold...@redhat.com
To: Feng Yang fy...@redhat.com
Cc: autot...@test.kernel.org, kvm@vger.kernel.org
Sent: Monday, May 17, 2010 11:05:37 PM GMT +08:00 Beijing / Chongqing / Hong
consumption.
- Michael Goldish mgold...@redhat.com wrote:
From: Michael Goldish mgold...@redhat.com
To: autot...@test.kernel.org, kvm@vger.kernel.org
Cc: Michael Goldish mgold...@redhat.com
Sent: Monday, May 17, 2010 9:29:35 PM GMT +08:00 Beijing / Chongqing / Hong
Kong / Urumqi
On 05/19/2010 12:13 PM, Jason Wang wrote:
This checker serves as the post_command to find the panic information
in the file which contains the content of guest serial console.
Changes from v2:
- Put all things into __main__
- Fix some typos
Signed-off-by: Jason Wang jasow...@redhat.com
Print results clearly even if test names are very long.
Also, for consistency, use the same quote character everywhere.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/scan_results.py | 49 ++---
1 files changed, 29 insertions(+), 20
In order to support multiple versions of qemu which use different command line
options or syntaxes, wrap all command line options in small helper functions,
which append text to the command line according to the output of 'qemu -help'.
Signed-off-by: Michael Goldish mgold...@redhat.com
To disable tcpdump, set 'run_tcpdump = no' in a config file.
If 'run_tcpdump' isn't set at all, it defaults to 'yes'.
(Currently TAP mode cannot be used without tcpdump.)
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py |2 +-
client/tests/kvm
On 05/17/2010 04:35 PM, Lucas Meneghel Rodrigues wrote:
On Mon, 2010-05-17 at 16:29 +0300, Michael Goldish wrote:
To disable tcpdump, set 'run_tcpdump = no' in a config file.
If 'run_tcpdump' isn't set at all, it defaults to 'yes'.
(Currently TAP mode cannot be used without tcpdump.)
Maybe
On 05/07/2010 01:26 PM, Feng Yang wrote:
1. In remote_scp(), if SCP connetion stalled for some reason, following
code will be ran.
else: # match == None
logging.debug(Timeout elapsed or process terminated)
status = sub.get_status()
sub.close()
On 05/11/2010 12:04 PM, Jason Wang wrote:
This checker serves as the post_command to find the panic information
in the file which contains the content of guest serial console.
Signed-off-by: Jason Wang jasow...@redhat.com
---
client/tests/kvm/scripts/check_serial.py | 41
On 04/29/2010 02:44 AM, Amos Kong wrote:
On Wed, Apr 28, 2010 at 03:01:40PM +0300, Michael Goldish wrote:
On 04/26/2010 01:04 PM, Jason Wang wrote:
This patch introduces a new method which is used to log into the guest
through the guest serial console. The serial_mode must be set to
session
On 04/26/2010 01:03 PM, Jason Wang wrote:
Current matching re ^\s*[Ll]ogin:\s*$ is not suitable for the serial
console, so change it to [Ll]ogin:.
Signed-off-by: Jason Wang jasow...@redhat.com
---
client/tests/kvm/kvm_utils.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
On 04/26/2010 01:03 PM, Jason Wang wrote:
Sometimes we need to send an assist string to a session in order to
get the prompt especially when re-connecting to an already logged
serial session. This patch send the assist string before doing the
pattern matching of remote_login.
Can you give an
On 04/26/2010 01:03 PM, Jason Wang wrote:
In order to let the serial console work, we must let the
remote_login() send the username when needed.
Signed-off-by: Jason Wang jasow...@redhat.com
---
client/tests/kvm/kvm_utils.py | 14 ++
1 files changed, 10 insertions(+), 4
On 04/26/2010 01:04 PM, Jason Wang wrote:
If the screendump and scrialdump threads are created after the
process(), we may lose the progress tracking of guest shutting
down. So this patch creates them before calling process() in preprocess.
Signed-off-by: Jason Wang jasow...@redhat.com
---
On 04/26/2010 01:04 PM, Jason Wang wrote:
This patch introduces a new method which is used to log into the guest
through the guest serial console. The serial_mode must be set to
session in order to make use of this patch.
In what cases would we want to use this feature? The serial console is
On 04/17/2010 01:23 AM, Lucas Meneghel Rodrigues wrote:
In some occasions even though a VM has terminated,
some remote shell sessions will take a long time
before giving up on the host. This situation is
happening frequently on subtests such as autotest:
The VM shuts down, but the session
On 04/16/2010 09:12 PM, Lucas Meneghel Rodrigues wrote:
The VM screendump thread recently introduced generates
a lot of output on debug logs. Such output is not needed
most of the time (we are interested to see if a screenshot
production attempt failed though) and distracts the user
from
On 04/08/2010 11:53 PM, Ryan Harper wrote:
Is there any way to disable this? I'm running a guest on -net user
networking, no interaction with the host network, yet, during the test,
I get tons of:
15:50:48 DEBUG| (address cache) Adding cache entry: 00:1a:64:39:04:91 ---
10.0.253.16
On 04/07/2010 11:49 AM, Feng Yang wrote:
Add function run_autotest_background and wait_autotest_background to
kvm_test_utils.py. This two functions is used in ioquit test script.
Signed-off-by: Feng Yang fy...@redhat.com
---
client/tests/kvm/kvm_test_utils.py | 68
On 04/07/2010 11:49 AM, Feng Yang wrote:
Signed-off-by: Feng Yang fy...@redhat.com
---
client/tests/kvm/tests/ioquit.py | 54
client/tests/kvm/tests_base.cfg.sample |4 ++
2 files changed, 58 insertions(+), 0 deletions(-)
create mode 100644
- Jason Wang jasow...@redhat.com wrote:
The patch let the profilers could be specified through configuration
file. kvm_stat was kept as the default profiler.
Looks good. Some minor style comments:
Signed-off-by: Jason Wang jasow...@redhat.com
---
client/tests/kvm/kvm_utils.py
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 921414d..047505a 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests/timedrift.py | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/client/tests/kvm/tests/timedrift.py
b/client/tests/kvm/tests/timedrift.py
index 194f09c..9cb7489 100644
Signed-off-by: Michael Goldish mgold...@redhat.com
---
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/tests/kvm/tests_base.cfg.sample
index 249f1b4..b8288fc 100644
--- a/client/tests
There's no good reason to set kill_vm_gracefully=no for system_powerdown.
Furthermore, killing the VM ungracefully (with 'quit') can severely damage the
filesystem (I witnessed that at least once).
Therefore, revert to the default, which is kill_vm_gracefully=yes.
Signed-off-by: Michael Goldish
or terminating the screendump thread.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py | 98 ++--
client/tests/kvm/tests_base.cfg.sample | 13 +++-
2 files changed, 102 insertions(+), 9 deletions(-)
diff --git a/client
Recognize rss.exe's Please wait message and give the login procedure more
time to complete. The message is sent before spawning cmd.exe, which may take
some time under heavy load.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py |9 +++--
1 files
It seems that when Windows is locked it refuses to shutdown unless given the /f
option.
- Add /f to all Windows shutdown and reboot commands.
- Remove duplicate shutdown and reboot commands for Win2003, Win2008 and Win7.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm
open all load sessions first, and then send the load
command to all open sessions.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests/timedrift.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests/timedrift.py
b/client
Use parameter 'boot_timeout'. Defaults to 240.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/tests/stress_boot.py |9 +
client/tests/kvm/tests_base.cfg.sample |1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/client/tests/kvm/tests
(somewhere in tests_base.cfg).
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py | 13 +
client/tests/kvm/tests.cfg.sample |5 +
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_preprocessing.py
b
- Jason Wang jasow...@redhat.com wrote:
We should also test timedrift for Linux guests especially for guest
with pvclock. So this patch enable the timedrift for linux guests.
Signed-off-by: Jason Wang jasow...@redhat.com
---
client/tests/kvm/tests_base.cfg.sample | 11 ++-
, change 'for k in params.keys()' to 'for k in params' in process_command().
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py | 58 +++-
1 files changed, 27 insertions(+), 31 deletions(-)
diff --git a/client/tests/kvm
place.)
Changes from v1:
Print debug messages when starting or terminating the screendump thread.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py | 87 +--
client/tests/kvm/tests_base.cfg.sample | 13 -
2 files
Also, fetch the KVM version before setting up the VMs.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_preprocessing.py | 58 +++-
1 files changed, 27 insertions(+), 31 deletions(-)
diff --git a/client/tests/kvm/kvm_preprocessing.py
b
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm.py | 29 +++--
1 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py
index 9b8a10c..c6e146d 100644
--- a/client/tests/kvm/kvm.py
+++ b
Relying on the test tag is not cool. Use a dedicated parameter instead.
By default, all tests except build tests will use kvm_stat.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_utils.py |8
client/tests/kvm/tests_base.cfg.sample |3 +++
2
201 - 300 of 630 matches
Mail list logo