From nobody Tue Nov 26 22:40:58 2024 Delivered-To: importer@patchew.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=1704726851; cv=none; d=zohomail.com; s=zohoarc; b=K10vt9x+W51/bhP8YtAX7hXcbo5pd/9YRN4ilinUy862IjZ8KZqWnpW/yN7jQ7g13Kodv1nSe+OyOQe3KegQN9UhKj3HrshXFjEHxh3WoCt+kK1QKJqCy9GJuYylavo7RsHdKJmCjoTQSsHzNDc3+RO1IABrJNeJE4/UKt5h5Wo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704726851; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OXuo8l/nA31Hwk3vdPvJmIYU7WuVY275jbIT2FWOsWk=; b=kzaLbAXJIuUjQIbH6crR6rk04lUqVIYzpLVD828YhTma/ZgUCfK/FNKOZHEsOm7yXmrO5E7mtsZem7aKzSiaPhUkUG22eIjFnCi9RNIbOjF5V583LSPHIG+hQjWgfCdfom6/f93mOSM3+829IcFOrHhnTQlZsOsamlYEwG+gHVU= 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1704726851788242.59092961842794; Mon, 8 Jan 2024 07:14:11 -0800 (PST) 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) 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) 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-Google-Smtp-Source: AGHT+IGUK7/Uk83dZXFKIZPuiffzu4/pZb+Qh1A/PHiIEVOi5OCL1cNPKTcV6KrhqfBaw9kxOTdrBg== 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) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pavel Dovgalyuk , Richard Henderson , Pavel Dovgalyuk , Paolo Bonzini , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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; 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1704726853900100003 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=C3=A9e 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, conso= le_pattern, =20 class ReplayKernelNormal(ReplayKernelBase): =20 + def test_i386_pc(self): + """ + :avocado: tags=3Darch:i386 + :avocado: tags=3Dmachine:pc + """ + kernel_url =3D ('https://storage.tuxboot.com/20230331/i386/bzImage= ') + kernel_hash =3D 'a3e5b32a354729e65910f5a1ffcda7c14a6c12a55e8213fb8= 6e277f1b76ed956' + kernel_path =3D self.fetch_asset(kernel_url, + asset_hash=3Dkernel_hash, + algorithm =3D "sha256") + + kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3DttyS0' + console_pattern =3D 'VFS: Cannot open root device' + + self.run_rr(kernel_path, kernel_command_line, console_pattern, shi= ft=3D5) + # See https://gitlab.com/qemu-project/qemu/-/issues/2010 @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test sometimes gets s= tuck') def test_x86_64_pc(self): --=20 2.39.2