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

[Xen-devel] [OSSTEST PATCH v2 10/10] rump kernel tests: Repeat the xenstorels test 50 times



Ian Campbell writes ("Re: [OSSTEST PATCH 10/10] rump kernel tests: Repeat the 
xenstorels test 50 times"):
> On Fri, 2015-02-06 at 19:17 +0000, Ian Jackson wrote:
> > Add a new step which uses repeat-ts to run
> > ts-rumpuserxen-demo-xenstorels many times.
> 
> Acked-by: Ian Campbell <ian.campbelL@xxxxxxxxxx>

Thanks.

After reviewing the output of my full-flight adhoc test, I decided
that the order of steps ought to be different, so here is a v2 of this
patch.

(The rest of the series, including the testid fiddling, worked
correctly.)

Thanks,
Ian.

From f9b70e699a4175ff871f165cbf70ff07847c3abd Mon Sep 17 00:00:00 2001
From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date: Fri, 6 Feb 2015 17:09:40 +0000
Subject: [OSSTEST PATCH] rump kernel tests: Repeat the xenstorels test 50
 times

Add a new step which uses repeat-ts to run
ts-rumpuserxen-demo-xenstorels many times.

We have to run ts-guest-destroy-hard after each time, to destroy the
guest which the demo script leaves lying about.

Strategically placed `+'s in the repeat-ts command line arrange that
the testid ends up being
   rumpuserxen-demo-xenstorels/xenstorels.repeat

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
v2: Run the test after, rather than before, the explicit
     ts-guest-destroy-hard.  That will avoid blocking the single
     destroy test if the repeat fails.

    No longer specify to tolerate failures of the post-run-demo
     destroy, as if the test passes so must the destroy.  Now by-hand
     testing may need a different ts-repeat-test rune, but in practice
     by-hand testing will probably involve a shell loop or something
     anyway.
---
 sg-run-job |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/sg-run-job b/sg-run-job
index 0a49c93..94d091b 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -328,6 +328,9 @@ proc run-job/test-rumpuserxen {} {
     run-ts . =   ts-rumpuserxen-demo-setup      + host + $g
     run-ts . =   ts-rumpuserxen-demo-xenstorels + host + $g
     run-ts . =   ts-guest-destroy-hard          + host + $g
+    repeat-ts 50 =.repeat \
+                 ts-rumpuserxen-demo-xenstorels + host + $g     \; \
+             +   ts-guest-destroy-hard            host   $g   +
 }
 
 #---------- builds ----------
-- 
1.7.10.4


_______________________________________________
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®.