From patchwork Tue Dec 13 06:39:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Rzeszutek Wilk X-Patchwork-Id: 9471745 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0D78A607F0 for ; Tue, 13 Dec 2016 03:33:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0085F2074F for ; Tue, 13 Dec 2016 03:33:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9796284AC; Tue, 13 Dec 2016 03:33:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=2.0 tests=BAYES_00, DATE_IN_FUTURE_03_06, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9AF922808F for ; Tue, 13 Dec 2016 03:33:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGdnX-0004tb-TR; Tue, 13 Dec 2016 03:30:35 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGdnW-0004sR-Sw for xen-devel@lists.xenproject.org; Tue, 13 Dec 2016 03:30:34 +0000 Received: from [85.158.143.35] by server-4.bemta-6.messagelabs.com id D8/A7-28568-A5B6F485; Tue, 13 Dec 2016 03:30:34 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeJIrShJLcpLzFFi42LpnVTnqhuZ7R9 hsHizgsX3LZOZHBg9Dn+4whLAGMWamZeUX5HAmrGs8QhLwSK2iuN/eBoYJ7J2MXJxCAlMZpI4 9PwnlPObUeLczx5GCGcjo0TvwV0sEE43o8S01euYuxg5ONgETCTerHLsYuTkEBGwlbjXOJsRJ MwsUCSx4n8dSFhYwFri5sQOFhCbRUBV4va/bjCbV8BdYv3BP6wgtoSAnMT54z+ZQWxOAQ+Jj8 vvMYGMEQKqmTMzCaLEWKL97UW2CYx8CxgZVjFqFKcWlaUW6Rpa6CUVZaZnlOQmZuboGhqY6eW mFhcnpqfmJCYV6yXn525iBAYJAxDsYLy5MeAQoyQHk5Ior3mMf4QQX1J+SmVGYnFGfFFpTmrx IUYZDg4lCd78LKCcYFFqempFWmYOMFxh0hIcPEoivB8zgNK8xQWJucWZ6RCpU4zGHNOeLX7Kx HHg/YqnTEIsefl5qVLivGkgkwRASjNK8+AGweLoEqOslDAvI9BpQjwFqUW5mSWo8q8YxTkYlY R5J4BM4cnMK4Hb9wroFCagU57v8wY5pSQRISXVwGj94qbjVZEbj6/sWz3jouNbO46djS7y2aq rvvuHTFtwg/XTC9fl505WXuS5vNTh6uzFv0I3fvwc4rlG9Njr+Y8n7PoX8Z3balXNHtOHnD+S uEOU5lgF829qW+O1KcIkTfpOrBTz0ncPQ/l9vNRFOX9HKT79uvJcxWmWYv/PPxfniMvuNrj38 sV1JZbijERDLeai4kQAZ3Ztmp4CAAA= X-Env-Sender: konrad.wilk@oracle.com X-Msg-Ref: server-8.tower-21.messagelabs.com!1481599831!47812185!1 X-Originating-IP: [141.146.126.69] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTQxLjE0Ni4xMjYuNjkgPT4gMjc3MjE4\n X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 48431 invoked from network); 13 Dec 2016 03:30:33 -0000 Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by server-8.tower-21.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 13 Dec 2016 03:30:33 -0000 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uBD3UU7Y016417 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Dec 2016 03:30:30 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id uBD3UTZl025052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Dec 2016 03:30:29 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id uBD3UTVt004446; Tue, 13 Dec 2016 03:30:29 GMT Received: from osstest.dumpdata.com (/209.6.196.81) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 12 Dec 2016 19:30:29 -0800 From: Konrad Rzeszutek Wilk To: xen-devel@lists.xenproject.org, Ian.Jackson@eu.citrix.com Date: Tue, 13 Dec 2016 01:39:54 -0500 Message-Id: <1481611195-105372-9-git-send-email-konrad.wilk@oracle.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1481611195-105372-1-git-send-email-konrad.wilk@oracle.com> References: <1481611195-105372-1-git-send-email-konrad.wilk@oracle.com> X-Source-IP: aserv0022.oracle.com [141.146.126.234] Cc: ross.lagerwall@citrix.com, Marcos.Matsunaga@oracle.com, Konrad Rzeszutek Wilk Subject: [Xen-devel] [PATCH v2 8/9] sg-run-job: Add the test-livepatch. X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP This way we have the test-livepatch which can unroll to depend on: ts-livepatch-install ts-livepatch-run Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Ian Jackson --- v1: Initial submission v2: Include the plus host on the recipe. --- sg-run-job | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sg-run-job b/sg-run-job index 104c880..1abfc83 100755 --- a/sg-run-job +++ b/sg-run-job @@ -421,6 +421,12 @@ proc run-job/test-xtf {} { run-ts . = ts-xtf-run } +proc need-hosts/test-livepatch {} { return host } +proc run-job/test-livepatch {} { + run-ts . = ts-livepatch-install + host + run-ts . = ts-livepatch-run + host +} + proc test-guest-migr {g} { set to_reap [spawn-ts . = ts-migrate-support-check + host $g 1] set can_migrate [reap-ts $to_reap]