[PATCH 0/7] tests/tcg: use x86_64 cross containers on all host architectures

Pierrick Bouvier posted 7 patches 4 days, 20 hours ago
There is a newer version of this series
.../dockerfiles/debian-all-test-cross.docker  | 37 ++++++------
.../dockerfiles/debian-amd64-cross.docker     |  2 +-
.../dockerfiles/debian-hexagon-cross.docker   |  2 +-
.../dockerfiles/debian-i686-cross.docker      |  2 +-
.../dockerfiles/debian-loongarch-cross.docker |  2 +-
.../dockerfiles/debian-tricore-cross.docker   |  2 +-
.../dockerfiles/debian-xtensa-cross.docker    |  2 +-
tests/docker/dockerfiles/debian.docker        |  1 -
tests/docker/dockerfiles/ubuntu2404.docker    |  1 -
tests/lcitool/refresh                         | 58 +++++++++++--------
tests/tcg/aarch64/meson.build                 |  2 -
tests/tcg/aarch64/system/meson.build          |  1 -
tests/tcg/aarch64_be/meson.build              |  1 -
tests/tcg/alpha/meson.build                   |  2 -
tests/tcg/alpha/system/meson.build            |  1 -
tests/tcg/arm/meson.build                     |  2 -
tests/tcg/arm/system/meson.build              |  1 -
tests/tcg/hexagon/meson.build                 |  1 -
tests/tcg/hppa/meson.build                    |  1 -
tests/tcg/i386/meson.build                    |  2 -
tests/tcg/i386/system/meson.build             |  1 -
tests/tcg/loongarch64/meson.build             |  2 -
tests/tcg/loongarch64/system/meson.build      |  6 +-
tests/tcg/m68k/meson.build                    |  1 -
tests/tcg/meson.build                         | 30 +++++-----
tests/tcg/mips/meson.build                    |  1 -
tests/tcg/mips64/meson.build                  |  1 -
tests/tcg/mips64el/meson.build                |  1 -
tests/tcg/or1k/meson.build                    |  1 -
tests/tcg/ppc64/meson.build                   |  1 -
tests/tcg/ppc64le/meson.build                 |  1 -
tests/tcg/riscv64/meson.build                 |  2 -
tests/tcg/riscv64/system/meson.build          |  1 -
tests/tcg/s390x/meson.build                   |  2 -
tests/tcg/s390x/system/meson.build            |  1 -
tests/tcg/sh4/meson.build                     |  1 -
tests/tcg/tricore/meson.build                 |  1 -
tests/tcg/x86_64/meson.build                  |  2 -
tests/tcg/x86_64/system/meson.build           |  1 -
tests/tcg/xtensa/meson.build                  |  3 -
40 files changed, 78 insertions(+), 105 deletions(-)
[PATCH 0/7] tests/tcg: use x86_64 cross containers on all host architectures
Posted by Pierrick Bouvier 4 days, 20 hours ago
To increase our testing surface on aarch64 and other hosts, and also to ease
maintenance of docker images, this series introduces x86_64 base containers.
We rely on qemu-user-binfmt (available at least on Fedora and Debian/Ubuntu) to
be installed to execute x86_64 binaries on other host arch.
With this, we can run the full tcg tests suite on any host architecture.

This series exposed an issue with on aarch64 hosts with test
loongarch64-softmmu-memory that was reported in issue:
https://gitlab.com/qemu-project/qemu/-/work_items/4567

