From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job Date: Fri, 19 Jun 2015 13:17:47 +0100 Message-ID: <21892.2155.313678.103280@mariner.uk.xensource.com> References: <1432631304-27347-1-git-send-email-longtaox.pang@intel.com> <1432631304-27347-7-git-send-email-longtaox.pang@intel.com> <21880.23264.813171.606123@mariner.uk.xensource.com> <86C3224E41A7434B904EC364302132D80E4BFEC4@SHSMSX101.ccr.corp.intel.com> <21881.42757.84361.654532@mariner.uk.xensource.com> <86C3224E41A7434B904EC364302132D80E4C0A6B@SHSMSX101.ccr.corp.intel.com> <21882.64076.306554.733060@mariner.uk.xensource.com> <86C3224E41A7434B904EC364302132D80E4C44B1@SHSMSX101.ccr.corp.intel.com> <21892.2096.735173.900489@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21892.2096.735173.900489@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Pang, LongtaoX" , "xen-devel@lists.xen.org" , "Ian.Campbell@citrix.com" , "wei.liu2@citrix.com" , "Hu, Robert" List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("RE: [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job"): ... > But it isn't as simple as you suggest, unfortunately. Because: > > > 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 + host l1 > > run-ts . = ts-xen-install l1 > > run-ts . = ts-host-reboot l1 > > run-ts . = ts-leak-check basis l1 > > run-ts . = ts-debian-hvm-install l1 l2 > > run-ts . = ts-guest-stop l1 l2 > > run-ts . = ts-leak-check check l1 > > run-ts . = ts-logs-capture l1 > > run-ts . = ts-guest-destroy + host l1 > > This will not run ts-logs-capture on l1, unless all the previous tests > passed. That's obviously not what we want. I think it would be best if I proposed some code to you. I will get back to you with a suggestion. Ian.