public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Uri Lublin <uril@qumranet.com>
To: Ryan Harper <ryanh@us.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
	kvm@vger.kernel.org, Dror Russo <dror@qalogic.com>
Subject: Re: [ANNOUNCE] kvm-autotest
Date: Mon, 21 Jul 2008 17:43:00 +0300	[thread overview]
Message-ID: <4884A074.8040006@qumranet.com> (raw)
In-Reply-To: <20080717000822.GA4188@us.ibm.com>

Ryan Harper wrote:
> * Uri Lublin <uril@qumranet.com> [2008-07-16 18:15]:
>>
>> I think most kvm-tests will be client tests.
> 
> Agreed, the above examples will be client tests.  Autotest client can do
> parallel execution, or even step-wise.  Between those, we should be able
> to ensure we get proper coverage for the envisioned scenarios.
> 
>> More complex tests, which involve multiple hosts, such as migration
>> between two hosts, should be server tests.
>>
>> Managing all those tests, can be done by autoserv.
> 
> Agreed.
> 

We all agree that most kvm tests are client-side tests. The server manages 
multiple hosts and complex tests (such as multi-host migration). The server also 
may run autotest tests on linux guests. We consider kvm-install, kvm-boot, 
kvm-guest-install as client tests.

Following your comments our plan is to move the control to the server size:
The server executes a .srv file (or a server side control). It calls 
client-tests (including simple building blocks such as kvm-installation, 
boot/destroy a KVM-VM, etc), providing guest id and some specific tests 
parameters. Guests are always created on the client (similar to current 
kvm-autotest behaviour) and a client-side class that knows how to map guest-id 
with a running guest (including  guest-ip) will be used by all kvm client tests.

Accessing a linux guest (e.g. running autotest tests) can be done from the 
server simply by using hosts.SSHHost just like any other linux host.
This will only work for global dhcp (no local host-only bridge) or if server and 
host are the same.

Client tests can also be started from the client side using client-side control 
files.

We do not know yet what we'll do with non-linux guests, but we sure want to test 
them too.

Thanks,
Uri

  reply	other threads:[~2008-07-21 14:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-06 10:16 [ANNOUNCE] kvm-autotest Uri Lublin
2008-07-09 15:43 ` Marcelo Tosatti
2008-07-10 12:09   ` Uri Lublin
2008-07-12 15:31     ` Ryan Harper
2008-07-15  1:22       ` Uri Lublin
2008-07-15  7:39         ` Dor Laor
2008-07-15 12:32         ` Ryan Harper
2008-07-16 23:11           ` Uri Lublin
2008-07-17  0:08             ` Ryan Harper
2008-07-21 14:43               ` Uri Lublin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-12 14:27 Marcelo Tosatti
2008-07-15  1:02 ` Uri Lublin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4884A074.8040006@qumranet.com \
    --to=uril@qumranet.com \
    --cc=dror@qalogic.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=ryanh@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox