From nobody Tue Nov 26 16:24:30 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1706076171; cv=none; d=zohomail.com; s=zohoarc; b=Aiqd2EV24YQXsa9misEPM88tifD0SwHl6r/n71nhRQUWBt8eC32Hed4OvUL3ZhBfqcVQ1hn5uJRZGrnpMVwaSpQ4RE9sEB/TNgV8YMv0G0QodPO0m9kQdn0PSf6dxyhOXkSKLuVsjGgrja9tOuncsOQsnYa9GBUTJJI9Hsjs3Dw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706076171; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ImfGyjfA4EuJ2Nqadid6cTGtn5ZwpnE/HWJORfnVe/g=; b=eREjMC84oETE2BcRliucuiM7gyFEyxSsQr744Uz3tyYcy1/kRE9ERT8HhVQiccCkQc79127kazGVYtOX3fug5RELtr1xmO1wUQGctCeLtcUmXx/oS7tdPsctaBza2Ls6q+aLAuWrXbJsujJ3DX1qJCrxy4SCJnicu3cECJV/StY= 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 1706076171822832.6504167243908; Tue, 23 Jan 2024 22:02:51 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSWKp-0002Do-H5; Wed, 24 Jan 2024 01:02:04 -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 1rSWKh-0002D0-OE; Wed, 24 Jan 2024 01:01:56 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSWKg-0003Bu-8C; Wed, 24 Jan 2024 01:01:55 -0500 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2903cd158f8so2929722a91.2; Tue, 23 Jan 2024 22:01:51 -0800 (PST) Received: from wheely.local0.net (110-175-3-177.tpgi.com.au. [110.175.3.177]) by smtp.gmail.com with ESMTPSA id d14-20020a17090b004e00b0029020be4298sm12783325pjt.0.2024.01.23.22.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 22:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706076110; x=1706680910; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ImfGyjfA4EuJ2Nqadid6cTGtn5ZwpnE/HWJORfnVe/g=; b=elWqbzAXLteo/lmmaeLqhehX4DXNXzkOe8ZHygOdNFYN569mUr5nhMwg8GCffE5LE+ VWJxbGzoZS6iZh6wDLIv4Jq0fel0b31+iYzH073KLpN5RxIj3aDcHw5wDIMUClCraoVk Bttzomq+w7rHETN+9BE5+GjvZs7Gp590qNP10fHTsx2Kat8rcV1u390l86aU+5IMRMYH g6Q0aTKEDxMABOyVZoTBN5Jkxo4x4lAvuwfcCJIEO1nwPcjwuYaCdANGVgnujNOTZ2UK xsrzSI5VHKGAp0HoOU6bbdXsZmOphLjY+6JQ9Fni0O/G3gB927ZpgPAZAu0SGr5XVRt0 WmKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706076110; x=1706680910; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ImfGyjfA4EuJ2Nqadid6cTGtn5ZwpnE/HWJORfnVe/g=; b=DVHNVPw1WG9gFrbFtBSwCWLY1rpV8uWPN/n1TlbdX/+HBnXYGmwP1FHneMXjm0Njxt whw2PmibN+hOYbrYwR7MZCi+SrP5VrVb7OSEh7KjqObOmtlPKPgqz8Pmflqg6f11Yhqo 81InXM7nC5F8TlDY1aNH+ANkyw1PYh3gkh3SY6bOKsa/0QLyhGf5bV09EchxlaNFZU/H EfJkUfeLI1nCU0RQrpruxel9dSDZ3UUmBRtC1ypG76LyI9imJT2QQ/17b88kQQ7dXVSF CDf8q9ETv9QccZrDHst2fqhfNnvTrmvv01QH9PC97AREohUrZgUzd0ZIS/u7kwls1vFC XxFQ== X-Gm-Message-State: AOJu0YyGLima2RZT/9dRKt7+NUWo03xI1/N/wINrJ1Bx44sFiDzD4/Jq QVog2Qa4v/DBwUcfyL8R9kNUOLcd58HQL4QkNbnxiAjafS/QBQ5w8m63gCHO X-Google-Smtp-Source: AGHT+IE/AjU3mqd9R7nJU+b20B9g9pzBZa2/lQ55+PKX0N1jl2V5IxGRPWgU3teZmHAE+T2hDAPzug== X-Received: by 2002:a17:90a:8281:b0:290:170e:2e21 with SMTP id g1-20020a17090a828100b00290170e2e21mr3392316pjn.35.1706076109524; Tue, 23 Jan 2024 22:01:49 -0800 (PST) From: Nicholas Piggin To: qemu-ppc@nongnu.org Cc: Nicholas Piggin , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Barrat?= , Daniel Henrique Barboza , David Gibson , Harsh Prateek Bora , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , qemu-devel@nongnu.org Subject: [PATCH] tests/avocado: improve flaky ppc/pnv boot_linux_console.py test Date: Wed, 24 Jan 2024 16:01:34 +1000 Message-ID: <20240124060134.406331-1-npiggin@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 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=2607:f8b0:4864:20::1030; envelope-from=npiggin@gmail.com; helo=mail-pj1-x1030.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, FREEMAIL_FROM=0.001, 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 @gmail.com) X-ZM-MESSAGEID: 1706076173017100001 Content-Type: text/plain; charset="utf-8" The expected MTD partition detection output does not always appear on the console, despite the test reaching the boot loader and the string appearing in dmesg. Possibly due to an init script that quietens the console output. Using an earlier log message improves reliability. Signed-off-by: Nicholas Piggin Reviewed-by: C=C3=A9dric Le Goater --- tests/avocado/boot_linux_console.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux= _console.py index 3f0180e1f8..922a9e7b79 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -1368,7 +1368,9 @@ def do_test_ppc64_powernv(self, proc): self.wait_for_console_pattern("CPU: " + proc + " generation proces= sor") self.wait_for_console_pattern("zImage starting: loaded") self.wait_for_console_pattern("Run /init as init process") - self.wait_for_console_pattern("Creating 1 MTD partitions") + self.wait_for_console_pattern("rtc-opal opal-rtc: setting system c= lock") + # MTD partition detection output is sometimes cut off from console + # output, suspect S14silence-console init script. =20 def test_ppc_powernv8(self): """ --=20 2.42.0