From nobody Sun Sep 28 16:28:03 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=1756253531; cv=none; d=zohomail.com; s=zohoarc; b=J3J+3BLmYuSaWiBjQL83v316XxBKKRG8+8qsHY4zgYOSW1flnm1+5OWBmNw+mDBfL9VyCkRHadIt3f7Vv3kpcG+dixrWtfl6jkSq8/BUa4Fd9r+byEisqwxT2V54Wxad9EydAdzXRZ9wW4n44d+l8T5smFIjDX/mIdyCOjmpAzI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1756253531; 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=jBHUz3SuLSqqU/2ZexNeh2quDs8pmox9xIU2PVoduuM=; b=EMrs9SrkJNHrCMPSchYgDIzzXtT5qlDlA0WOP5YvqzaRT5QBzN0FeRX2gbd5RkOIpvx2fKv08oKUjxot001tBxag+4fT9pFREcjxt2RLH30p7e1MvhzeDNanMF2twK8E4SZIRr1v++ZGavs3IcL3ig+QhvZHNRQFaeq1o+xjQF8= 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 1756253531536925.9586426852734; Tue, 26 Aug 2025 17:12:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ur3kf-0003zh-24; Tue, 26 Aug 2025 20:10:57 -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 1ur3kc-0003zG-LR for qemu-devel@nongnu.org; Tue, 26 Aug 2025 20:10:54 -0400 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ur3ka-0007oG-2L for qemu-devel@nongnu.org; Tue, 26 Aug 2025 20:10:54 -0400 Received: by mail-pf1-x441.google.com with SMTP id d2e1a72fcca58-76e2eb6ce24so4976047b3a.3 for ; Tue, 26 Aug 2025 17:10:51 -0700 (PDT) Received: from gromero0.. ([187.75.38.174]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-24875471755sm24060245ad.54.2025.08.26.17.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Aug 2025 17:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756253449; x=1756858249; 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=jBHUz3SuLSqqU/2ZexNeh2quDs8pmox9xIU2PVoduuM=; b=et4IEyykNOe/UEvSTRZJeT9GW9S49YoF31Mz/7qk2Dm7eqgK7bTwyFUU5lBW4FVddO /ArjdVLsu3yb+xXzULkW4jKTi0QEJQNoCY0cYlIo7rGJOzuTWzM0KLdwkHrE2ocaqk50 KcviHUxgAGYsT8CQZLJSgRlOs/iTlY82Kp8aTBDROJ4NMhvf44PqtczO20IRrYNTwdUj 7KQjNjtdeVJ9v+C9NKEBnF83cmRmDwpkQlGkbZ3SkHbNYv8/t0cgOyXP7wMRfcJ1Hvjg s8pnqOH0zQ4W31a9jYsAyCeyomDu1BsE3iqRUsVlhhZTFE6cm3f7sY5WU7b+biYfQ4j5 TGAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756253449; x=1756858249; 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=jBHUz3SuLSqqU/2ZexNeh2quDs8pmox9xIU2PVoduuM=; b=ttwLpZl6dpdL78lifRtEKEQJpcxM0giRMAMtaD/EqRIb1X/HlBVr0ERltHb8X7orkt AUdX118Qsg+wu51y8kLZC9lDawwrHGfQsxWFsAwLafaxHveq5teBb/JSilSLdHjYLPkZ F/hE/IgXeXCo3ZF2js5/ypxKCAlZulWyi+/qvS0RjR/YgfkjEndBHSd2l+s+8pxr49Kq loxhsjFpUCpkQO8T72WaXfSRZST2S5cZVzyZPrCD4AiL4UJNJUhOAbg0SjU+Trqlfkar PcWx5ZIiMpD3Qz+ruNHiIjj1x84ALDqnnRysq19D9uqqGFMjHuz2mrlKxByc8O9BMGBm YxNQ== X-Gm-Message-State: AOJu0Yw0XkVbSSVhmJANwRUAGoWhvvWxXM3ACMn3RcPrOK2Lzv2Vac0m ZQ0//X3BE8JrqsLmjOmvaXuGZas7+RNPh0FWwAGDVq6koVnY5Dc897az36JEl+AH6xq2vxphfsD DaqAur1DKdA== X-Gm-Gg: ASbGncvIhRh1QPGDIXAubgnzyDalmUZX8zg7N34b2fjvls88Mpv2jW/Rejc4hTEkNwG vIvFIkrt9hai8ReWGDvMUpSEwFwwYzcgcx1JtmBJfZh41rckMr8va06jmRlLoGXVBLbqYY7x01w mQvcJOPnxSX6QcWKdlzjrvkkCPruUM1KIZOlebzei3S1pRrtLNVdue4imXt4qSI0A9iijHKZ2xT 5nHW3aQNDQlcra8d4q3ktJ59vVw4u8YSuLoSTvJUNwYwqNsGximHHknBi9A03rZpLS0Ix2WUyo0 vLNxIxP5agTkBztYlN0fs5X/fIvcnP9ApRXvMUZ9cYRG9tmwuKDf9qiqMhvNaDkdY0hZE/9htAV nld9amuswX4GPtjyONX7d08QzxNeQ9/GS2+FiPQ== X-Google-Smtp-Source: AGHT+IFPch2CscGnBJ7Sb4w0yVGbs7pmZXw70Q1rJ3R6gWBRhnWeBB2WUJIeQ/c0D2pAktsRwK/MuQ== X-Received: by 2002:a17:902:d4c8:b0:246:96bf:c90b with SMTP id d9443c01a7336-24696bfd557mr169274585ad.29.1756253449167; Tue, 26 Aug 2025 17:10:49 -0700 (PDT) From: Gustavo Romero To: qemu-devel@nongnu.org, alex.bennee@linaro.org, thuth@redhat.com Cc: qemu-arm@nongnu.org, gustavo.romero@linaro.org Subject: [PATCH] tests/functional: Fix reverse_debugging asset precaching Date: Wed, 27 Aug 2025 00:10:08 +0000 Message-Id: <20250827001008.22112-1-gustavo.romero@linaro.org> X-Mailer: git-send-email 2.34.1 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::441; envelope-from=gustavo.romero@linaro.org; helo=mail-pf1-x441.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: 1756253535463124100 Content-Type: text/plain; charset="utf-8" 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: Manos Pitsidianakis Reviewed-by: Richard Henderson --- 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 58d4532835..8bc91ccfde 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.34.1