From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: Alon Levy <alevy@redhat.com>
Cc: Swapna <skrishna@redhat.com>, qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: [Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]
Date: Tue, 05 Apr 2011 13:27:48 -0300 [thread overview]
Message-ID: <1302020868.2669.13.camel@freedom> (raw)
In-Reply-To: <20110405160119.GF8723@playa.tlv.redhat.com>
On Tue, 2011-04-05 at 19:01 +0300, Alon Levy wrote:
> screenshots are already there, and they are a great start. But you can't
> really do testing if you aren't recreating the same environment, and having
> a client server where there is no client, while being a good test, doesn't
> cover the case where the client is connected :)
>
> So I was basically talking about the added requirement of creating a client
> connection (one or more) to a single vm.
Yeah, I think now I've got the idea. We can certainly think of some
strategy to coordinate test execution in vms in one host, and have
another bare metal machine that opens clients to the vms on that host.
Autotest has infrastructure to coordinate tests among multiple bare
metal machines, we call that infrastructure 'barriers'. It works
basically through TCP socket communication, we have an autotest library
for that, and an API that allows coordination among multiple machines.
We use that for example, to coordinate cross host migration tests.
So, it might be tricky (specially setting up the environment on the
machine that will open displays and handle all the client opening
part[1]), but certainly doable IMHO.
[1] This is the part where the LDTP thing would come to place - we need
infrastructure to support opening the display, starting the graphical
clients and interacting with them in an automated fashion, LDTP and
dogtail are the means to do that.
> Note that I wasn't asking anyone to develop this - I'm just asking if patches
> in that direction would be accepted/interesting. We (well, Swapna, cc-ed) are
> still working on deciding exactly how to do automated testing as a project.
Sure, absolutely, I've been talking to Swapna about this.
> Regarding the dogtail/LDTP issue, they are about specific tests run inside the
> guest, and they are certainly something we would leverage. But like I mentioned
> on the call, there is a whole suite of whql tests that are display specific,
> and don't require anything new. In fact, a few months ago I added support for
> autotest to run one of them, resizing to all the possible modes - so I know I
> don't need dogtail for significant portions of our testing. (sorry, no git link
> - I'll clean it up and post, it's been done 10 months ago so probably won't
> cleanly apply :)
The thing about WHQL is that it has its own test suite coordination
program (DTM), that has to run on a separate machine/VM. So they have
all infrastructure in place there. If we need graphical clients being
started and controlled on a linux bare metal machine, I am afraid we'll
have to resort to those GUI test automation frameworks I mentioned. if
our test is geared more towards windows clients, then they won't be
needed, sure.
> For some ideas about what we are interested in see
> http://spice-space.org/page/SpiceAutomatedTesting. (just the Requirements section).
I took a look at it
next prev parent reply other threads:[~2011-04-05 16:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-05 15:07 [Qemu-devel] KVM call minutes for Apr 5 Chris Wright
2011-04-05 15:29 ` Stefan Hajnoczi
2011-04-05 17:37 ` Lucas Meneghel Rodrigues
2011-04-07 10:03 ` Stefan Hajnoczi
2011-04-08 12:58 ` Lucas Meneghel Rodrigues
2011-04-08 18:57 ` Stefan Hajnoczi
2011-04-05 16:01 ` [Qemu-devel] spice in kvm-autotest [was: Re: KVM call minutes for Apr 5] Alon Levy
2011-04-05 16:27 ` Lucas Meneghel Rodrigues [this message]
2011-04-05 17:08 ` [Qemu-devel] " Alon Levy
2011-04-05 18:03 ` Lucas Meneghel Rodrigues
2011-04-06 7:50 ` Alon Levy
2011-04-05 18:08 ` Anthony Liguori
2011-04-05 18:25 ` Lucas Meneghel Rodrigues
2011-04-05 18:41 ` Anthony Liguori
2011-04-05 18:44 ` Cleber Rosa
2011-04-05 20:32 ` Anthony Liguori
2011-04-06 7:58 ` Alon Levy
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=1302020868.2669.13.camel@freedom \
--to=lmr@redhat.com \
--cc=alevy@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=skrishna@redhat.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;
as well as URLs for NNTP newsgroup(s).