* OSSTest: How to resue Xen @ 2014-08-28 3:10 Hu, Robert 2014-08-28 10:16 ` Wei Liu 0 siblings, 1 reply; 5+ messages in thread From: Hu, Robert @ 2014-08-28 3:10 UTC (permalink / raw) To: xen-devel@lists.xen.org, Ian Campbell, 'Ian Jackson', Wei Liu Cc: Pang, LongtaoX 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? Best Regards, Robert Ho ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSSTest: How to resue Xen 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 0 siblings, 1 reply; 5+ messages in thread From: Wei Liu @ 2014-08-28 10:16 UTC (permalink / raw) To: Hu, Robert Cc: Wei Liu, Pang, LongtaoX, 'Ian Jackson', Ian Campbell, xen-devel@lists.xen.org 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. Wei. > Best Regards, > Robert Ho ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSSTest: How to resue Xen 2014-08-28 10:16 ` Wei Liu @ 2014-08-28 10:23 ` Hu, Robert 2014-08-28 10:47 ` Wei Liu 0 siblings, 1 reply; 5+ messages in thread From: Hu, Robert @ 2014-08-28 10:23 UTC (permalink / raw) To: Wei Liu Cc: Pang, LongtaoX, 'Ian Jackson', Ian Campbell, xen-devel@lists.xen.org > -----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. > Wei. > > > Best Regards, > > Robert Ho > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSSTest: How to resue Xen 2014-08-28 10:23 ` Hu, Robert @ 2014-08-28 10:47 ` Wei Liu 2014-08-28 18:11 ` Ian Campbell 0 siblings, 1 reply; 5+ messages in thread From: Wei Liu @ 2014-08-28 10:47 UTC (permalink / raw) To: Hu, Robert Cc: 'Ian Jackson', Pang, LongtaoX, Wei Liu, Ian Campbell, xen-devel@lists.xen.org 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. Wei. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OSSTest: How to resue Xen 2014-08-28 10:47 ` Wei Liu @ 2014-08-28 18:11 ` Ian Campbell 0 siblings, 0 replies; 5+ messages in thread From: Ian Campbell @ 2014-08-28 18:11 UTC (permalink / raw) To: Wei Liu Cc: Hu, Robert, Pang, LongtaoX, 'Ian Jackson', xen-devel@lists.xen.org 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-28 18:11 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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).