From patchwork Wed Jun 19 19:40:07 2019 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: 167260 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1136759ilk; Wed, 19 Jun 2019 12:54:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJEPiubkOGaW726G9NUzJJkNlUmxUYahakwWyhSk0GoIgGCwUi9wtFT6O7utu3ayBMQSaI X-Received: by 2002:aa7:d30b:: with SMTP id p11mr95139908edq.23.1560974091445; Wed, 19 Jun 2019 12:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560974091; cv=none; d=google.com; s=arc-20160816; b=oIdrPEw1aAQthyhXbEcevtHa351zsBnc3rx/Rn6WiSlTYBjI2tA8S2gxPElnpnndFZ Vf9Zyz9VmvsWMWz8X+5Aaz5iIjv//hfSDfKcPoXbv/5Xc+81rOCRZk8SMhPNkclgJbvt qLuOqw/o0qAtpHwkO+Mtb1kMO7ErVXuuiky/TvDRvj0vKruH62E4p57nk5dMHnsezN6c YwxvS/zo3VRg4FPu4MiqNbg6TYpttVF06rYL5F6pmaehCOhuxKGSBs34Ub6nSYF1YTIV jSgScNV2z/nXl4DsAmO4A2mJQWuxhem6R7MJ84fL1reYBq96GNesBesG5nqRwPmbDCLu 4tKA== 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; bh=agoXBU9KBwBvYhLupQKySupZDhJoyEvavC+P1ObpTUI=; b=fhco5JhbtbMNGs5ckRpGd95+cEBnZP3Ix/HdRPycc0jUT4TgSRp4NMVfK/wGjsEe/p H6AYywKTNvcJroxswBQQ2Kkq/lLgf0rYNadNDY8HhJYSVN3BB99xdpAHlvDQNbiv3mLI 9GuHvwMmiRgqYW/L8ADPl8bDkSBapL8nbIM9EkoOrfOHm4gGiRHrrHd8J7hejO+RFUEr KDaZygn3E7HdiO4RtEEkF4LDSqQvGfhIaz3d7Ju3j6yjnQmDQHfBs5aBL5Jo9gCIA96X kion386D3T6HHiFgseCj57UOMBC5lKHfYwioDeYGjLvOQheNA9noB0+zkqQar5CGBz1R fyAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LenmuXzH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id z51si15127659edz.300.2019.06.19.12.54.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jun 2019 12:54:51 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LenmuXzH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:41488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgfS-0001AA-DP for patch@linaro.org; Wed, 19 Jun 2019 15:54:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53896) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdgRX-000643-Ct for qemu-devel@nongnu.org; Wed, 19 Jun 2019 15:40:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdgRW-0008TA-4x for qemu-devel@nongnu.org; Wed, 19 Jun 2019 15:40:27 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:37569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdgRV-0008SS-Uh for qemu-devel@nongnu.org; Wed, 19 Jun 2019 15:40:26 -0400 Received: by mail-wm1-x32e.google.com with SMTP id f17so709071wme.2 for ; Wed, 19 Jun 2019 12:40:25 -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=agoXBU9KBwBvYhLupQKySupZDhJoyEvavC+P1ObpTUI=; b=LenmuXzHbJZYCZiqMPSJt1R8ChPKFru3KZsS+sKjyzc0whAIF7NtQ3dwN1K7zsOICy w1bT48CttJsIQ3R1T6LUolybx5swIE8PX3E6+9JwbQsXgnfHmrU6sVIXvU2y1a1dRHSg PMp3RjeG0arjOQ0UDXfOC9pK7Jr4ZRrs+YHw7Gh0+OLsyHQ7V+5bujLHWA35Yqn2j5Io 3UViTwYtLu+QoKM3OJnsrNPxwbVFaOfaTx0WkWLaxKfW5aEn7jZ7iMBCLrEfZIsfEyib tYsGL61+v6lAae6lRTEyVeV1UxF+U0IS2dXheFWhEfHgjVpfP31EmPk/JqocV9P3qj8q Luog== 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=agoXBU9KBwBvYhLupQKySupZDhJoyEvavC+P1ObpTUI=; b=A4n3vvL3rDavPvKnl4hAf2VfiLDROsTupNKRQtN4sZk7xuxKGbv/y8TyjwCj31uS6x gBclMIdLO25PRcZs9Z4C3WjXdOUJ5WN57AW5AkMFZ05WsyqnSEf/uZcEYcb6gql+5TBl XeVZ4J5Vw7JthARs/9BtrjJXUHL+cpAYEGDLkKqslkBhpbDdM2UATyrQxbqDNO+8LIqT l0V84W4THk/agL1KNi28cRHaUwV5CwqQ/B9zkLfTOqIhijVr459bm17lqRmQ67FbZle1 +PQXnGZ8FCh87/jdPftUvKVVMw8tfMJzZ2Q/WnUiTqtHvRE5t3ixy7V/wNRv81lKlpzv kHTw== X-Gm-Message-State: APjAAAXR9DgYZjCpLy1bhNN374XFOa+UbMm+i8+38qHCLf22kDWZ4eaI UHc3fen5+DiYOzr51wkm9uTw6Q== X-Received: by 2002:a1c:5453:: with SMTP id p19mr8935717wmi.148.1560973224759; Wed, 19 Jun 2019 12:40:24 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r2sm3356988wma.26.2019.06.19.12.40.22 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 12:40:22 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B86581FF90; Wed, 19 Jun 2019 20:40:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 19 Jun 2019 20:40:07 +0100 Message-Id: <20190619194021.8240-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190619194021.8240-1-alex.bennee@linaro.org> References: <20190619194021.8240-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::32e Subject: [Qemu-devel] [PATCH v1 03/17] tests/vm: pin ubuntu.i386 image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , Cleber Rosa Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa It's a good practice to always have the same components used in tests. According to: https://cloud-images.ubuntu.com/releases/16.04/ New images are released from time to time, and the "release/" directory points to the latest release. Let's pin to the latest available version, and while at it, set a hash for verification. Signed-off-by: Cleber Rosa Message-Id: <20190613130718.3763-4-crosa@redhat.com> Signed-off-by: Alex Bennée --- tests/vm/ubuntu.i386 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index 12867b193f..7017e6d388 100755 --- a/tests/vm/ubuntu.i386 +++ b/tests/vm/ubuntu.i386 @@ -61,7 +61,9 @@ class UbuntuX86VM(basevm.BaseVM): return os.path.join(cidir, "cloud-init.iso") def build_image(self, img): - cimg = self._download_with_cache("https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-i386-disk1.img") + cimg = self._download_with_cache( + "https://cloud-images.ubuntu.com/releases/16.04/release-20190605/ubuntu-16.04-server-cloudimg-i386-disk1.img", + sha256sum="e30091144c73483822b7c27193e9d47346dd1064229da577c3fedcf943f7cfcc") img_tmp = img + ".tmp" subprocess.check_call(["cp", "-f", cimg, img_tmp]) subprocess.check_call(["qemu-img", "resize", img_tmp, "50G"])