All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/19] testing: various docker clean-ups post meson tcg conversion
@ 2026-09-16 15:29 Alex Bennée
  2026-09-16 15:29 ` [PATCH v4 01/19] Revert "configure: remove cross_cc and gdb detection logic" Alex Bennée
                   ` (19 more replies)
  0 siblings, 20 replies; 41+ messages in thread
From: Alex Bennée @ 2026-09-16 15:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Ilya Leoshkevich, qemu-arm, Cornelia Huck, Peter Maydell,
	Pierrick Bouvier, Philippe Mathieu-Daudé, John Snow,
	David Hildenbrand, Thomas Huth, Paolo Bonzini, Cleber Rosa,
	Warner Losh, Alex Bennée, Song Gao, Kyle Evans, Eric Farman,
	Brad Smith, Fabiano Rosas, Helge Deller, Laurent Vivier,
	Daniel P. Berrangé, Jiaxun Yang, qemu-s390x, Matthew Rosato,
	Brian Cain, Marc-André Lureau, Richard Henderson

This cleans up a few bits and pieces although doesn't totally solve
the issue of an apparent stall while meson builds the docker image.
However with these changes there should be no difference between the
meson build and the equivalent "make docker-image-foo" invocation.

We also finally get rid of the ill-advised magic caching support in
docker.py.

v4
 - added Illya's fixes for out of tree and s390x tests
 - tweaked the revert so --disable-containers still passed to meson
 - don't define tests if no compiler available to avoid excess SKIPs

v3

 - Update make2test to trigger docker build from Makefile.include.
 - add Daniels's suggested console: true patch
 - fixed up some unref vars from the reverts

v2

I've restored the configure based compiler checks for so we can build
roms and the vdso blobs again. It looks like we could never build roms
with container based images so I've left it for now. Unlike the vdso
build we can't trigger a container build through Makefile.prereqs.

TODO
----

I also need to look at the timestamp stuff that Pierrick has suggested
to see if that improves the caching from the registry.

The following still need review:

  tests/tcg: add console property to docker image custom target
  scripts/make2mtest: add docker dependencies for check-tcg-% targets
  tests/docker: fix brown bag typo for docker-ccache
  tests/docker: swap --quiet for --verbose
  tests/docker: add container registry to configure and use
  tests/tcg: don't define tests when missing compilers
  tests/tcg: use --add-current-user when building containers
  configure: re-purpose the tcg test compiler configs for vdso building
  Revert "tests/tcg/meson.build: implement ./configure -cross-cc-* options"

Please test and review.

Alex.

Alex Bennée (16):
  Revert "configure: remove cross_cc and gdb detection logic"
  Revert "tests/tcg/meson.build: implement ./configure -cross-cc-*
    options"
  Revert "tests/tcg/meson.build: implement ./configure containers
    options"
  configure: re-purpose the tcg test compiler configs for vdso building
  tests/tcg: prefix meson built docker tags with qemu/
  tests/tcg: use --add-current-user when building containers
  tests/tcg: don't define tests when missing compilers
  tests/docker: add container registry to configure and use
  tests/docker: remove used _read_qemu_dockerfile
  tests/docker: strip remaining caching logic from docker.py
  tests/docker: add specific command to parser
  tests/docker: swap --quiet for --verbose
  tests/docker: fix brown bag typo for docker-ccache
  gitlab: update the @user id mapping file
  scripts/make2mtest: add docker dependencies for check-tcg-% targets
  tests/tcg: add console property to docker image custom target

Daniel P. Berrangé (1):
  configure: correctly honour --disable-containers

