From nobody Wed Nov 27 04:54:55 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=1701808976; cv=none; d=zohomail.com; s=zohoarc; b=IduN9MSRVHO01KtgOiUvJhp1/ijFNCsSK/Lokk6BMdsqCLzBzp9cga84vBqyxirae0lNegYWr2un2ChTeaJ1vZRAkYvtc78gzurUes1A2Y6COcHyEWgdxoK3wJdTiMw+SHbSCzEKL2dUFUkVEOhwmnQwuufNk293qxN0Capr1o4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701808976; 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=dc4DC6j7/1Sz+Ur/zdr+xWcs+c/Czka+caIepOUIoFE=; b=aTIqjQR48CQ/X+d4fYPigXsJ9hmiFhAo/K8nlu7p6/fWW1w8DWjVn6V+g1EC1+UVkU0srebdI7TNG75PLFtsPaHQCR7MCMs7rUQAnW5RBoRe+TEpnJSB5lk4arjk/kKGjYgwc9rJEz8uI2mkVGKyaeEG4enDEemC5Du9VEjd4po= 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 1701808976388418.99661965159464; Tue, 5 Dec 2023 12:42:56 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAcEC-0007Nx-2B; Tue, 05 Dec 2023 15:41:12 -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 1rAcEA-0007NF-5o for qemu-devel@nongnu.org; Tue, 05 Dec 2023 15:41:10 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rAcE8-0002E3-CL for qemu-devel@nongnu.org; Tue, 05 Dec 2023 15:41:09 -0500 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-33349b3f99aso76837f8f.0 for ; Tue, 05 Dec 2023 12:41:07 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id j1-20020a5d5641000000b0033349de2622sm6333379wrw.94.2023.12.05.12.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 12:41:06 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 2678D5FBB8; Tue, 5 Dec 2023 20:41:06 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701808867; x=1702413667; 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=dc4DC6j7/1Sz+Ur/zdr+xWcs+c/Czka+caIepOUIoFE=; b=qoifM3vmWlx6eNJ0e5Ix//uFhEquDcc42gmLS+7MU4COBOVWT0fC2InFmOLTdbU+uq Iagmrd/i12vuBrWL+5kDYT1mSw/kRlU/Pm+8SW6etWvMFwDpvvSn2S4es9obCFw6wXIL 8F1VfVG9C3yaPEwvUyCQmlJS7qD0wKwONErSvnJQobN8wfUpTdVu4SooasboOL43QsX1 gxuZoeVA5vGxRL06uQ4ncggvYNjkcFPYg6Pyse2OZpmyoYrMKH9Kblk9J0aq8d8vX2ZX LuTBJeXgx1TIvikTwJqg6rUmgxL6OdtVFGCjHaKjb7lRoNHFA7aXOkzieOipcIap7sdo DOQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701808867; x=1702413667; 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=dc4DC6j7/1Sz+Ur/zdr+xWcs+c/Czka+caIepOUIoFE=; b=t9zU2Bja1dQok1HMOCNKSZv0qN8/8r6ncFuDL47PP8XhxuWnphju571YnjJ3qDrQFo UPQoqPv2rxLFw+e6UmyexZW2eEeNSyno20N0eapoI+3w7BMMSpF9qCTr9Nv1YOQ6ROag 8JjptMFw6SILSBSa9SFfj4T3YBXgunh4Ji9XwF/fre6uCpwXzTC8tb8g9QAu/e2RT81q nWl5ZOk3d4+qs2QTTajP09GYDS2VVNH/jzx4wOql1+FOvM6XjZzidfvHGFCi4xZ1YjRM SAiTqV9b0DrKr0DkLvePN33W92y0auvE+huJ78+KPfq7OCnweWIKKQ45Hk+VTT8EnaeR HzSg== X-Gm-Message-State: AOJu0YzFjMgSbloRv/rnyOWDu99XC4wB4kCPzPEtBB5nc+diV39ptgSu M3oZ/ec1UtNdBJPQswPhoJDBtg== X-Google-Smtp-Source: AGHT+IE+ViipkQvP/0pMQKe5dVUxH/76MrbYk2OLv9z+zJ7LQLRa8zzrMuBjy9kY9OPoAQL4MRF9qg== X-Received: by 2002:a5d:67c6:0:b0:333:3cf1:cb84 with SMTP id n6-20020a5d67c6000000b003333cf1cb84mr3314839wrw.139.1701808866828; Tue, 05 Dec 2023 12:41:06 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , Beraldo Leal , Eduardo Habkost , Richard Henderson , Wainer dos Santos Moschetta , Paolo Bonzini , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , John Snow , Pavel Dovgalyuk , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH 01/11] tests/avocado: add a simple i386 replay kernel test Date: Tue, 5 Dec 2023 20:40:56 +0000 Message-Id: <20231205204106.95531-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231205204106.95531-1-alex.bennee@linaro.org> References: <20231205204106.95531-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::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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: 1701808978717100001 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. Signed-off-by: Alex Benn=C3=A9e Acked-by: Pavel Dovgalyuk Acked-by: Richard Henderson --- tests/avocado/replay_kernel.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py index c37afa662c..1eaa36444c 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