Pierrick Bouvier (7):
  tests/tcg/meson.build: force use of linux/amd64 platform for
    containers
  tests/docker/dockerfiles: refresh images
  tests/lci/refresh: add parameter to override container registry
  tests/docker/dockerfiles: use docker.io/amd64 for tcg-tests containers
  tests/docker/dockerfiles/debian-all-test: remove arch specific bits
  tests/tcg/meson.build: remove cc_docker_host_arch
  tests/tcg/loongarch64/system: deactivate loongarch64-softmmu-memory
    (hang on aarch64 host)

 .../dockerfiles/debian-all-test-cross.docker  | 37 ++++++------
 .../dockerfiles/debian-amd64-cross.docker     |  2 +-
 .../dockerfiles/debian-hexagon-cross.docker   |  2 +-
 .../dockerfiles/debian-i686-cross.docker      |  2 +-
 .../dockerfiles/debian-loongarch-cross.docker |  2 +-
 .../dockerfiles/debian-tricore-cross.docker   |  2 +-
 .../dockerfiles/debian-xtensa-cross.docker    |  2 +-
 tests/docker/dockerfiles/debian.docker        |  1 -
 tests/docker/dockerfiles/ubuntu2404.docker    |  1 -
 tests/lcitool/refresh                         | 58 +++++++++++--------
 tests/tcg/aarch64/meson.build                 |  2 -
 tests/tcg/aarch64/system/meson.build          |  1 -
 tests/tcg/aarch64_be/meson.build              |  1 -
 tests/tcg/alpha/meson.build                   |  2 -
 tests/tcg/alpha/system/meson.build            |  1 -
 tests/tcg/arm/meson.build                     |  2 -
 tests/tcg/arm/system/meson.build              |  1 -
 tests/tcg/hexagon/meson.build                 |  1 -
 tests/tcg/hppa/meson.build                    |  1 -
 tests/tcg/i386/meson.build                    |  2 -
 tests/tcg/i386/system/meson.build             |  1 -
 tests/tcg/loongarch64/meson.build             |  2 -
 tests/tcg/loongarch64/system/meson.build      |  6 +-
 tests/tcg/m68k/meson.build                    |  1 -
 tests/tcg/meson.build                         | 30 +++++-----
 tests/tcg/mips/meson.build                    |  1 -
 tests/tcg/mips64/meson.build                  |  1 -
 tests/tcg/mips64el/meson.build                |  1 -
 tests/tcg/or1k/meson.build                    |  1 -
 tests/tcg/ppc64/meson.build                   |  1 -
 tests/tcg/ppc64le/meson.build                 |  1 -
 tests/tcg/riscv64/meson.build                 |  2 -
 tests/tcg/riscv64/system/meson.build          |  1 -
 tests/tcg/s390x/meson.build                   |  2 -
 tests/tcg/s390x/system/meson.build            |  1 -
 tests/tcg/sh4/meson.build                     |  1 -
 tests/tcg/tricore/meson.build                 |  1 -
 tests/tcg/x86_64/meson.build                  |  2 -
 tests/tcg/x86_64/system/meson.build           |  1 -
 tests/tcg/xtensa/meson.build                  |  3 -
 40 files changed, 78 insertions(+), 105 deletions(-)

-- 
2.43.0
Re: [PATCH 0/7] tests/tcg: use x86_64 cross containers on all host architectures
Posted by Pierrick Bouvier 3 days ago
On 9/21/2026 4:14 PM, Pierrick Bouvier wrote:
> To increase our testing surface on aarch64 and other hosts, and also to ease
> maintenance of docker images, this series introduces x86_64 base containers.
> We rely on qemu-user-binfmt (available at least on Fedora and Debian/Ubuntu) to
> be installed to execute x86_64 binaries on other host arch.
> With this, we can run the full tcg tests suite on any host architecture.
> 
> This series exposed an issue with on aarch64 hosts with test
> loongarch64-softmmu-memory that was reported in issue:
> https://gitlab.com/qemu-project/qemu/-/work_items/4567
> 
> Pierrick Bouvier (7):
>   tests/tcg/meson.build: force use of linux/amd64 platform for
>     containers
>   tests/docker/dockerfiles: refresh images
>   tests/lci/refresh: add parameter to override container registry
>   tests/docker/dockerfiles: use docker.io/amd64 for tcg-tests containers
>   tests/docker/dockerfiles/debian-all-test: remove arch specific bits
>   tests/tcg/meson.build: remove cc_docker_host_arch
>   tests/tcg/loongarch64/system: deactivate loongarch64-softmmu-memory
>     (hang on aarch64 host)
>

Sent v2:
https://lore.kernel.org/qemu-devel/20260923185725.863311-1-pierrick.bouvier@oss.qualcomm.com/T/#t

Regards,
Pierrick