All of lore.kernel.org
 help / color / mirror / Atom feed
* osstest - howTo
@ 2013-07-15 12:08 Mihai Bucicoiu
  2013-07-15 14:33 ` George Dunlap
  2013-07-17 10:01 ` Ian Campbell
  0 siblings, 2 replies; 8+ messages in thread
From: Mihai Bucicoiu @ 2013-07-15 12:08 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian.Jackson

Hi,

I'm trying to figure out how can Xen be tested. As far as I could find 
out there is a testing framework that can be used, called osstest. [1]

But this, if I got it right,this requires a reboot of the tested host, 
while we need to test Xen without rebooting it. There seems also to be a 
local version ("OSSTEST_JOB=<job> ./ts-debian-install host=bedbug" from 
README) but it only tests if a VM can be started.

I could also not find a list of what is actually tested. Is there such I 
think?

I know that my questions might be a little bit too general and I thank 
you for your replies.

[1] 
http://blog.xen.org/index.php/2013/02/02/xen-automatic-test-system-osstest/

Regards,
Mihai Bucicoiu

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

* Re: osstest - howTo
  2013-07-15 12:08 osstest - howTo Mihai Bucicoiu
@ 2013-07-15 14:33 ` George Dunlap
  2013-07-16  9:08   ` Mihai Bucicoiu
  2013-07-17 10:01 ` Ian Campbell
  1 sibling, 1 reply; 8+ messages in thread
From: George Dunlap @ 2013-07-15 14:33 UTC (permalink / raw)
  To: Mihai Bucicoiu; +Cc: Ian Jackson, xen-devel@lists.xen.org

On Mon, Jul 15, 2013 at 1:08 PM, Mihai Bucicoiu
<mihai.bucicoiu@trust.cased.de> wrote:
> Hi,
>
> I'm trying to figure out how can Xen be tested. As far as I could find out
> there is a testing framework that can be used, called osstest. [1]

What are you trying to accomplish with the testing?

> But this, if I got it right,this requires a reboot of the tested host, while
> we need to test Xen without rebooting it. There seems also to be a local
> version ("OSSTEST_JOB=<job> ./ts-debian-install host=bedbug" from README)
> but it only tests if a VM can be started.

Why do you not want to reboot the host?

 -George

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

* Re: osstest - howTo
  2013-07-15 14:33 ` George Dunlap
@ 2013-07-16  9:08   ` Mihai Bucicoiu
  2013-07-16  9:14     ` Wei Liu
  0 siblings, 1 reply; 8+ messages in thread
From: Mihai Bucicoiu @ 2013-07-16  9:08 UTC (permalink / raw)
  To: George Dunlap; +Cc: Ian Jackson, xen-devel@lists.xen.org

On 7/15/2013 4:33 PM, George Dunlap wrote:
> On Mon, Jul 15, 2013 at 1:08 PM, Mihai Bucicoiu
> <mihai.bucicoiu@trust.cased.de> wrote:
>> Hi,
>>
>> I'm trying to figure out how can Xen be tested. As far as I could find out
>> there is a testing framework that can be used, called osstest. [1]
> What are you trying to accomplish with the testing?
This is a very good question that I don't really have an answer to it.
>> But this, if I got it right,this requires a reboot of the tested host, while
>> we need to test Xen without rebooting it. There seems also to be a local
>> version ("OSSTEST_JOB=<job> ./ts-debian-install host=bedbug" from README)
>> but it only tests if a VM can be started.
> Why do you not want to reboot the host?
We are building a live update system for Xen, and after the patch is 
applied we do not want to reboot, we want to test if everything is still 
functional. We tested our system in the sense the the VMs are still 
running and the services (we only tried a simple web server) inside the 
VM still run. New VMs can also be started. But the question is are the 
other services that Xen provide still available (e.g., can dom0 do all 
the hypercalls in a proper way).

- Mihai

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

* Re: osstest - howTo
  2013-07-16  9:08   ` Mihai Bucicoiu
@ 2013-07-16  9:14     ` Wei Liu
  2013-07-16  9:16       ` Mihai Bucicoiu
  0 siblings, 1 reply; 8+ messages in thread
From: Wei Liu @ 2013-07-16  9:14 UTC (permalink / raw)
  To: Mihai Bucicoiu
  Cc: Ian Jackson, George Dunlap, wei.liu2, xen-devel@lists.xen.org

On Tue, Jul 16, 2013 at 11:08:34AM +0200, Mihai Bucicoiu wrote:
> On 7/15/2013 4:33 PM, George Dunlap wrote:
> >On Mon, Jul 15, 2013 at 1:08 PM, Mihai Bucicoiu
> ><mihai.bucicoiu@trust.cased.de> wrote:
> >>Hi,
> >>
> >>I'm trying to figure out how can Xen be tested. As far as I could find out
> >>there is a testing framework that can be used, called osstest. [1]
> >What are you trying to accomplish with the testing?
> This is a very good question that I don't really have an answer to it.
> >>But this, if I got it right,this requires a reboot of the tested host, while
> >>we need to test Xen without rebooting it. There seems also to be a local
> >>version ("OSSTEST_JOB=<job> ./ts-debian-install host=bedbug" from README)
> >>but it only tests if a VM can be started.
> >Why do you not want to reboot the host?
> We are building a live update system for Xen, and after the patch is

Just courious, are you talking about patching Xen hypervisor on the fly?


Wei.

> applied we do not want to reboot, we want to test if everything is
> still functional. We tested our system in the sense the the VMs are
> still running and the services (we only tried a simple web server)
> inside the VM still run. New VMs can also be started. But the
> question is are the other services that Xen provide still available
> (e.g., can dom0 do all the hypercalls in a proper way).
> 
> - Mihai
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

* Re: osstest - howTo
  2013-07-16  9:14     ` Wei Liu
