[PATCH v3 00/24] testing/next: docker, avocado, unit, gitlab

Alex Bennée posted 24 patches 1 year, 2 months ago
Failed in applying to current master (apply log)
MAINTAINERS                                   |   1 +
docs/devel/testing.rst                        |   4 +-
configure                                     |   3 +
tests/tcg/tricore/macros.h                    |   2 +-
tests/fp/fp-test.c                            |  19 +-
tests/qtest/fuzz-lsi53c895a-test.c            |   4 +-
tests/qtest/rtl8139-test.c                    |   3 +-
tests/unit/test-io-channel-command.c          |  10 +-
.cirrus.yml                                   |   8 +-
.gitlab-ci.d/buildtest-template.yml           |  16 +
.gitlab-ci.d/buildtest.yml                    | 100 ++---
.gitlab-ci.d/cirrus/build.yml                 |   7 +-
.gitlab-ci.d/cirrus/freebsd-12.vars           |   2 +-
.gitlab-ci.d/cirrus/freebsd-13.vars           |   2 +-
.gitlab-ci.d/cirrus/macos-12.vars             |   2 +-
.gitlab-ci.d/container-template.yml           |   9 +-
.gitlab-ci.d/containers.yml                   |   4 +-
.gitlab-ci.d/crossbuild-template.yml          |  11 +
.gitlab-ci.d/crossbuilds.yml                  |  12 +-
.gitlab-ci.d/custom-runners.yml               |   3 +-
.../custom-runners/ubuntu-20.04-s390x.yml     |  10 +-
.../custom-runners/ubuntu-22.04-aarch32.yml   |   2 +-
.../custom-runners/ubuntu-22.04-aarch64.yml   |  10 +-
tests/avocado/boot_linux.py                   |   4 +
tests/avocado/replay_kernel.py                |   1 +
tests/avocado/tuxrun_baselines.py             | 423 ++++++++++++++++++
tests/docker/Makefile.include                 |  28 +-
tests/docker/dockerfiles/alpine.docker        |   7 +
tests/docker/dockerfiles/centos8.docker       |   9 +-
.../dockerfiles/debian-all-test-cross.docker  |   5 +
.../dockerfiles/debian-alpha-cross.docker     |   5 +
.../dockerfiles/debian-amd64-cross.docker     |   9 +-
tests/docker/dockerfiles/debian-amd64.docker  |   9 +-
.../dockerfiles/debian-arm64-cross.docker     |   9 +-
.../dockerfiles/debian-armel-cross.docker     |   9 +-
.../dockerfiles/debian-armhf-cross.docker     |   9 +-
.../dockerfiles/debian-hexagon-cross.docker   |   5 +
.../dockerfiles/debian-hppa-cross.docker      |   5 +
.../dockerfiles/debian-loongarch-cross.docker |   5 +
.../dockerfiles/debian-m68k-cross.docker      |   5 +
.../dockerfiles/debian-mips-cross.docker      |   5 +
.../dockerfiles/debian-mips64-cross.docker    |   5 +
.../dockerfiles/debian-mips64el-cross.docker  |   9 +-
.../dockerfiles/debian-mipsel-cross.docker    |   9 +-
tests/docker/dockerfiles/debian-native.docker |   5 +
.../debian-powerpc-test-cross.docker          |   6 +-
.../dockerfiles/debian-ppc64el-cross.docker   |   9 +-
.../dockerfiles/debian-riscv64-cross.docker   |   5 +
.../debian-riscv64-test-cross.docker          |   5 +
.../dockerfiles/debian-s390x-cross.docker     |   9 +-
.../dockerfiles/debian-sh4-cross.docker       |   5 +
.../dockerfiles/debian-sparc64-cross.docker   |   5 +
.../dockerfiles/debian-toolchain.docker       |   9 +-
.../dockerfiles/debian-tricore-cross.docker   |  15 +-
.../dockerfiles/debian-xtensa-cross.docker    |   5 +
.../dockerfiles/fedora-cris-cross.docker      |   5 +
.../dockerfiles/fedora-i386-cross.docker      |   5 +
.../dockerfiles/fedora-win32-cross.docker     |   9 +-
.../dockerfiles/fedora-win64-cross.docker     |   9 +-
tests/docker/dockerfiles/fedora.docker        |   9 +-
tests/docker/dockerfiles/opensuse-leap.docker |   9 +-
tests/docker/dockerfiles/python.docker        |   5 +
tests/docker/dockerfiles/ubuntu2004.docker    |  12 +-
tests/docker/dockerfiles/ubuntu2204.docker    | 153 +++++++
tests/docker/test-tsan                        |   2 +-
tests/fp/berkeley-testfloat-3                 |   2 +-
tests/fp/meson.build                          |   2 +-
tests/lcitool/projects/qemu.yml               |   2 +
tests/lcitool/refresh                         |  26 +-
tests/tcg/tricore/Makefile.softmmu-target     |   6 +-
70 files changed, 994 insertions(+), 159 deletions(-)
create mode 100644 tests/avocado/tuxrun_baselines.py
create mode 100644 tests/docker/dockerfiles/ubuntu2204.docker
[PATCH v3 00/24] testing/next: docker, avocado, unit, gitlab
Posted by Alex Bennée 1 year, 2 months ago
Since the last posting I've reincorporated my last PR (as it needed
re-basing to merge). The new patches all attempt to reduce the CI load
by a little more. I've also picked up patches from Fabinao and
Richard WMJ.

