[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 2/2] make-flight: create the vNUMA HVM test job



On Tue, 2015-10-06 at 10:05 +0100, Wei Liu wrote:
> On Tue, Oct 06, 2015 at 10:33:24AM +0200, Dario Faggioli wrote:
> > On Tue, 2015-10-06 at 09:23 +0100, Ian Campbell wrote:
> > > On Mon, 2015-10-05 at 17:41 +0100, Wei Liu wrote:
> > 
> > > > We don't need to make ts-migrate-support-check fail. It is fine for
> > > > the
> > > > actual migration test to fail at the beginning as it won't block
> > > > the
> > > > push gate. It's conceivable that vNUMA guest will be able to
> > > > migrate in
> > > > the future. When that comes true, the actual migration test will
> > > > pass.
> > > 
> > > I think the point was that if the migration tests fails then all
> > > subsequent
> > > test steps won't get run at all (apart from leak check & log
> > > collection
> > > etc).
> > > 
> > By "test steps" you mean things like other ts-* within the same (vNUMA)
> > job? Or something different, e.g., other tests on the same host, etc?
> > 
> > If the former (which I think is the case), that's not really a big
> > deal, as there are no other steps. :-)
> > 
> > > Whereas if ts-migrate-support-check fails then the migrations will be
> > > skipped and those other tests will be run.
> > > 
> > The above being said, I wasn't sure how to procede myself. I went for
> > this approach, following Wei's advice (on IRC), and I still think it's
> > a valid one, in line with how new tests have been handled since now...
> > unless there are downsides that I'm not seeing. For example, would the
> > failure be sticky, i.e., this test will be kept on the same host,
> > preventing other tests to run there?
> > 
> 
> We had a (wrong) assumption that even if the migration test fails the
> rest test steps will still run. Ian said this is not true. All
> subsequent test steps except for log collection will be skipped, e.g.
> guest-start.repeat / guest-stop.repeat etc.

Right, this arises from this bit of sg-run-job
    per-host-ts .       =(*)             {ts-leak-check basis}

    if {$ok} { catching-otherwise fail      run-job/$jobinfo(recipe)      }
    per-host-ts .       =                {ts-leak-check check}

Where the run-job/* essentially throws an exception on fail, which is then
caught by catching-otherwise and turned into the job result before
continuing.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.