Skip to contentSkip to conversation

testing fixes (docker, sbsa-ref)

GIT PULL Applied Alex Bennée 2 participants 4 messages Jan 30 – Feb 2

lore
Share & tools
lore
#0 lore raw

The following changes since commit 65fb9de4888f9bf32bc4f60c880da3dff04c4fd9:

Merge tag 'pr-build_fix-20260128' of https://gitlab.com/pbo-linaro/qemu into staging (2026-01-29 13:29:33 +1100)

are available in the Git repository at:

https://gitlab.com/stsquad/qemu.git tags/pull-11.0-testing-fixes-300126-1

for you to fetch changes up to d9ca273f8f31acb22d3f5aca5f063b94fb962e19:

tests/functional: migrate sbsa_ref test images (2026-01-30 13:52:59 +0000)

----------------------------------------------------------------
testing updates (sbsa-ref, docker)

- restore weekly container job
- move assets for sbsa-ref tests

----------------------------------------------------------------
Alex Bennée (2):
tests/docker: rename wasm cross container tests/functional: migrate sbsa_ref test images

 .gitlab-ci.d/container-cross.yml                       |  1 -
 .gitlab-ci.d/container-template.yml                    |  4 +---
 ...sdk-wasm-cross.docker => emsdk-wasm64-cross.docker} |  0
 tests/functional/aarch64/test_sbsaref.py               | 18 ++++++++----------
 4 files changed, 9 insertions(+), 14 deletions(-)
 rename tests/docker/dockerfiles/{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker} (100%)
Signature · 1 line
2.47.3
#1 lore raw

[PULL 2/2] tests/functional: migrate sbsa_ref test images

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.

Message-ID: <[email protected]>

tests/functional/aarch64/test_sbsaref.py +8 -10
index d3402f5080a..3ff674039e6 100755
@@ -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):
 
Signature · 1 line
2.47.3
#2 lore raw

[PULL 1/2] tests/docker: rename wasm cross container

In reply to Alex Bennée

Now we are 64 bit only there is no need to keep the generic name. This also fixes a check failure in the weekly container build which was checking containers based on the expansion of DOCKER_IMAGES which is based of the dockerfile names.

Remove the DOCKERFILE bits that were added to handle multiple containers from the same dockerfile.

Fixes 4203ea0247f (gitlab-ci: Add build tests for wasm64)

Message-ID: <[email protected]>

.gitlab-ci.d/container-cross.yml +0 -1
index d7ae57fb1f5..2a0cea6ce1a 100644
@@ -78,4 +78,3 @@ wasm64-emsdk-cross-container:
   extends: .container_job_template
   variables:
     NAME: emsdk-wasm64-cross
-    DOCKERFILE: emsdk-wasm-cross
.gitlab-ci.d/container-template.yml +1 -3
index 6eaa2f804df..8c7311cca57 100644
@@ -10,14 +10,12 @@
     - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/qemu/$NAME:latest"
     - docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
     - until docker info; do sleep 1; done
-    - export DOCKERFILE_NAME=${DOCKERFILE:-$NAME}
   script:
     - echo "TAG:$TAG"
     - echo "COMMON_TAG:$COMMON_TAG"
     - docker build --tag "$TAG" --cache-from "$TAG" --cache-from "$COMMON_TAG"
       --build-arg BUILDKIT_INLINE_CACHE=1
-      $BUILD_ARGS
-      -f "tests/docker/dockerfiles/$DOCKERFILE_NAME.docker" "."
+      -f "tests/docker/dockerfiles/$NAME.docker" "."
     - docker push "$TAG"
   after_script:
     - docker logout
tests/docker/dockerfiles/emsdk-wasm64-cross.docker renamed from tests/docker/dockerfiles/emsdk-wasm-cross.docker +0 -0
similarity index 100%
rename from tests/docker/dockerfiles/emsdk-wasm-cross.docker
rename to tests/docker/dockerfiles/emsdk-wasm64-cross.docker
Signature · 1 line
2.47.3
#3 lore raw
In reply to Alex Bennée
Quoted 10 lines · Alex Bennée

The following changes since commit 65fb9de4888f9bf32bc4f60c880da3dff04c4fd9:

   Merge tag 'pr-build_fix-20260128' ofhttps://gitlab.com/pbo-linaro/qemu into staging (2026-01-29 13:29:33 +1100)

are available in the Git repository at:

   https://gitlab.com/stsquad/qemu.git tags/pull-11.0-testing-fixes-300126-1

for you to fetch changes up to d9ca273f8f31acb22d3f5aca5f063b94fb962e19:

Quoted 7 lines
   tests/functional: migrate sbsa_ref test images (2026-01-30 13:52:59 +0000)

----------------------------------------------------------------
testing updates (sbsa-ref, docker)

- restore weekly container job
- move assets for sbsa-ref tests

Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/11.0 as appropriate.

r~