@ 2013-07-16  9:16       ` Mihai Bucicoiu
  2013-07-17  9:53         ` George Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Mihai Bucicoiu @ 2013-07-16  9:16 UTC (permalink / raw)
  To: Wei Liu; +Cc: Ian Jackson, George Dunlap, xen-devel@lists.xen.org

On 7/16/2013 11:14 AM, Wei Liu wrote:
> Just courious, are you talking about patching Xen hypervisor on the fly?
Yes.

Mihai

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

* Re: osstest - howTo
  2013-07-16  9:16       ` Mihai Bucicoiu
@ 2013-07-17  9:53         ` George Dunlap
  0 siblings, 0 replies; 8+ messages in thread
From: George Dunlap @ 2013-07-17  9:53 UTC (permalink / raw)
  To: Mihai Bucicoiu; +Cc: Ian Jackson, Wei Liu, xen-devel@lists.xen.org

On Tue, Jul 16, 2013 at 10:16 AM, Mihai Bucicoiu
<mihai.bucicoiu@trust.cased.de> wrote:
> On 7/16/2013 11:14 AM, Wei Liu wrote:
>>
>> Just courious, are you talking about patching Xen hypervisor on the fly?
>
> Yes.

That sounds awesome.  When can we expect patches? :-)

I haven't taken a look at osstest yet (on my list of things to do in
the next month or two), but it seems like the easiest way to use it to
accomplish what you want is to add a a line to your local RC scripts
to apply the patch on boot before networking is brought up.  Then all
the tests will be run patched.

 -George

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

* Re: osstest - howTo
  2013-07-15 12:08 osstest - howTo Mihai Bucicoiu
  2013-07-15 14:33 ` George Dunlap
@ 2013-07-17 10:01 ` Ian Campbell
  2013-07-17 10:33   ` Ian Jackson
  1 sibling, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2013-07-17 10:01 UTC (permalink / raw)
  To: Mihai Bucicoiu; +Cc: Ian.Jackson, xen-devel

On Mon, 2013-07-15 at 14:08 +0200, Mihai Bucicoiu wrote:
> Hi,
> 
> I'm trying to figure out how can Xen be tested. As far as I could find 
> out there is a testing framework that can be used, called osstest. [1]
> 
> But this, if I got it right,this requires a reboot of the tested host, 
> while we need to test Xen without rebooting it. There seems also to be a 
> local version ("OSSTEST_JOB=<job> ./ts-debian-install host=bedbug" from 
> README) but it only tests if a VM can be started.

There are many ./ts-FOO scripts which you can run by hand as you wish,
e.g.
        OSSTEST_JOB=test-amd64-amd64-pv ./ts-host-install host=h09
        OSSTEST_JOB=test-amd64-amd64-pv ./ts-xen-install host=h09
        OSSTEST_JOB=test-amd64-amd64-pv ./ts-host-reboot host=h09
        OSSTEST_JOB=test-amd64-amd64-pv ./ts-debian-install host=h09
        OSSTEST_JOB=test-amd64-amd64-pv ./ts-debian-fixup host=h09 debian 
        OSSTEST_JOB=test-amd64-amd64-pv ./ts-guest-start host=h09 debian

etc.

> I could also not find a list of what is actually tested. Is there such I 
> think?

I think this is more-or-less defined by the "make-flight" script. It's
probably easiest to just look at the results page from any of the test
reports[0]. Each lines of the grid corresponds to a ./ts-* script, I
think.

Ian.

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

* Re: osstest - howTo
  2013-07-17 10:01 ` Ian Campbell
@ 2013-07-17 10:33   ` Ian Jackson
  0 siblings, 0 replies; 8+ messages in thread
From: Ian Jackson @ 2013-07-17 10:33 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Mihai Bucicoiu, xen-devel

Ian Campbell writes ("Re: [Xen-devel] osstest - howTo"):
> On Mon, 2013-07-15 at 14:08 +0200, Mihai Bucicoiu wrote:
> > I could also not find a list of what is actually tested. Is there such I 
> > think?
> 
> I think this is more-or-less defined by the "make-flight" script.

Yes.  That defines the tests ("jobs" in osstest-speak), ie the columns
in the html grid.

> It's
> probably easiest to just look at the results page from any of the test
> reports[0].

Or if you run it standalone, the set of tests appears in the ad-hoc
sqlite database it creates in your cwd.

> Each lines of the grid corresponds to a ./ts-* script, I
> think.

Yes.  Strictly speaking, each line corresponds to running one of those
scripts with particular arguments - some of them are run more than
once per test.

Each job is specified by make-flight to use a particular "recipe".
The set of scripts and arguments to use for each recipe is defined in
sg-run-job.  Look after the divider comment "test recipes".

Ian.

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

end of thread, other threads:[~2013-07-17 10:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15 12:08 osstest - howTo Mihai Bucicoiu
2013-07-15 14:33 ` George Dunlap
2013-07-16  9:08   ` Mihai Bucicoiu
2013-07-16  9:14     ` Wei Liu
2013-07-16  9:16       ` Mihai Bucicoiu
2013-07-17  9:53         ` George Dunlap
2013-07-17 10:01 ` Ian Campbell
2013-07-17 10:33   ` Ian Jackson

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.