From patchwork Mon Mar 23 16:15:07 2020 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: 184744 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp4278387ile; Mon, 23 Mar 2020 09:17:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtAOmaZbffTDcU4nEDVzuLVmWiJ5rk7rYXZBnf7IH74ir0sMDd1EK77kLov1OfFhnVX1pYp X-Received: by 2002:ad4:4832:: with SMTP id h18mr22031385qvy.165.1584980274868; Mon, 23 Mar 2020 09:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584980274; cv=none; d=google.com; s=arc-20160816; b=daRZrz6XiHr48ELwWwQLTl+Vu8upS3QwKRpVHOhbr78D3sGosWMYXFApxQYHVdOYB1 0+S/kScq+cOHJKD6Vm/qMQCnVB2qaf8hCzKFqhNkjLxjXGsOTOhDmF4Qn1SBYSrCQO2j V7hUp1S76oSAqlDYDuC+OtIK3UIdnEfzsYEBvb9/2V3VjN6i/L6wd48U7ihg+zq05GY1 LKq42WFgd0oNwzdx1mhHP8BSuqacmij+TYVXXsFGwfEPsZ3x+59XGH+1XcrN6xN+YsDN 5k0A3+pNlA8RBcb+IROboxh2JRzxxrFAdbhAvelfMeJqGVDLsOeOdlr13TkkEndfPVYR 4mCQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Feg6r5Y/XVYESOSOn3GD0tPJURKpa8/LLCh/F5ArVYs=; b=TsJP7SFtTCIr1Jaxjgs1yRDG3cf86/HqtHo4WPRyMvH2uDkmNWk6XodLhFmHvCtVM9 3pRC7w70Rt+ASJVAOlsd29N1grzrET7kMKHTI43Yft1G6VhQS5CCkg3Vvc3JfezcgD+O FIfG6adu9/6WBn8hB9GrXiGkhVASfYadflcrmZmFK6oFDBEt21myZHDcc5ZxwuS2zUg1 nQtSgZXj67VQWrqN0bYuZgs6fGi9p3p2tDEQ5jUwvsMQHfg/KaKtn1beuhjSs4vrUh/N Gut8gP6yfJ43BMJYc2bvw1HcZY66o5TvXg7yLajtB2D5kK1XFPezqUM8JasMLWFMx84l c0Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Xq3JmjAB; 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 e20si9589298qvm.142.2020.03.23.09.17.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Mar 2020 09:17:54 -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=Xq3JmjAB; 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]:36562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGPly-0004S4-7A for patch@linaro.org; Mon, 23 Mar 2020 12:17:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35330) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGPjX-0000vB-GL for qemu-devel@nongnu.org; Mon, 23 Mar 2020 12:15:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGPjW-0002R4-5X for qemu-devel@nongnu.org; Mon, 23 Mar 2020 12:15:23 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:42037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGPjV-0002PQ-UA for qemu-devel@nongnu.org; Mon, 23 Mar 2020 12:15:22 -0400 Received: by mail-wr1-x432.google.com with SMTP id h15so5617728wrx.9 for ; Mon, 23 Mar 2020 09:15: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=Feg6r5Y/XVYESOSOn3GD0tPJURKpa8/LLCh/F5ArVYs=; b=Xq3JmjABCD5mfN9xl9GsABMr7zGRNT2rKxh/X65kyZX+wXg+ivNe2U5PuIE3xNtGBi kuBFMxCPktbMQ+mK+iAEuAp1z+Gw4tXOOigA+q93L5e0YhJxh+g+/HN9a20bM/jw9XHU wLsmsxKH06wHgEzpG5F7SiIvvYgr7igbur6kPX13Z4nUt/zVqtgDXEo9oPfBMmE+2Qx1 wi8/W3c0n5Mj8ZWbJP1zllOMLwNMHrgkwXmB/eIdo0t61LSsFAfvOW4OfZ/akVJca8uV K3HEPBX4ZAktUd7pPMTBOTtt/mcNvW8enn4dLgNaxT8IJHSfPNXJFwB01mEeXFoxoDLw zcmA== 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=Feg6r5Y/XVYESOSOn3GD0tPJURKpa8/LLCh/F5ArVYs=; b=uL7F+pGEhKQ7qCJpre3MmHD2lCcIhT2/zPNREMTbzLZaNhPeQJdRiVR/Ei10pTGT3x tEa8xERSgPrSKpiqC5jaWLd6lIqO6sJGvVQILdRMcr6rIojd6baZ6dAdsNWkNP96ieQd E7eNxhjIMUN/jxCaKUDMiRiV/AZtdkRsgUQcwiIP6kcZkhhTtKRSs5sZ+pOpiKsBccgV lBCgUsm90bxTV+xrR+nJMT2a9QGSt6d0ybx26k7XlH7NBPWTn8pyt8lZKn7fowrdT8If nGUlVwjE/1uQLFnoQZpORkfih33TwrfFkQtzE9tlc9+Qky7hensUXFLaWd3auevDjeJW NpXA== X-Gm-Message-State: ANhLgQ0XkfqsMwH5JtDkjtgUIHBupef3+bFMdu5EVfBVT/g2Pc2P9CbY u6UB5K17KVZxUpWwE2Wuw9RJ8w== X-Received: by 2002:adf:8164:: with SMTP id 91mr30173354wrm.422.1584980120513; Mon, 23 Mar 2020 09:15:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 9sm88344wmm.6.2020.03.23.09.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 09:15:17 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 811191FF90; Mon, 23 Mar 2020 16:15:15 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 04/11] tests/vm: update NetBSD to 9.0 Date: Mon, 23 Mar 2020 16:15:07 +0000 Message-Id: <20200323161514.23952-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200323161514.23952-1-alex.bennee@linaro.org> References: <20200323161514.23952-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::432 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?= , Kamil Rytarowski , =?utf-8?q?Alex_Benn=C3=A9e?= , Gerd Hoffmann Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Gerd Hoffmann The installer supports GPT now, so the install workflow has changed a bit. Also: run without VGA device. This works around a bug in the seabios sercon code and makes the bootloader menu show up on the serial line, so we can drop the quirk for that. Signed-off-by: Gerd Hoffmann Signed-off-by: Alex Bennée Message-Id: <20200310083218.26355-5-kraxel@redhat.com> --- tests/vm/netbsd | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) -- 2.20.1 diff --git a/tests/vm/netbsd b/tests/vm/netbsd index f3257bc245a..b10c9d429de 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -22,8 +22,8 @@ class NetBSDVM(basevm.BaseVM): name = "netbsd" arch = "x86_64" - link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.1/images/NetBSD-8.1-amd64.iso" - csum = "718f275b7e0879599bdac95630c5e3f2184700032fdb6cdebf3bdd63687898c48ff3f08f57b89f4437a86cdd8ea07c01a39d432dbb37e1e4b008f4985f98da3f" + link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/images/NetBSD-9.0-amd64.iso" + csum = "34da4882ee61bdbf69f241195a8933dc800949d30b43fc6988da853d57fc2b8cac50cf97a0d2adaf93250b4e329d189c1a8b83c33bd515226f37745d50c33369" size = "20G" pkgs = [ # tools @@ -86,42 +86,31 @@ class NetBSDVM(basevm.BaseVM): self.boot(img_tmp, extra_args = [ "-bios", "pc-bios/bios-256k.bin", "-machine", "graphics=off", - "-device", "VGA", "-cdrom", iso ]) self.console_init() - self.console_wait("Primary Bootstrap") - - # serial console boot menu output doesn't work for some - # reason, so we have to fly blind ... - for char in list("5consdev com0\n"): - time.sleep(0.2) - self.console_send(char) - self.console_consume() + self.console_wait_send("3. Drop to boot prompt", "3") + self.console_wait_send("> ", "consdev com0\n") self.console_wait_send("> ", "boot\n") self.console_wait_send("Terminal type", "xterm\n") self.console_wait_send("a: Installation messages", "a\n") - self.console_wait_send("b: US-English", "b\n") self.console_wait_send("a: Install NetBSD", "a\n") self.console_wait("Shall we continue?") self.console_wait_send("b: Yes", "b\n") self.console_wait_send("a: ld0", "a\n") + self.console_wait_send("a: Guid Partition Table", "a\n") self.console_wait_send("a: This is the correct", "a\n") - self.console_wait_send("b: Use the entire disk", "b\n") - self.console_wait("NetBSD bootcode") - self.console_wait_send("a: Yes", "a\n") - self.console_wait_send("b: Use existing part", "b\n") + self.console_wait_send("b: Use default part", "b\n") self.console_wait_send("x: Partition sizes ok", "x\n") - self.console_wait_send("for your NetBSD disk", "\n") self.console_wait("Shall we continue?") self.console_wait_send("b: Yes", "b\n") self.console_wait_send("b: Use serial port com0", "b\n") self.console_wait_send("f: Set serial baud rate", "f\n") self.console_wait_send("a: 9600", "a\n") - self.console_wait_send("x: Exit", "x\n") + self.console_wait_send("x: Continue", "x\n") self.console_wait_send("a: Full installation", "a\n") self.console_wait_send("a: CD-ROM", "a\n")