The following patches need review:

tests/avocado: disable BootLinuxPPC64 test in CI
tests/docker: add zstdtools to the images (!AWAITING UPSTREAM)
gitlab: move the majority of artefact handling to a template
tests/lcitool: append user setting stanza to dockerfiles

Alex Bennée (19):
  tests: don't run socat tests on MacOS as well
  tests: add socat dependency for tests
  tests: be a bit more strict cleaning up fifos
  tests: make fp-test less chatty when running from test suite
  gitlab: extend custom runners with base_job_template
  tests: don't run benchmarks for the tsan build
  testing: update ubuntu2004 to ubuntu2204
  tests: skip the nios2 replay_kernel test
  tests: add tuxrun baseline test to avocado
  tests: ensure we export job results for some cross builds
  tests/dockerfiles: unify debian-toolchain references
  configure: expose the direct container command
  tests/lcitool: append user setting stanza to dockerfiles
  tests/docker: add USER stanzas to non-lci images
  tests/docker: use direct RUNC call to build containers
  tests/docker: use direct RUNC call to run test jobs
  gitlab: move the majority of artefact handling to a template
  tests/docker: add zstdtools to the images (!AWAITING UPSTREAM)
  tests/avocado: disable BootLinuxPPC64 test in CI

Bastian Koppelmann (1):
  tests/docker: Use binaries for debian-tricore-cross

Fabiano Rosas (1):
  gitlab: Use plain docker in container-template.yml

Richard W.M. Jones (1):
  tests: Ensure TAP version is printed before other messages

