From patchwork Tue Dec 13 06:39:52 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: 9471743 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 D85976021C for ; Tue, 13 Dec 2016 03:33:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9335284AA for ; Tue, 13 Dec 2016 03:33:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDFE7284AC; 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 73AA22074F 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 1cGdnZ-0004u4-4f; Tue, 13 Dec 2016 03:30:37 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGdnY-0004tF-2t for xen-devel@lists.xenproject.org; Tue, 13 Dec 2016 03:30:36 +0000 Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id F8/F9-01948-B5B6F485; Tue, 13 Dec 2016 03:30:35 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeJIrShJLcpLzFFi42LpnVTnqhuV7R9 hcHyFscX3LZOZHBg9Dn+4whLAGMWamZeUX5HAmnF+4Xn2gol8FSe23WJqYJzJ3cXIxSEk0MEk MW/RRDYI5wujxLyGhVDORkaJC5ves0A43YwSW1u+MHcxcnCwCZhIvFnl2MXIySEiYCtxr3E2I 0iYWaBIYsX/OpCwsICLxKb2t0wgYRYBVYlfS/JAwrwC7hJ/T29mBrElBOQkzh//CWZzCnhIfF x+D6xcCKhmzswkiBJjib5ZfSwTGPkWMDKsYtQoTi0qSy3SNTTTSyrKTM8oyU3MzNE1NDDVy00 tLk5MT81JTCrWS87P3cQIDBIGINjBeP605yFGSQ4mJVFe8xj/CCG+pPyUyozE4oz4otKc1OJD jDIcHEoSvHxZQDnBotT01Iq0zBxguMKkJTh4lER4P2YApXmLCxJzizPTIVKnGHU5pj1b/JRJi CUvPy9VSpz3XSZQkQBIUUZpHtwIWOxcYpSVEuZlBDpKiKcgtSg3swRV/hWjOAejkjCvFMglPJ l5JXCbXgEdwQR0xPN93iBHlCQipKQaGPdI32CUUWA/3GO7cGpb2RNpV3VbmUy3816nY37WrF3 ernswoz2KLeHU5vK5LfNzd19OvHShKuryrySm92wThbmZfyl48n8ren7/Ykqz9dXtn7U+ur3Y a7T9ZqD2txUrPjomyv+9mZbnOMPKdWZkxeoTXa9yd27kfvYpMDLpxmWH5wo+ex9falRiKc5IN NRiLipOBAC8aWwImAIAAA== X-Env-Sender: konrad.wilk@oracle.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1481599831!61128220!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 58036 invoked from network); 13 Dec 2016 03:30:32 -0000 Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 13 Dec 2016 03:30:32 -0000 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uBD3USjk016400 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Dec 2016 03:30:28 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id uBD3USep026295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Dec 2016 03:30:28 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 uBD3URb5004440; Tue, 13 Dec 2016 03:30:27 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:27 -0800 From: Konrad Rzeszutek Wilk To: xen-devel@lists.xenproject.org, Ian.Jackson@eu.citrix.com Date: Tue, 13 Dec 2016 01:39:52 -0500 Message-Id: <1481611195-105372-7-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: aserv0021.oracle.com [141.146.126.233] Cc: ross.lagerwall@citrix.com, Marcos.Matsunaga@oracle.com, Konrad Rzeszutek Wilk Subject: [Xen-devel] [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases 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 The test-cases are quite tied to the Xen hypervisor. In fact they must be built on the same exact xen.gz (and correspondigly xen-syms) that will be running on the host. This is due to build-id dependency which the test-cases are built with. The hypervisor directory only has the `tests` target - no 'install-tests' or such (due to issues with pulling in Config.mk). Hence we manually copy the resulting livepatches in dist/xenlptinstall - which ends up being tarred up into xenlptdist.tar.gz Signed-off-by: Konrad Rzeszutek Wilk --- v1: New posting v2: Put the livepatch test-cases in xentlpdist.tar.gz file Expand the commit description. --- ts-xen-build | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 7c6a9b6..f15bcca 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -165,6 +165,18 @@ END END store_runvar("flaskpolicy", "xenpolicy-" . $xen_version); } + buildcmd_stamped_logged(600, 'xen', 'xenlpt-build', '',<