From: Ian Jackson Subject: Re: [OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job Date: Wed, 10 Jun 2015 16:42:24 +0100 Message-ID: <21880.23264.813171.606123@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1432631304-27347-7-git-send-email-longtaox.pang@intel.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: "longtao.pang" Cc: robert.hu@intel.com, wei.liu2@citrix.com, Ian.Campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org longtao.pang writes ("[OSSTEST Nested PATCH v11 6/7] Compose the main recipe of nested test job"): > The ident and guestname are same of 'nestedl1' for L1 guest VM. This is going in the right direction. I think arrangements need to be made to capture the logs for nestedl1. > +proc need-hosts/test-nested {} {return host} > +proc run-job/test-nested {} { > + run-ts . = ts-debian-hvm-install + host + nestedl1 > + run-ts . = ts-nested-setup + host + nestedl1 > + run-ts . = ts-xen-install nestedl1 > + run-ts . = ts-host-reboot nestedl1 > + run-ts . = ts-debian-hvm-install nestedl1 nestedl2 > + run-ts . = ts-guest-stop nestedl1 nestedl2 > + run-ts . = ts-guest-destroy + host + nestedl1 > +} Very much a matter of taste, but can I suggest that `l1' and `l2' might be better idents/guest names names ? I think some extra +s in the l2 install and start operations might be useful, because the testid probably doesn't need to mention nestedl1. I think you probably want to run leak-check on the L1. Do you not want to run the steps in test-guest ? Perhaps it would be better to add a host ident argument to test-guest{,-migr,-nomigr} ? Thanks, Ian.