[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH 23/26] Nested HVM: Provide test-nested recipe
> -----Original Message----- > From: Ian Jackson [mailto:ian.jackson@xxxxxxxxxxxxx] > Sent: Saturday, September 26, 2015 3:15 AM > To: xen-devel@xxxxxxxxxxxxxxxxxxxx > Cc: Hu, Robert <robert.hu@xxxxxxxxx>; Ian Campbell > <ian.campbell@xxxxxxxxxx>; Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Subject: [OSSTEST PATCH 23/26] Nested HVM: Provide test-nested recipe > > From: Robert Ho <robert.hu@xxxxxxxxx> > > Signed-off-by: Robert Ho <robert.hu@xxxxxxxxx> > Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > --- > v14: ts-nested-setup command line syntax updated. > --- > sg-run-job | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/sg-run-job b/sg-run-job > index 8174ef7..6b59ab3 100755 > --- a/sg-run-job > +++ b/sg-run-job > @@ -348,6 +348,16 @@ proc run-job/test-pair-oneway {} { > run-ts . = ts-guest-stop dst_host > + debian > } > > +proc need-hosts/test-nested {} {return host} > +proc run-job/test-nested {} { > + run-ts . = ts-debian-hvm-install + host l1 > + run-ts . = ts-nested-setup + --define l1=host:l1 > + nested-layer-descend l1 > + run-ts . = ts-debian-hvm-install l1 l2 > + run-ts . = ts-guest-stop l1 l2 > + run-ts . = ts-guest-destroy + host l1 > +} > + [Hu, Robert] Not sure if rooted to this patch or patch 21 or 22, current test steps will be [root@robert-ivt osstest]# ./standalone run-job --dry-run -h dummy test-amd64-amd64-qemuu-nested |grep testid Could not open a connection to your authentication agent. WARNING: Unable to access ssh-agent. Some tests may fail 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 1 testid build-check(1) ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 2 testid hosts-allocate ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 3 testid host-install(3) ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 4 testid host-ping-check-native ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 5 testid xen-install ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 6 testid xen-boot ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 7 testid host-ping-check-xen ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 8 testid leak-check/basis(8) ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 9 testid debian-hvm-install ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 10 testid nested-setup ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 11 testid host-ping-check-native/l1 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 12 testid xen-install/l1 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 13 testid xen-boot/l1 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 14 testid host-ping-check-xen/l1 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 15 testid leak-check/basis/l1(15) ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 16 testid debian-hvm-install/l1/l2 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 17 testid guest-stop/l1/l2 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 18 testid guest-destroy ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 19 testid leak-check/check/l1 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 20 testid capture-logs/l1(20) ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 21 testid final-poweroff/l1 ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 22 testid leak-check/check ========== 2015-10-29 02:16:25 Z standalone.test-amd64-amd64-qemuu-nested ========== 23 testid capture-logs(23) ========== standalone.test-amd64-amd64-qemuu-nested status = pass Note step 18 destroies l1, while step 19 and step 20 will try to leak check and capture log in l1. I'm not quite understand these tcl part, any fix suggestions? > proc test-guest-migr {g} { > set to_reap [spawn-ts . = ts-migrate-support-check + host $g 1] > set can_migrate [reap-ts $to_reap] > -- > 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |