From nobody Sun Sep 27 23:10:25 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=reject dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1789555056; cv=none; d=zohomail.com; s=zohoarc; b=QyOf91GEHCRDnMu2UAis1RJn1cX5v8uZda/M5+ruzhohfGNz2KRqpqX1roHyWppA5V91DfHrJoKZUL8a3/xpsLkwN8nnzjXOXlvC+m0m3/wDKp1suiyTeGXpd0uYwoywc3bvm/f1DMuGBcKeGKs/GYg/SmlUNtPTEvJA6tIlOBI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1789555056; h=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=BRj34CgiY9evdq9cqSVOocaDD5xjhkKjvjonBBTez4Y=; b=Pz3q9rJnnZYq1TelmIs9n/8SuqP2khDS7tej4Ba7EC6nEFYhVbpoSwHKk7eP5CgxLsLKO6nVaiJ/5xWTwTqh62VteeYLiochPCKyXp9B1laDWLnZ6g8VZudrxdb/yMZq15zjxuEOYisONBW3K4+sFGhB7HXk81DX9qa97k7ZIy0= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1789555056418942.257963688839; Wed, 16 Sep 2026 03:37:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x6n12-0003ti-BX; Wed, 16 Sep 2026 06:37:24 -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 1x6n0s-0003mp-4f; Wed, 16 Sep 2026 06:37:15 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x6n0h-0001in-Jk; Wed, 16 Sep 2026 06:37:05 -0400 Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68FLVsVj1952303; Wed, 16 Sep 2026 10:37:02 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4gmx83v0n7-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 16 Sep 2026 10:37:01 +0000 (GMT) Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 68G7XsS5426534; Wed, 16 Sep 2026 10:37:00 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4gq089nstr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Sep 2026 10:37:00 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 68GAauDY26804682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Sep 2026 10:36:56 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3DE1620040; Wed, 16 Sep 2026 10:36:56 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3E1BF20043; Wed, 16 Sep 2026 10:36:53 +0000 (GMT) Received: from localhost.localdomain (unknown [9.39.21.121]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Wed, 16 Sep 2026 10:36:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=BRj34CgiY9evdq9cq SVOocaDD5xjhkKjvjonBBTez4Y=; b=dwhql4IguJM4DPGnzyARtV/xQdjbYBSdn EiMiComiNpDtI7TVqumccTJCT9Ec4kscmQoUizV3GclB4HjVpNx4mXgyZoiucOlh DJ8ybxDeBwQR+Ibr5DU/B1AuFT4N0hlzLCTdx8JDDG5JXPocLaYLLKUCNL9vf9Z7 rGwb5YOrelgORqyiOu3qxlBze8TvldQ3cE7EWoHBuBNgmCO/FrozroNqs1Xf7BW/ 4I995FsQTSzSgIsxw3+eeecnSAY78F726QLGiH8Iy9vFRCqqhjxDMWhkPJ8ze5ay 601+lsod9r43Ilj+Ukhs+GlD2nNfYhVFaYiqnejMleKaQVPZg1woQ== From: Aniket Sahu To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: npiggin@gmail.com, rathc@linux.ibm.com, milesg@linux.ibm.com, harshpb@linux.ibm.com, anushree.mathur@linux.ibm.com, misanjum@linux.ibm.com, adityag@linux.ibm.com, gautam@linux.ibm.com, thuth@redhat.com, asahu1x@linux.ibm.com Subject: [PATCH v2 1/2] tests/functional/ppc64: extend pseries migration tests Date: Wed, 16 Sep 2026 16:06:34 +0530 Message-ID: <20260916103635.7797-2-asahu1x@linux.ibm.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260916103635.7797-1-asahu1x@linux.ibm.com> References: <20260916103635.7797-1-asahu1x@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE2MDEzOCBTYWx0ZWRfX43SfS+uSCm1b G5ktshmqxHrGQO3d0BeS7eFZt+Im30CMNYq5m1nf7vr7cUcvpzhVyTh+oLn+7AaWtJd7WBnRVWq kgWHTjCSDHDjLG/lRbds59ISOaiuy/umJdsqq5j0vpT2ih1KEWIFNnStVlvkpBKWH6Ar0/cetid Xz8KAY4XnkovWaM+ERUO6wRdE01EaYM4DxLv9uNAXZ34VHnkYs1BAZ9ST49sZerlvYSFdZsytq7 V2ClCCT/3fFtbh0ntjBlbqZt+sXy/FKiDpG859VdQ+ixhALRkG9pPIulOoCqXds5ZIMIou1nW7N G/ZziO6KuATjYMUis5/F++sYyuU7PgP9xaxB0IpZb1ubo35wZKiBXWO6jkl2V2hhs6PDV4eDIzE x2B35DVMpP1B6bvQ8FoMZKE2uUO3caUPw7czp+ZOM6BQ1Nnwer9jD8OlHZoIIvI9/thO1VdPdjB WW3UfX5M3UVaL67kfAw== X-Proofpoint-ORIG-GUID: VxUYUY0DOFGMGCgrCT3uT56-UoZN5t4K X-Proofpoint-GUID: Mp5pnlGk_pNeyp2UwLeKKrZwP7DVQEJP X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE2MDEzOCBTYWx0ZWRfX8/X+xrvx7jTe JyCB6EcKBHI1eIQozPvbHdgUrsDR3tF5hDDs3svAPcZbiuF4NpsR+SugNvj1tu4+KpkVJWrd98T 7TEtcik9J+4hvWhPgRwR+s3RMObatzc= X-Authority-Analysis: v=2.4 cv=cY9HPXDM c=1 sm=1 tr=0 ts=6aaa714d cx=c_pps a=3Bg1Hr4SwmMryq2xdFQyZA==:117 a=3Bg1Hr4SwmMryq2xdFQyZA==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=iQ6ETzBq9ecOQQE5vZCe:22 a=lZSLbgsDqh2nBwNdn7wA:9 a=O8hF6Hzn-FEA:10 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-15_05,2026-09-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 bulkscore=0 clxscore=1015 suspectscore=0 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609160138 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=148.163.156.1; envelope-from=asahu1x@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 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 @ibm.com) X-ZM-MESSAGEID: 1789555058143158500 Content-Type: text/plain; charset="utf-8" Made a few changes to test_pseries.py to extend the migration tests to validate exec (socat) and UNIX paths. - Refactored test_ppc64_linux_migration to a private method _do_linux_migration(dst_uri, src_uri=3DNone). - It is then called by three separate methods which exercise the TCP, UNIX and exec paths via the migrate_vms method from MigrationTest. --- tests/functional/ppc64/test_pseries.py | 41 ++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/tests/functional/ppc64/test_pseries.py b/tests/functional/ppc6= 4/test_pseries.py index cb6d25dc81..19f31141b1 100755 --- a/tests/functional/ppc64/test_pseries.py +++ b/tests/functional/ppc64/test_pseries.py @@ -8,8 +8,9 @@ # later. See the COPYING file in the top-level directory. =20 from qemu_test import Asset -from qemu_test import wait_for_console_pattern +from qemu_test import wait_for_console_pattern, which from migration import MigrationTest +from qemu_test.ports import Ports =20 class PseriesMachine(MigrationTest): =20 @@ -88,12 +89,20 @@ def test_ppc64_linux_big_boot(self): wait_for_console_pattern(self, console_pattern, self.panic_message) wait_for_console_pattern(self, self.good_message, self.panic_messa= ge) =20 - def test_ppc64_linux_migration(self): + def _do_linux_migration(self, dst_uri, src_uri=3DNone): + """ + Boot a pseries kernel on a source VM, wait until Linux is up, then + migrate to a destination VM over the given URI(s) and verify the b= oot + continues on the destination. + """ self.set_machine('pseries') =20 kernel_path =3D self.ASSET_KERNEL.fetch() kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE =20 + if src_uri is None: + src_uri =3D dst_uri + dest_vm =3D self.get_vm(name=3D"dest-qemu") dest_vm.add_args('-incoming', 'defer') dest_vm.add_args('-smp', '4') @@ -111,16 +120,38 @@ def test_ppc64_linux_migration(self): source_vm.set_console() source_vm.launch() =20 - # ensure the boot has reached Linux + # ensure the boot has reached Linux before migrating console_pattern =3D 'smp: Brought up 1 node, 4 CPUs' wait_for_console_pattern(self, console_pattern, self.panic_message, vm=3Dsource_vm) =20 - self.migration_with_tcp_localhost_vms(dest_vm, source_vm) + self.migrate_vms(dst_uri, src_uri, dest_vm, source_vm) =20 - # ensure the boot proceeds after migration + # ensure the boot continues on the destination after migration wait_for_console_pattern(self, self.good_message, self.panic_messa= ge, vm=3Ddest_vm) =20 + def test_ppc64_linux_migration(self): + with Ports() as ports: + port =3D ports.find_free_port() + if port is None: + self.skipTest('Failed to find a free port') + self._do_linux_migration('tcp:localhost:%u' % port) + + def test_ppc64_linux_migration_unix(self): + self._do_linux_migration( + 'unix:%s/migration.sock' % self.socket_dir().name) + + def test_ppc64_linux_migration_exec(self): + if not which('socat'): + self.skipTest('socat is not available') + with Ports() as ports: + port =3D ports.find_free_port() + if port is None: + self.skipTest('Failed to find a free port') + self._do_linux_migration( + 'exec:socat TCP-LISTEN:%u -' % port, + 'exec:socat - TCP:localhost:%u,forever' % port) + if __name__ =3D=3D '__main__': MigrationTest.main() --=20 2.52.0 From nobody Sun Sep 27 23:10:25 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=reject dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1789555136; cv=none; d=zohomail.com; s=zohoarc; b=mVV2lx2Rtyb1owLV6lIsawM1naDusIMeVqNH3C1PSX2bHtnU7dwlz7LezHnNdkr6vFJydNdqQ4XbfBm9CbwrHnTwlAWB/apSeJmJHrRf+jaVj1vfXHHkDNv3j4pVVX90wXm+rNTlQdCgB6Z63Ebl1PytzNvq+ETKDogPdbfb1jM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1789555136; h=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=u+H3DkdBtUxaF+rhrm3DezAyLe8fhl+QaVzZEetcwG8=; b=EQxUco3CqhnZsWKmwlws4gwQMxRBsMWsbI5GKBLUFMa1TIm7NlWLCkoztwzVgUQvla5bXpmeldm7IUfFCKNmnADS378ss6Ey19RwSGIoasNPkHXMlEhXhhBqPNLi/8U6yzNPH1XNqPAhdWMh6KxaVydy33WNiINN2+YagDy/iGQ= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1789555136592949.960196811166; Wed, 16 Sep 2026 03:38:56 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x6n13-0003wq-Ph; Wed, 16 Sep 2026 06:37:25 -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 1x6n0u-0003nS-FL; Wed, 16 Sep 2026 06:37:19 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x6n0s-0001jb-6x; Wed, 16 Sep 2026 06:37:16 -0400 Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68FLVqYk791655; Wed, 16 Sep 2026 10:37:06 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4gmw5e3sjr-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 16 Sep 2026 10:37:05 +0000 (GMT) Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 68G7UjRM477719; Wed, 16 Sep 2026 10:37:05 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4gpywewvah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Sep 2026 10:37:05 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 68GAb1ia23855788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Sep 2026 10:37:01 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 571C820043; Wed, 16 Sep 2026 10:37:01 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B5BF20040; Wed, 16 Sep 2026 10:36:58 +0000 (GMT) Received: from localhost.localdomain (unknown [9.39.21.121]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Wed, 16 Sep 2026 10:36:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=u+H3DkdBtUxaF+rhr m3DezAyLe8fhl+QaVzZEetcwG8=; b=dnvpv6pJE1Fvf5aJxaZVC+IQRLmenEI4e Jq2iDV+s67i8RmTfDaL2xk29styJZnDGZmTWdP/mFeJ+eOjRcvMLIj95KsDootJV ALMwOUsbnuhXn3kJRqNxNSCjJaYRt7RzkBNIRJYL3BN///nbBReD2hH/Jo9t6RoW AxK4cEEiHJaWXiJfSMJt0ux2Us/nZxc/dFPKxLSHJSTIBCTvCMDID0oAR6iTTxNH TMA5gipZ0KoerGDeyemTmG9c/brhgEAHFOv3+XS0loarAXiqGd63ZKSPw+m+m+bM ADFxK10Ph7UQfvhfUXAAk+EtbIXm91aqWn/N4Fp4Fr8BvMMhIilCA== From: Aniket Sahu To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: npiggin@gmail.com, rathc@linux.ibm.com, milesg@linux.ibm.com, harshpb@linux.ibm.com, anushree.mathur@linux.ibm.com, misanjum@linux.ibm.com, adityag@linux.ibm.com, gautam@linux.ibm.com, thuth@redhat.com, asahu1x@linux.ibm.com Subject: [PATCH v2 2/2] tests/functional/ppc64: extend ppc64 powernv net device tests Date: Wed, 16 Sep 2026 16:06:35 +0530 Message-ID: <20260916103635.7797-3-asahu1x@linux.ibm.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260916103635.7797-1-asahu1x@linux.ibm.com> References: <20260916103635.7797-1-asahu1x@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE2MDEzOCBTYWx0ZWRfX3mnewUjM95Jy nLmn6mrT5lKMTp2Yz/TBCQRVpZhOFCuX2oJNqpPgSXD38mOgwZYqhBQoaZ8MAvi2TKRZwwXTvzE PWr24FwJaVIgv+162rG3JxQSHnL2g0hYxduE6WHIxKTeQMXsy4JNyI7aRktuXFTJBZOoMHu1E1/ 8lqsV0M0MASDLfTBaVOYCVU+BUNb44ko3MQVPYpoBO9twf6DQYplD4/Fn6RuCVIaThxQGbOLCMW wtF238+7PvVc0oAdpiclq5BE8YWmtKCPkzt15jNZew1Tsd34ngo6HsanJPln9QJirzVtmh5oLiZ qlpJZ4iAqepJaj7WJcfPm2xDefHZg9yZAc2ikN/U+TKJg/bANmeWRc/mggIoLvOUVeMV98pqsrQ CptZZLIo6Sy0Xan1vXi2gLeKqcQxFJyBhG/+BbGxw5N3yydDuScwjFVRog9XqpcPzlwKYLuJGIP 0kTmj6BJ0HwuYtURWGg== X-Authority-Analysis: v=2.4 cv=E/NYNqdl c=1 sm=1 tr=0 ts=6aaa7152 cx=c_pps a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=V8glGbnc2Ofi9Qvn3v5h:22 a=qvQqbTaxai10iMa-vdEA:9 X-Proofpoint-ORIG-GUID: YrGIeURe30P015aNh4iHPTzDkM7XL9Ja X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE2MDEzOCBTYWx0ZWRfX7a85x/mfX10v f8nD2fkL+M3QJvShHJ3PCl9xqo2zG3SJt58rpah6jI/3ScWcKFtd4Xj9Pxn1XBqcbNfNUOnkQuj fuDQ3DHlu1e7MywJth2uoG6i0YyHpjQ= X-Proofpoint-GUID: PUAZhxOPDENJ-5H8RmgHk84joWj6jKK6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-15_05,2026-09-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 adultscore=0 clxscore=1015 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609160138 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=148.163.158.5; envelope-from=asahu1x@linux.ibm.com; helo=mx0b-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 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 @ibm.com) X-ZM-MESSAGEID: 1789555138525158500 Content-Type: text/plain; charset="utf-8" Added console checks as the probe log lines will appear before the S14Silence-console init scripts. Reviewed-by: Thomas Huth --- tests/functional/ppc64/test_powernv.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/functional/ppc64/test_powernv.py b/tests/functional/ppc6= 4/test_powernv.py index f3e05e4d38..200fd2c894 100755 --- a/tests/functional/ppc64/test_powernv.py +++ b/tests/functional/ppc64/test_powernv.py @@ -201,9 +201,12 @@ def do_test_ppc64_powernv(self, proc): =20 self.wait_for_console_pattern("CPU: " + proc + " generation proces= sor") self.wait_for_console_pattern("INIT: Starting kernel at ") + # NVMe, e1000e, and xHCI are probed synchronously by the kernel + # during PCI enumeration, after OPAL hands off to Linux. + self.wait_for_console_pattern("nvme nvme0") + self.wait_for_console_pattern("e1000e") + self.wait_for_console_pattern("xhci_hcd") self.wait_for_console_pattern("Run /sbin/init as init process") - # Device detection output driven by udev probing is sometimes cut = off - # from console output, suspect S14silence-console init script. =20 def test_ppc64_powernv_external_dtb(self): self.set_machine('powernv11') --=20 2.52.0