From nobody Mon Sep 28 02:13:38 2026 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=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1785130620; cv=none; d=zohomail.com; s=zohoarc; b=XEPz24vgC9q+kjE1yCO9PoExGjYqpiYd4E8K3khlmUwjshtOJAI/EVJmyFkAGq4ry0udMsw2/g2zftjdQroUnEz1vwQ2kvqxRcbDRm8yJxhWy5k2Q69Zoo49s2uAMQiELTGbMNwOWR/QkZ1pKLwKOY5PyEfmXCJpAvJD5IRwRs0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1785130620; 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=qhhFiG9dtTliGJi4wpYlM68+OjMm1Le3t+nf8bh37JE=; b=CBGgi7UyF7wflK0FEOjFMd7eqXREDqS6fDLcU7M/4za0T7to4gAlJUMdv1yXHq6xOcIIvfy8SvdYOch4Z08CoEcpoLcGW2eNN+1N036ZW7ZaoSGAAoISqv+KYtNBKBFq1pCPVxNMgl6kjiryWvp1yzz+LhNONT+cZlLhmwTPYSQ= 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=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1785130620414991.2969100651738; Sun, 26 Jul 2026 22:37:00 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1woE0p-0000vu-Qu; Mon, 27 Jul 2026 01:36:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1woE0o-0000uo-52 for qemu-devel@nongnu.org; Mon, 27 Jul 2026 01:36:26 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1woE0l-0003Je-Os for qemu-devel@nongnu.org; Mon, 27 Jul 2026 01:36:25 -0400 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-467-aJkb3BhhPg-oimivyPdKXg-1; Mon, 27 Jul 2026 01:36:19 -0400 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 21A071801345; Mon, 27 Jul 2026 05:36:18 +0000 (UTC) Received: from corto.redhat.com (unknown [10.44.32.30]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0E7821800591; Mon, 27 Jul 2026 05:36:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1785130583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qhhFiG9dtTliGJi4wpYlM68+OjMm1Le3t+nf8bh37JE=; b=DTjqWpBZsFQA6srWRhKgA4RSdByg3JaPMWiKV0jKD9SpGhFHhcB69xiWt4s298Nt2mCBK6 OTEN9vlFEtl/7d6q+w57BWvXfch34zz8I0Q4jPpARzmoXniprdus+BRjt9Vzp2ahvfaQzC plGQoVndZAJkPTUhMZk7m73GCh8KkOE= X-MC-Unique: aJkb3BhhPg-oimivyPdKXg-1 X-Mimecast-MFC-AGG-ID: aJkb3BhhPg-oimivyPdKXg_1785130578 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PULL 1/1] tests/functional/aspeed: Fix remaining hostname-specific login prompts Date: Mon, 27 Jul 2026 07:36:11 +0200 Message-ID: <20260727053611.1388339-2-clg@redhat.com> In-Reply-To: <20260727053611.1388339-1-clg@redhat.com> References: <20260727053611.1388339-1-clg@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 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=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=clg@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.58, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development 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 @redhat.com) X-ZM-MESSAGEID: 1785130621794158500 Commit b04746bd0d7c unified boot completion detection on the generic 'login:' prompt but missed several SDK test files that still matched on hostname-prefixed patterns. Apply the same fix. Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4059 Fixes: b04746bd0d7c ("tests/functional/aspeed: unify boot completion detect= ion on 'login:' prompt") Reported-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Peter Maydell Link: https://lore.kernel.org/qemu-devel/20260720162321.3497633-1-clg@redha= t.com Signed-off-by: C=C3=A9dric Le Goater --- tests/functional/aarch64/test_aspeed_ast2700a1.py | 2 +- tests/functional/aarch64/test_aspeed_ast2700a2.py | 2 +- tests/functional/aarch64/test_aspeed_ast2700fc.py | 2 +- tests/functional/arm/test_aspeed_ast2500_sdk.py | 2 +- tests/functional/arm/test_aspeed_ast2500_sdk_515.py | 2 +- tests/functional/arm/test_aspeed_ast2600_sdk.py | 2 +- tests/functional/arm/test_aspeed_ast2600_sdk_515.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/functional/aarch64/test_aspeed_ast2700a1.py b/tests/func= tional/aarch64/test_aspeed_ast2700a1.py index b0c08854daa9..ddddd2d47a95 100755 --- a/tests/functional/aarch64/test_aspeed_ast2700a1.py +++ b/tests/functional/aarch64/test_aspeed_ast2700a1.py @@ -81,7 +81,7 @@ def verify_openbmc_boot_start(self, enable_pcie=3DTrue): def verify_openbmc_boot_and_login(self, name, enable_pcie=3DTrue): self.verify_openbmc_boot_start(enable_pcie) =20 - wait_for_console_pattern(self, f'{name} login:') + wait_for_console_pattern(self, 'login:') exec_command_and_wait_for_pattern(self, 'root', 'Password:') exec_command_and_wait_for_pattern(self, '0penBmc', f'root@{name}:~= #') =20 diff --git a/tests/functional/aarch64/test_aspeed_ast2700a2.py b/tests/func= tional/aarch64/test_aspeed_ast2700a2.py index ed414999f4fa..0fe04a6eca7f 100755 --- a/tests/functional/aarch64/test_aspeed_ast2700a2.py +++ b/tests/functional/aarch64/test_aspeed_ast2700a2.py @@ -81,7 +81,7 @@ def verify_openbmc_boot_start(self, enable_pcie=3DTrue): def verify_openbmc_boot_and_login(self, name, enable_pcie=3DTrue): self.verify_openbmc_boot_start(enable_pcie) =20 - wait_for_console_pattern(self, f'{name} login:') + wait_for_console_pattern(self, 'login:') exec_command_and_wait_for_pattern(self, 'root', 'Password:') exec_command_and_wait_for_pattern(self, '0penBmc', f'root@{name}:~= #') =20 diff --git a/tests/functional/aarch64/test_aspeed_ast2700fc.py b/tests/func= tional/aarch64/test_aspeed_ast2700fc.py index df889134edaa..86270e6111f3 100755 --- a/tests/functional/aarch64/test_aspeed_ast2700fc.py +++ b/tests/functional/aarch64/test_aspeed_ast2700fc.py @@ -51,7 +51,7 @@ def verify_openbmc_boot_and_login(self, name): self.enable_ast2700_pcie2() wait_for_console_pattern(self, 'Starting kernel ...') =20 - wait_for_console_pattern(self, f'{name} login:') + wait_for_console_pattern(self, 'login:') exec_command_and_wait_for_pattern(self, 'root', 'Password:') exec_command_and_wait_for_pattern(self, '0penBmc', f'root@{name}:~= #') =20 diff --git a/tests/functional/arm/test_aspeed_ast2500_sdk.py b/tests/functi= onal/arm/test_aspeed_ast2500_sdk.py index 5ab36b99ab47..6ab498b3ff54 100755 --- a/tests/functional/arm/test_aspeed_ast2500_sdk.py +++ b/tests/functional/arm/test_aspeed_ast2500_sdk.py @@ -22,7 +22,7 @@ def test_arm_ast2500_evb_sdk(self): self.do_test_arm_aspeed_sdk_start( self.scratch_file("ast2500-default", "image-bmc")) =20 - self.wait_for_console_pattern('ast2500-default login:') + self.wait_for_console_pattern('login:') =20 =20 if __name__ =3D=3D '__main__': diff --git a/tests/functional/arm/test_aspeed_ast2500_sdk_515.py b/tests/fu= nctional/arm/test_aspeed_ast2500_sdk_515.py index 2b257986f622..8d39dc65daaa 100755 --- a/tests/functional/arm/test_aspeed_ast2500_sdk_515.py +++ b/tests/functional/arm/test_aspeed_ast2500_sdk_515.py @@ -22,7 +22,7 @@ def test_arm_ast2500_evb_sdk_515(self): self.do_test_arm_aspeed_sdk_start( self.scratch_file("ast2500-default-515", "image-bmc")) =20 - self.wait_for_console_pattern('ast2500-default-515 login:') + self.wait_for_console_pattern('login:') =20 =20 if __name__ =3D=3D '__main__': diff --git a/tests/functional/arm/test_aspeed_ast2600_sdk.py b/tests/functi= onal/arm/test_aspeed_ast2600_sdk.py index 01548dd1354d..cabbe230c4cc 100755 --- a/tests/functional/arm/test_aspeed_ast2600_sdk.py +++ b/tests/functional/arm/test_aspeed_ast2600_sdk.py @@ -63,7 +63,7 @@ def test_arm_ast2600_evb_sdk(self): self.do_test_arm_aspeed_sdk_start( self.scratch_file("ast2600-default-image", "image-bmc")) =20 - self.wait_for_console_pattern('ast2600-default login:') + self.wait_for_console_pattern('login:') =20 exec_command_and_wait_for_pattern(self, 'root', 'Password:') exec_command_and_wait_for_pattern(self, '0penBmc', diff --git a/tests/functional/arm/test_aspeed_ast2600_sdk_515.py b/tests/fu= nctional/arm/test_aspeed_ast2600_sdk_515.py index ec043e7d6116..a8e7faff4890 100755 --- a/tests/functional/arm/test_aspeed_ast2600_sdk_515.py +++ b/tests/functional/arm/test_aspeed_ast2600_sdk_515.py @@ -22,7 +22,7 @@ def test_arm_ast2600_evb_sdk_515(self): self.do_test_arm_aspeed_sdk_start( self.scratch_file("ast2600-default-515-image", "image-bmc")) =20 - self.wait_for_console_pattern('ast2600-default-515 login:') + self.wait_for_console_pattern('login:') =20 =20 if __name__ =3D=3D '__main__': --=20 2.55.0