From d9ca273f8f31acb22d3f5aca5f063b94fb962e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 28 Jan 2026 10:58:39 +0000 Subject: [PATCH] tests/functional: migrate sbsa_ref test images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the builds in codelinaro.org are going away migrate the binaries to share.linaro.org. As the hotlinks don't encode the filename we need to explicitly tell uncompress how to handle the files. Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Message-ID: <20260128105839.3487840-3-alex.bennee@linaro.org> Signed-off-by: Alex Bennée --- tests/functional/aarch64/test_sbsaref.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tests/functional/aarch64/test_sbsaref.py b/tests/functional/aarch64/test_sbsaref.py index d3402f5080..3ff674039e 100755 --- a/tests/functional/aarch64/test_sbsaref.py +++ b/tests/functional/aarch64/test_sbsaref.py @@ -31,10 +31,10 @@ def fetch_firmware(test): """ # Secure BootRom (TF-A code) - fs0_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH0) + fs0_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH0, format="xz") # Non-secure rom (UEFI and EFI variables) - fs1_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH1) + fs1_path = test.uncompress(Aarch64SbsarefMachine.ASSET_FLASH1, format="xz") for path in [fs0_path, fs1_path]: with open(path, "ab+") as fd: @@ -54,15 +54,13 @@ class Aarch64SbsarefMachine(QemuSystemTest): timeout = 180 - ASSET_FLASH0 = Asset( - ('https://artifacts.codelinaro.org/artifactory/linaro-419-sbsa-ref/' - '20241122-189881/edk2/SBSA_FLASH0.fd.xz'), - '76eb89d42eebe324e4395329f47447cda9ac920aabcf99aca85424609c3384a5') + # SBSA_FLASH0.fd.xz + ASSET_FLASH0 = Asset('https://share.linaro.org/downloadFile?id=kyoMLGC9zXa4oA7', + '76eb89d42eebe324e4395329f47447cda9ac920aabcf99aca85424609c3384a5') - ASSET_FLASH1 = Asset( - ('https://artifacts.codelinaro.org/artifactory/linaro-419-sbsa-ref/' - '20241122-189881/edk2/SBSA_FLASH1.fd.xz'), - 'f850f243bd8dbd49c51e061e0f79f1697546938f454aeb59ab7d93e5f0d412fc') + # SBSA_FLASH1.fd.xz + ASSET_FLASH1 = Asset('https://share.linaro.org/downloadFile?id=Dj1HRXnDnKtU6Nj', + 'f850f243bd8dbd49c51e061e0f79f1697546938f454aeb59ab7d93e5f0d412fc') def test_sbsaref_edk2_firmware(self):