From nobody Sat Sep 6 16:55:36 2025 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=1756974351; cv=none; d=zohomail.com; s=zohoarc; b=Fd70XRo+0KfSIqeY+R/UboCWsSfIZOpXRStE7+j2DSG9RqEzW/xkbtv4eXqalU/JPi7KV74IyjDfOwkAADerluKLxlpTwMe/Q6P4k9WLsqifStoD+WGMQ3i43kPw4OapnxRgYXBEjiCfEvBCta8Ah6NblAW+r9fE7Cok7t4z1hI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1756974351; 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=3j1jG2MY/WGcH+crz7CtyaM5tw55oKFFqSyUb2OGtbM=; b=QOC3GTt8Fje9V2Gajk+vUmQnnX0g2B+xj2jZIn+SzDvYJUrwclvSYDBs08qbwkj0k4reRyWQtrkKHQ+bfRQRe/Y8CbB4nCAyDoEZR4y+M8U0OtxyrTUx1oPqK/i8D/1UE0u4jvJafXAfJJypyIm75sn590Vxmq82EbVkXkxxFO4= 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 1756974351540802.6097469747813; Thu, 4 Sep 2025 01:25:51 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uu54g-0006Mx-TH; Thu, 04 Sep 2025 04:12:07 -0400 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 1uu54a-0006GC-8n for qemu-devel@nongnu.org; Thu, 04 Sep 2025 04:12:00 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uu54J-00041e-O4 for qemu-devel@nongnu.org; Thu, 04 Sep 2025 04:11:59 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-61cb4374d2fso1072226a12.2 for ; Thu, 04 Sep 2025 01:11:42 -0700 (PDT) Received: from draig.lan ([185.126.160.19]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b03ab857474sm1225662366b.89.2025.09.04.01.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Sep 2025 01:11:37 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 71DFF5F9F7; Thu, 04 Sep 2025 09:11:29 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756973501; x=1757578301; 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=3j1jG2MY/WGcH+crz7CtyaM5tw55oKFFqSyUb2OGtbM=; b=xNT+gtAKGeol2h2GXBI9/QpScgbWnH/9lYAyf+ydexCHyJR3MbG6diaU1f4RciO8i3 J/+j5W9wYbqQvWrjCoDcHJqpvZPD0GcTDdv0kRK0WMjAvFUPR6PMm4p3df1Z+G9n7Lpg GAWIXEsoQTLL5qFU68EUiRf8yDlPBYYSF6AwIecc3Vai9YtQjXnIESEVREzinjxeaZq8 nXqqaeLLmrkBHC3ufD6qGwmZYmdRetEhVicmqw5UpaNMDp3BLiL7mk9X952FgozqcShp 2aFk6nMDm2h8l4C+O7RBouylyPQBeujvUEt50j5P8RZMxB/Gqs9IP+2B9KGcLO8fLjw5 e5tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756973501; x=1757578301; 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=3j1jG2MY/WGcH+crz7CtyaM5tw55oKFFqSyUb2OGtbM=; b=XmQ8aKLpPYwMii9Nn56b2dcwW3xhDPDFVhG+Sn7mYTDcjt3eqy+hVeuR+OjVAISEsh 2Z4T++yZ0FSGx0Y4ugEJmBbsVGRcKzai2E58eneNCT96UDJR0d9JXmLL5u128FbrFdeC SfZv1GyEDpIhVHkTg2W5Kc+lyyo4FKj7UUgkC2mxVEJXSNjxxGTM0E1pIgeuhqTrDzcb cWhQSy2IFBYj49mC95WeIq05ovuQTuD8C3ylwl8aAHwYA9Hi3a/zNCXGyP/BxUBXBdJa f5+m4GqePRJQ3kpW69QpNY5ywKnZRbYnCTKT3/xmDeZGoKZ6h+boLN1Lcf1i0QwU9tYh 2cXQ== X-Gm-Message-State: AOJu0YxODD4XGRh0VB2R5To9jo0mMJfTkPoJ57fwF+8F5xrMRXI7tQJQ Oljp7l71yLwwLDCjZk9OF3b2y/A/fMP/wUjyjuPER2loRyOy/2ngjqFjys10vRm+mtU= X-Gm-Gg: ASbGncv1eWLWiTVtIGWrQEVGojNI5ADgSOp7EEdJWjOQOFsnUjFpRsrUtcrFgRPtmQJ xpQLN6v3O6XRwAvroZJXg6zrbMP0Ycm4vP1s1alKYQjHa3ryHPpXNwrGt9zQrkLnQFklL/LvReJ 3ZISD3Oo8hHjQJqIRPuDpyoiZHEuYoLb0O5wlJY1T3DMYq78qi4Q6RgftUd0oS7mZRptZy/0kYg taIv1UoaQoKsHnWCGx6ZWHamdjEFjpplIYozYciSVJcTgqhwJCjMDu3vhVDVAaDeNf3l6lXAhwf +2LuSmnnfOMIRWNAkDvxJ3rhNFpovJ8YA6A4WZv/kQ5nOGZuT1NfKUqY0gxRpMjibBctbjQNp0n dHqaqNYkLWhKSyF/FT26Zz0RlH9U9PjxJ0A== X-Google-Smtp-Source: AGHT+IHtaOAptd/dOyrxka90iG+Ickwt+7m6mDEjwCXtB/2x+x0WNk1ZvG1BgsoUzoIQQ2o03oW8Ow== X-Received: by 2002:a17:906:4789:b0:b04:1a1c:cb5b with SMTP id a640c23a62f3a-b041a1ccc38mr1426344866b.7.1756973501036; Thu, 04 Sep 2025 01:11:41 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Reinoud Zandijk , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Huacai Chen , Zhao Liu , Paolo Bonzini , Alistair Francis , qemu-arm@nongnu.org, Fam Zheng , Helge Deller , Matthew Rosato , Fabiano Rosas , qemu-rust@nongnu.org, Bibo Mao , qemu-riscv@nongnu.org, Thanos Makatos , Liu Zhiwei , Riku Voipio , Cameron Esfahani , Alexander Graf , Laurent Vivier , Harsh Prateek Bora , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , qemu-ppc@nongnu.org, Stafford Horne , Sunil Muthuswamy , Jagannathan Raman , Igor Mammedov , Brian Cain , Phil Dennis-Jordan , devel@lists.libvirt.org, Mads Ynddal , Elena Ufimtseva , Peter Xu , Jason Herne , Michael Rolnik , Weiwei Li , Laurent Vivier , Ilya Leoshkevich , qemu-block@nongnu.org, Peter Maydell , Kostiantyn Kostiuk , Kyle Evans , David Hildenbrand , "Edgar E. Iglesias" , Warner Losh , Daniel Henrique Barboza , John Snow , Yoshinori Sato , Aleksandar Rikalo , Alistair Francis , Marcelo Tosatti , Yonggang Luo , Radoslaw Biernacki , Artyom Tarasenko , Yanan Wang , Eduardo Habkost , Aurelien Jarno , Richard Henderson , qemu-s390x@nongnu.org, Alex Williamson , "Michael S. Tsirkin" , Ani Sinha , Roman Bolshakov , Manos Pitsidianakis , Chinmay Rath , Thomas Huth , Cleber Rosa , kvm@vger.kernel.org, Song Gao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Halil Pasic , Eric Farman , Palmer Dabbelt , Leif Lindholm , Christian Borntraeger , Michael Roth , Mauro Carvalho Chehab , Jiaxun Yang , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Mark Cave-Ayland , Marcel Apfelbaum , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Nicholas Piggin , John Levon , Gustavo Romero Subject: [PATCH v2 011/281] tests/functional: Fix reverse_debugging asset precaching Date: Thu, 4 Sep 2025 09:06:45 +0100 Message-ID: <20250904081128.1942269-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250904081128.1942269-1-alex.bennee@linaro.org> References: <20250904081128.1942269-1-alex.bennee@linaro.org> 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=2a00:1450:4864:20::534; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x534.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 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: 1756974353634124100 Content-Type: text/plain; charset="utf-8" From: Gustavo Romero This commit fixes the asset precaching in the reverse_debugging test on aarch64. QemuBaseTest.main() precaches assets (kernel, rootfs, DT blobs, etc.) that are defined in variables with the ASSET_ prefix. This works because it ultimately calls Asset.precache_test(), which relies on introspection to locate these variables. If an asset variable is not named with the ASSET_ prefix, precache_test cannot find the asset and precaching silently fails. Hence, fix the asset precaching by fixing the asset variable name. Signed-off-by: Gustavo Romero Reviewed-by: Richard Henderson Reviewed-by: Manos Pitsidianakis Message-ID: <20250827001008.22112-1-gustavo.romero@linaro.org> Signed-off-by: Thomas Huth --- tests/functional/test_aarch64_reverse_debug.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_aarch64_reverse_debug.py b/tests/functio= nal/test_aarch64_reverse_debug.py index 58d45328350..8bc91ccfde7 100755 --- a/tests/functional/test_aarch64_reverse_debug.py +++ b/tests/functional/test_aarch64_reverse_debug.py @@ -21,7 +21,7 @@ class ReverseDebugging_AArch64(ReverseDebugging): =20 REG_PC =3D 32 =20 - KERNEL_ASSET =3D Asset( + ASSET_KERNEL =3D Asset( ('https://archives.fedoraproject.org/pub/archive/fedora/linux/' 'releases/29/Everything/aarch64/os/images/pxeboot/vmlinuz'), '7e1430b81c26bdd0da025eeb8fbd77b5dc961da4364af26e771bd39f379cbbf7') @@ -30,7 +30,7 @@ class ReverseDebugging_AArch64(ReverseDebugging): def test_aarch64_virt(self): self.set_machine('virt') self.cpu =3D 'cortex-a53' - kernel_path =3D self.KERNEL_ASSET.fetch() + kernel_path =3D self.ASSET_KERNEL.fetch() self.reverse_debugging(args=3D('-kernel', kernel_path)) =20 =20 --=20 2.47.2