From: Ian Campbell <ian.campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: "Hu, Robert" <robert.hu@intel.com>,
"Pang, LongtaoX" <longtaox.pang@intel.com>,
'Ian Jackson' <Ian.Jackson@eu.citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: OSSTest: How to resue Xen
Date: Thu, 28 Aug 2014 19:11:53 +0100 [thread overview]
Message-ID: <1409249513.21481.19.camel@citrix.com> (raw)
In-Reply-To: <20140828104714.GG13165@zion.uk.xensource.com>
On Thu, 2014-08-28 at 11:47 +0100, Wei Liu wrote:
> On Thu, Aug 28, 2014 at 10:23:58AM +0000, Hu, Robert wrote:
> > > -----Original Message-----
> > > From: xen-devel-bounces@lists.xen.org
> > > [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of Wei Liu
> > > Sent: Thursday, August 28, 2014 6:17 PM
> > > To: Hu, Robert
> > > Cc: Wei Liu; Pang, LongtaoX; 'Ian Jackson'; Ian Campbell; xen-devel@lists.xen.org
> > > Subject: Re: [Xen-devel] OSSTest: How to resue Xen
> > >
> > > On Thu, Aug 28, 2014 at 03:10:51AM +0000, Hu, Robert wrote:
> > > > Hi,
> > > >
> > > > We know we can reuse host by setting OSSTEST_HOST_REUSE=1 in
> > > environment.
> > > > I'm wondering is there any way to reuse Xen install? And even guest reuse
> > > possible?
> > > >
> > >
> > > What is the difference between reusing host and "reuse Xen install"?
> > >
> > > If what you want is not to compile Xen every time I think OSSTest
> > > already does that.
> > >
> > Reuse host prevents host reinstall.
> > 'Reuse Xen' here I mentioned is not to re-invoke ts-xen-install in sg-run-job. In sg-run-job, once it invokes ts-xen-install, the latter will install Xen on host; not compiling it, which is done in build-* job.
>
> OIC.
>
> I don't know how to skip a specific test step. Perhap Ian and Ian
> know some magic runes to do so.
>
> Looking at the source code, OSSTEST_HOST_REUSE sets $ho->{SharedReady},
> then ts-host-install and ts-xen-build-prep exits if it's set. Perhaps
> you can have a similar check for ts-xen-install.
That's the sort of thing I was thinking of, although perhaps not in a
way which changes the existing semantics of OSSTEST_HOST_REUSE from
"reuse the host but reinstall Xen" to "reuse the host including running
Xen".
If all you want to do is rerun a specific test step then ./standalone
run-test rather than run-job lets you run a single ts-*.
Ian.
prev parent reply other threads:[~2014-08-28 18:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 3:10 OSSTest: How to resue Xen Hu, Robert
2014-08-28 10:16 ` Wei Liu
2014-08-28 10:23 ` Hu, Robert
2014-08-28 10:47 ` Wei Liu
2014-08-28 18:11 ` Ian Campbell [this message]
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=1409249513.21481.19.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=longtaox.pang@intel.com \
--cc=robert.hu@intel.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.