Thomas Huth (2):
  gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs
  cirrus.yml: Improve the windows_msys2_task

 MAINTAINERS                                   |   1 +
 docs/devel/testing.rst                        |   4 +-
 configure                                     |   3 +
 tests/tcg/tricore/macros.h                    |   2 +-
 tests/fp/fp-test.c                            |  19 +-
 tests/qtest/fuzz-lsi53c895a-test.c            |   4 +-
 tests/qtest/rtl8139-test.c                    |   3 +-
 tests/unit/test-io-channel-command.c          |  10 +-
 .cirrus.yml                                   |   8 +-
 .gitlab-ci.d/buildtest-template.yml           |  16 +
 .gitlab-ci.d/buildtest.yml                    | 100 ++---
 .gitlab-ci.d/cirrus/build.yml                 |   7 +-
 .gitlab-ci.d/cirrus/freebsd-12.vars           |   2 +-
 .gitlab-ci.d/cirrus/freebsd-13.vars           |   2 +-
 .gitlab-ci.d/cirrus/macos-12.vars             |   2 +-
 .gitlab-ci.d/container-template.yml           |   9 +-
 .gitlab-ci.d/containers.yml                   |   4 +-
 .gitlab-ci.d/crossbuild-template.yml          |  11 +
 .gitlab-ci.d/crossbuilds.yml                  |  12 +-
 .gitlab-ci.d/custom-runners.yml               |   3 +-
 .../custom-runners/ubuntu-20.04-s390x.yml     |  10 +-
 .../custom-runners/ubuntu-22.04-aarch32.yml   |   2 +-
 .../custom-runners/ubuntu-22.04-aarch64.yml   |  10 +-
 tests/avocado/boot_linux.py                   |   4 +
 tests/avocado/replay_kernel.py                |   1 +
 tests/avocado/tuxrun_baselines.py             | 423 ++++++++++++++++++
 tests/docker/Makefile.include                 |  28 +-
 tests/docker/dockerfiles/alpine.docker        |   7 +
 tests/docker/dockerfiles/centos8.docker       |   9 +-
 .../dockerfiles/debian-all-test-cross.docker  |   5 +
 .../dockerfiles/debian-alpha-cross.docker     |   5 +
 .../dockerfiles/debian-amd64-cross.docker     |   9 +-
 tests/docker/dockerfiles/debian-amd64.docker  |   9 +-
 .../dockerfiles/debian-arm64-cross.docker     |   9 +-
 .../dockerfiles/debian-armel-cross.docker     |   9 +-
 .../dockerfiles/debian-armhf-cross.docker     |   9 +-
 .../dockerfiles/debian-hexagon-cross.docker   |   5 +
 .../dockerfiles/debian-hppa-cross.docker      |   5 +
 .../dockerfiles/debian-loongarch-cross.docker |   5 +
 .../dockerfiles/debian-m68k-cross.docker      |   5 +
 .../dockerfiles/debian-mips-cross.docker      |   5 +
 .../dockerfiles/debian-mips64-cross.docker    |   5 +
 .../dockerfiles/debian-mips64el-cross.docker  |   9 +-
 .../dockerfiles/debian-mipsel-cross.docker    |   9 +-
 tests/docker/dockerfiles/debian-native.docker |   5 +
 .../debian-powerpc-test-cross.docker          |   6 +-
 .../dockerfiles/debian-ppc64el-cross.docker   |   9 +-
 .../dockerfiles/debian-riscv64-cross.docker   |   5 +
 .../debian-riscv64-test-cross.docker          |   5 +
 .../dockerfiles/debian-s390x-cross.docker     |   9 +-
 .../dockerfiles/debian-sh4-cross.docker       |   5 +
 .../dockerfiles/debian-sparc64-cross.docker   |   5 +
 .../dockerfiles/debian-toolchain.docker       |   9 +-
 .../dockerfiles/debian-tricore-cross.docker   |  15 +-
 .../dockerfiles/debian-xtensa-cross.docker    |   5 +
 .../dockerfiles/fedora-cris-cross.docker      |   5 +
 .../dockerfiles/fedora-i386-cross.docker      |   5 +
 .../dockerfiles/fedora-win32-cross.docker     |   9 +-
 .../dockerfiles/fedora-win64-cross.docker     |   9 +-
 tests/docker/dockerfiles/fedora.docker        |   9 +-
 tests/docker/dockerfiles/opensuse-leap.docker |   9 +-
 tests/docker/dockerfiles/python.docker        |   5 +
 tests/docker/dockerfiles/ubuntu2004.docker    |  12 +-
 tests/docker/dockerfiles/ubuntu2204.docker    | 153 +++++++
 tests/docker/test-tsan                        |   2 +-
 tests/fp/berkeley-testfloat-3                 |   2 +-
 tests/fp/meson.build                          |   2 +-
 tests/lcitool/projects/qemu.yml               |   2 +
 tests/lcitool/refresh                         |  26 +-
 tests/tcg/tricore/Makefile.softmmu-target     |   6 +-
 70 files changed, 994 insertions(+), 159 deletions(-)
 create mode 100644 tests/avocado/tuxrun_baselines.py
 create mode 100644 tests/docker/dockerfiles/ubuntu2204.docker

-- 
2.39.2