From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173238; cv=none; d=zohomail.com; s=zohoarc; b=MP1F3eatQoqo7965P35cLzVqdlNMnbhxtUF0JpYpKQwQ+cPXcpUfmhbX/5zZt1EFshDajclkdxn19faDLmQl1jrjWVmbYFECCmdwpWQu0/csuHSIWO9gdiQpBqOE00/u+wXBSRvBp8LWbE6hlWxZ5bmXX1cjib8gAjGS858J+oI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173238; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ypGQ7p6JhBF1xniDHKxYj04bd6tWT9PMX3hkKC2YjOA=; b=BpzI+5TAnH7jJICVzWWkg75BK9YrubmYep2TVwmxm+vz1bM3Z4eTQEnixrNkhv1M09hQpTB1eNomq8FTEC5B8b6YaprVzaBR/jjG3ReTTgq3iOzsqj53aLHLjpgaVGZLsVKx6lyJY7JYHgLmEACSemaPcOv464sSJ5kIy3cUAqM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173238505595.4101371141751; Mon, 2 Mar 2020 10:20:38 -0800 (PST) Received: from localhost ([::1]:36902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pgD-00042W-9z for importer@patchew.org; Mon, 02 Mar 2020 13:20:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43484) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pep-0002Qf-W3 for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pep-00017Y-1k for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:11 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:35877) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8peo-00016l-Ra for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:10 -0500 Received: by mail-wr1-x443.google.com with SMTP id j16so1008289wrt.3 for ; Mon, 02 Mar 2020 10:19:10 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f195sm314306wmf.17.2020.03.02.10.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:08 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 92B7A1FF8C; Mon, 2 Mar 2020 18:19:07 +0000 (GMT) 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=ypGQ7p6JhBF1xniDHKxYj04bd6tWT9PMX3hkKC2YjOA=; b=HyTDue8Fh0MTVFLh3fmkpnayOWqYSG/5iYgbPC48G1HzoVh4a73ZHCo/xFpOaIs5WM TaWpuFTWgY1GWJiP6HdX8igNvKdlI5198zMe4qXp8MtkYQH8fiDtcTrfP5Y6tj7B2fr9 pCCRAlZQsSzBmPQjGwdhKVHZzZEJNnMOhPNCWiz87aMaqujbqmZdF1ekjoA6NNZwWR4G ZNQeJHlHyF+xt24uXMCdlHisst3ssU5kFgDLeTCDtzYDhcYbINlddmW34GiWo1SONvXx k8BWy8qgWaHJna6tg9ql5TKT+KhbyBiuMKEljQlCWZckVd1KTiB+7cuDSsS+PtNT+NUk WLgQ== 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=ypGQ7p6JhBF1xniDHKxYj04bd6tWT9PMX3hkKC2YjOA=; b=i3nDzW2MsES8njuc+8IKVG7HXKeuLSQRBs7/fZmPPywsbpVIY9iAjmVI2L2O5fNd9h FdAvPsGM6lc5ikwxd75uUmBVM5+ER82lDpDXHS2Eg5vvwXkvrojK6B8xXDw43sTo/lOI e441Ppya9DyzVoBg3vIsys0ujqEV/DJ57/t9B7SyAdpxw3VZIYlmsxwWp1oMDWfKwLDK g1JKgNMMsPbOGzP6gdbwlDrO4W9+eAaXQSjCSTDjbzkYWitRW2c278U94FY8UsoMs7CK kkLE3/aTzdoyDiPrt+AX+d8TZXgXPK0Xd53dHeuxbAP4V1+HbWKpWCSS+TVZtMQzQkFA +xyQ== X-Gm-Message-State: ANhLgQ3fmHTG33uMYqH6mPWW0Gm6q5gh9Dlj+S7kR7L7AMWNhD4LciIU FXGcG2Dmj2v1tCM3qNnZKUL2FA== X-Google-Smtp-Source: ADFU+vvPzl1qISXuBElhaf/Xg+P5ENgNq0dNGPoRMZe9u1rb2d+emiP6G3dKERRS6QvukbJpWWpyHw== X-Received: by 2002:a5d:4fce:: with SMTP id h14mr798919wrw.177.1583173149793; Mon, 02 Mar 2020 10:19:09 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 01/10] tests/vm: use $(PYTHON) consistently Date: Mon, 2 Mar 2020 18:18:58 +0000 Message-Id: <20200302181907.32110-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 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 , Peter Puhov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Robert Foley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Robert Foley Change Makefile.include to use $(PYTHON) so for vm-boot-ssh to be consistent with other cases like vm-build. Signed-off-by: Robert Foley Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Peter Puhov Signed-off-by: Alex Benn=C3=A9e Message-Id: <20200219163537.22098-2-robert.foley@linaro.org> Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/vm/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 9e7c46a4735..778e5067554 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -80,7 +80,7 @@ vm-boot-serial-%: $(IMAGES_DIR)/%.img =20 vm-boot-ssh-%: $(IMAGES_DIR)/%.img $(call quiet-command, \ - $(SRC_PATH)/tests/vm/$* \ + $(PYTHON) $(SRC_PATH)/tests/vm/$* \ $(if $(J),--jobs $(J)) \ --image "$<" \ --interactive \ --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173336; cv=none; d=zohomail.com; s=zohoarc; b=jtlIXCmmG7Si6lC9l8TnCrARgH2nC+nWhmAdVMhW6wBhRLQIWvIgEBw3c93faiZuxLTZnd67zj4y0VOXinDKrmKfnQbCHcGQMMw8sBeCxttq0jsM7i5NdqUewYCYtLdDp5caTSo4tmcO95CM0cZAgqJxaF/N8A2IHZwqMxG5k6w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173336; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=zdbZ47hNzKLw0EPtQH9zB6TA7y2oR0qju7k+HVi8YmE=; b=FPmXd5fLzcz170ezA5BUdaAseCdacQUX8yYCEV3WoV4QzoNu26/uHCgpPyyJrcvPJCIrbdO0AxeDLwf3HQfUsXxb6f9+p9wuFoWGPGY/CEmNpP53VzDEIcJJmZ5/xd2yBU8uNyFu0NNZ0H1MGEWd6Rm4SrsxdbIxSV24t9AT+iM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 158317333614462.0974458366328; Mon, 2 Mar 2020 10:22:16 -0800 (PST) Received: from localhost ([::1]:36954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8phn-0007ZQ-13 for importer@patchew.org; Mon, 02 Mar 2020 13:22:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43508) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pf6-0002Ru-7H for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8peq-00019L-5S for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:18 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:38705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pep-000186-VN for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:12 -0500 Received: by mail-wr1-x441.google.com with SMTP id t11so983751wrw.5 for ; Mon, 02 Mar 2020 10:19:11 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a70sm298858wme.28.2020.03.02.10.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:09 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A8FAB1FF8F; Mon, 2 Mar 2020 18:19:07 +0000 (GMT) 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=zdbZ47hNzKLw0EPtQH9zB6TA7y2oR0qju7k+HVi8YmE=; b=HTS2En3BClaOjl0qyUX3FzTmiJv1twnlQsSQoYet53CbFej6ANeF7DSWwye9fA++68 vhnRylg89DiKI1WPvud+9sJfsGnRI/Hol38r/Wm83XSiZxUZmowl2ZnLobPGKnUMpHi9 RvunD5f/0ipK0okOLXxh+NV2arnPmgWTLTd4pdP0DiW40JdEINtCycObNECXUZF1UdxM y2Z5SvQUvyOqw/e8AI5n0LldcBW3Ue7/bBR72ld+JhSGeh4AgBWa0zsMXfWHOx9igBvX WBcLlEZcJCKYUznVrV8DkTSDKNwOVXZnwjc9RGmlPfq4BhN0jyu7cAMBPXsxWZDSbZZn vqIw== 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=zdbZ47hNzKLw0EPtQH9zB6TA7y2oR0qju7k+HVi8YmE=; b=VT+CyDak9i9zHVYxjkMchPjA9bGNB9S/r49eDlG4dOwK8dTafxEAVON3vwgaOppvKt DSBpvt+cnBSbzV00C31/22lJ3EFuQ5KzNoLIy+ryqtTBeEE1PkGYWiGO1on4HEDtzxtd z6RAY0nBvS0kEkUeY1m/a4DgLQe7mGch8dkB7em/4KEAniiOvV2Fl6gixNxlFr63aLQp paYsjIi2i1jjm/ur9tmbnndAFCSCAhnchrLZuKiH0jpSfqxZfOMdQM1DXNrYk4VF3/nl XSKwedmD+Gb7eL5URS8A9StzqU8eflqV/StVQxcUXj0XpQCdKnuBkk5s5FaYkIAkU1qA +eVg== X-Gm-Message-State: ANhLgQ1gRxTQI+rVbKncjzGId7H7R4z53NS8ifmc1Bf8MbGsEU6zRL/7 M+xe/bismJbwgOBqK3LO24gP3Q== X-Google-Smtp-Source: ADFU+vvc7Iz7IWkdwpYqKdWa4epBHt1VwVU+QwO+GmyD66s6jltfDi/2aKzBlKgh0PpVPOJGcTcGqg== X-Received: by 2002:a5d:4ec2:: with SMTP id s2mr726068wrv.291.1583173150931; Mon, 02 Mar 2020 10:19:10 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 02/10] tests/vm: Debug mode shows ssh output. Date: Mon, 2 Mar 2020 18:18:59 +0000 Message-Id: <20200302181907.32110-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 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 , Peter Puhov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Robert Foley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Robert Foley Add changes to tests/vm/basevm.py so that during debug mode we show ssh out= put. Signed-off-by: Robert Foley Reviewed-by: Peter Puhov Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Alex Benn=C3=A9e Message-Id: <20200219163537.22098-3-robert.foley@linaro.org> Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/vm/basevm.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 4dee6647e6e..c99725b8c0d 100644 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -120,11 +120,16 @@ class BaseVM(object): return fname =20 def _ssh_do(self, user, cmd, check): - ssh_cmd =3D ["ssh", "-q", "-t", + ssh_cmd =3D ["ssh", + "-t", "-o", "StrictHostKeyChecking=3Dno", "-o", "UserKnownHostsFile=3D" + os.devnull, "-o", "ConnectTimeout=3D1", "-p", self.ssh_port, "-i", self._ssh_key_file] + # If not in debug mode, set ssh to quiet mode to + # avoid printing the results of commands. + if not self.debug: + ssh_cmd.append("-q") for var in self.envvars: ssh_cmd +=3D ['-o', "SendEnv=3D%s" % var ] assert not isinstance(cmd, str) --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173350; cv=none; d=zohomail.com; s=zohoarc; b=Fu02UN8dyG4pzCwqAbMXLOkFhcbCUoe5t7f0RiBugU9yP4hH5k1Y4gxUhkRobfltSRISB7WuzQahh30T/4hUT6+/aV2wgaRDK/Z+JTIWDazLpU0ed2X0jJoFM75YJrVx2zYfkAJatGj+4Wg/KC9KW0rzgcLNYbbeAMrqM1aix8s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173350; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dCr0Z8PfAqS4rx+S0HXKAf2zVkW9ZlqRt2oF49qU2FA=; b=H3x6ky/8oB9Idgu45pRkAEapoCo/wYd+5Cr2MMQNhVuemC1Xe5uCFp9XJeJrla2oD60Js4wM6lz2Qb1ZpM/TB4TttLR65i+H/GQ0hKdQ1HUf/Brf2BtsfVwVruvFDsk5NQRsmD14zyK18b3YNgQtevJ1oYVNjXiXHCWZLM5UOys= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 158317335085594.84168023340612; Mon, 2 Mar 2020 10:22:30 -0800 (PST) Received: from localhost ([::1]:36970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pi1-0008Lx-NU for importer@patchew.org; Mon, 02 Mar 2020 13:22:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43615) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002Xr-Tp for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001EI-Fr for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:38158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfC-00019i-9E for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: by mail-wr1-x429.google.com with SMTP id t11so983931wrw.5 for ; Mon, 02 Mar 2020 10:19:19 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z12sm2842292wrs.43.2020.03.02.10.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:09 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BE5841FF90; Mon, 2 Mar 2020 18:19:07 +0000 (GMT) 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=dCr0Z8PfAqS4rx+S0HXKAf2zVkW9ZlqRt2oF49qU2FA=; b=ggzu6F2Rbxl79fGhkDUyBM16K3abHaWTrABJHewKUCzSaJpB2PrWdvtwayeO1tS2J+ VNqqEXu+aODvWEB7gfrsBLU0NcA6QZqZ8uBos+K6UA55MkQVPGZ3M5BfwX304QN40L+4 kcyapHCEi9Cxa78lv1k5ltur2Hk+q91+hfp3auxUGaC/9NdEsAGR40vOEN47L7kzRbS0 o/Dit0bfq3HL7wgzzEVQmnuxzZRBQggBAf2mOFDbYW/56y5lbKyROgb4skB0PJ3i/4Q/ cWYEBQ3qHdTe4uzJy+nFA2sfTfZNrRXe6dhO8fe2r40H+DWU1XQshlHlJBXY7S2j5h8z 9vhA== 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=dCr0Z8PfAqS4rx+S0HXKAf2zVkW9ZlqRt2oF49qU2FA=; b=tGkEM8+o/tU69PYBHFWk73sd04ugW3H/NjIC5BN/KbfoHossvHGNMB51wnkh2QpbjC Gscxl5tO29W7qOAcz8b7A4iXk/OwJ0w/wALGmh+WPUjdyhVvNAdP3FRF4vkwtSTgvGiU NQBfPgclpUjjJ+iJOrECvMHm5dRhWdMADk8HcV9xVDiohlvaVYl7NUlljz07u5wN+82J ZSssvKU/L/6tf3BdVZFvkNNl2tJRwqQjgIwx4bAK6gbh/fad/QLF9OtrnufuPOwXvpNW /4KLqShxKkDuMi0oALCzQ2utRNhLfWxZXik2AvObarQhRpx+PsxTpmRkTXNRSIvBQVvh rk4w== X-Gm-Message-State: ANhLgQ3LhcHSUq7cKSG6k7lcegzfZ1BLPhQID42a+GnA7r/YrnEXSqe3 t1PgkzWIbkYiPA/6pwUBbicwiw== X-Google-Smtp-Source: ADFU+vtUocKf9bHW/GfljfYbNxyom7lG+rzzSPsRs5PNpdBMWSWP6qTuj+BOkb+uWQDmcqF4KfoC+Q== X-Received: by 2002:a05:6000:4b:: with SMTP id k11mr805024wrx.362.1583173153067; Mon, 02 Mar 2020 10:19:13 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 03/10] tests/vm: increased max timeout for vm boot. Date: Mon, 2 Mar 2020 18:19:00 +0000 Message-Id: <20200302181907.32110-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 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 , Peter Puhov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Robert Foley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Robert Foley Add change to increase timeout waiting for VM to boot. Needed for some emulation cases where it can take longer than 5 minutes to boot. Signed-off-by: Robert Foley Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Peter Puhov Signed-off-by: Alex Benn=C3=A9e Message-Id: <20200219163537.22098-4-robert.foley@linaro.org> --- tests/vm/basevm.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index c99725b8c0d..5ca445e29af 100644 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -57,6 +57,10 @@ class BaseVM(object): poweroff =3D "poweroff" # enable IPv6 networking ipv6 =3D True + # Scale up some timeouts under TCG. + # 4 is arbitrary, but greater than 2, + # since we found we need to wait more than twice as long. + tcg_ssh_timeout_multiplier =3D 4 def __init__(self, debug=3DFalse, vcpus=3DNone): self._guest =3D None self._tmpdir =3D os.path.realpath(tempfile.mkdtemp(prefix=3D"vm-te= st-", @@ -309,6 +313,9 @@ class BaseVM(object): sys.stderr.write("### %s ...\n" % text) =20 def wait_ssh(self, seconds=3D300): + # Allow more time for VM to boot under TCG. + if not kvm_available(self.arch): + seconds *=3D self.tcg_ssh_timeout_multiplier starttime =3D datetime.datetime.now() endtime =3D starttime + datetime.timedelta(seconds=3Dseconds) guest_up =3D False --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173629; cv=none; d=zohomail.com; s=zohoarc; b=KFyyX0sjc36thebCyZ07Nzz90wHXD9Z+6sb2Eo1Yer2/qJRpG9E4YVTUi4DBlg7wZ/LFdxLJ/5cl0KLRmf1Kf5cTQM+lxSVEuZZ2/GZXcqjV6dZCvUGxjdkFdei5L/9l7vANGaKObqkFiEZ/tHo4gXt/Elp/64xNh9SruohahCM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173629; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Z7tiVgE0/FNumYwGDaf9+n6Hr38jcg9tS9OSWzqMpF0=; b=oIz/STCk2saq7hppNO+j9D/Ls1udGzjntzTmhMT3zsS6PhVOumDrs7XfEd54VZQ3ZVN6aPxXWTy6pwhCiSX01qMFCdHMm3JFfAdtSmP7dP/Cou1d794utFrap8r987fdWH4dOtFBa04iSg2zIRNHSoGZBBKV4OUiuLWtS+gIG/E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173629248192.63578770246966; Mon, 2 Mar 2020 10:27:09 -0800 (PST) Received: from localhost ([::1]:37072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pmV-0006W0-LQ for importer@patchew.org; Mon, 02 Mar 2020 13:27:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43586) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002We-9Z for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001DH-5f for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:42123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfB-00019h-Ut for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: by mail-wr1-x441.google.com with SMTP id z11so946908wro.9 for ; Mon, 02 Mar 2020 10:19:18 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o3sm318344wme.36.2020.03.02.10.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:09 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D4F031FF91; Mon, 2 Mar 2020 18:19:07 +0000 (GMT) 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=Z7tiVgE0/FNumYwGDaf9+n6Hr38jcg9tS9OSWzqMpF0=; b=eVNXvTqxkgzp4va17Wq3iQBjA4MXaCuf/mi2kTxN7+BnJfrGJ/LEiv4gChYnjs+J8q xN0IZs8pugYKpJk8MnGpicMVLY9uVJ1vkzzplxOFCp16JQ4Ii4stWBZgMaRh19mMA6eZ YKPRFiVeAd4QGz+rHbRSyqUCm5UPW8jHnV9DEbtFpl/0LM/20t7uWbtECXgKxpDaoql4 SCvPXTRDW/k+2CZoj0qT00zaHUj547W+N9oK72FxY5yyrRHeMvZZfPnqIM8BcS2BEAZu AxRTw2GCouxpDYNBN5le86ILVCzTFdfEEmVsal3RZIUM7gfIIGslHYjceP6ORWqbc/c1 b64Q== 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=Z7tiVgE0/FNumYwGDaf9+n6Hr38jcg9tS9OSWzqMpF0=; b=FIAKUCTRVklzomC47TZG/YXTVZtxFukHgTg73gStQf8u8gBlhIv9uBmP2b6k3y9ce7 dDz2e6gL0nVfMPkOLe+Ud+6Onxy1WH+SyO4TaANnMdvtkBdJtpWdnuTE61fKRnbEKwdV q7QY2TteHSR0G17yF4BbG6eHK9FmbYnVrCDi3PqTyX+NITXIZZ/VEC3r9kvGShKD0oBA PN6folNpbI201qJPIErMbxX31SC+fP0PKHCcXxZjK6QtecGWF4jE/WQ864DLoPiYA8Xj DozqL8pW178GZkXbQ3RzafiJEIkqP5laOzuxDGb0LiET4JFyPQ2ZvdooGX3BteIzY2PY QmZw== X-Gm-Message-State: ANhLgQ2eqHyGLsYz/swIAD0CMifOyMDKa6sJgz3E7QU8sEsEofkhshtZ eXNpKoHw/f05dpECX0jZGVeXtQ== X-Google-Smtp-Source: ADFU+vtMYr+oWrgHcMKpJMtAtS93BWI7TmweUrJXGm8P0nqElK1zbMTyPAvVUDTtNGmHYj5MoydHcw== X-Received: by 2002:a5d:69cb:: with SMTP id s11mr758325wrw.47.1583173152151; Mon, 02 Mar 2020 10:19:12 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 04/10] tests/vm: give wait_ssh() option to wait for root Date: Mon, 2 Mar 2020 18:19:01 +0000 Message-Id: <20200302181907.32110-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 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 , Peter Puhov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Robert Foley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Robert Foley Allow wait_ssh to wait for root user to be ready. This solves the issue where we perform a wait_ssh() successfully, but the root user is not yet ready to be logged in. Signed-off-by: Robert Foley Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Peter Puhov Signed-off-by: Alex Benn=C3=A9e Message-Id: <20200219163537.22098-5-robert.foley@linaro.org> --- tests/vm/basevm.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 5ca445e29af..7f268922685 100644 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -312,7 +312,7 @@ class BaseVM(object): def print_step(self, text): sys.stderr.write("### %s ...\n" % text) =20 - def wait_ssh(self, seconds=3D300): + def wait_ssh(self, wait_root=3DFalse, seconds=3D300): # Allow more time for VM to boot under TCG. if not kvm_available(self.arch): seconds *=3D self.tcg_ssh_timeout_multiplier @@ -320,7 +320,10 @@ class BaseVM(object): endtime =3D starttime + datetime.timedelta(seconds=3Dseconds) guest_up =3D False while datetime.datetime.now() < endtime: - if self.ssh("exit 0") =3D=3D 0: + if wait_root and self.ssh_root("exit 0") =3D=3D 0: + guest_up =3D True + break + elif self.ssh("exit 0") =3D=3D 0: guest_up =3D True break seconds =3D (endtime - datetime.datetime.now()).total_seconds() --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173435; cv=none; d=zohomail.com; s=zohoarc; b=AWFQo3wJgfJ4yCGftGhn/89mGObHyqo2rCphfGUfvr/G+l0//lu/MC32p1EUM0kPluR2QwnkkA802YYwI5QHqUPgd1ukT8iTHIl0nOpZhW8SnDYTsY8Pk8b0NHzOymosmwE+Nzqh6WCljuqZG8l12mAD2KT39jq2fX1Vd8R9BEM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173435; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NkwU9mGQ3UXDblL8+agKWJfAotwiWnzLlTiheha46Qg=; b=GizYBG1cJCXgLD/I6cXGMXJlHZoTiJXMNelH18kw7v0rAHt/IZ7RFSJWSpgpb0Di5XH+/9J/4GQwKttklR7sbvJAwrH8nStoDlk3EoSVzrF7QZrGl2Dg++Hr8DydxnO/bo8RwQOdf6fIUL/ZtDGumB+JmsIomZuJUMgXHyRgcDs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173435176840.4008744653069; Mon, 2 Mar 2020 10:23:55 -0800 (PST) Received: from localhost ([::1]:37006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pjN-0002Wl-VP for importer@patchew.org; Mon, 02 Mar 2020 13:23:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43622) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfE-0002Y4-0Y for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001D8-1H for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:41775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfB-00019z-QY for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:33 -0500 Received: by mail-wr1-x42d.google.com with SMTP id v4so960035wrs.8 for ; Mon, 02 Mar 2020 10:19:21 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k7sm300866wmi.19.2020.03.02.10.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:10 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id F35A61FF92; Mon, 2 Mar 2020 18:19:07 +0000 (GMT) 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=NkwU9mGQ3UXDblL8+agKWJfAotwiWnzLlTiheha46Qg=; b=cgYGwxUDDOlaLwK7L/lNp0RCQHf954KKY2n7ByHYHf3cLfTPLn3TTrLvMWk6oBwaZa AMFNt9R4dgviERnJGg1ZG7ftMomg9m/36ifzY13dq6yGQnzRsMYGXmLhTOTfA55WGguR s5pqzgP+suuvTcGPt7taRCA8OZtGd7fmmvg8ZqJ4qyKXbcFVw0eyqzTgfvpEDrX3okGd 4Gv037Ski6l7MqgLPNFtwRle2aKQj4mnDu/mDP4YmYbzKJdm+OZ8YQg6A5CkFlaIuQCz Z2eR5Sn4fBNfa3gibb4MVN9javMHeJJzdkkiOUm7Zha+8yqLIOrr0QQbIiRtUoeQMJcs gTqw== 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=NkwU9mGQ3UXDblL8+agKWJfAotwiWnzLlTiheha46Qg=; b=WXC3vJWLEKy4e6v7OIzs4P/a8NcTxFtsmr838Y0vIQTT5zDA5S41Uc4111ACvYUcIh yR41Xj82KHRge+OnVOcuNxyx+Z2Q4Pgq70w8SQth1faYzQblOs9S/3zW1PilteUaaHuU 56ZCtOMJgbBIRMpQyPfkwfJvR5qYbA80YU6hNKVncFi4tjlhu6gKvgL9Z139qc2FONcb XsqxEnAhHBlSWSLm4l7gbJskrXl3HZ7nOP6ayaqlID/ZKnpYe5BJ45yUOt6k1FoxQwqA FeKBviJDhPm0FwYqngXnjkPtCjRI/xiD/ik4RiNVMCYf+39whPW0laAJxxAi6dvUTFRH PJ5Q== X-Gm-Message-State: ANhLgQ2/vL7SBFG2MPDUX638GUM71nDdp8tesGDqg/38n629ruagR8tZ MyVrVG9dZJFDw/SLiYr4muzIcg== X-Google-Smtp-Source: ADFU+vvzdZq17W06SLvam3jLAjqBV6Y8FZHdkcQwvgl4WQPS36f5cpz826ztk+407wDw9svnB+jMPQ== X-Received: by 2002:adf:b601:: with SMTP id f1mr862408wre.103.1583173155707; Mon, 02 Mar 2020 10:19:15 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 05/10] tests/vm: Added gen_cloud_init_iso() to basevm.py Date: Mon, 2 Mar 2020 18:19:02 +0000 Message-Id: <20200302181907.32110-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d 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 , Peter Puhov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Robert Foley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Robert Foley This method was located in both centos and ubuntu.i386. Signed-off-by: Robert Foley Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Peter Puhov Signed-off-by: Alex Benn=C3=A9e Message-Id: <20200219163537.22098-6-robert.foley@linaro.org> Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/vm/basevm.py | 40 ++++++++++++++++++++++++++++++++++++++++ tests/vm/centos | 33 +-------------------------------- tests/vm/ubuntu.i386 | 37 +------------------------------------ 3 files changed, 42 insertions(+), 68 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 7f268922685..8400b0e07f6 100644 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -345,6 +345,46 @@ class BaseVM(object): def qmp(self, *args, **kwargs): return self._guest.qmp(*args, **kwargs) =20 + def gen_cloud_init_iso(self): + cidir =3D self._tmpdir + mdata =3D open(os.path.join(cidir, "meta-data"), "w") + name =3D self.name.replace(".","-") + mdata.writelines(["instance-id: {}-vm-0\n".format(name), + "local-hostname: {}-guest\n".format(name)]) + mdata.close() + udata =3D open(os.path.join(cidir, "user-data"), "w") + print("guest user:pw {}:{}".format(self._config['guest_user'], + self._config['guest_pass'])) + udata.writelines(["#cloud-config\n", + "chpasswd:\n", + " list: |\n", + " root:%s\n" % self._config['root_pass'], + " %s:%s\n" % (self._config['guest_user'], + self._config['guest_pass']), + " expire: False\n", + "users:\n", + " - name: %s\n" % self._config['guest_user'], + " sudo: ALL=3D(ALL) NOPASSWD:ALL\n", + " ssh-authorized-keys:\n", + " - %s\n" % self._config['ssh_pub_key'], + " - name: root\n", + " ssh-authorized-keys:\n", + " - %s\n" % self._config['ssh_pub_key'], + "locale: en_US.UTF-8\n"]) + proxy =3D os.environ.get("http_proxy") + if not proxy is None: + udata.writelines(["apt:\n", + " proxy: %s" % proxy]) + udata.close() + subprocess.check_call(["genisoimage", "-output", "cloud-init.iso", + "-volid", "cidata", "-joliet", "-rock", + "user-data", "meta-data"], + cwd=3Dcidir, + stdin=3Dself._devnull, stdout=3Dself._stdou= t, + stderr=3Dself._stdout) + + return os.path.join(cidir, "cloud-init.iso") + def parse_args(vmcls): =20 def get_default_jobs(): diff --git a/tests/vm/centos b/tests/vm/centos index a41ff109eb5..0ad4ecf4190 100755 --- a/tests/vm/centos +++ b/tests/vm/centos @@ -31,37 +31,6 @@ class CentosVM(basevm.BaseVM): make docker-test-mingw@fedora {verbose} J=3D{jobs} NETWORK=3D1; """ =20 - def _gen_cloud_init_iso(self): - cidir =3D self._tmpdir - mdata =3D open(os.path.join(cidir, "meta-data"), "w") - mdata.writelines(["instance-id: centos-vm-0\n", - "local-hostname: centos-guest\n"]) - mdata.close() - udata =3D open(os.path.join(cidir, "user-data"), "w") - udata.writelines(["#cloud-config\n", - "chpasswd:\n", - " list: |\n", - " root:%s\n" % self.ROOT_PASS, - " %s:%s\n" % (self.GUEST_USER, self.GUEST_PAS= S), - " expire: False\n", - "users:\n", - " - name: %s\n" % self.GUEST_USER, - " sudo: ALL=3D(ALL) NOPASSWD:ALL\n", - " ssh-authorized-keys:\n", - " - %s\n" % basevm.SSH_PUB_KEY, - " - name: root\n", - " ssh-authorized-keys:\n", - " - %s\n" % basevm.SSH_PUB_KEY, - "locale: en_US.UTF-8\n"]) - udata.close() - subprocess.check_call(["genisoimage", "-output", "cloud-init.iso", - "-volid", "cidata", "-joliet", "-rock", - "user-data", "meta-data"], - cwd=3Dcidir, - stdin=3Dself._devnull, stdout=3Dself._stdou= t, - stderr=3Dself._stdout) - return os.path.join(cidir, "cloud-init.iso") - def build_image(self, img): cimg =3D self._download_with_cache("https://cloud.centos.org/cento= s/7/images/CentOS-7-x86_64-GenericCloud-1802.qcow2.xz") img_tmp =3D img + ".tmp" @@ -69,7 +38,7 @@ class CentosVM(basevm.BaseVM): subprocess.check_call(["ln", "-f", cimg, img_tmp + ".xz"]) subprocess.check_call(["xz", "--keep", "-dvf", img_tmp + ".xz"]) self.exec_qemu_img("resize", img_tmp, "50G") - self.boot(img_tmp, extra_args =3D ["-cdrom", self._gen_cloud_init_= iso()]) + self.boot(img_tmp, extra_args =3D ["-cdrom", self.gen_cloud_init_i= so()]) self.wait_ssh() self.ssh_root_check("touch /etc/cloud/cloud-init.disabled") self.ssh_root_check("yum update -y") diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index 48e9cb1ad3d..3266038fbde 100755 --- a/tests/vm/ubuntu.i386 +++ b/tests/vm/ubuntu.i386 @@ -29,41 +29,6 @@ class UbuntuX86VM(basevm.BaseVM): make --output-sync {target} -j{jobs} {verbose}; """ =20 - def _gen_cloud_init_iso(self): - cidir =3D self._tmpdir - mdata =3D open(os.path.join(cidir, "meta-data"), "w") - mdata.writelines(["instance-id: ubuntu-vm-0\n", - "local-hostname: ubuntu-guest\n"]) - mdata.close() - udata =3D open(os.path.join(cidir, "user-data"), "w") - udata.writelines(["#cloud-config\n", - "chpasswd:\n", - " list: |\n", - " root:%s\n" % self.ROOT_PASS, - " %s:%s\n" % (self.GUEST_USER, self.GUEST_PAS= S), - " expire: False\n", - "users:\n", - " - name: %s\n" % self.GUEST_USER, - " sudo: ALL=3D(ALL) NOPASSWD:ALL\n", - " ssh-authorized-keys:\n", - " - %s\n" % basevm.SSH_PUB_KEY, - " - name: root\n", - " ssh-authorized-keys:\n", - " - %s\n" % basevm.SSH_PUB_KEY, - "locale: en_US.UTF-8\n"]) - proxy =3D os.environ.get("http_proxy") - if not proxy is None: - udata.writelines(["apt:\n", - " proxy: %s" % proxy]) - udata.close() - subprocess.check_call(["genisoimage", "-output", "cloud-init.iso", - "-volid", "cidata", "-joliet", "-rock", - "user-data", "meta-data"], - cwd=3Dcidir, - stdin=3Dself._devnull, stdout=3Dself._stdou= t, - stderr=3Dself._stdout) - return os.path.join(cidir, "cloud-init.iso") - def build_image(self, img): cimg =3D self._download_with_cache( "https://cloud-images.ubuntu.com/releases/bionic/release-20191= 114/ubuntu-18.04-server-cloudimg-i386.img", @@ -71,7 +36,7 @@ class UbuntuX86VM(basevm.BaseVM): img_tmp =3D img + ".tmp" subprocess.check_call(["cp", "-f", cimg, img_tmp]) self.exec_qemu_img("resize", img_tmp, "50G") - self.boot(img_tmp, extra_args =3D ["-cdrom", self._gen_cloud_init_= iso()]) + self.boot(img_tmp, extra_args =3D ["-cdrom", self.gen_cloud_init_i= so()]) self.wait_ssh() self.ssh_root_check("touch /etc/cloud/cloud-init.disabled") self.ssh_root_check("apt-get update") --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173252; cv=none; d=zohomail.com; s=zohoarc; b=Voz+qDYKVDtHHBM26dR+mdf70CIr/XGjYjL+F7iCSn70MA/uF4f5GHPNnrIydR0soIvnPVD+WqPSuBdAeYrgqB4NOi8WAPQAKZp40qE6qRTYE96gaBEbsm9QSBZXlVGcyKuEbShpZDO+rBMer2ljA2Vc+gIPfwLC6dcrDiY6njY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173252; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=x+xzICjnYoZ7kFe0us/GQm6SY8Zr24nak+KbUFj0hp8=; b=aYLP1odvsFfPABz5cAELlM5YbiEiIziMZnzWoywwFQdRPiTZrK2dCosOSfZJG/YhZUqqPAW2C7oQOBJYS6qccZolotRGqAbuvNhM4HZ917UfucXYW2is1eHQggFu+t3cFS/zyk7fM+BA61L9akqeBCdrj7BN8nQjiyxzn+Miy4E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173252554208.0516803852497; Mon, 2 Mar 2020 10:20:52 -0800 (PST) Received: from localhost ([::1]:36907 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pgR-0004X2-1T for importer@patchew.org; Mon, 02 Mar 2020 13:20:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43576) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002W9-36 for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfB-0001D2-Ty for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:35331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfB-00019u-O6 for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:33 -0500 Received: by mail-wm1-x331.google.com with SMTP id m3so100420wmi.0 for ; Mon, 02 Mar 2020 10:19:20 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id i7sm335893wma.32.2020.03.02.10.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:10 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 12CFB1FF93; Mon, 2 Mar 2020 18:19:08 +0000 (GMT) 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=x+xzICjnYoZ7kFe0us/GQm6SY8Zr24nak+KbUFj0hp8=; b=cBcVfexSFHIorNR7WzVAEXvpXrC3SRLxsPcFM0Pt278BKNF8arXVz7AIAb2JX0ENZv zsfSufMu8rkPY2AygRBvFvn47TsGqSweFmXz5HOp1j1uT3smay4A3RF0qchbhslaJICQ E/B7qZUyeh7/on2owCdOf3y6LWWjEpfGiqAjuYn7zHXGh1ubaXGBWFhL08qqtKr7RC18 S5vO8pcQArDUfD3ytqeZd2fzbRTljSzzwPkzY1ht4nrZqCQGcKLxHBvBDwjafuIilri7 sqitM85OAVrn2CLkTFuRyHaos5n4xQmwW2Ei6CjMsAAFHvqPuhovJHOnLnv10gAaUJZt wDqg== 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=x+xzICjnYoZ7kFe0us/GQm6SY8Zr24nak+KbUFj0hp8=; b=A9vC6jxOMLImF4TBTWXLHM3LWZhhItLy2UXjYv3lSR9NHpBmpYaSX0qRmnu9ooL2pj rHpUSCdtWrrVsJHmWsYx8s5soMkOxUgHpfrLNS6gOZqwRKt8R2S3r1TJ5SeilmzXI6wO yPwV8+KYeZnGGk4VwQMHdC0l4eTpBsuJaPUEyNFWQhovcgl+RmElRUa/weA9FBodAX0k MFBZc7ktkRAgnlsYkC9JEC3j6Ye+92IxfjT62llmoXhfkj2RIFiAlpB7QgSTSqA3Hfq2 ScSO/ekKGGj3ONcYnrXmXW4ZZA/quD9KEri9cvzLnWBUewK3p01ipXp8ss/wPaIPwXxk VDFw== X-Gm-Message-State: ANhLgQ2M4s0veVWVQEQ3DJyYaVj+kVOtc37fa6O6jLZEfhcmu390HFuI vr2t5bO2Sp+xtx6aQt4q/jYk4Q== X-Google-Smtp-Source: ADFU+vsy+Cw0ADx1w+Zh5rhwzPgKlf/DEmpUpJz1O0STlKZuRzxCzBIewKT1maLOVwh7qgxH4gQ2/A== X-Received: by 2002:a1c:ba87:: with SMTP id k129mr113188wmf.102.1583173154654; Mon, 02 Mar 2020 10:19:14 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 06/10] travis: enable tools build on OS X Date: Mon, 2 Mar 2020 18:19:03 +0000 Message-Id: <20200302181907.32110-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 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: Laurent Vivier , Fam Zheng , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Laurent Vivier As we can build tools on OS X we should check we don't break build when we submit new codes. Signed-off-by: Laurent Vivier Signed-off-by: Alex Benn=C3=A9e Message-Id: <20200302154630.45620-3-lvivier@redhat.com> Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9867272177d..70a24bf2fc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -273,6 +273,7 @@ jobs: =20 - name: "OSX Xcode 10.3" env: + - BASE_CONFIG=3D"--disable-docs --enable-tools" - CONFIG=3D"--target-list=3Di386-softmmu,ppc-softmmu,ppc64-softmmu= ,m68k-softmmu,x86_64-softmmu" os: osx osx_image: xcode10.3 --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173417; cv=none; d=zohomail.com; s=zohoarc; b=FbvrP5UkV/b/rYtjBfP5k63aLiQuGn6PB1kPfwqucJhsO2iXTfPjwE+dicEex0/XP6QC2gqJ4HfC1a963n101DJdxnjrTZL5b1GUJ1N1ZX07tca3w72f5OcAJHQU24B7VyFEW2kd/QTRJ49QahtOjdX0CuNhZV8JExmgWFYIDgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173417; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=4KU3LOvTwsyaeX9nvxbxSpYARm+tonMTUIfAMh78os0=; b=fDWHydBNBpEO1+VhlNO/M+J1iEiM+cTjZe/o2mE3ceM47JCQ2XBCz2+rCV3lRtd3GJGXsgkW+THKlLpc2vewO3B5HWug28SHJHLeubcFKD7ivE9Glf9B1zywsQWal0Qptml3Xad8PlMsPaRQ30goT+U+J+byKl7ILFAmKhOYaxA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173417086701.5933324798792; Mon, 2 Mar 2020 10:23:37 -0800 (PST) Received: from localhost ([::1]:37000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pj5-0001zz-Tx for importer@patchew.org; Mon, 02 Mar 2020 13:23:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43583) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002Wd-8r for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001DO-6g for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:35545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfC-0001AT-0c for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: by mail-wr1-x42f.google.com with SMTP id r7so1016247wro.2 for ; Mon, 02 Mar 2020 10:19:23 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c8sm3011901wrt.19.2020.03.02.10.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:13 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 25C1F1FF96; Mon, 2 Mar 2020 18:19:08 +0000 (GMT) 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=4KU3LOvTwsyaeX9nvxbxSpYARm+tonMTUIfAMh78os0=; b=fDGgYIm+GYDEYqSOL9F679XDxp7ueHS06DJNbu43+qlVBd46SgJk4AdBBD5VL0cXbj ardI9ITnMqmmkDt18M9I9q8Q0/Pv1i02DwqVB4dYDb+bMGQlrYrI45QDfMg3UnAc+mqg ynxD2333GXZEUlpnDs9FYCDGUWNJhUVHN/EPQdhD5v6429NrDa+B6LMEJHEJ9YclbWrl Wp/UhiYyeeEthwazigaqMsNLahSIOzWgKPZbn33pYBr808POehvUg3OSPBxEj1Cw20gs 0Ks3z44yTx/RR51uCIoiJ6/N/dfyhRbd9eANIrI3ylu8uOfoAJvzC39QJBLINtayMi33 tIiw== 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=4KU3LOvTwsyaeX9nvxbxSpYARm+tonMTUIfAMh78os0=; b=roOthYhT9fUVxApDMwVRMie6wL2/zzd8/wGIf989sqrvhE+tgcxBI79RyTjeOvcvAp c3uFu7mWW58IJ6aY3qHzgauJCUCDsMiLso+bKmB70daCcd+VQ7Nw66xF27mqP4obRznU vd77ENh/KfQ+IWgvXw1mWBgTKdKXBw9/L3p+kPZ4nwv3DjilNVjEw6nMGpQtmcFpehtp hBxojjMLimNNoT/REehzW3YiFh3ZyON+VnL+jQYeHn9YeTEDXKQ7vXnsJ+pZsSkMIGFd IYt/DRFmwSPXPd0MfgZWK4KEoBoIgGVUS/m7WpiJSUq4cdlxTg5XJxCxRvZcDodpJftQ casQ== X-Gm-Message-State: ANhLgQ2vsPfuZNg1ijTCJKm2YwUD9rE19eTIL1WxZDgFHbHwKWUwlof9 j54DmKCq3CWi1KCvG3uA0/KcOw== X-Google-Smtp-Source: ADFU+vumkqzfedaMN/LJvYX8rTj5WZhHfRQryWFhLXja2qkRmFQcnklE4Cd53PV2gta0jcSdt0iGHw== X-Received: by 2002:a05:6000:106:: with SMTP id o6mr818424wrx.120.1583173157967; Mon, 02 Mar 2020 10:19:17 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 07/10] configure: fix check for libzstd Date: Mon, 2 Mar 2020 18:19:04 +0000 Message-Id: <20200302181907.32110-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42f 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Fixes: 3a67848134d0 Signed-off-by: Alex Benn=C3=A9e --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7b373bc0bb8..caa65f58831 100755 --- a/configure +++ b/configure @@ -2464,7 +2464,7 @@ fi # zstd check =20 if test "$zstd" !=3D "no" ; then - if $pkg_config --exist libzstd ; then + if $pkg_config --exists libzstd ; then zstd_cflags=3D"$($pkg_config --cflags libzstd)" zstd_libs=3D"$($pkg_config --libs libzstd)" LIBS=3D"$zstd_libs $LIBS" --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173276; cv=none; d=zohomail.com; s=zohoarc; b=UU+bOjqcnqNxuRlVaav3ytDSWE2yZ9fwkqsEw6mCQRTuVjO/67QVEimZYwntgtsEgGuwGb7Nkgt4COjKCFmm10apuRh9rqCDcDIUM2h7ax80EaMWePXuADG1dsoI68iWE6DK9QXBb35JE+EY7xIuOK37cNYGw1JeHGe2e/p6SMU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173276; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=65Txf0NtQrDZ1B5f2IUJMSN/X+Wm8MrtnU1Cud0aVmk=; b=Jwp2MG3Xa8K+f6Qmfs6diXP2iyBX/6/gHXKxokGPbrOTaYg7ZKpe+02oqt35s20cpdniFWPQ7NEJmMYS9+MBq30djvQXxYfjoHdPP1AcwOLTFFe767hGeoDSf0XlyqTGx809pOIv1Ye6nxiSbfG9joJigGvaB6HUvAOC8zNoZlI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173276842964.2001988713597; Mon, 2 Mar 2020 10:21:16 -0800 (PST) Received: from localhost ([::1]:36924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pgp-0005j1-NH for importer@patchew.org; Mon, 02 Mar 2020 13:21:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43602) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002XH-Jf for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001DT-72 for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:33213) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfC-0001AO-0e for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: by mail-wr1-x430.google.com with SMTP id x7so1033989wrr.0 for ; Mon, 02 Mar 2020 10:19:22 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z16sm28676472wrp.33.2020.03.02.10.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:13 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3C9081FF98; Mon, 2 Mar 2020 18:19:08 +0000 (GMT) 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=65Txf0NtQrDZ1B5f2IUJMSN/X+Wm8MrtnU1Cud0aVmk=; b=baZCwyYNXJIeoYtkK32eojnZSHp4XgJQOynBD3iQtaDYbCHODKRErsNnmqKvf6RhLP QzuLIIFVXaSyUuymiBhPY6Hot6SeS62ofHsPls+4wsKbw5KDDd1+tWCsmIZcjD9ebtRp 9ME5k23ZGh3lIgIqxTXJGXK6BejELYz5aTNttg3Ro37JFQlXMzeZUnCJ33QjqSp0BkQV q+qDWLSv/ZgyVAKY4I2EOiJXzA+ZottULg21XOdN7NxVQPF52Y240ppRSnRFXeMwY4Ok 4Ee+niwWZjMJci8mXoLF1QA7v4TIhNY5qUPxB7VE2Gcr+zqFxJ99q5MNYkS68wFcHVIP t6dA== 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=65Txf0NtQrDZ1B5f2IUJMSN/X+Wm8MrtnU1Cud0aVmk=; b=pqBFuXVJAlYk1kNK7FDCLeMf/11C4tp7xMxgYl53BbZeIkrvBsGVFiZhjGEunRc1GB tXPdzhwvbKIUJoVMtpfofAH46nI8Q8dSV9b5QQ42Jv9OUui5MoLhnxJDBnJ7gloCjU9+ 1Gf1aNOiwajyRJH98HMyRwoXkomVUP6H9mYFdueFMjPH5OjHeK3VaV6AD7cBxeFTcCXL dToq8XSqFNm4CD+W2jMckQgT5uQfGLcyep9As22lQHvuvuQ4ai3TydYGWfl2bVv6Ew7s Cf/Artfc/0O6Li9Yo6niibXvjBqM2tVAUjG8oARkh9+ck+BFA+ipQszQvq2hbXn+/Eyb m0EA== X-Gm-Message-State: ANhLgQ0DoQonipzE3pTNx9oYHWMbuTkZ35Cc85FTjgOFgXQ8G/fJk9XN ZDr85bwQVCWEGJf42LZH9ZVL+w== X-Google-Smtp-Source: ADFU+vuhoDGK1suJ6QlvTy4INR1I1A4/Wz0dc4CMncspG5pIC70ePwnJA2c3t0FR+Ji+yJ65B8zNlw== X-Received: by 2002:adf:cc85:: with SMTP id p5mr801024wrj.196.1583173156868; Mon, 02 Mar 2020 10:19:16 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 08/10] configure: detect and report genisoimage Date: Mon, 2 Mar 2020 18:19:05 +0000 Message-Id: <20200302181907.32110-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 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=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) This is used for some of the vm-build tests so lets detect it and behave sanely when it is not installed. Signed-off-by: Alex Benn=C3=A9e --- configure | 13 +++++++++++++ tests/vm/Makefile.include | 14 +++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/configure b/configure index caa65f58831..376ccb25623 100755 --- a/configure +++ b/configure @@ -936,6 +936,17 @@ do fi done =20 +# Check for ancillary tools used in testing +genisoimage=3D +for binary in genisoimage +do + if has $binary + then + genisoimage=3D$(command -v "$binary") + break + fi +done + : ${smbd=3D${SMBD-/usr/sbin/smbd}} =20 # Default objcc to clang if available, otherwise use CC @@ -6567,6 +6578,7 @@ echo "python $python ($python_version)" if test "$docs" !=3D "no"; then echo "sphinx-build $sphinx_build" fi +echo "genisoimage $genisoimage" echo "slirp support $slirp $(echo_version $slirp $slirp_version)" if test "$slirp" !=3D "no" ; then echo "smbd $smbd" @@ -7616,6 +7628,7 @@ echo "INSTALL_PROG=3D$install -c -m 0755" >> $config_= host_mak echo "INSTALL_LIB=3D$install -c -m 0644" >> $config_host_mak echo "PYTHON=3D$python" >> $config_host_mak echo "SPHINX_BUILD=3D$sphinx_build" >> $config_host_mak +echo "GENISOIMAGE=3D$genisoimage" >> $config_host_mak echo "CC=3D$cc" >> $config_host_mak if $iasl -h > /dev/null 2>&1; then echo "IASL=3D$iasl" >> $config_host_mak diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 778e5067554..1bf9693d195 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -2,7 +2,11 @@ =20 .PHONY: vm-build-all vm-clean-all =20 -IMAGES :=3D ubuntu.i386 freebsd netbsd openbsd centos fedora +IMAGES :=3D freebsd netbsd openbsd centos fedora +ifneq ($(GENISOIMAGE),) +IMAGES +=3D ubuntu.i386 centos +endif + IMAGES_DIR :=3D $(HOME)/.cache/qemu-vm/images IMAGE_FILES :=3D $(patsubst %, $(IMAGES_DIR)/%.img, $(IMAGES)) =20 @@ -12,12 +16,16 @@ IMAGE_FILES :=3D $(patsubst %, $(IMAGES_DIR)/%.img, $(I= MAGES)) vm-help vm-test: @echo "vm-help: Test QEMU in preconfigured virtual machines" @echo - @echo " vm-build-ubuntu.i386 - Build QEMU in ubuntu i386 VM" @echo " vm-build-freebsd - Build QEMU in FreeBSD VM" @echo " vm-build-netbsd - Build QEMU in NetBSD VM" @echo " vm-build-openbsd - Build QEMU in OpenBSD VM" - @echo " vm-build-centos - Build QEMU in CentOS VM, with = Docker" @echo " vm-build-fedora - Build QEMU in Fedora VM" +ifneq ($(GENISOIMAGE),) + @echo " vm-build-centos - Build QEMU in CentOS VM, with = Docker" + @echo " vm-build-ubuntu.i386 - Build QEMU in ubuntu i386 VM" +else + @echo " (install genisoimage to build centos/ubuntu images)" +endif @echo "" @echo " vm-build-all - Build QEMU in all VMs" @echo " vm-clean-all - Clean up VM images" --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173531; cv=none; d=zohomail.com; s=zohoarc; b=IJDVb8vqdJseijlSyrkLoHJ3Z5nH3rUMf3MQ5Uipmi4RzGkUtgM+JvcH0PLy61GXko50B898UAvSaE+z9gKZyuO1URA62Wh8oJKsARcp8n/uXe01yK0XAT+2JMo3XYRJ+3U5rp0szHqk+B3JR/QOWCITYgKdKI3m60bhtlU6Te8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173531; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tYnjdVHVbzSLgWR2JAiiP7YknzWJrfOPrv/6EnTLir4=; b=bLxJeS4iOgD5aVR0sVEr1IZAUh6ug+oQ881k0f2D9fs+0svuDE/E2iOUJdL/ZdkDMCySIqMMk0/bmnOXoVMop6gnGn3fyZPWg9pEObEpyDWxCVOdN8jJ0MueRbv5edn2eGZb3OOzxjgzoEAkL6sYGr3vysGMDqb7H6EvifTCj9s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173530980566.3395148263622; Mon, 2 Mar 2020 10:25:30 -0800 (PST) Received: from localhost ([::1]:37032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pkv-0004Z5-L4 for importer@patchew.org; Mon, 02 Mar 2020 13:25:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43606) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002XT-Lq for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001Dz-Cp for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfC-0001Ah-6d for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: by mail-wr1-x444.google.com with SMTP id v2so916510wrp.12 for ; Mon, 02 Mar 2020 10:19:25 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u1sm10876701wrt.78.2020.03.02.10.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:15 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 53B2F1FF99; Mon, 2 Mar 2020 18:19:08 +0000 (GMT) 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=tYnjdVHVbzSLgWR2JAiiP7YknzWJrfOPrv/6EnTLir4=; b=i5kW+EUJgOTiBbQbUeH3wwjnVrkhYBxzK4gUOoZ2Bi7QEyZptXomYMbqBjuqWkt3Qz gypOzGRh7kTK1RPmpRzeAmoroqMYvwLKKUbsXpniDf5mjO7NNFU0cN/HI5Me82oGEQHm OD9rMZ7f3PeB8cvz2u7s4fFpite/jJSZRrj8tfzf5jPZ15rhfsNT5XR86QYzJHWgqD5z N6ckz7i+x6tGyYEkrK4PdZ/GDvpfqRwSSAMZdYhd18dk6BNRandEf5NyUR1TqeZmq17L CbtALWeO4JpjgA/wKn2KwNKj9bD1i5oyxTAYsaVxjcgRuiQGSgOkICwYH5uVxTH6Uqnr E7uw== 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=tYnjdVHVbzSLgWR2JAiiP7YknzWJrfOPrv/6EnTLir4=; b=TLnHLl+uFS/M6BCi2A+O6WzVRW6CUeGyc7m8IzC+tsqMJ0AXANP1yV9yrQ5X0JxPyD hHR4h9Vq67of8dv+h+No+xo49+E4lYZ9TU1RX5X4si/uCqD37KjFHUHa6NrgtFeWo94F BxKWB2wL1ImA1aqMXGIUetPHVPCQrYT0ZmpAs0xQ6vWnRxwRIY1NznqMJTAMlsXH7Wmt SHGySY5Kob3pNbC4P7BTRd/E3w0pbizRfdqDV4JciXqv/OG3je//cp56bpyBU4YV/o7X Tkz2fATtuOgxTKGeZWiKNn1Dgy0d/hSMzXEZiPEYp4yqDGHxahUVAawGnJxF9tgnA0xY CS3A== X-Gm-Message-State: ANhLgQ2NF5BowkDDDQqaJ1AQyW3W4CTEE4vc4CnYWEjdB8UBQOVJD8Ur O2WVNeXGfDigi2R2VDPyunhQqXEPcYA= X-Google-Smtp-Source: ADFU+vszmxHWGLvohyZW6T+YGInT28RFUZhT7l/v9TNkBkY3KiPiPXNBa4HDVJ+76NJr2N5DW0w1Nw== X-Received: by 2002:adf:ee4c:: with SMTP id w12mr799274wro.310.1583173159163; Mon, 02 Mar 2020 10:19:19 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 09/10] tests/acceptance: move @skipUnless decoration to test itself Date: Mon, 2 Mar 2020 18:19:06 +0000 Message-Id: <20200302181907.32110-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Aurelien Jarno , Aleksandar Markovic Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) It appears ignore the decoration if just applied to the class. Signed-off-by: Alex Benn=C3=A9e --- tests/acceptance/machine_mips_malta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/machine_mips_malta.py b/tests/acceptance/mach= ine_mips_malta.py index 92b4f28a112..b8fac2a44d5 100644 --- a/tests/acceptance/machine_mips_malta.py +++ b/tests/acceptance/machine_mips_malta.py @@ -30,14 +30,14 @@ except ImportError: CV2_AVAILABLE =3D False =20 =20 -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed') -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed') class MaltaMachineFramebuffer(Test): =20 timeout =3D 30 =20 KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' =20 + @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed') + @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed') def do_test_i6400_framebuffer_logo(self, cpu_cores_count): """ Boot Linux kernel and check Tux logo is displayed on the framebuff= er. --=20 2.20.1 From nobody Thu Nov 13 21:52:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583173533; cv=none; d=zohomail.com; s=zohoarc; b=JDf7hLUkFOAgOPF2QlJfVox2gR8tdNpxYQkOcvDhimuV0PvVYoxhQqBS2EiUjWfGRBc5G14pnGZSGMxhOCEPXjjZ6jDCkF8suUDvv9nVOHDr9Qp9VMlEucurvzEkVyftrb9B9eaR8lwIpNLClm6FHCOXIUIe0nC5Sb4LTOw0e04= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583173533; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=0iM0DGDZ4ZSBxBSg0NI9sVRz/1idecs1gKgGJztSJQU=; b=W3EdSKOIWErnUI+ftjZuliWTTS9dYhBzlgRsyosxcWmS+6BS/MrPkN70EoyLCjpIl7sUC7Y3x8C0xN6QxP79ExLd+w5Oya0Hak8i1HwbSH9LqdJ2KTGShBeliIs01kB6YtpfX5Nq8ArHdcZ16CG+VZn7vnCg+xwJX1zkUUGaoEs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583173533777313.2424444561552; Mon, 2 Mar 2020 10:25:33 -0800 (PST) Received: from localhost ([::1]:37036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pky-0004eW-G8 for importer@patchew.org; Mon, 02 Mar 2020 13:25:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43597) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pfD-0002X4-FN for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pfC-0001Dk-B0 for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:35 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:56149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pfC-0001Ao-4l for qemu-devel@nongnu.org; Mon, 02 Mar 2020 13:19:34 -0500 Received: by mail-wm1-x344.google.com with SMTP id 6so66052wmi.5 for ; Mon, 02 Mar 2020 10:19:26 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e11sm28390088wrm.80.2020.03.02.10.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 10:19:15 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 67CB71FF9A; Mon, 2 Mar 2020 18:19:08 +0000 (GMT) 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=0iM0DGDZ4ZSBxBSg0NI9sVRz/1idecs1gKgGJztSJQU=; b=UGAo3r9wQWDMWcOmThKUwtESe8haPaY+ahWbTcQdnKWFaH9SgE4drfZiHP2nihWP+o jmVACJTJikma2UEztj1KVQ+liMqRaCYe2tJ27B26Qm+7ExMrsf+JMft7xRqS9nmrI1sH GKKBg2cE1LeB7N5K4NJRPx3JtlJOHQnT5Q1ZyOOzgQ+L3b0J5Oro2Gdl+EBqgadFu2uI 7uUi869QiP15iPVCGwYHFoSKrucez0qxzIJ3zjDF16SPkHs4Iwtb0qd5H3k46lsXnQtG WKPucjelBfnLo3VGbmzFVTdwBjOVAJgHjuRX0W+l7jdBsw2Oc789kG5o0m7FL/XUufaL oo6Q== 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=0iM0DGDZ4ZSBxBSg0NI9sVRz/1idecs1gKgGJztSJQU=; b=Xka3QLLibkfaUox9Frg1v8wtrA9uByldQdSoFni8GkTXLWutT+Ove1n3V1Yh3M7nII DjR+IUTQ6kvjPzsN2s9IB0VYrWhaqSDkYxCbLDr/RkB+ZNBmxVnaX3vqtQjWd95kxW33 yMqY6r+CcZLonNQwEAhxv/rO0h1z82bkzFNYY9xSiobc3UEkYsyAvXcE4e4+96l6+yX9 ot5pJ0YXA2N5pm1C2XFz5BCxk+25TepZxhaV9YyxF6nPjxh9WojgW5HrknmvWtrW9NLV DrOIE9dyp7tFwECFUoLXZKOuiTz1/7kvZFn3PziHhQqFBRpQmatSC6VNMj6kvzeXDn4m g5mg== X-Gm-Message-State: ANhLgQ3chHuEq65hDeUrbJJvrpZ/5DdScXECx8S+hgA7cwCY+ATIYYHV VTJ8XcKi2NrfeR8Q6wAWgRa3wQ== X-Google-Smtp-Source: ADFU+vsuAkL8zn1ak9Pt7XYeVV2FbEkKSMlDc9qKe/bsGAZliveuDl1MAfNtbSuCSFEUwCSRL1ja1A== X-Received: by 2002:a1c:7e57:: with SMTP id z84mr297289wmc.148.1583173160098; Mon, 02 Mar 2020 10:19:20 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 10/10] travis.yml: install python3 numpy and opencv libraries Date: Mon, 2 Mar 2020 18:19:07 +0000 Message-Id: <20200302181907.32110-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302181907.32110-1-alex.bennee@linaro.org> References: <20200302181907.32110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 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=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) These are used for the acceptance framebuffer tests to count Tux. Signed-off-by: Alex Benn=C3=A9e --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 70a24bf2fc8..9db6c1557f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -323,6 +323,8 @@ jobs: packages: - python3-pil - python3-pip + - python3-numpy + - python3-opencv - python3.5-venv - rpm2cpio - tesseract-ocr --=20 2.20.1