From patchwork Fri Jul 13 12:17:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141869 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp734278ljj; Fri, 13 Jul 2018 05:21:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpffH7rDHxCyvYbjLUUz55BWPj6xh7rXJzoqUwdzgzkWZqM8qo5DUk9aevHVWuowfF2yCoPq X-Received: by 2002:a37:9d54:: with SMTP id g81-v6mr5080296qke.186.1531484480725; Fri, 13 Jul 2018 05:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484480; cv=none; d=google.com; s=arc-20160816; b=LOFBG8bcWnasi9kCwBR6oZU219VWnYAn4wS3ZH/QmB3X/3QAIovqT/jVwHI9GLghao zZ5Oiau4euIKO5XsXaVIRtsh5KOAxg2/gUUj/Vlx0cFkLkXShbgelWGqVgmpmRTHXyJm 7XCPwURjQgUn4ZWROxlJZSaO7SGjP097rCuCO9hCdD7iweF4aBiq8ulo6oKIX7n+o50U /eCvsz81wThCtBusMv6vjZeoYOOSjmv8w3hJS32Qhv3fqB3QkIfCVElZZ7XobHuBwSuS Nn1+EM1sWBqBZlt4SVurNmiahM5+j11itLNo/GTKQrj0exk/qZHjxRbf18GXE0kQIzRP PwwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=s3ZyxBxzau5fUOt7z7GIStSIk9FwlQTjG9bixKYj8iQ=; b=MFRYdQNATuCbPUS8QE3FFjpXo6VOnLVdCiz9nUO7L3RwmFNhdZCkPrsUhFUSddAy3W oV+qbO1RkzUaihCULikcv5/pWjjHSmv//6FwyfACOtQGCIUtBevr7vUrpBHqDChMP2CO U4YvgVtBC99KQ4Csj7ano6s7E8/hcc6hy73+9cMyqYfy1rzEO/3Rxc1NloZchB0g7RAq hZrGrs3O5YGjtRRXIYK+0R5l79l0vnEm7VZH6OMoEC6vTK1vZ4Bh2Xfzwx2vcISg5/YA vdWlA2lmDjsHLscS3ASnw0BpuyDYOUKrg+B/LLC5eJbBYC6e39QZL+QNtMnOBSb1LET9 Hjqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=COiD+wWw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v10-v6si4649062qvn.266.2018.07.13.05.21.20 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:21:20 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=COiD+wWw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx4a-0006Pg-2T for patch@linaro.org; Fri, 13 Jul 2018 08:21:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx19-0004lR-JZ for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx16-0003ap-W7 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:47 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:53125) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx16-0003aB-Ow for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:44 -0400 Received: by mail-wm0-x244.google.com with SMTP id o11-v6so2697282wmh.2 for ; Fri, 13 Jul 2018 05:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s3ZyxBxzau5fUOt7z7GIStSIk9FwlQTjG9bixKYj8iQ=; b=COiD+wWwpEHpUdrp4dTW/Qw4/j4j+VNtvD2lJ1+QKR5dZeyDJe3zXDWGQMkTBLE5tJ r1GdJF4hYFMEVrHruwrjGCv3URvVTxst9WgrbcSB/8V5koKRL0qxzZdx8ONFgRnCPPgn k5YRornG2CogykF7/jJ8RENMLXJmkT7bgNbIM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=s3ZyxBxzau5fUOt7z7GIStSIk9FwlQTjG9bixKYj8iQ=; b=XV9asJmJBElKMeBSyOdc8CWktusWlsvc4z+LGl1pOFd0R7HEkOEoTrPZu+hGaNV3Bp wF20MXsbiLBSpgnr/v1z4IAMNLzCfck6D+lYIkuUnQeK1+qfNgyNWZH8/Er2g2finr48 G9G2iImp8hhsiZTy0dos2b4xBRmoZq4wvCS3LdmOByqb5LpIW0SHzTODA+lOioQK6KKj FB7z5moCEiKfcdM7vVU/k1ZsTkjNpji8puX6O1QfjliNx0gLa6GpL/lCO9bxLjt712vN hh/jLdwD/FWbOIYSiu4QNmwMZr2+h4KOVTdIctY53uw2gxwWtShHpqe66wChF4x7Y139 YwcQ== X-Gm-Message-State: AOUpUlG0+3mVgtTD5BEPRGMs1oPG5hC53iynLoe33utAMRbo0B1M30WZ qIKnSrKBdCDiTMyjuYc/AU/P5Q== X-Received: by 2002:a1c:b143:: with SMTP id a64-v6mr4145825wmf.114.1531484263778; Fri, 13 Jul 2018 05:17:43 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v1-v6sm6522923wrs.28.2018.07.13.05.17.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:42 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 051B33E0323; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:26 +0100 Message-Id: <20180713121741.19262-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH v2 for 3.0 01/16] tests/.gitignore: don't ignore docker tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The .gitignore was being a little over enthusiastic hiding files. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- v2 - minor wording tweak for more explicitness --- tests/.gitignore | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/tests/.gitignore b/tests/.gitignore index 08e2df1ce1..72c18aaab0 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -9,6 +9,7 @@ qht-bench rcutorture test-* !test-*.c +!docker/test-* test-qapi-commands.[ch] test-qapi-events.[ch] test-qapi-types.[ch] From patchwork Fri Jul 13 12:17:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141868 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp733994ljj; Fri, 13 Jul 2018 05:21:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfjRiy9lhYWPORYNSVxslO9jExZDwOns/rtE9Mk617aeTy4JWMNSCx2wZ2qkPLW6vnaiCLZ X-Received: by 2002:ac8:12c3:: with SMTP id b3-v6mr5504510qtj.352.1531484462941; Fri, 13 Jul 2018 05:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484462; cv=none; d=google.com; s=arc-20160816; b=MiSzK2HUMLmZjv9sYcS6iffHUQZSYNnttSCBMJJ2GCVTkqFBuyWl56ATx7h1XvamtE Xk7iy3mmi0Emn4vaNUBh2eoH/v+3Sa5tqA2tCAQiKC6Tiz2Yk2MNg3/eySleMaag/OQp FX9t/I1rXWyUVvNzbAST1g4tVh71OZc5bJ67RbiE3+TB+6xEZkvAEFBzsQM4YereeblL UE+xVRjQkS6F0ORlnISNFpBp/c6WbzTuBloUAn9vAmXfkHvExPD/m/DyoviNxmOEa6+/ qpEC5L5s50djAwevziu8b36ms33mEgPN507RFgDLuYSXxDM2tjlvlnKmW8dHg5rLb9M8 ExtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=xd1ZuVsa+Q63HCf88J/IjlW/GOPv51c/YgO4fy3B5e4=; b=ZBUg4NH153M+85ykj+uP60+9G5nSyCZlGxfsxn3NKekYyfeeU4+TtjkKjDNLUFH595 aN6RKedi8KHu1rthZEQrpr39BPWXKyW9eoXeE4R5rMo8rnyHbjQGkkenqAqjo6/w1jvj npzBQtsfHuKXEuxH1PzNaF7VPmD08gBSv8MsJrIxiaaKwBnEUjsDznmxiJHt9arkwS3B 65p0YOPBBsFMYOuxNw7n3Ty1PNIFq+HR0p3I06tPpj7TmyQpxJZUvU3farXcm4Sw9X9p jYWtpQC7W85wkG0IIfxnDsZCSBsm449GkPszlNpTrysNAuM37envfkTRvLdQVxUfDnRi 2+ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PMQD1TBl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id x30-v6si1389384qtk.39.2018.07.13.05.21.02 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PMQD1TBl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx4I-0006yQ-Bb for patch@linaro.org; Fri, 13 Jul 2018 08:21:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx19-0004lQ-JF for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx17-0003c0-RR for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:47 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx17-0003an-KT for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:45 -0400 Received: by mail-wr1-x441.google.com with SMTP id j5-v6so18385079wrr.8 for ; Fri, 13 Jul 2018 05:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xd1ZuVsa+Q63HCf88J/IjlW/GOPv51c/YgO4fy3B5e4=; b=PMQD1TBlmNAnFpXV3ul+beaQiTD9AGYJwx0u5wN9orDtc5c3ZScVTDFTSVjtTvzN8i n8s5KJEd9EthTQtcyb81es7LbqDf4ZBhrexkWoz7Lzz8nma4XuYJKKIhDGZQJ8MXCrfh 0vM3S2P3r1Z7GhAkNgAM7mm+o64VUq7GMMkXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xd1ZuVsa+Q63HCf88J/IjlW/GOPv51c/YgO4fy3B5e4=; b=mlWSX0a/X1n05YlcxmdYEykRB/uu2/vFx20fpGs63i0M2mW1qZugicTl5j5VxeLvsD d4V8LfuF9UxuOcwOziz91AWSZHiDYmgH9qVWS8YgWHYR8N4bnk+ngeD5QccP4jtC2uJO nNaUkjAwR9+8JNZScbjhcgLYMGbE5VPH88gLRGjGaGVQz7dNDU7pE3+NlBYrJwQoYdIM 7tCXuVkDJzv2/naTjkEnV/q1Wsi7j0KLwgcU1IbmlQdW2BjxA93l3lMQEuzo4YLNJAMS 26wTz3KlznKG7lxBgERcWxhGAXcv7GO6i5zy0uz+wJUQGQfYKdQvd2dJGydZs+nkBlf/ 6Wcw== X-Gm-Message-State: AOUpUlHCy1Sa0fj3w9R+DEABWTZItfGYPGoLIc32S1JM36SmxUPOupwN IlseXXYlZ8nfUmmy9k5KsbMMiQ== X-Received: by 2002:adf:f188:: with SMTP id h8-v6mr5084828wro.214.1531484264620; Fri, 13 Jul 2018 05:17:44 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a17-v6sm21201793wrr.81.2018.07.13.05.17.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:43 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 181FA3E03ED; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:27 +0100 Message-Id: <20180713121741.19262-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH v2 for 3.0 02/16] docker: base debian-tricore on qemu:debian9 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We need both git and a working compiler to build the tools. Although the qemu:debian9 image also has a bunch of extra dependencies it would be fairly unusual for a user not to already have this layer available for one of our many other docker images so lets not complicate things. Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-tricore-cross.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker index 898b8dd511..180ca646c8 100644 --- a/tests/docker/dockerfiles/debian-tricore-cross.docker +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -7,7 +7,7 @@ # # SPDX-License-Identifier: GPL-2.0-or-later # -FROM debian:9 +FROM qemu:debian9 MAINTAINER Philippe Mathieu-Daudé From patchwork Fri Jul 13 12:17:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141870 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp734770ljj; Fri, 13 Jul 2018 05:21:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdtWjY1fZ8L1D10MHyu3tu86GUzigO8wf1i1hSAEVYZi6/EQ0Dl+nRu0pucrRqL7uMnoK/j X-Received: by 2002:a37:4951:: with SMTP id w78-v6mr5306585qka.2.1531484510871; Fri, 13 Jul 2018 05:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484510; cv=none; d=google.com; s=arc-20160816; b=ghFQUhyS9ADV07SNqq147ntARvxbh9SL440HvpfmtqIZ62jAGx77GuUDPnmKpulkse gfu9W4DgOI6PbCzVvZdKwZ3d6FW8BbqZrXw5aIUKeVED4mr6+M7kLq6Sj0GKjUPKrhY9 no0ZeF9RzoJBThm2kaIzFeVH16O0AewgpRMA/IgblKPihf0mgeL2bZzk0FN+qL73NB1e idt4EAwFKsXBd/g+6LhreppfdQ/EWVAFYahRVsh7DBRimGl83bIIAv32hfg0q+175oxc qg7REk7CBgTIgELK2k54uqQ0LjWoG/72SF6eL0O0JgXH3PSK4feeLtIumkj4PTQVbH6k 2WJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=KqUm7VU0BgnKVtC9GMfEIYWnhk06lOgvjbjud9kag+w=; b=BNED+1OJBLmgvgLMAVDAsxuMH5T4bDa+ACcVTdvrEZSxGykcsLRMMCpk0bFxZvdeMu wintulhX7WBqPDGws0D0sfQc4oBofRJz1GU8M1i6upybfS3RrVKyUV2ejf7jS993TsgJ KFdJQVHKM4L/EplXQyss9zBvoBi4johTrP6+WEHOyJ/1pBdw/QtKR/5jD64JueDvephP tmHmFZuz6tNS+z3CKD/0QTA3huc3GLehGFssUGYKJsORk0AnY1/62+DF7Shgu2hMalLa eqpTaN9gu/i1AN+aSYyLXPKJuhwcxWovZ8hZq4I+9JksXl8zCOqvtlZboz0ULyx+IsNf tMkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Fbe5RT5x; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o5-v6si663795qte.9.2018.07.13.05.21.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Fbe5RT5x; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx54-0007e3-8R for patch@linaro.org; Fri, 13 Jul 2018 08:21:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx19-0004lS-K9 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx18-0003d2-JZ for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:47 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:46461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx18-0003bl-Ck for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:46 -0400 Received: by mail-wr1-x443.google.com with SMTP id s11-v6so24912478wra.13 for ; Fri, 13 Jul 2018 05:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KqUm7VU0BgnKVtC9GMfEIYWnhk06lOgvjbjud9kag+w=; b=Fbe5RT5xtaL1Um7P4vXnWOmSBIvZew/giIURby7OdntlqshUzMj1AWWF8g2+fHV/Vs 2qr1JKqP2yzHauoog2mznVP1rASOobfQf/Z2xVb6onGOr6wf8Rd+j+sdOBLBR2g6KerP ePLjlEp9EEzu2gJdK9mGPIfnm8zvjCU2lXph8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KqUm7VU0BgnKVtC9GMfEIYWnhk06lOgvjbjud9kag+w=; b=HWvPU9F+HfWUn31MGtOvImHgevQ0ceUlCSgXkfmZNwVWM1OmRxgSVCl/5mHy4+GPHM lN5Qz4YJgZYQLnrgvJ7HX0MdUEGXRl35zEy+FW/CBLDG3nznTeGTMA/vvSR6gbGdEwM1 kFXrKz4gMmKXF9BN9JyECzvhGcIz/wLo1j84PG5bnnq4PrQnFjVf/T5Qfh1kE9peH7v5 QGBRRDdMNwHMUVfiaG4bg0+BJjMwkCOUQfJZ26BWS9aWghT7PjqHwabnUOROQkYL4DKG 2k/jvnQFUcXDpjjgCE8qi0uHAbkq4dIlv1xdmnGPN21evP5sNXr+TbbgmGjf+QGS2gKW Da2A== X-Gm-Message-State: AOUpUlGyTIz3iVI8706OeRj7OwCzibRZUrT3tHlFg5uRGcJLcPYHLLfA sb4l2xmtSPXN3i2cFD1b5csnbw== X-Received: by 2002:adf:c44c:: with SMTP id a12-v6mr5011022wrg.20.1531484265351; Fri, 13 Jul 2018 05:17:45 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i6-v6sm23355845wrr.10.2018.07.13.05.17.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:43 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 2A6883E049A; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:28 +0100 Message-Id: <20180713121741.19262-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH v2 for 3.0 03/16] shippable: Build the TriCore docker image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée --- .shippable.yml | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/.shippable.yml b/.shippable.yml index f74a3de3ff..9670b13f8e 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -25,6 +25,8 @@ env: TARGET_LIST=mips64el-softmmu,mips64el-linux-user - IMAGE=debian-ppc64el-cross TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user + - IMAGE=debian-tricore-cross + TARGET_LIST= build: pre_ci: - make docker-image-${IMAGE} V=1 From patchwork Fri Jul 13 12:17:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141867 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp733534ljj; Fri, 13 Jul 2018 05:20:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe0PEWXQgS5ARWhXBaeBERdZuarzIiGLIvc0fwB/gVd3/S3MkGfsDyaJgkAQrtYETVKPvvT X-Received: by 2002:a0c:ad58:: with SMTP id v24-v6mr3228529qvc.75.1531484431759; Fri, 13 Jul 2018 05:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484431; cv=none; d=google.com; s=arc-20160816; b=pbS5GlzwmSNB7DL0LwWiQr684gQDLOVhiYA6SchXYacwpypwgA9W5TnhwbUXVqeQkY mPqk4p94eq/MHF5t8h+9BRblbfztL6F5K7BFtcFGCm6RLmXkBWv9b0E4PKLrmuaXnf2N LMl+8fOSP7GZhe2oe+ow9f6gyP9n/PSZnLaUOzGHzGwvxMt3ajJUamPK2caPvoOMzofl 4PzCFu47zT9U5ZRLUNVM/LtTuBwAisJqUtHhOIhzfssy4FVNJdXBYD2q+uv4QzCCcPhZ e5s1fI2VQjrw9EW5G817kO3UZcXLOfSvCOFyA4J8qBGCxr4BD529BYT1RGh26FXrkNOp zLxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=iuLXyrPnRE4rW5eg+qwTCiglTBSrKh3Lyhji9XKfoz0=; b=nU/M8KRs1/tqNhFQdjlmwRpajx70PjIAkIAI+eN6fOiqiGukOH1l47F/VmBgbxY3Ej 6D9Zwb+vD2Oqd5cQ7Psq1PYxFzy4DsqGXUYro36L/XUMIoVG4U0OgKEwtdLR4tC24zcg 5bk55UVxDXqnpwh9dnxNCMd/SfaEPBIA5HcIHEkimQEszjjqVY/u6qh6ahGRiPcajPtd AR8TMVr8Oibydm75TXQuoSS+Hru92uaVtjAIscze9Z5wQyRkyCY/c+JYdP5bLVehgtnz /j4QWbQv7iAUl1YH+gHU8+5K2jN37hV6uhzp8z9fHItXkDFlOa+CWX+RmMFok88JlD7u Yu5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Ap1mJgE2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i58-v6si20919391qti.134.2018.07.13.05.20.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:20:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Ap1mJgE2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx3n-0005i3-3n for patch@linaro.org; Fri, 13 Jul 2018 08:20:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1A-0004lp-Bi for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx19-0003eT-C0 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:48 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:37426) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx19-0003co-4L for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:47 -0400 Received: by mail-wr1-x42e.google.com with SMTP id q10-v6so24910895wrd.4 for ; Fri, 13 Jul 2018 05:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iuLXyrPnRE4rW5eg+qwTCiglTBSrKh3Lyhji9XKfoz0=; b=Ap1mJgE2DGjZA2w33s5SjQHtf5Xpl/W38N3xJJPVDxwSPSytV4B1hHNN90qKilQVwA CmOmP4v3OtHv0Vx08hH/2Xou5ctNFcvK1vustXIMW8odoR4OHtqfE87M0GCSiOeS/zP/ DOEf2Swz0lZCtMrwOh2H2J4DjvJhe4S1ruPQQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iuLXyrPnRE4rW5eg+qwTCiglTBSrKh3Lyhji9XKfoz0=; b=j6TpCTS4uQwcOg4cSSqEpgpYHl0vFQXAhEBtrIYtqeavBh7MLJFPZdn0v9f6UI/f9K 3rzrpeoY8CunRaQa6dlSo95TtMiThz2Rw2HVSjg0KDW7HPRZfCT/mzksfwvaDQAl3geW ioRFbESI0cyH9UvqeIgi9cVO6eQFsj8lTJSYGjYZP/MrhIkhnBA8SGhFPuAC1vnRah8K S4E3P5miEWL16SiQ2YRJ8rVSsWvEN/L9WZiLEi4mi6maOef51Cc+TyX/uK5lHg52RHGx XmTAzULkqEt7Xsb99vnGshyBJOFMeCVyKNvteRhwMrtHMz9ft05Lt2e3iiDWYXHI2+Fi tdjA== X-Gm-Message-State: AOUpUlFLw/Ta4b5VYyJGygQKvp8EzxUrKKxYlz3tKmHtRJZE8IWjoblJ 5NlmRGcEmBVnULDfYFL9+lMTZA== X-Received: by 2002:adf:c00b:: with SMTP id z11-v6mr4541757wre.268.1531484266161; Fri, 13 Jul 2018 05:17:46 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y14-v6sm4982246wrq.45.2018.07.13.05.17.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:43 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3D41B3E06C8; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:29 +0100 Message-Id: <20180713121741.19262-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e Subject: [Qemu-devel] [PATCH v2 for 3.0 04/16] docker: fail more gracefully on docker.py check X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As this is called directly from the Makefile while determining dependencies and it is possible the user was configured in one window but not have credentials in the other. Let's catch the Exceptions and deal with it quietly. Signed-off-by: Alex Bennée Reported-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé --- tests/docker/docker.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 69e7130db7..2f81c6b13b 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -479,7 +479,12 @@ class CheckCommand(SubCommand): def run(self, args, argv): tag = args.tag - dkr = Docker() + try: + dkr = Docker() + except: + print("Docker not set up") + return 1 + info = dkr.inspect_tag(tag) if info is None: print("Image does not exist") From patchwork Fri Jul 13 12:17:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141866 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp731443ljj; Fri, 13 Jul 2018 05:18:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdP283ECZK5fTPFoeluKx6ryXp11XE5Ui7xdRg8Nn8UEzpz9ALUT9o8D6wCjQlcURwByLfV X-Received: by 2002:aed:3607:: with SMTP id e7-v6mr5548005qtb.385.1531484295426; Fri, 13 Jul 2018 05:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484295; cv=none; d=google.com; s=arc-20160816; b=Msk7RwVr33Xx4nn8SoBnKdBbQxlcU+A1qPc4pvZoCxSR6u0A0rRS2E/u9ekK4tYi5c NBK9/6MEqua1JD8X4HJFRpxAEzJ+6h77xhyHAlFuEWjDqlh+9Dl1gU7whU4DFMuXIjtD gGudjqTT1FCnRyiyAaMbPeVQEpSvSO3ySLFnN3qSsRvp3a+4I0ASc9QnoUONkmQ2Ilrm bYpI5506s9aa9J8jmjEhKmJBBj6yRIipnkasAPlPbD/R57S5hshVlOCbpugBCuZTZPDk En40oo5gUP+DRXh3Jw/wYbtRBnTPm4n9n24i7L9ZheUPfCcdWbBaFpK4Oo1GRTI2FiFE 7eHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=IEdtkIhDUZPzo4oemOdBCZ5gcypIh92k1zv07aSu86uKR1/tJBhIi601eyoegjGh6y 6kh6ot9/tJmftgFGFZpcrgAt3HePZT3lMt5p5qWAq0kmIfSuiIg8FS/oseVkO6iJ3u/g QZa13bgyiMr1eYrrG3j15tp5DKXXp6al/cbt4ZCy7JsI4OFjNeYTeMe0pXbZ0cHGabHp ldw5ccD9AjZ3qDFJOJu4copj1VwW34OxzDMpO3eK06KdanXPu8tgKhdl07LUgpx1RoZ/ tnP0iBQuYpbebc4RDLRz/qCNv0tAH5Y7KLrg8cF71qQ0BfjwIOfiE5VjAzIpYVJP7LM/ PKdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iX6mB+ru; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id r10-v6si2557457qvi.112.2018.07.13.05.18.15 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:18:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iX6mB+ru; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1a-0004ov-QK for patch@linaro.org; Fri, 13 Jul 2018 08:18:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1B-0004mP-IX for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1A-0003fc-5U for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:49 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:39555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx19-0003eM-Sb for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:48 -0400 Received: by mail-wr1-x436.google.com with SMTP id h10-v6so24913880wre.6 for ; Fri, 13 Jul 2018 05:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=iX6mB+ru7e4FJD4oMlB314zdIDzMMixhEygglMzyd63JCyJCU+Qhjv3Lg0WXV9BH74 eiUWZlp1O2mfwArwpo6btwx8fC2BaZ02yGqR84fqH+vJBYtwVHLses6jxPchW0YI3q0L G1cOeG8qDbFUDgHPiqTLO9OE6D+RQW4Pmm7gs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=nrxNvc9ltuZ3srlB1Xb8sajeS5TibxGQ+2BaZZbvnaLcJwg60uZe1DfByhGjuu3Urv BSeIPvxWrT7Z/dTt/j8wuGxlvdhiwd0C0VnEZ6ITFxZngbM+cPfwjx7ToE+75qn98hJe hpWEx8XS8gKemeZsOlX83Vqh5/me3NDAb37nvb1GOloItmv2EYIXPU4k1juUh1UiKvad uQPknAkG1GKqiwRIYzYUFkUJwcRpwzLkOGxLvv/2BDo89JbtGc8IoOhiPf/z1kJYo9vL 8glDSkrFigaLrb6i9dYqwWhrJE/OF0QMYsv+JJUMqwT/tp1xCeA2+S42E6WsBNdniHYK EFaw== X-Gm-Message-State: AOUpUlHWZbkoX5o48F/h3/rVXfDXuBFy0Qx6V4QX3b0cOEo7y/fKgWGh HsgN0BGmsHPKhbrTeyCg5dXi0g== X-Received: by 2002:a5d:4c4c:: with SMTP id n12-v6mr4577618wrt.71.1531484266910; Fri, 13 Jul 2018 05:17:46 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q5-v6sm13273307wrs.87.2018.07.13.05.17.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:43 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 5108E3E06DE; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:30 +0100 Message-Id: <20180713121741.19262-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 Subject: [Qemu-devel] [PATCH v2 for 3.0 05/16] docker: split configure_qemu from build_qemu X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows some tests that just want to configure QEMU's source tree to do so. Signed-off-by: Alex Bennée --- tests/docker/common.rc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 046f8a5921..ba1f942328 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -21,7 +21,7 @@ requires() done } -build_qemu() +configure_qemu() { config_opts="--enable-werror \ ${TARGET_LIST:+--target-list=${TARGET_LIST}} \ @@ -32,6 +32,11 @@ build_qemu() echo $config_opts $QEMU_SRC/configure $config_opts || \ { cat config.log && test_fail "Failed to run 'configure'"; } +} + +build_qemu() +{ + configure_qemu $@ make $MAKEFLAGS } From patchwork Fri Jul 13 12:17:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141878 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp742011ljj; Fri, 13 Jul 2018 05:29:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf+LL/hzq78OTvBXnUi/MShkX1/Q/PfpvtG9f0gkIFwypapmlPkf516t6zPnPs3ldzDDieY X-Received: by 2002:ac8:8af:: with SMTP id v44-v6mr5760536qth.33.1531484961275; Fri, 13 Jul 2018 05:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484961; cv=none; d=google.com; s=arc-20160816; b=Zn1mLwJITQJzNb6GKbhmKx4X1oNr/KjKKBmER8bM6o+cTAdwWGf1I9MEcPlvxpUVdM 74Puye8ZI8Ve5Su0sri3dN4H3UqyoxS+ozFQxtH3SzY09Stodf759S32DCVlK7AAvLSw W1YlC8BTfMx1TinOfXyrx++7qaPtlNd+ulLrmgffpCcT9TvQQrgWpyXmWWDQGHlPMxhK F9JavttAxB57q0WrN3NxagFDOeJ58BEtj3e+i85aVIFzwXsTgI29wnGDKb9gNEAkhvTX NjKBIRrOdBwOWCCTdtOiaAbHrT+iOUdHluhTAUFHuASHzAzTkJo6VT7V923IZ4jwNe8A uKkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=geYo+8uA6PiLU4TfomqugeI05sb+kolIYglmvhXVCyY=; b=nidfHmijt5n7kchYnQRQnP9QoklzHWJACKNPW2ShmbF7oYHZTQdeMEl4TjjrQET5FV usB1yITrBU5lLnjwvbMptJWQwfICodDP0ZL4FUzzFw82fEpnuf0bQO971XnLb9lUvVk0 th5gklmtA4q68VtQ6ym3gD8HXGAKTMX5jN+mY4n7sydkTdiyzBqVWcqadEM9G5rxHjk3 eY6UrXLxN1eJ+LPBie9xQb0JGywGzMFpOdKByzn3mBhxDCGAvO0E1uJXFcyeOMNHs6Pn gnzL7Ud0Tgsz5hzTP/jWOKCLE923Xa6LBzcUK5c/MsuuieK7tWf1vHwuZ1JAar65G1vV m+KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GDCvMe1S; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f34-v6si8171587qtb.125.2018.07.13.05.29.21 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GDCvMe1S; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxCK-0005ZG-Or for patch@linaro.org; Fri, 13 Jul 2018 08:29:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1C-0004mR-Gi for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1B-0003i3-2r for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:50 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:44783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1A-0003g2-R3 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:49 -0400 Received: by mail-wr1-x443.google.com with SMTP id r16-v6so24914122wrt.11 for ; Fri, 13 Jul 2018 05:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=geYo+8uA6PiLU4TfomqugeI05sb+kolIYglmvhXVCyY=; b=GDCvMe1SoyVF9aLwx29Q/fK9zD4e0QdjWYQgmPVVY2n+LMAaj4jMFSkbBfWUywH6X7 Koaj+262dimmwmHBpzF8b1hlLN8Mt9tqLJHCXzoCUoDKjmbZRsFy+7Xuqs97cWsPJ3M7 cuM9ZMGaBb0pRuYNZA2pCEIVDR7fPDgCLXLtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=geYo+8uA6PiLU4TfomqugeI05sb+kolIYglmvhXVCyY=; b=o1xfxrEHNgoiwmkm8yjA7W10Z252tDPIXKKgnd4oQgLn13v/qiZz4hEuXcwU56+Mhi Rnbj0ZE2fyvModWsQRxA4vupFuZ6pMxAiiAIOXA1Y7DGWMPfqWGmzFG8nBKQJ+azH3Fn A7/D4EnyrtcR2R2MMUJYDUoyXldBOhwGE1qTjpZj/iY0o2DEDOfcDA5ynqJopib0e3P/ N5yamUJie0bhrl1BE9dBxRp4B2Iox8tKeOnbn9K6+VnTB9Y6sKXrKO7gW0Tzpi2ZFKJc YJm/cM73q4Ju45Rlntb0VhypWImphXdCKMuqw97kgGrZEQZPZXpvYAt5MAhp7g42KxWf MA4A== X-Gm-Message-State: AOUpUlGgK+N3+qnwYtLT3/TPAQZDtB9ktEFPfoLNkcjBvVqEDedbZ1pA spQqko+f44d/Yx8aFpCa+EptqUBkueE= X-Received: by 2002:adf:a14a:: with SMTP id r10-v6mr4612548wrr.104.1531484267904; Fri, 13 Jul 2018 05:17:47 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i1-v6sm3696235wrq.69.2018.07.13.05.17.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:43 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 67F8B3E0719; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:31 +0100 Message-Id: <20180713121741.19262-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH v2 for 3.0 06/16] docker: move make check into check_qemu helper X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Not all docker images can run the check step. Let's move everything into a common helper so we don't need to replicate checks in the future. Signed-off-by: Alex Bennée --- v2 - add "move" to Let's everything in commit message --- tests/docker/common.rc | 10 ++++++++++ tests/docker/test-clang | 2 +- tests/docker/test-debug | 2 +- tests/docker/test-full | 2 +- tests/docker/test-quick | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/common.rc b/tests/docker/common.rc index ba1f942328..cfc620d554 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -40,6 +40,16 @@ build_qemu() make $MAKEFLAGS } +check_qemu() +{ + if test -z "$@"; then + TEST="check" + else + TEST="$@" + fi + make $MAKEFLAGS $TEST +} + test_fail() { echo "$@" diff --git a/tests/docker/test-clang b/tests/docker/test-clang index e90a793178..324e341cea 100755 --- a/tests/docker/test-clang +++ b/tests/docker/test-clang @@ -23,5 +23,5 @@ OPTS="--cxx=clang++ --cc=clang --host-cc=clang" #OPTS="$OPTS --extra-cflags=-fsanitize=undefined \ #--extra-cflags=-fno-sanitize=float-divide-by-zero" build_qemu $OPTS -make $MAKEFLAGS check +check_qemu install_qemu diff --git a/tests/docker/test-debug b/tests/docker/test-debug index d3f9f70d01..137f4f2ddc 100755 --- a/tests/docker/test-debug +++ b/tests/docker/test-debug @@ -22,5 +22,5 @@ OPTS="--cxx=clang++ --cc=clang --host-cc=clang" OPTS="--enable-debug --enable-sanitizers $OPTS" build_qemu $OPTS -make $MAKEFLAGS V=1 check +check_qemu check V=1 install_qemu diff --git a/tests/docker/test-full b/tests/docker/test-full index b4e42d25d7..aadc0f00a2 100755 --- a/tests/docker/test-full +++ b/tests/docker/test-full @@ -15,4 +15,4 @@ cd "$BUILD_DIR" -build_qemu && make check $MAKEFLAGS && install_qemu +build_qemu && check_qemu && install_qemu diff --git a/tests/docker/test-quick b/tests/docker/test-quick index 3b7bce6105..eee59c55fb 100755 --- a/tests/docker/test-quick +++ b/tests/docker/test-quick @@ -18,5 +18,5 @@ cd "$BUILD_DIR" DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ build_qemu -make check $MAKEFLAGS +check_qemu install_qemu From patchwork Fri Jul 13 12:17:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141872 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp737947ljj; Fri, 13 Jul 2018 05:25:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfYNnEwY4GQHwhyigHj4JlLsTZh11UVhiPo/0/I5UfVut78Xe7G7CEk7GPMBU3kR3gvOa9W X-Received: by 2002:a37:70a:: with SMTP id 10-v6mr5410868qkh.393.1531484707528; Fri, 13 Jul 2018 05:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484707; cv=none; d=google.com; s=arc-20160816; b=FdS66ju86V3cEgohiQCieOCqmmce2AJK88BcUDSOdjfxYYV9WbIiZIhaezS/qDeDR4 M8HrXi7KgtGD1UEXTV6A2OLwE6kgGFA8vDzy7MpZMF9MixO5swNnW234EYZKXGqfJzVX Zpd57JJm/6I4uglNZWrJPiOs+V8P+vDtuTA9itNKPVpQQSJy+FIqUt5pJ0hnF6KiXSjB WWxyP8YsyswZc6f5hLD9dh/Tw6KswsWhyFsC4UqSk2hfXdxfL72PuQ7PxT7jjd6Lp3EW KjB6BiIOYcPUcV2CnX8u99qci3ndaPzzb8bVKrdhyf1rG0tHfhMQog7M9gdU6F8qNuHo 2M2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=DQx4cPi35f5zCAJNpX786LSOQNdYF52JKUeVRzL3Xd31ylsvtAD8TKtqhMD0JsbDWD ZyFLUMO73MDmroIQ2XfifZnSXS5Wy6P/CL4p18l84dT/ImJmC+Huv2Z87SAxzbAiV2oj Z0s6RfT8cXed6jtAZqPd2Q8CQKMzMTcldG2czIp2SC88XYouZHqBuY8DTopKpmW3Fd3E pCkIET97fk2hy8lEc0awde50taV/UDZ6XuYoC3gbJJ5r2C5uxSwqL/eIAwm3R0TFJTQU VAsp73oENicC72SGgrV0tEIFVcrwQNGxtrvl5jjf8xF2USOduRDdd943sN0XuWAHUwuU Y12g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UozXJeiF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u52-v6si20019697qtb.234.2018.07.13.05.25.07 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UozXJeiF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx8E-0002Bm-VD for patch@linaro.org; Fri, 13 Jul 2018 08:25:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1I-0004p6-D6 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1G-0003rR-Rj for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:56 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:43127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1G-0003qB-LO for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:54 -0400 Received: by mail-wr1-x42c.google.com with SMTP id b15-v6so24955637wrv.10 for ; Fri, 13 Jul 2018 05:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=UozXJeiFVqqDP1QjwZW1ce77DSKNlpFI9HAOBF0xJg/vCS7KGTjcPmfNiARhGuBGz8 sIrBQOmdpxD9RnmmrZxBEIp0o/+223UWJiC0TZZ27UBwnAPefVotaQ9HQbtSam0j+9kM kNL0/m/FaV+QtDkkZqBcZ3tTxOG7AlBMwePu8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=g/Vi8nNXzj51gg+90o8S/orQRA/An2fPVcv5FS1NOSdcUIZ7bVrHidHbxghadSxh3y vg0NhOUjGilEaxOrCvE0QgSXWOE1KYoXlPba084G9EttSmXG9pbJBAXEp0BGQpx+u0dZ 2uPPHRZI7TB130pTRr0mIZ5n62f/5qAhs1954sBkeeeHsYogIwwh62nhUw3fE53w5BdS SCa5kPfrEUmUXLgmwd9Z41scWcCICmDhMbQ3cCQXGkqa2Wap6g7Shu4TZR8JzBoc4nf6 scNdfvcwmvu0t7hzVfXtvmWEEGq5s/qC7r8NrxUidwHjFJHHz7/3pBlu6hzkadwzhrqY Csew== X-Gm-Message-State: AOUpUlGLDUsqUnlpwVEEaT+7CCUbLx0drR40ePY+MYn7UCEcDghfPW0t DNWiMcvqjLwStVnoC3tZh2Ee2w== X-Received: by 2002:adf:8e89:: with SMTP id q9-v6mr4793061wrb.261.1531484273693; Fri, 13 Jul 2018 05:17:53 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id w24-v6sm7544078wmc.15.2018.07.13.05.17.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7AB283E075D; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:32 +0100 Message-Id: <20180713121741.19262-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c Subject: [Qemu-devel] [PATCH v2 for 3.0 07/16] docker: gracefully skip check_qemu X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Not all our images are able to run the tests. Rather than use features we can just check for the existence and run-ability of gtester. If the image has been setup for binfmt_misc it will be able to run anyway. Signed-off-by: Alex Bennée --- tests/docker/common.rc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/common.rc b/tests/docker/common.rc index cfc620d554..6df431eb72 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -47,7 +47,13 @@ check_qemu() else TEST="$@" fi - make $MAKEFLAGS $TEST + + if type gtester > /dev/null 2>&1 && \ + gtester --version > /dev/null 2>&1; then + make $MAKEFLAGS $TEST + else + echo "No working gtester, skipping make $TEST" + fi } test_fail() From patchwork Fri Jul 13 12:17:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141876 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp741638ljj; Fri, 13 Jul 2018 05:28:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfs1eLinEMVs71UVREPKMn4nqlPtOPc/ovgoUAVz0d22ANhiTZMj7IpH1p0ntFJy32SDSZh X-Received: by 2002:a0c:a991:: with SMTP id a17-v6mr6751110qvb.83.1531484939401; Fri, 13 Jul 2018 05:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484939; cv=none; d=google.com; s=arc-20160816; b=UfNeY/AuBH1YgKLxk2AKSus1KG3nj1uXzax8Iee2pPNbcf7KbYRGaSU0YTwsoVUkjB 9zAhs3AXlMqdmCeZS3XVAIsG4myYoPtRlBjPDxYwCyaVFM04raDqdSW6wn+C0VWm0l95 Z1gMBgreVbQDtc9oCnl9cVpd66+PA4X7TQCoaHY1Qiq2SsuDGoql81vKXxg7awEfNzRD RAfck83yJb+V94jp2jVn1DMtrNA80fte8SL2MQEtS/7MILDO4YDX1b7LAZGYO4SpQitI nGrk/e00/jnTL8kidu8zv2jNCb9T0D05eSt7JIUbMewECUFp0hHmf6hF/BAWvpe9POd9 s7ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=s1tjMEdyx3m/WM9lUdoC7txnYwG7NnrJqQuuANHk608=; b=NbcnMf3xJr+x8Vn6+x6lUCOSIBGSTzYjFaJGTNcc0xsjLBISRjCLPVgmH5pT8yKJru 7X/prAyU6eccjIx+OVmX4KCfPlFGyQ5sRg7h+4VNalKB+TuywhR/Kh7c+9WNdv9UE1Vy QDzvxf9z36znA06JaUiYkz5cictbEt28sSvrgXbr1oaOILBS6wzf30zPwZlcFGprAe2U zIsNSW89xrL7SNwT/DURP4OAD4ExmHGmk3nV1T1S4GApp/euOE5OwT6UTk/W/S0P/qYm 7d+1O7VN1qKb6lf/MUJQMJ6G2QZ7DpXM/JXipgXr8OIHz6dmtlSAZsmeZl8kxECRIjG6 KgiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DuCylhlt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s67-v6si812624qkc.311.2018.07.13.05.28.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:28:59 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DuCylhlt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxBy-0004fj-RA for patch@linaro.org; Fri, 13 Jul 2018 08:28:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1D-0004mT-Qc for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1C-0003lc-NF for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:51 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:38888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1C-0003k4-HA for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:50 -0400 Received: by mail-wr1-x42e.google.com with SMTP id m1-v6so12189585wrg.5 for ; Fri, 13 Jul 2018 05:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s1tjMEdyx3m/WM9lUdoC7txnYwG7NnrJqQuuANHk608=; b=DuCylhltaJfiWAPf8M8X+UZknOlC0QZAhhI8b4YKhznY1Er9nafTccMJ7Ux89A7vre 1LajoWmSRrabcp0Vr/4E3a6u3BIIoqPdv9scutwQ+8kiHJsnHW51CVqFMVgHztxBoG2S iuP3iN/XGQof2jOux3oW3D9Kq3uQAXQ7Qmo60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=s1tjMEdyx3m/WM9lUdoC7txnYwG7NnrJqQuuANHk608=; b=pwF4Qr3uyuIUF7UwbT0fyQ5pNKnW2YCwGaVfx9QicjyuijtseytAKblk9McQDP5Vl6 SgY8BMbPHfnNDuUzoM0SL3Ys6ZUuvk6af1xA2MOO6BvavaMLFfiE6op1bIG35ijImEKE 9/UsXtUrjbmPz0D032Nl/kt+gT9VQ6L+7EdkfP4+xd5joPd5Npu1lhr8zM/cWtrCVcIc ok7iBouzulgJbWJaQgDoxj5Az2igG8a4BR7P4jm3y0LTZijnu8ou0DLmG1+MYg5kPhgo L7IzF0EWa+y+ewj/ZmSKBe2WVi/mpvZF5z+HU4A/G2XQjwB1r4bruxG3ca+lpZmYu0/u rjKg== X-Gm-Message-State: AOUpUlH5IzfwrhT/0kMx5OVriWzRL7dFxlNMYTWNkubcBaVvO7zabr3v X4/GI1Q7MzMNDLDXHdqA+5YtNg== X-Received: by 2002:adf:f091:: with SMTP id n17-v6mr5044823wro.49.1531484269622; Fri, 13 Jul 2018 05:17:49 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y127-v6sm9760906wmy.1.2018.07.13.05.17.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 8DB7A3E0775; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:33 +0100 Message-Id: <20180713121741.19262-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e Subject: [Qemu-devel] [PATCH v2 for 3.0 08/16] docker: Makefile.include don't include partial images X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Rename DOCKER_INTERMEDIATE_IMAGES to DOCKER_PARTIAL_IMAGES and add the incomplete cross compiler images that can build tests but can't build QEMU itself. We also add debian, debian-bootstrap and the tricode images to the list. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index b2a7e761cc..09fb7db7fa 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -6,7 +6,7 @@ DOCKER_SUFFIX := .docker DOCKER_FILES_DIR := $(SRC_PATH)/tests/docker/dockerfiles DOCKER_DEPRECATED_IMAGES := debian # we don't run tests on intermediate images (used as base by another image) -DOCKER_INTERMEDIATE_IMAGES := debian8 debian9 debian8-mxe debian-ports debian-sid +DOCKER_PARTIAL_IMAGES := debian debian8 debian9 debian8-mxe debian-ports debian-sid debian-bootstrap DOCKER_IMAGES := $(filter-out $(DOCKER_DEPRECATED_IMAGES),$(sort $(notdir $(basename $(wildcard $(DOCKER_FILES_DIR)/*.docker))))) DOCKER_TARGETS := $(patsubst %,docker-image-%,$(DOCKER_IMAGES)) # Use a global constant ccache directory to speed up repetitive builds @@ -121,6 +121,11 @@ docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools docker-image-tricore-cross: docker-image-debian9 +# These images may be good enough for building tests but not for test builds +DOCKER_PARTIAL_IMAGES += debian-alpha-cross debian-hppa-cross debian-m68k-cross debian-sh4-cross +DOCKER_PARTIAL_IMAGES += debian-sparc64-cross debian-mips64-cross debian-riscv64-cross +DOCKER_PARTIAL_IMAGES += debian-tricore-cross debian-powerpc-cross fedora-i386-cross + # Rules for building linux-user powered images # # These are slower than using native cross compiler setups but can @@ -137,7 +142,7 @@ docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user DOCKER_USER_IMAGES += debian-powerpc-user # Expand all the pre-requistes for each docker image and test combination -$(foreach i,$(filter-out $(DOCKER_INTERMEDIATE_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \ +$(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \ $(foreach t,$(DOCKER_TESTS) $(DOCKER_TOOLS), \ $(eval .PHONY: docker-$t@$i) \ $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \ From patchwork Fri Jul 13 12:17:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141880 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp744832ljj; Fri, 13 Jul 2018 05:31:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd4BGSS8x0ctGbRY3fTTmrROnDaYD/JI0tfcYWMAeKG6qJUefCrJkbS5X9Oo9HvaXD8MA+W X-Received: by 2002:ac8:3676:: with SMTP id n51-v6mr5508927qtb.163.1531485102647; Fri, 13 Jul 2018 05:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531485102; cv=none; d=google.com; s=arc-20160816; b=YDQFHt9edHYM7jJTZhzvqpjfFCovfNz7H+Xb365mMqVGDQJ0W9TLdHlxboMcwf7Srd dZ6eFhsouVPZMNFtnjyDoVkvg5UIJFnQHPcOwXCXj3Zq8cWthKIUAXV1ZdYV5MiQzlg1 Z+SgHNJl0zxoXgvjbcWXqhVTsy7ufYFRatID8P6p031DemtcixIDWLroZ4ddIz4jp8n9 W0+jogn8HZpxoq17NAl+ewg1sFC7JKvDmmyfKsCWipCjZPCB1+prudg06DQ0sORqDAp/ Ic1mNTAJvq0SZmE0MoeghhVTXTkCygt6NZJvoiG/3HAO38OW45XTjbz1CDgiHLGjVJGH oueA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=U6GtpVtbDq17OA0Ei3lJ1l3+LBmH8b9w4i8EYqWsp6I=; b=EmYAZzGVUX6ISPy1FjqSrYelI9niGkl65QxdVJmmBvwSneY/zaxNDEJOHxd+I4fmbm pdhVNMx0eqInhwBcAIwt2rp0r+oA57Q5jMhgx5gcsJRdEA5bLDDBBsTca9AuUtlAJ4mQ z+ot06rgq223O4KhybsIsBP2uoO8g/T44iRpuof2YpX62+XJdKio+KOozhsuIvmfhfNA kkhaahF/2vzf+C9yMUwqlOuxHa/rANZqpM41cRXNPPPbFJRFHHNh5+y2WfsfqP8F8lj6 t2HIi56JQcSba+1TuZfVnHKHi37WOf508SwmoC6vHr552+zsVmPzo8bRD/uu+qSoExoi oYEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Kjmx2mQ7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id z35-v6si8803066qtb.115.2018.07.13.05.31.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:31:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Kjmx2mQ7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxEc-0007PN-5A for patch@linaro.org; Fri, 13 Jul 2018 08:31:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1E-0004mW-Nx for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1D-0003mo-Ks for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:52 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:35994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1D-0003lk-BI for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:51 -0400 Received: by mail-wr1-x443.google.com with SMTP id h9-v6so24934464wro.3 for ; Fri, 13 Jul 2018 05:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U6GtpVtbDq17OA0Ei3lJ1l3+LBmH8b9w4i8EYqWsp6I=; b=Kjmx2mQ77KSpM1o8xRdJv5bQe5MjWEjmVkXOa7k1aMUhAg4E8w7s3eSsSIBoIFXGVt UQRjV/c50aqflosBdzSL40x0sRLguFHAe6VLR9yBoHP8R/VYXC6xL2epOOxyAbQTiUJv OxFXvTdoCBmB+503Mq8QwdC+6uXdClw1CPMzY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U6GtpVtbDq17OA0Ei3lJ1l3+LBmH8b9w4i8EYqWsp6I=; b=TvtZU4qDrxn4/lrv42vRtcdCzB2tE8SmjAvNlmjn9fkPJ8yB+0QOibaMe0wMqXV/Dj VxZMoPczHq4SHgWMhANggU+QxqtFAItKo7MQuHv9oX0LyPclo7yMJJpCNQbYIfv150rX K2+DiUuMwymooTlGxbgSLVqt7DN6DbKgFoyy2xIfLGkI+TQiO5fTSUctmauN1xj+OEh1 wH9EjMb+uhzAjEZNs/cYnq8tgAb5UYam7OOvRPec6VhIr+mYzT75DZCv0AU8+lkLlKYE Nugo8NSxkH5tDdgyMyZfJOwSpbG+AgJ8ymPAQoO3Hz+wGjZvitvZamuQp4aGQdOg3Jme zIoQ== X-Gm-Message-State: AOUpUlHz2UeWJgiT2oyvqCQf8JxAANdbsuMpx5eoBllXaxvYb6PdD9A/ Q7Cj7imlaWeUEC0W5/kkSUp5bA== X-Received: by 2002:adf:bbd4:: with SMTP id z20-v6mr4901504wrg.183.1531484270386; Fri, 13 Jul 2018 05:17:50 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o13-v6sm4757231wmc.33.2018.07.13.05.17.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A152F3E0783; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:34 +0100 Message-Id: <20180713121741.19262-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH v2 for 3.0 09/16] docker: disable debian-powerpc-user-cross X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-ppc@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While we can build we can't run the unit tests due to a missing system call (249 - swapcontext). This could be a code generation issue as other architectures don't seem to have this system call. Signed-off-by: Alex Bennée Cc: David Gibson Cc: Alexander Graf Cc: qemu-ppc@nongnu.org --- tests/docker/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 09fb7db7fa..fe63aacf69 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -140,6 +140,9 @@ docker-binfmt-image-debian-powerpc-user: QEMU_TARGET = ppc-linux-user docker-binfmt-image-debian-powerpc-user: EXECUTABLE = ${BUILD_DIR}/ppc-linux-user/qemu-ppc docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user DOCKER_USER_IMAGES += debian-powerpc-user +# Unfortunalty while we can build with this image we can't run unit +# tests due to missing system call: 249 which causes an abort +DOCKER_PARTIAL_IMAGES += debian-powerpc-user-cross # Expand all the pre-requistes for each docker image and test combination $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \ From patchwork Fri Jul 13 12:17:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141877 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp741970ljj; Fri, 13 Jul 2018 05:29:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcVngChlEUQajN04gRapBcOVRsXQBwmOfncAwgOfcAwqYKzGw4O7chRio38F4aF8UwpQg2f X-Received: by 2002:ac8:2d8c:: with SMTP id p12-v6mr5556460qta.262.1531484958701; Fri, 13 Jul 2018 05:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484958; cv=none; d=google.com; s=arc-20160816; b=gG3kT1SeZ60VoXxOIHbYRwCLEEf9s1OlOBxIjSlr6lYbSrswxu7zL+JHDJJNU670D0 VE57+6lTMdXWYiQjwQoxovP2wSP4q2ovKCLgFZyrGwpnHUIJxS2tIXTI8WaGEGlsRi/S /1dFRq8viGgxEVEgE+GfmIDOlgMSoQwKGHmln0FD+hIeA7RQT02yMbfFv8jPsaWLp+e8 zeixpAFAy9XGSz6ertQ4xcPbCxfALavvj1cyua1BOJNseFNy95GPuEwQciq+8Mmi80Dm 2lslQ3aiaYfGC0rIQKuARbJ/Jub9dHLoFwK8OLyCDQQXwZV/blUXBT8h4BA6quLG0IbC XpPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=xuGTdDm3QUQTf7D3BLWtPMdNmJ0jQ/xVW6mgIgF9oa8=; b=zRiOfv/ZQ6jg/9AwVBl12LHqmuugQgVgvd3FsySOCoBU0DPgiUii27iAqHObHt+Xg0 FMzCsCR8SLO4TTnuzacEJLefXG7zkMuAJaIqHFsdk/+LAzcdxYObwxmyf72eo0GoyNAP e1D8uIoTfsJxyqc4bdNM4DQE9o/bW75aZ3764JeHU0bxcSU76FKTPVOquxT6llVto8PY XUWcrcnAzTJaafIPWqSkYWgovD7JXSAU7IGuarKoQD1HvxgKJ9wBGLJmzJnaJurTO1qE ttlAIINBRlGnDBG+XnDzy+ooVAVCYAuzyPhYFx5j7Mgau0P7CJTt4CMYgnYRwr68kjHd uXLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=c6dIBPE1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id c9-v6si3886457qtp.72.2018.07.13.05.29.18 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=c6dIBPE1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxCI-0004up-42 for patch@linaro.org; Fri, 13 Jul 2018 08:29:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1I-0004p7-DO for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1G-0003q6-0X for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:56 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:53801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1F-0003ol-QD for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: by mail-wm0-x242.google.com with SMTP id s9-v6so1304801wmh.3 for ; Fri, 13 Jul 2018 05:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xuGTdDm3QUQTf7D3BLWtPMdNmJ0jQ/xVW6mgIgF9oa8=; b=c6dIBPE1phj0wKHX4zvJHuda+jrpZyccGPxWNTPydiVzOBg0xsqxg83n/YKu0URdRn FxnJjgP/ojRCUUcyUsloHFc3jNwF8JuZOJj+qgSWFe7LifUTTNHM69jcLjL736oUIJH0 vXzzx1VznvAldU0vxotsxPAxQmjzL0Lt4t5js= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xuGTdDm3QUQTf7D3BLWtPMdNmJ0jQ/xVW6mgIgF9oa8=; b=biphfYDak+KtElh08T916cSyAfljcMqAxPRcfbD+IW/670doHH1lTXkml3+cY2DoBI Si47iLYiRqDOzUZpgVSTgdVSvfjFJSv09iiKUw+FiSIoXxDD6BRvovLkGF73WvFOPKqf ex99v0iIKhl5uVMyS4qCOUo7xqDMK/drRZ5nvKodrPSmMf8K4XsqMXvH8MM471D/5t1p 94RLzOYud2qMS8KwcYzaEnDCRqFXeFEl3/vqSHy61y9Zeon5fbo56r6NeuvHzS0jZTzr TR8c9+rEkVMTX+pV7F28mu/mdVUVW0sCwDk2bx1TWCvqpkEvnni9ibzcaxELKoL656uY yq8A== X-Gm-Message-State: AOUpUlFaBOSJO5M2uqSZeqTZCoePlgYFzCr/RHPNKT/y8nvn+whno5vV r+W9VTt/a3jy0x4upSy6XmMmUw== X-Received: by 2002:a1c:5e48:: with SMTP id s69-v6mr3641405wmb.19.1531484272819; Fri, 13 Jul 2018 05:17:52 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b11-v6sm15998438wrv.82.2018.07.13.05.17.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B4E963E07B9; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:35 +0100 Message-Id: <20180713121741.19262-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PATCH v2 for 3.0 10/16] docker: add test-unit runner X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This test doesn't even build QEMU, it just builds and runs all the unit tests. Intended to make checking unit tests on all docker images easier. Signed-off-by: Alex Bennée --- v2 - make script -e to error out on failure - add comment as to why the configure step is run --- tests/docker/test-unit | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tests/docker/test-unit -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/test-unit b/tests/docker/test-unit new file mode 100755 index 0000000000..8905d01150 --- /dev/null +++ b/tests/docker/test-unit @@ -0,0 +1,21 @@ +#!/bin/bash -e +# +# Build and run the unit tests +# +# Copyright (c) 2018 Linaro Ltd. +# +# Authors: +# Alex Bennée +# +# This work is licensed under the terms of the GNU GPL, version 2 +# or (at your option) any later version. See the COPYING file in +# the top-level directory. + +. common.rc + +cd "$BUILD_DIR" + +# although we are not building QEMU itself we still need a configured +# build for the unit tests to be built and run +configure_qemu +check_qemu check-unit From patchwork Fri Jul 13 12:17:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141873 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp738699ljj; Fri, 13 Jul 2018 05:25:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdLDlWnUnArnUdLAsp4gfGWOavvtY65qzxTAz4WdQ409//UKGsd2unS8NzSS50pQGZnVeO6 X-Received: by 2002:ac8:3607:: with SMTP id m7-v6mr5609334qtb.202.1531484756554; Fri, 13 Jul 2018 05:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484756; cv=none; d=google.com; s=arc-20160816; b=l30pbAvuKF7lWQFQiEL+qMTQ8YGDtVbpMEUxGlCtskW4opeAZHhl0TwhldB7bf884C ZHvO/1qbwN0k7vatHVKFCRTuBzmBJ6xo6fLPmJdzBpUwMHYBX3RyxpASbBJKrSxKO48I mLsNCfW54v9jG9hQCJx0xBIYx/I80ZI2967UGyR0jFIJhW2vTelwt1S5WfY0qjZ02rDG qFVrdtbMUTgv+Q2M86+uIyjx3J9kgHzT8oJgruZAGAXKSLLf2CK3hSsKEBfITfcePkH7 9qg9/FaGDNpfc77lQkhMubTjC2z/FLmAEhb6aAAwvcAMsdvhNH4hCIPOwqOuzzdIEJdz wZ3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=lBP9QPie20XtTxSBnOWW8k2+GL1mfeqNCoiNavu2SL8=; b=0KI4vJ1x33vZN92DKulJpvGZiZG6fLYs7cIZ0UCbYrG8w65PWNh9zIn5lmAhtVv2Wp +JzAEk0wH/hmPPt4HoARseLP+/dEhq0rElUTNUJnoB1aRgjsglEnJdprQV7tvNViQ8TZ AqX5N7U6U0BTKs3NhKzYrWdkFC9JXudlXBEXtnKNSFW3eUCvdjPZuVibf0RWFRzBn039 89Uzix8zEXui/kzY1kvsHGTmfef3jZ1G1qKcu/k4oHjlWxGEUZEbZgd92vwuHpBa4fbR XCB+T2WtdQ5iYIq7MrN8HRwyWIIgktbNREDVdtGONj+GGBsP/UCSsWlfXrk9wALCj0Rf LnTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ko5icxWd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p71-v6si5116340qka.156.2018.07.13.05.25.56 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ko5icxWd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx92-0002GR-0N for patch@linaro.org; Fri, 13 Jul 2018 08:25:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1I-0004p4-Cg for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1F-0003op-83 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:56 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:52412) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1F-0003nk-1e for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: by mail-wm0-x22d.google.com with SMTP id o11-v6so2697614wmh.2 for ; Fri, 13 Jul 2018 05:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lBP9QPie20XtTxSBnOWW8k2+GL1mfeqNCoiNavu2SL8=; b=ko5icxWdKWNcAT1Oz8gonbO9oDQKIq75NVL5oHzkZytRdQAY14tE7iYqJtwAPe/077 rsaOD9ZwGy6B+wKomLb2qvDQo3bucGdwZDT07XKHMVXUcrWVafj88jsbDBIjjBycMzXf Xpmvr8r6LXD7sPo3GXHELCoQNk68UqeTdnM7I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lBP9QPie20XtTxSBnOWW8k2+GL1mfeqNCoiNavu2SL8=; b=dWBv8WMXFX1WGDfr3BjJSWCk+j0xrXxGH0A6wBC34AJbNR6L15QFT18AllD2n6XHyC wAnAmUBS+8hzdveotN1gdKCnKvgNorsQ4mVrq3Xgdl6zYcK85f/RUIdkEmtPxza6xarX zaIm+TS7Hv/QVrxpQdWKl4W6YGzu0oT8mWKgsmzxz9iDDsnTCY6L/uvhp4fdrZa8ySmP 3sKl5ziHV9zKtuqVFYagdk26+2l/gwrDLBlJGSMprkbYv4y+mAyAvnzV5wCnIsrY2yxd QJbZIgnho2bGhBtkFo+kMe/k6iIbkUC5hX6teaYYTeaHW2mtA2lWvIi7H2CRpCTTOCCB 68Lw== X-Gm-Message-State: AOUpUlESN2PSvNZgh7nbhVtGHiJCCPRr7/uTjmotby/4gT7HXrh1cKkc GERArHVNHjOwyxv/TukIPiH3Og== X-Received: by 2002:a1c:84d0:: with SMTP id g199-v6mr4123171wmd.90.1531484271923; Fri, 13 Jul 2018 05:17:51 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 73-v6sm11470712wmu.37.2018.07.13.05.17.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C7E763E07DF; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:36 +0100 Message-Id: <20180713121741.19262-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d Subject: [Qemu-devel] [PATCH v2 for 3.0 11/16] docker: add expansion for docker-test-FOO to Makefile.include X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows us to run a particular test on all docker images. For example: make docker-test-unit Will run the unit tests on every supported image. At the same time rename docker-test to docker-all-tests to be clearer. Signed-off-by: Alex Bennée --- v2 - docker-test -> docker-all-tests --- tests/docker/Makefile.include | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index fe63aacf69..e32c35be0d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -151,7 +151,8 @@ $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPR $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \ ) \ $(foreach t,$(DOCKER_TESTS), \ - $(eval docker-test: docker-$t@$i) \ + $(eval docker-all-tests: docker-$t@$i) \ + $(eval docker-$t: docker-$t@$i) \ ) \ ) @@ -161,7 +162,8 @@ docker: @echo 'Available targets:' @echo @echo ' docker: Print this help.' - @echo ' docker-test: Run all image/test combinations.' + @echo ' docker-all-tests: Run all image/test combinations.' + @echo ' docker-TEST: Run TEST on all image combinations.' @echo ' docker-clean: Kill and remove residual docker testing containers.' @echo ' docker-TEST@IMAGE: Run "TEST" in container "IMAGE".' @echo ' Note: "TEST" is one of the listed test name,' From patchwork Fri Jul 13 12:17:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141879 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp742760ljj; Fri, 13 Jul 2018 05:30:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe/GbwAFNP2RmJSpYzZAxvRPgq5Zbm05tQm9kc5+pM1JDjcQp7zFpiC1cyfhJc4axtt3w8E X-Received: by 2002:a0c:d5b0:: with SMTP id g45-v6mr6789454qvi.162.1531485002869; Fri, 13 Jul 2018 05:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531485002; cv=none; d=google.com; s=arc-20160816; b=OU0kr12473w5LFw9ckxt/5QnPqjDLkcegDGaChYZ16zQZyeGwhVz14lUOg+zLuXybD 4laQgfDHBZ7IXv1ikx6QXU1ivGgi2fsnsza12S7HwUDm7JB+KFoJ03WFeoAPc3eIo15p /DD3wp+uOEgyzBbeCDOVhH1/hoI9bFL36Fpl/kQF7/x/O8Wp/buUEFDh/jJRILpkgZD5 /IH75uwTwChTlXCgcvhWoljE872SuQl8xGSLjoRyynQB/Rg7Q/SJL+XZhukdcYlQItBA iGaC66ZHobSGx+Rz2aQ7UxOcwZl2X7lNjkZksBwUJzis/aGI0YrQ55iwmkyT3x8pHnCy rl7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=fkW34Ukxv5r13E+snBuRqSy0q9jT96LqwwJjgNg8Gfc=; b=GQYxt9QYwwskCGKiuOKXOziydLqltjw59elXi+aOFvcdhCZPZvN5eaFGoDUohyqs5y pUQX4z8LKbxoh4cP81sKmVQP4RQ57GGR5avAvj2tiZEw30/+P7ds32G9lr036i7Q8rUN ITy8/qm2SiRmrtrhDrCuaq9MzEgj4VZ8dGSm4KI88gP8chZG7GA9Gd4eFYM6bHK7DayO lpNhCS2PVayF2/HcmYs+t4yRJ+m1n6wlVbM5/ZoFAf/Be4w6ZSr2BnKJfZtgZkp7G50R VtQUE2p8GiUSkd4iLJYCE/JGNxKTnFFMXRo1T/ib77tMR0v7yrmeyVMH7VdGtcZvFewm tarA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VdW51k+P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t21-v6si8298664qtg.392.2018.07.13.05.30.02 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:30:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VdW51k+P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxD0-00066l-AS for patch@linaro.org; Fri, 13 Jul 2018 08:30:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxAR-0004I9-Qd for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdxAO-00023g-MC for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:23 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:33029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdxAO-00022T-FM for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:20 -0400 Received: by mail-wm0-x241.google.com with SMTP id z6-v6so4411870wma.0 for ; Fri, 13 Jul 2018 05:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fkW34Ukxv5r13E+snBuRqSy0q9jT96LqwwJjgNg8Gfc=; b=VdW51k+PQVvxZUOP5/k6oRoi9k+fHM1Qa78e72d1BpApfPCEx1tdWJoGtTr0NKM8NP 6r7bfxM45tMPCz187plT20StTAJWdg4Cg18fVkdtc198wb9PMCMQwNCKXyQ94jrwzF4d jSAqkpfDURZPnLWMG9EMbs532p3lG04+Fs2F0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fkW34Ukxv5r13E+snBuRqSy0q9jT96LqwwJjgNg8Gfc=; b=N6nq26ed9rL7MyltIRPpnMwtjO/YIPTqbWbezL7kJo2csM66HcSQlKBgQyGJbD7uAP nZQPqJ9zYNcO4ESTnbmB0qukHNS2n4KRV0tMth4LvQcGCecnFYjMNk2xfuVXzatNQNs7 E/vyxnLhk/1gLkK9rJq1q5sBwEBofqG57XIIm5/i5Whmn3nTt2jWU/2TqSAW+/eO2UMk mQZfT/NAOiI52zfEhVj1IeIzRH8yd3+nND8uuoyyp/59HFW7oF/7AJx6o0dEAlQH+SL3 WprSP+njFJLRcxKG/k6tQRWa/KsHaI9umE4IPJIs1k1QPU/ieEsJDC/GURa6VZSozX6n uKeg== X-Gm-Message-State: AOUpUlGpT7mmrwuo8maY/3HaJbljlqL2CGRoh2th/+TEaYyxeLTC74HL xMRqUlULgn3s8P1oo96xLXd7Mg== X-Received: by 2002:a1c:93d2:: with SMTP id v201-v6mr1761597wmd.77.1531484839339; Fri, 13 Jul 2018 05:27:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t70-v6sm1432729wme.7.2018.07.13.05.27.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:27:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id DA7913E085B; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:37 +0100 Message-Id: <20180713121741.19262-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PATCH v2 for 3.0 12/16] docker: drop QEMU_TARGET check, fallback in EXECUTABLE not set X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The addition of QEMU_TARGET was intended to ensure we fall back to checking for the existence of an image if the build system was not currently configured to build it. However this breaks the direct use of the rule for building custom binfmt_misc images. We already check for EXECUTABLE so let us just use that as a proxy for deciding if we are just going to check the image exits. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.17.1 Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index e32c35be0d..ec23620153 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -58,13 +58,11 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker $(if $(EXECUTABLE),,\ $(error EXECUTABLE not set, debootstrap of debian-$* would fail)) - $(if $(wildcard $(EXECUTABLE)),,\ - $(error Please build $(EXECUTABLE) first)) $(if $(DEB_ARCH),,\ $(error DEB_ARCH not set, debootstrap of debian-$* would fail)) $(if $(DEB_TYPE),,\ $(error DEB_TYPE not set, debootstrap of debian-$* would fail)) - $(if $(filter $(QEMU_TARGET),$(TARGET_DIRS)), \ + $(if $(wildcard $(EXECUTABLE)), \ $(call quiet-command, \ DEB_ARCH=$(DEB_ARCH) \ DEB_TYPE=$(DEB_TYPE) \ @@ -136,7 +134,6 @@ DOCKER_PARTIAL_IMAGES += debian-tricore-cross debian-powerpc-cross fedora-i386-c # broken so we need a qemu-linux-user for this target docker-binfmt-image-debian-powerpc-user: DEB_ARCH = powerpc docker-binfmt-image-debian-powerpc-user: DEB_TYPE = jessie -docker-binfmt-image-debian-powerpc-user: QEMU_TARGET = ppc-linux-user docker-binfmt-image-debian-powerpc-user: EXECUTABLE = ${BUILD_DIR}/ppc-linux-user/qemu-ppc docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user DOCKER_USER_IMAGES += debian-powerpc-user From patchwork Fri Jul 13 12:17:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141871 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp737574ljj; Fri, 13 Jul 2018 05:24:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf+N+DhKqXme51V/NIzQyqLGXUJmiG/X7lhuAVsrSEaXMTR8cDN3amTJUDRJOzO+CnO8EGb X-Received: by 2002:a0c:9dc3:: with SMTP id p3-v6mr6844708qvf.211.1531484682210; Fri, 13 Jul 2018 05:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484682; cv=none; d=google.com; s=arc-20160816; b=u7h+WR+qqYJT6rAdDO2f1jW8380tc9M3mNtZJzPQCfmXtc76jbeTALYyqrwsGbfeCW Fem/y5khFB7WDRG73mUikaQ0Q3LWnv2zfaApLoL0XqYGnbaXJfLcPAbJNuPDsjpfaPPs gAMVNDpAWuVQ1rQgVmCLnrNeGhEkNz/Jmdbo6ay7K2LMzptnoOf46JJYPV+syhsGMggz sDQDZGC9vrzi90eRsHtwtbPZSc3tEFHLAcxFG/TrJ8oF6tIbLxctOvn4QixO06f2FIlW b1EC0T4c9ji2MN0AlIqJ/bKs5R5L2Huj9qAaNKueK2wNqj7N4t4ahz49NuYqSEDxcSxW mUwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=WltgY+ioPBVaA4MSIqyW/3VPytavaaSl8us8SORoE0o=; b=GNRHDZ0K/S9fNACazDmF7ugMEZ4yzsF+/yN4gJVzMP30lIGbjX6MauQcbsc9e8Pe8n 3WvCtbEEFDgO9bsNirJtGi7AKU6aP33y13JOAN8WbHJUsS6TDTdTQ3IsWLbXnDz94Oh6 tDaSs1TE4oOlIvEURMkqrS7CZJHCkMC0TZ9q+azb8laNWgnrXVGbV8NQevTOOVylaaGZ R/A1Xi42SehbXZbKiyzrpInvgzMKKQ8vy2W3dyuBJdroyyh1mwFVH2MEppziBOBVBejz 46+oKJCp7Uj5cloTcEx4sSWpxxD/UkSsEIa6bdHck8fOSwHIBBMokhBGQyR7kI5wbd1k UWQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="X6v5/fzW"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u15-v6si507156qta.385.2018.07.13.05.24.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:24:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="X6v5/fzW"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx7p-0000gx-KZ for patch@linaro.org; Fri, 13 Jul 2018 08:24:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1F-0004n3-D5 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1E-0003nn-CV for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:40948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1E-0003mj-5f for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:52 -0400 Received: by mail-wr1-x434.google.com with SMTP id t6-v6so24912507wrn.7 for ; Fri, 13 Jul 2018 05:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WltgY+ioPBVaA4MSIqyW/3VPytavaaSl8us8SORoE0o=; b=X6v5/fzWMpS7NnOYpBma38LouI2O9/EjUarMo28PauEGNpBxGW7xZ2Wyd7bsM6Bjp1 cZv5wGOYVjI+ijS6g5ylGH+zxdIEdiyxNN8tapCPYTwlOqFAT5mEjOtZgUY8Kx7NP4pW YxJO/+ViQk52Eaq+l4zYUHGVbl5YyOJvpESUw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WltgY+ioPBVaA4MSIqyW/3VPytavaaSl8us8SORoE0o=; b=Y81ZFiFlcItr4tjMxAxv2KBS9V31fOB5h94riQ9nBovoYcPILjh6sB+COTaBjKjt/F BjPK6eU8M0GPES9Y/1Jn0QhUXsb5MshmDpXTPrO0fBLv0ed59XdCxQO9SOgwNy/YBcFt QjpKqtYKV+EB3/Bd8+lZle5MVw3cFNIEyUPVMuA8sAgp9imiLoNOHgnS5I3jjpqMuAsf rU5aYUjc2bEJSpPV5tmXEnXx9f/WBphUiwYjTek/pCcDd4w8r6BXr6wjZrJZm8KRm3cx J+bd0NWQLZjgWryHZwxttN9gZ16JlZfptgLb3P5XVElpMWHjTUieFn4hOHKgtD3IU7HL +aiw== X-Gm-Message-State: AOUpUlE0A11nzdSWWYNSCeH65xwUAyvK7fQlctrEWZ49pdZiXviOTRpm 2AEpIwjaD/KrtUdvsvAQnRZEqQ== X-Received: by 2002:adf:91e5:: with SMTP id 92-v6mr4252064wri.124.1531484271189; Fri, 13 Jul 2018 05:17:51 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l6-v6sm5253739wmh.41.2018.07.13.05.17.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id EDD793E08B3; Fri, 13 Jul 2018 13:17:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:38 +0100 Message-Id: <20180713121741.19262-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 Subject: [Qemu-devel] [PATCH v2 for 3.0 13/16] docker: add --hint to docker.py check X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" When a check fails we currently just report why we failed. This is not totally helpful to people who want to boot-strap a new image. Add a --hint option which we can pass down to give a bit more information. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 3 ++- tests/docker/docker.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index ec23620153..c9e412f9d0 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -73,7 +73,8 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker $(if $(EXECUTABLE),--include-executable=$(EXECUTABLE)), \ "BUILD","binfmt debian-$* (debootstrapped)"), \ $(call quiet-command, \ - $(DOCKER_SCRIPT) check --quiet qemu:debian-$* $<, \ + $(DOCKER_SCRIPT) check --quiet qemu:debian-$* $< \ + --hint "you will need to build $(EXECUTABLE)", \ "CHECK", "debian-$* exists")) endif diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 2f81c6b13b..523f4b95a2 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -475,6 +475,7 @@ class CheckCommand(SubCommand): default="checksum", help="check type") parser.add_argument("--olderthan", default=60, type=int, help="number of minutes") + parser.add_argument("--hint", default="", help="hint to user") def run(self, args, argv): tag = args.tag @@ -487,7 +488,7 @@ class CheckCommand(SubCommand): info = dkr.inspect_tag(tag) if info is None: - print("Image does not exist") + print("Image does not exist %s" % (args.hint)) return 1 if args.checktype == "checksum": From patchwork Fri Jul 13 12:17:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141882 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp752540ljj; Fri, 13 Jul 2018 05:38:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf7gXvMH1hnPDYwoyMmrdNLDqkSDeVX1DADQ6QHlSeQB7cbpZ6HsaYJQQ5xLTa7iEPNpCdb X-Received: by 2002:a0c:b0cc:: with SMTP id p12-v6mr6844045qvc.42.1531485489878; Fri, 13 Jul 2018 05:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531485489; cv=none; d=google.com; s=arc-20160816; b=kVob6neSzia0ALZLy7QM4+1h1Cl1do3FOKbXjh+YfEKgh2BXMUpKic4PYMbXj85c6w wAvkGnWRFsVSVuvxhElxC4yIDbHkIK3YKDERqTqPf7e6PeITkQem41wLkrzbsbdLHQcj FiYUztUDQclIgWDbaR/Gc+MNKHucvqRah1YEyh44DU/gookCBUOywAHi4Tx3Kb9BhKrZ /UO/yfzF0/JWu7auPwILx5zKBfURyg4oGRgWWQU8a9np4qWyUfENGmk1hdqGwo67eQ3H MIkENXU9U0htfnbXfSkwj5SebEyNJ/W1Qe8o5hY1r3p7aj479CunzYly3eF7JbDWRgCE yc2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=1MKzdoK/MCfbGVwnw3ruXmQEW5dlGctPyFI28rtTlgU=; b=w7ecrxk3ySjVijHJ2v/QZoReVVLUY2J4+oVHtlJxaQ3dWyMe4UXV34y/cSFQZp+qN2 lvpSBdnt5F++QQ5P0ZxQgVvoGezdFXLFPt+S4ra5FfOu+sAdGRkxl5d6hveMCSuGZUZX 0mPe5SEnwpEhFmWaubScifBvcQdck314wI2W5KHihmTUUgAjCKUYWyNqwmHsHA5siOiy Pg6yDja8cjpKlC/9SdTZ3n/nPnrjSfmZ4Fkl18r2McnR6DrePURhdidT/sPsLeX8vRc5 jcdKPyDcKQNjwdB9/ew8sXt+khE9n9TN1CRiq5eC0S0AhftQ4nevkSg81TCPzfy0Kfnr PDGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="CK0oBP/U"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p85-v6si25037455qkl.273.2018.07.13.05.38.09 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:38:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="CK0oBP/U"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxKr-0002hV-Bn for patch@linaro.org; Fri, 13 Jul 2018 08:38:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxAR-0004IB-Qx for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdxAQ-00025d-36 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:23 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:34824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdxAP-00024O-S4 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:22 -0400 Received: by mail-wm0-x241.google.com with SMTP id a9-v6so2405263wmb.0 for ; Fri, 13 Jul 2018 05:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1MKzdoK/MCfbGVwnw3ruXmQEW5dlGctPyFI28rtTlgU=; b=CK0oBP/U2CAylKLEFwP4Pv2gg7DHJWz/622lzJkJywtEJqvb7kZJJk/oYnHCNcIw5g qRKUib6bkiH3/Rd1NYxYyp3vJVwKfBZzyJWKUnqeY7i0urYPHcNHeeWDcY1U71nUQ1AC x2hGEKBznzoCGn1XIsIjQN+4aRremcbLX8ISc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1MKzdoK/MCfbGVwnw3ruXmQEW5dlGctPyFI28rtTlgU=; b=cLPoqC1BtKxKNcgouw+JVHqcRwlvSHG6l2MCAF0pjKgY3wtd3mxxm4FxEGMe0txIsK JScEfYo1yRj0TpxurqWvdy/L7MynrUTc7hluWvqaxMdWGpb7AySSWynPXY5ZYfwMXw54 FudfvzfgYDUVDBhH/5waOSP+izuC9iyW519mSpcAkCR3SPGqvmYAPD5TuCOyqKhwmaVB PLj4VtdMIXsLt4adX0/O5cKK/guBxF0XK7SWYlAU5DHP387rD+BZAT4G+wpa+kl0UVEt zyMvznpoA+nba8uZ0GXlPF0FmraxdBN+3fQbJxJ2d+6pLJEJosmrOFuPa14lJcCvIvjX 4Z/w== X-Gm-Message-State: AOUpUlGLPyMXLCaI5uLFe6/AeMawUucAiurCcCI2xO/Il06q1yRvne59 9cS7LWYvkjFR9Y+6bURUyaVJLw== X-Received: by 2002:a1c:ec9d:: with SMTP id h29-v6mr3964190wmi.94.1531484840919; Fri, 13 Jul 2018 05:27:20 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z18-v6sm21263354wrr.76.2018.07.13.05.27.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:27:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0C3623E0949; Fri, 13 Jul 2018 13:17:43 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:39 +0100 Message-Id: <20180713121741.19262-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PATCH v2 for 3.0 14/16] docker: Update debootstrap script after Debian migration from Alioth to Salsa X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé This silents the following warning: Cloning into './debootstrap.git'... warning: redirecting to https://salsa.debian.org/installer-team/debootstrap.git/ See https://lists.debian.org/debian-devel-announce/2018/01/msg00004.html Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-bootstrap.pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/tests/docker/dockerfiles/debian-bootstrap.pre b/tests/docker/dockerfiles/debian-bootstrap.pre index 56e1aa7a21..ea324d6e4a 100755 --- a/tests/docker/dockerfiles/debian-bootstrap.pre +++ b/tests/docker/dockerfiles/debian-bootstrap.pre @@ -62,7 +62,7 @@ if [ -z $DEBOOTSTRAP_DIR ]; then NEED_DEBOOTSTRAP=true fi if $NEED_DEBOOTSTRAP; then - DEBOOTSTRAP_SOURCE=https://anonscm.debian.org/git/d-i/debootstrap.git + DEBOOTSTRAP_SOURCE=https://salsa.debian.org/installer-team/debootstrap.git git clone ${DEBOOTSTRAP_SOURCE} ./debootstrap.git export DEBOOTSTRAP_DIR=./debootstrap.git DEBOOTSTRAP=./debootstrap.git/debootstrap From patchwork Fri Jul 13 12:17:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141881 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp750197ljj; Fri, 13 Jul 2018 05:35:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeF7JSIrgf89NbzPK2GeI6r5h0UkLy/NQIbADsLbu16eQBvgGj1xm/1HQHlnG0YRj+oW6v9 X-Received: by 2002:a0c:8d8e:: with SMTP id t14-v6mr6961402qvb.32.1531485348454; Fri, 13 Jul 2018 05:35:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531485348; cv=none; d=google.com; s=arc-20160816; b=nbyHAc5mu+NpBBgIEw/qTnH7qao6ZKapWu9B4Cq5Rb8AQrz8smKYLPKKi/E0q7nGa2 5B1I+6K7wGO7twRzL1xIjEIevDg358u5n5TaT5LvtZg3rmpoCLxlD4jNzZQgYNNbSHEF nvgJxoLubQjfvWs+MrjGrEj8qXBXBqd6VGwDcHiOWC6RKA+SIbuWyOuVHDvXRPFcrPym Tx6SKHE7q7ntIEDD55LTTQMXTC6hls4Etl8t7yu7rrWnXAcVO//OiOXeUsJ8IQEwysSp t2UVzfT+REWSGYY8mqjRA9NeEi7dO4yvkwdY9YAJT1gSU7pO/mT+B9vKxY0CBfZDdeHS zHHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=i/8W9ViYkGFn+cSJ2UNXYPq4VCxUbB5XVHkWk2/3DAc=; b=F/P9XuCzVBgftruL4IffD0BmSrTFss8YzlxYyGGpueMpJ01Bnde4uTNIzYZj0TKuYI bJhmcuJnQoy+aZZjtLmFUgzMjLucI1Q8L9wvfYSJJ2ookjr0BJJxj5RG18hHcxRcZhNL 7jH+0bxkHB8SqHT2YZXKTcl+Hmk1AISx4qFKvYyfy6sx7f678zZWm0iKx4OKJaCSkxK5 jVpWQp9CcXXQwVecXm099FCLqwjiZArorAmRunFoAiyDm/5GzssGyvce8fVTaDGIWHEm gYp62wD0tmM5wf/sie40JEqG/+grV225Zg0ZUgYgo/1Wa67t5JZOKODnulq02bB/bSjc 52Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=i4kdlOuB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id w22-v6si6245920qtk.235.2018.07.13.05.35.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:35:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=i4kdlOuB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxIZ-00017D-TA for patch@linaro.org; Fri, 13 Jul 2018 08:35:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxAR-0004IC-RB for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdxAP-00024K-AC for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:23 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdxAP-00022p-3c for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:21 -0400 Received: by mail-wm0-x244.google.com with SMTP id s13-v6so4408889wmc.1 for ; Fri, 13 Jul 2018 05:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i/8W9ViYkGFn+cSJ2UNXYPq4VCxUbB5XVHkWk2/3DAc=; b=i4kdlOuB/fug/AYPyDNgWrjJpH096sczJc3fyM4FBcwejF9RofuQOkLn1HxA/9SkWR 6UHA1Y2FbdludxukID9nHuxpaXlCUgGInMLzXWxx2O95+EDd/f7mWKEi0v8LtISMe7AP GTHFEHMxMayhE/KFA+Jb3esiUwEk6PhzRgbDM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i/8W9ViYkGFn+cSJ2UNXYPq4VCxUbB5XVHkWk2/3DAc=; b=kfcYDZtyOkPwQMeYpYPeWnztyEB4R6rBocF3m/zAerr5H/gRcObJLoRH/fcdvE2ESs BJa504owOBzOGiX5vnY91heQAYAvZmwWxcKdr+PINCd2u/adkSfUwQWwJapTil/CnPh7 ujt6U/GAfxHkjl+d9PHAOSCkavQ9Ro9ICYTv1DkvFlL4qxFeTQHSO9K2tqj2JKMAIfZf zrGZpbZ4bLpY9bAWOAPddVGibq3BeggtAIiV6/+4gkjP+vfT/x+RIRLbidBP3fsqxTxK +QuNSd286BAYkysdwgQ4DdFBqRefjucV5Fo9033HDHFzUPrQ3C+ld5/nxZcAmYxwRvv+ mgBg== X-Gm-Message-State: AOUpUlGGJ60kr41Kr27f4c1F20b1M0PJ2iZsJ0NMCJFwqNUNdqzDT+s2 LNh8fx/MUPc2072Yxn1wnWQSYg== X-Received: by 2002:a1c:ce0a:: with SMTP id e10-v6mr3543953wmg.135.1531484840033; Fri, 13 Jul 2018 05:27:20 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u4-v6sm18343643wrt.31.2018.07.13.05.27.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:27:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 1F15F3E031F; Fri, 13 Jul 2018 13:17:43 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:40 +0100 Message-Id: <20180713121741.19262-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH v2 for 3.0 15/16] docker: add commentary to debian-bootstrap.docker X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is just a note that later versions of debootstrap don't technically need this hack. Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-bootstrap.docker | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-bootstrap.docker b/tests/docker/dockerfiles/debian-bootstrap.docker index 14212b9cf4..e13c26a7ed 100644 --- a/tests/docker/dockerfiles/debian-bootstrap.docker +++ b/tests/docker/dockerfiles/debian-bootstrap.docker @@ -9,6 +9,7 @@ FROM scratch ADD . / # Patch all mounts as docker already has stuff set up +# (this is not needed for later debootstraps but is harmless atm) RUN sed -i 's/in_target mount/echo not for docker in_target mount/g' /debootstrap/functions # Run stage 2 From patchwork Fri Jul 13 12:17:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 141875 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp740432ljj; Fri, 13 Jul 2018 05:27:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdS538MwlaOskph3BfZ/NNjK0J7jXiioeZTBh87ncmkHgXxmJCl++jy9eo1ktmMrJ8M7tGb X-Received: by 2002:a37:e112:: with SMTP id c18-v6mr5172908qkm.65.1531484867735; Fri, 13 Jul 2018 05:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531484867; cv=none; d=google.com; s=arc-20160816; b=GpvS43zXg3ayR1A9fqjlnfCl7+/pfb3BMqdq1CFhl7Ey2Uqdz83y43+K9SEjgMR6Ka 1ha845p4vOvzpETzYku6CS1xAx31Db07+vZQAvssrmnAARE0wdKHu3+hHEqdLnrFBHfo S1pvW2mYhoz21/LjNL7u399vvHzZ1MFoI9m3+FwQmChTxMCBgO2/CL4gAhl0a/wVKZd3 lbW175Y5UeBW3hIpYJfKY6OrQuBb8GpGzvdWKmuSEO3mDAXFuHDpH+ZnDN8Rg5xaJZsW spLVmiNa+xoC3ZWbmVxzTKywJKB//7OpKSk/X8I8x+qkU92hxgl63Rbjl8rPOZ9Oq/KZ d3XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=Wk0/gw3LtEHx/P7dGN1Ku+ZavBi7dRcefqJI6nV3CnY=; b=zk12ASFLchPCIDFYP2uX032z5rVXXHyuuHynsp8v77CLSnblFRLOXaeQPpFZTMEJ/z OMTIfslCUDCgLO9cQj8VKGB/XG8tMT3AKB2zixFOMqxAJ3CEQxZi6sMsQfCjeDNU6pV7 rKO66v1AgGMMnDLbuUiDGnjZ0W2vFW1u5EsioOmOai+46mmJdmKSZfdH4l8iR5l7UcP+ fOwd2R+2iNo6M+mSSo3A9/mMMIRZbkiueyKSUUmDFjWiiFttx6yeX87rsEIVrnYZsIgI dihO1AR09yaQ8p1Bc6ujYzgiIOePjxoWHZAblQ3lPvvuS0/xqvKhmEMhB/Bmnaxz2vTs ltWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Ytt5h3Yk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id r24-v6si4620106qtn.77.2018.07.13.05.27.47 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 13 Jul 2018 05:27:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Ytt5h3Yk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxAp-0004Kq-5l for patch@linaro.org; Fri, 13 Jul 2018 08:27:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxAS-0004Ic-B0 for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdxAR-00026n-4G for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:24 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:37088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdxAQ-00025t-Tb for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:27:23 -0400 Received: by mail-wm0-x242.google.com with SMTP id n17-v6so9264634wmh.2 for ; Fri, 13 Jul 2018 05:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wk0/gw3LtEHx/P7dGN1Ku+ZavBi7dRcefqJI6nV3CnY=; b=Ytt5h3YkzBSpRHA4lpQ3qal4zI99d04aAK6XwTo9OMONTDNAH9cjM9WFciuNCa3vXM TNBfndZ3/j3nAP5DXU6EQbrHZfpr/4D1urNfv0tLrU07huPXC9AQ8dC35x/Mf78mLlbh k0bIIw+Rv0zbo2Z+9rO7RR+DznS/a35rCrAGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wk0/gw3LtEHx/P7dGN1Ku+ZavBi7dRcefqJI6nV3CnY=; b=YJBOgjQy5aYbLBoSWyzKY40xlAm8lO9hzXFGZcEtC3FUjtUt2ECnSpfQBTmMShJpE7 x2eIbBv+WlQKhh/ny2EBHHdKI01hmvQH4D5YmKmQwhMwuMriboQjPR2as7kdcd2IokiB UoHdaKwak3XNkPgiB4xVNXHtF8DGi198PHkucva3z1UY9uQsI66JrboJUW8rHTM4uJjG sm5/ZAMvbPjuotG3jkRXQGX2Oo4RbIT/oZ1KJ+2b5qp17TjLJr5oPbVR31G17d1ODIJ4 wbp2FiKRv6X36j1tVZstSdhsXARrfrS6yxEZVYhK5ec4ZOrDszwvt6jNr4JCpMr1rVEf pWSw== X-Gm-Message-State: AOUpUlFhWerheJDxZLSUYxcISwyihCyguaPvnO7hk2DkC1aW71Pzl8Zl U1iocOblP3JB5i6msB5Xz81f7w== X-Received: by 2002:a1c:6546:: with SMTP id z67-v6mr3585540wmb.130.1531484841825; Fri, 13 Jul 2018 05:27:21 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o10-v6sm24716877wrw.79.2018.07.13.05.27.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:27:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 330683E0969; Fri, 13 Jul 2018 13:17:43 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 13 Jul 2018 13:17:41 +0100 Message-Id: <20180713121741.19262-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PATCH v2 for 3.0 16/16] docker: ignore distro versioning of debootstrap X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We do a minimum version check for the debootstrap but if the distro has added their own minor version tick it would fail and fall-back to the SCM version. This is sub-optimal as the latest/greatest version may be broken at any one particular time. We fix that with a little sed magic on the version string before passing to our ugly shell versioning check. Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-bootstrap.pre | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- 2.17.1 Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-bootstrap.pre b/tests/docker/dockerfiles/debian-bootstrap.pre index ea324d6e4a..3b0ef95374 100755 --- a/tests/docker/dockerfiles/debian-bootstrap.pre +++ b/tests/docker/dockerfiles/debian-bootstrap.pre @@ -56,10 +56,13 @@ if [ -z $DEBOOTSTRAP_DIR ]; then if [ -z $DEBOOTSTRAP ]; then echo "No debootstrap installed, attempting to install from SCM" NEED_DEBOOTSTRAP=true - elif ! (echo "${MIN_DEBOOTSTRAP_VERSION}" ; "${DEBOOTSTRAP}" --version \ - | cut -d ' ' -f 2) | sort -t . -n -k 1,1 -k 2,2 -k 3,3 -c &>/dev/null; then - echo "debootstrap too old, attempting to install from SCM" - NEED_DEBOOTSTRAP=true + else + INSTALLED_VERSION=$(${DEBOOTSTRAP} --version | sed 's/debootstrap \([0-9\.]*\)[^0-9\.]*.*/\1/') + if ! (echo "${MIN_DEBOOTSTRAP_VERSION}" ; echo "${INSTALLED_VERSION}") \ + | sort -t . -n -k 1,1 -k 2,2 -k 3,3 -C ; then + echo "debootstrap too old, attempting to install from SCM" + NEED_DEBOOTSTRAP=true + fi fi if $NEED_DEBOOTSTRAP; then DEBOOTSTRAP_SOURCE=https://salsa.debian.org/installer-team/debootstrap.git