xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [OSSTEST PATCH [RFC] 0/3] Series short description
@ 2013-12-05 15:09 Dario Faggioli
  2013-12-05 15:09 ` [OSSTEST PATCH [RFC] 1/3] ts-debian-install: support for installing multiple guests Dario Faggioli
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dario Faggioli @ 2013-12-05 15:09 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson, Ian Campbell

OSSTest: allow for handling multiple guests at the same time

via the ts-debian-install, ts-debian-fixup and
ts-guest-{start,stop,destroy} test scripts.

The idea is to enable something like that:

 $ OSSTEST_JOB=test-amd64-amd64-xl
 $ export OSSTEST_JOB
 $ ./ts-debian-install host=tg03 debian1 debian2 debian3
 $ ./ts-debian-fixup host=tg03 debian1 debian2 debian3
 $ ./ts-guest-start host=tg03 debian1 debian2 debian3
 $ ./ts-guest-stop host=tg03 debian1 debian2
 $ ./ts-guest-destroy host=tg03 debian3

In fact, when wanting to use OSSTest for some fairly complex test
or benchamrk that involves more than one or two VMs, I think
it could be convinient to install, start, stop, etc., them like
this, rather than having to call each script for all the domains.

It should also save some time, when it comes, for example, to
starting domains, as the operation is first requsted for all of
them, and only after that we start checking wether they're up
(the idea being that when we start checking, after having started
the last one, the first one have probably finished booting).

It's going to be mostly useful in standalone mode, but
I guess it could allow to write more compact recipes too.

I tested this both as reported above and by issueing a full
`./sg-run-job test-amd64-amd64-xl'.

I can go ahead and do the same for other ts-* scripts but:
1) I don't think is that much relevant/useful to do something
   like this in, for instance, ts-guest-migrate or
   ts-guest-saverestore
2) given my limited perl skills, I though I better ask for
   some early feedback. :-)

Any comments are welcome.

Regards,
Dario

---

Dario Faggioli (3):
      ts-debian-install: support for installing multiple guests
      ts-debian-fixup: support multiple guests
      ts-guest-start, -stop, -destroy: support multiple guests


 ts-debian-fixup   |   30 ++++++++++++++++++---------
 ts-debian-install |   59 +++++++++++++++++++++++++++++++----------------------
 ts-guest-destroy  |   28 +++++++++++++++++++------
 ts-guest-start    |   35 ++++++++++++++++++++++---------
 ts-guest-stop     |   30 ++++++++++++++++++++-------
 5 files changed, 123 insertions(+), 59 deletions(-)

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-12-06  9:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 15:09 [OSSTEST PATCH [RFC] 0/3] Series short description Dario Faggioli
2013-12-05 15:09 ` [OSSTEST PATCH [RFC] 1/3] ts-debian-install: support for installing multiple guests Dario Faggioli
2013-12-05 15:10 ` [OSSTEST PATCH [RFC] 2/3] ts-debian-fixup: support " Dario Faggioli
2013-12-05 15:10 ` [OSSTEST PATCH [RFC] 3/3] ts-guest-start, -stop, -destroy: " Dario Faggioli
2013-12-05 15:25 ` [OSSTEST PATCH [RFC] 0/3] Series short description Ian Jackson
2013-12-05 16:17   ` Dario Faggioli
2013-12-05 17:34     ` Ian Jackson
2013-12-06  9:23       ` Dario Faggioli

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).