From patchwork Mon Jan 8 15:13:40 2024 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: 760765 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e02:0:b0:337:62d3:c6d5 with SMTP id h2csp935112wrz; Mon, 8 Jan 2024 07:14:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzXJdODmIHYcCHyIS6xc1Dp+K+SEGl+AaiGUUCi9OPie/rMb4OtfNmeCGvaWGvC/IaD1VE X-Received: by 2002:a05:6122:4199:b0:4b6:c31f:5b26 with SMTP id cf25-20020a056122419900b004b6c31f5b26mr754991vkb.4.1704726851467; Mon, 08 Jan 2024 07:14:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704726851; cv=none; d=google.com; s=arc-20160816; b=vldmP+V93Gbui72ytamJPo4gVk/b8czDEpoHHsZpIQgQloj16MVfSxun0t64tun/ft CntmRKkfRbk55d+GakyOGwzWKbY5JHUWnA3QBWliMfZ5JPJWX0yG6g/ma6LUMMklTI3h pTJaIx9swZOpNaKjHaglNDiCrgLwsJQ8fdLy/iBM/YqQyixnlxFNaTKX7DMLVXKP1Ss7 LBFh2m6DNjw1UC3b37F/pgP+sD+QHPc9W91tGFPAi5Ff88R5+fDIKdbuuNHBqsfVAGIB vWKy2QISPoijSbtmtphAbzbWey3OZd7wi7lXJcI3Q725UyG7XaJApLKG1kBB94BspX5g gAXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=OXuo8l/nA31Hwk3vdPvJmIYU7WuVY275jbIT2FWOsWk=; fh=MAaRFPXnyoD4zwhHv10xEZgOaBqaA6euXTk2ZPLPe8M=; b=OtUd+DfN9U7V+QUPcd5nmG0ZxYRQ+y5XVExF2/5zC0yyFxfYkcAmZXxm3ZTlpZB8c1 it1OtBXa1HAfX9AUpehw/gQGLOf29ojm3+jyHmsxhojoi/89Swzyl505WXr7xkvt6SM7 Ia7B2meSe8+lQ+V+vXfKYZqdWRoO3hojoXv2B3z4nHzKf2lzD+X2RwSjbD+jbyadRzXO TYw9kI763BxTdrSRwSAFmYzIAhiGUYQmf/O9ER9dCWp2cS0D7HYdfZVbwtT+bNzvqj9B fs/QF8nUPifN0P8mkaB+1lhjZG6jzdpoXOa74EOTBCkx8FDDdc8I3a9gMmUkDGYsvq4b xy0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fbXAgWJP; 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=pass (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 u28-20020ac5ca9c000000b004b6f2421c17si26384vkk.139.2024.01.08.07.14.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Jan 2024 07:14:11 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=fbXAgWJP; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMrKB-0004CS-Sb; Mon, 08 Jan 2024 10:13:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMrKA-0004C9-1h for qemu-devel@nongnu.org; Mon, 08 Jan 2024 10:13:58 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMrK7-0001Wc-Tf for qemu-devel@nongnu.org; Mon, 08 Jan 2024 10:13:57 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3368d1c7b23so1938529f8f.0 for ; Mon, 08 Jan 2024 07:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704726834; x=1705331634; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OXuo8l/nA31Hwk3vdPvJmIYU7WuVY275jbIT2FWOsWk=; b=fbXAgWJPYjahZYqelUbD5rFvFE5XoA5rhDWul6ietHWtr08EvhVsXI6bbOtbj+T2p6 nOyH0aJQ7Dr713nJ7RqwaS4a5K7aV2MhODNM+yzJOrL3I/DK+InCtsdEmG8y3zErFSC6 FhzeMalnYhnFk9q4C7ZLIlDYv48Dwqb3/dWtZjDh7PkdVWPO5JcQOUrO9EeSBstbuOzp UAFV7pqzftjbK5ZHml0jci2iE4tJyNEskgsCM17JjgBV+2knYXdz1gke1wnTvHRS5o2r YwQsBhdnUzg7EWiH1hTwTUryfP42IXUF2PB2DT4HJ2TC7NWkHxVpnuWuvG0BzH4scs7g k7Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704726834; x=1705331634; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OXuo8l/nA31Hwk3vdPvJmIYU7WuVY275jbIT2FWOsWk=; b=eO+5gjuyNPv03oKX1q/5hcaZS5kToCbOeySARQ7Z6w/JVu3S7J0iC+1rYukNGY0/kT qTBU0Di8szBPxKgm2osMVCUDJdSzu2SpaYZoVwPk/PKqUWBm5rZU6LfxTVrWj6PmNqA3 YojxuNIaT0rMAwc+vHbxJyfB51jZbFxhLC/oIajzDnPeWyTzYMSrzoTM0Kr8wDrNVj8O AiPnuHI0lnjiKf5bBiS2YAg3t7WS+owJJxCrNEe+72YMEycZ4zbOYFyCEIzYNANFXE/Y OrOsIVUNAG+b12RLAv15Y1DueB05pTrt5DhHkRm074WR+lDNC3wb41eyIzNUui9T8oeE rlWw== X-Gm-Message-State: AOJu0YyEXOZaWlvutBQx4Z+fhVQalRn3hcrjOqu0AKzxzrRZQlxzJhfW RnYtYDG93jhrgIB2ixKtcP8Hn9DbC/IAyQ== X-Received: by 2002:a5d:5184:0:b0:337:2296:adb0 with SMTP id k4-20020a5d5184000000b003372296adb0mr1925590wrv.54.1704726833743; Mon, 08 Jan 2024 07:13:53 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a5-20020adffb85000000b003376af392e5sm2440383wrr.38.2024.01.08.07.13.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 07:13:53 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id F37B85F93F; Mon, 8 Jan 2024 15:13:52 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Pavel Dovgalyuk , Richard Henderson , Pavel Dovgalyuk , Paolo Bonzini , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 01/13] tests/avocado: add a simple i386 replay kernel test Date: Mon, 8 Jan 2024 15:13:40 +0000 Message-Id: <20240108151352.2199097-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240108151352.2199097-1-alex.bennee@linaro.org> References: <20240108151352.2199097-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org There are a number of bugs against 32 bit x86 on the tracker. Lets at least establish a baseline pure kernel boot can do record/replay before we start looking at the devices. Acked-by: Pavel Dovgalyuk Acked-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20231211091346.14616-2-alex.bennee@linaro.org> diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py index c37afa662c2..1eaa36444cb 100644 --- a/tests/avocado/replay_kernel.py +++ b/tests/avocado/replay_kernel.py @@ -82,6 +82,22 @@ def run_rr(self, kernel_path, kernel_command_line, console_pattern, class ReplayKernelNormal(ReplayKernelBase): + def test_i386_pc(self): + """ + :avocado: tags=arch:i386 + :avocado: tags=machine:pc + """ + kernel_url = ('https://storage.tuxboot.com/20230331/i386/bzImage') + kernel_hash = 'a3e5b32a354729e65910f5a1ffcda7c14a6c12a55e8213fb86e277f1b76ed956' + kernel_path = self.fetch_asset(kernel_url, + asset_hash=kernel_hash, + algorithm = "sha256") + + kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=ttyS0' + console_pattern = 'VFS: Cannot open root device' + + self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=5) + # See https://gitlab.com/qemu-project/qemu/-/issues/2010 @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test sometimes gets stuck') def test_x86_64_pc(self):