Ilya Leoshkevich (2):
  tests/tcg/s390x: Provide the libc bits needed by the system tests
  tests/tcg: Fix building outside of the source tree

 configure                               | 494 +++++++++++++++++++++++-
 tests/tcg/s390x/libc/stdio.h            |  11 +
 tests/tcg/s390x/libc/string.h           |  12 +
 .gitlab-map-auto                        |   8 +-
 linux-user/aarch64/Makefile.vdso        |   2 +-
 linux-user/arm/Makefile.vdso            |   2 +-
 linux-user/hppa/Makefile.vdso           |   2 +-
 linux-user/i386/Makefile.vdso           |   2 +-
 linux-user/loongarch64/Makefile.vdso    |   2 +-
 linux-user/ppc/Makefile.vdso            |   2 +-
 linux-user/riscv/Makefile.vdso          |   2 +-
 linux-user/s390x/Makefile.vdso          |   2 +-
 linux-user/sh4/Makefile.vdso            |   2 +-
 linux-user/x86_64/Makefile.vdso         |   2 +-
 meson_options.txt                       |  92 +----
 scripts/coverity-scan/run-coverity-scan |   2 +-
 scripts/gitlab-map-update               |   2 +-
 scripts/meson-buildoptions.sh           |   3 +
 scripts/mtest2make.py                   |  35 +-
 tests/docker/Makefile.include           |  16 +-
 tests/docker/docker.py                  | 188 ++++-----
 tests/tcg/meson.build                   |  66 ++--
 tests/tcg/s390x/system/meson.build      |   2 +
 23 files changed, 659 insertions(+), 292 deletions(-)
 create mode 100644 tests/tcg/s390x/libc/stdio.h
 create mode 100644 tests/tcg/s390x/libc/string.h

-- 
2.47.3



^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2026-09-17 17:00 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 15:29 [PATCH v4 00/19] testing: various docker clean-ups post meson tcg conversion Alex Bennée
2026-09-16 15:29 ` [PATCH v4 01/19] Revert "configure: remove cross_cc and gdb detection logic" Alex Bennée
2026-09-16 15:29 ` [PATCH v4 02/19] Revert "tests/tcg/meson.build: implement ./configure -cross-cc-* options" Alex Bennée
2026-09-16 16:31   ` Pierrick Bouvier
2026-09-17 13:24     ` Alex Bennée
2026-09-17 16:57       ` Pierrick Bouvier
2026-09-16 15:29 ` [PATCH v4 03/19] Revert "tests/tcg/meson.build: implement ./configure containers options" Alex Bennée
2026-09-16 16:33   ` Pierrick Bouvier
2026-09-17  9:27     ` Alex Bennée
2026-09-17 16:58       ` Pierrick Bouvier
2026-09-16 15:29 ` [PATCH v4 04/19] configure: correctly honour --disable-containers Alex Bennée
2026-09-16 15:29 ` [PATCH v4 05/19] configure: re-purpose the tcg test compiler configs for vdso building Alex Bennée
2026-09-16 16:50   ` Pierrick Bouvier
2026-09-16 15:29 ` [PATCH v4 06/19] tests/tcg/s390x: Provide the libc bits needed by the system tests Alex Bennée
2026-09-16 15:30 ` [PATCH v4 07/19] tests/tcg: prefix meson built docker tags with qemu/ Alex Bennée
2026-09-16 20:15   ` Richard Henderson
2026-09-16 15:30 ` [PATCH v4 08/19] tests/tcg: use --add-current-user when building containers Alex Bennée
2026-09-16 16:35   ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 09/19] tests/tcg: don't define tests when missing compilers Alex Bennée
2026-09-16 16:41   ` Pierrick Bouvier
2026-09-17  0:00     ` Richard Henderson
2026-09-17  6:53       ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 10/19] tests/docker: add container registry to configure and use Alex Bennée
2026-09-16 16:41   ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 11/19] tests/docker: remove used _read_qemu_dockerfile Alex Bennée
2026-09-16 15:30 ` [PATCH v4 12/19] tests/docker: strip remaining caching logic from docker.py Alex Bennée
2026-09-16 15:30 ` [PATCH v4 13/19] tests/docker: add specific command to parser Alex Bennée
2026-09-16 15:30 ` [PATCH v4 14/19] tests/docker: swap --quiet for --verbose Alex Bennée
2026-09-16 16:49   ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 15/19] tests/docker: fix brown bag typo for docker-ccache Alex Bennée
2026-09-16 16:43   ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 16/19] gitlab: update the @user id mapping file Alex Bennée
2026-09-16 16:12   ` Amit Machhiwal
2026-09-16 15:30 ` [PATCH v4 17/19] scripts/make2mtest: add docker dependencies for check-tcg-% targets Alex Bennée
2026-09-16 16:30   ` Pierrick Bouvier
2026-09-17  9:29     ` Alex Bennée
2026-09-17 16:59       ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 18/19] tests/tcg: add console property to docker image custom target Alex Bennée
2026-09-16 16:53   ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 19/19] tests/tcg: Fix building outside of the source tree Alex Bennée
2026-09-16 23:59 ` [PATCH v4 00/19] testing: various docker clean-ups post meson tcg conversion Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.