qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a6d715: tests: don't run socat tests on MacOS


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] a6d715: tests: don't run socat tests on MacOS as well
Date: Thu, 02 Mar 2023 05:08:19 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: a6d715116fa66d479a4620eaa622092e23bd3f2d
      
https://github.com/qemu/qemu/commit/a6d715116fa66d479a4620eaa622092e23bd3f2d
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/unit/test-io-channel-command.c

  Log Message:
  -----------
  tests: don't run socat tests on MacOS as well

In preparation for the next patch when we enable socat for our CI
images we need to disable this part of the test for MacOS. The bug has
been raised here:

  https://gitlab.com/qemu-project/qemu/-/issues/1495

Once that is fixed we should re-enable the test.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-2-alex.bennee@linaro.org>


  Commit: ab4c1361090f8a7f408a72de4dcbb7a5b9134300
      
https://github.com/qemu/qemu/commit/ab4c1361090f8a7f408a72de4dcbb7a5b9134300
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/cirrus/freebsd-12.vars
    M .gitlab-ci.d/cirrus/freebsd-13.vars
    M .gitlab-ci.d/cirrus/macos-12.vars
    M tests/docker/dockerfiles/alpine.docker
    M tests/docker/dockerfiles/centos8.docker
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-amd64.docker
    M tests/docker/dockerfiles/debian-arm64-cross.docker
    M tests/docker/dockerfiles/debian-armel-cross.docker
    M tests/docker/dockerfiles/debian-armhf-cross.docker
    M tests/docker/dockerfiles/debian-mips64el-cross.docker
    M tests/docker/dockerfiles/debian-mipsel-cross.docker
    M tests/docker/dockerfiles/debian-ppc64el-cross.docker
    M tests/docker/dockerfiles/debian-s390x-cross.docker
    M tests/docker/dockerfiles/fedora-win32-cross.docker
    M tests/docker/dockerfiles/fedora-win64-cross.docker
    M tests/docker/dockerfiles/fedora.docker
    M tests/docker/dockerfiles/opensuse-leap.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    M tests/lcitool/projects/qemu.yml

  Log Message:
  -----------
  tests: add socat dependency for tests

We only use it for test-io-channel-command at the moment.
Unfortunately bringing socat into CI exposed an existing bug in the
test-io-channel-command unit test so we disabled it for MacOS in the
previous patch.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230228190653.1602033-3-alex.bennee@linaro.org>


  Commit: c997068077fbeabb8b3810bdf1592e5a0d7548c3
      
https://github.com/qemu/qemu/commit/c997068077fbeabb8b3810bdf1592e5a0d7548c3
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/unit/test-io-channel-command.c

  Log Message:
  -----------
  tests: be a bit more strict cleaning up fifos

When we re-factored we dropped the unlink() step which turns out to be
required for rmdir to do its thing. If we had been checking the return
value we would have noticed so lets do that with this fix.

Fixes: 68406d1085 (tests/unit: cleanups for test-io-channel-command)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230228190653.1602033-4-alex.bennee@linaro.org>


  Commit: 6348a546ed23f0d4bbf1b64ce35faf1dc719718a
      
https://github.com/qemu/qemu/commit/6348a546ed23f0d4bbf1b64ce35faf1dc719718a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/fp/berkeley-testfloat-3
    M tests/fp/fp-test.c
    M tests/fp/meson.build

  Log Message:
  -----------
  tests: make fp-test less chatty when running from test suite

As we like to run tests under CI with V=1 flags the softfloat tests
can add up to a fair amount of extra log lines. With an update to the
testfloat library we can now call fp-test with the -q flag and reduce
the output to a terse one line per function tested.

  make check-softfloat V=1 | wc -l
  759

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230228190653.1602033-5-alex.bennee@linaro.org>


  Commit: 793d6e046fb19ef4f925701a78ba32b4f176b204
      
https://github.com/qemu/qemu/commit/793d6e046fb19ef4f925701a78ba32b4f176b204
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/cirrus/build.yml

  Log Message:
  -----------
  gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs

The meson log files can get very big, especially if running the tests in
verbose mode. So dumping those logs to the console was a bad idea, since
gitlab truncates the output if it is getting too big. Let's publish the
logs as artifacts instead. This has the disadvantage that you have to
look up the logs on cirrus-ci.com now instead, but that's still better
than not having the important part of the log at all since it got
truncated.

Fixes: 998f334722 ("gitlab: show testlog.txt contents ...")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230215142503.90660-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-6-alex.bennee@linaro.org>


  Commit: 87168ef049da54cbb3e714b540420db62e63b1a8
      
https://github.com/qemu/qemu/commit/87168ef049da54cbb3e714b540420db62e63b1a8
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/custom-runners.yml
    M .gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml
    M .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
    M .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml

  Log Message:
  -----------
  gitlab: extend custom runners with base_job_template

The base job template is responsible for controlling how we kick off
testing on our various branches. Rename and extend the
custom_runner_template so we can take advantage of all that control.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230228190653.1602033-7-alex.bennee@linaro.org>


  Commit: 7c7d369b33f01d3705a14c361689776de6bb5b7a
      
https://github.com/qemu/qemu/commit/7c7d369b33f01d3705a14c361689776de6bb5b7a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml

  Log Message:
  -----------
  tests: don't run benchmarks for the tsan build

All we are really doing here is checking that TSAN builds compile and are
therefor a tool available to developers. The benchmarks are not
representative of QEMU's actual threading behaviour and they burn
precious CI time. Indeed switching to check-unit reveals many
unaddressed issues which have been logged at:

  https://gitlab.com/qemu-project/qemu/-/issues/1496

So for now disable the make check and make this a build only
test.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230228190653.1602033-8-alex.bennee@linaro.org>


  Commit: 171080d8913c580f67f196d3834b99fa7e234140
      
https://github.com/qemu/qemu/commit/171080d8913c580f67f196d3834b99fa7e234140
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/containers.yml
    M docs/devel/testing.rst
    M tests/docker/dockerfiles/ubuntu2004.docker
    A tests/docker/dockerfiles/ubuntu2204.docker
    M tests/docker/test-tsan
    M tests/lcitool/refresh

  Log Message:
  -----------
  testing: update ubuntu2004 to ubuntu2204

The 22.04 LTS release has been out for almost a year now so its time
to update all the remaining images to the current LTS. We can also
drop some hacks we need for older clang TSAN support.

We will keep the ubuntu2004 container around for those who wish to
test builds on the currently still supported baseline.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230228190653.1602033-9-alex.bennee@linaro.org>


  Commit: bdcf4b36bd99f0c975fb4679a1fddcd970092eea
      
https://github.com/qemu/qemu/commit/bdcf4b36bd99f0c975fb4679a1fddcd970092eea
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/avocado/replay_kernel.py

  Log Message:
  -----------
  tests: skip the nios2 replay_kernel test

It is buggy and keeps failing.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-10-alex.bennee@linaro.org>


  Commit: 267fe57c23b27406fcebb4e9d40c862bc7c3ba7c
      
https://github.com/qemu/qemu/commit/267fe57c23b27406fcebb4e9d40c862bc7c3ba7c
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M MAINTAINERS
    A tests/avocado/tuxrun_baselines.py

  Log Message:
  -----------
  tests: add tuxrun baseline test to avocado

The TuxRun project (www.tuxrun.org) uses QEMU to run tests on a wide
variety of kernel configurations on wide range of our emulated
platforms. They publish a known good set of images at:

  https://storage.tuxboot.com/

to help with bisecting regressions in either the kernel, firmware or
QEMU itself. The tests are pretty lightweight as they contain just a
kernel with a minimal rootfs which boots a lot faster than most of the
distros. In time they might be persuaded to version their known good
baselines and we can then enable proper checksums.

For a couple of tests we currently skip:

  - mips64, a regression against previous stable release
  - sh4, very unstable with intermittent oops

Total run time: 340s (default) -> 890s (debug)

Overall coverage rate (tested targets + disabled tests):
  lines......: 16.1% (126894 of 789848 lines)
  functions..: 20.6% (15954 of 77489 functions)
  branches...: 9.3% (40727 of 439365 branches)

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-11-alex.bennee@linaro.org>


  Commit: 3c471b070160f0b78ddefdf4a42eb4403bbc3657
      
https://github.com/qemu/qemu/commit/3c471b070160f0b78ddefdf4a42eb4403bbc3657
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/dockerfiles/debian-tricore-cross.docker
    M tests/tcg/tricore/Makefile.softmmu-target
    M tests/tcg/tricore/macros.h

  Log Message:
  -----------
  tests/docker: Use binaries for debian-tricore-cross

since binutils is pretty old, it fails our CI repeatedly during the
compilation of tricore-binutils. We created a precompiled version using
the debian docker image and download it instead of building it ourself.

We also updated the package to include a newer version of binutils, gcc,
and newlib. The default TriCore ISA version used by tricore-as changed
from the old version, so we have to specify it now. If we don't
'test_fadd' fails with 'unknown opcode'.

The new assembler also picks a new encoding in ld.h which fails the
'test_ld_h' test. We fix that by using the newest TriCore CPU for QEMU.

The old assembler accepted an extra ')' in 'test_imask'. The new one
does not, so lets remove it.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230209145812.46730-1-kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-12-alex.bennee@linaro.org>


  Commit: 1ea5e0b05e9d738f31d4c3aa73a21dfd0900e301
      
https://github.com/qemu/qemu/commit/1ea5e0b05e9d738f31d4c3aa73a21dfd0900e301
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/crossbuild-template.yml
    M .gitlab-ci.d/crossbuilds.yml

  Log Message:
  -----------
  tests: ensure we export job results for some cross builds

We do run tests on some cross builds. Provide a template to ensure we
export the testlog to the build artefacts and report the test results
via the junit.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230228190653.1602033-13-alex.bennee@linaro.org>


  Commit: 78e38f59fa2ecb6daa09b16d39441865872624fe
      
https://github.com/qemu/qemu/commit/78e38f59fa2ecb6daa09b16d39441865872624fe
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .cirrus.yml

  Log Message:
  -----------
  cirrus.yml: Improve the windows_msys2_task

There's no need to run a full-blown bash just to create a directory.
And we can skip the "cd build" each time by doing it once at the
beginning.

Additionally, let's exclude some targets (that we already compile-test
with MinGW in the gitlab jobs) from the build, since the build time of
this task is very long already (between 80 and 90 minutes).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208103046.618154-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-14-alex.bennee@linaro.org>


  Commit: 483c3b17ae720dbe47a1eed3f031e983c6b9b19e
      
https://github.com/qemu/qemu/commit/483c3b17ae720dbe47a1eed3f031e983c6b9b19e
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/dockerfiles/debian-toolchain.docker

  Log Message:
  -----------
  tests/dockerfiles: unify debian-toolchain references

We use the debian release number elsewhere so fix it for consistency
along with the broken comment.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230228190653.1602033-15-alex.bennee@linaro.org>


  Commit: 94b8b146df84ba472f461398d93fb9cdf0db8f94
      
https://github.com/qemu/qemu/commit/94b8b146df84ba472f461398d93fb9cdf0db8f94
  Author: Fabiano Rosas <farosas@suse.de>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/container-template.yml

  Log Message:
  -----------
  gitlab: Use plain docker in container-template.yml

Our dockerfiles no longer reference layers from other qemu images so
we can now use 'docker build' on them.

Also reinstate the caching that was disabled due to bad interactions
with certain runners. See commit 6ddc3dc7a8 ("tests/docker: don't use
BUILDKIT in GitLab either"). We now believe those issues to be fixed.

The COMMON_TAG needed to be fixed for the caching to work. The
docker.py script was not using the variable, but constructing the
correct URL directly.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Tested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230227151110.31455-2-farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-16-alex.bennee@linaro.org>


  Commit: ae4b01b3497934849278b49f3dfd28420f75e300
      
https://github.com/qemu/qemu/commit/ae4b01b3497934849278b49f3dfd28420f75e300
  Author: Richard W.M. Jones <rjones@redhat.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/qtest/fuzz-lsi53c895a-test.c
    M tests/qtest/rtl8139-test.c

  Log Message:
  -----------
  tests: Ensure TAP version is printed before other messages

These two tests were failing with this error:

  stderr:
  TAP parsing error: version number must be on the first line
  [...]
  Unknown TAP version. The first line MUST be `TAP version <int>`. Assuming 
version 12.

This can be fixed by ensuring we always call g_test_init first in the
body of main.

Thanks: Daniel Berrange, for diagnosing the problem
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20230227174019.1164205-1-rjones@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230228190653.1602033-17-alex.bennee@linaro.org>


  Commit: 60f999b7f2890c9e8ddcd404ce8c4b89b5dee0a2
      
https://github.com/qemu/qemu/commit/60f999b7f2890c9e8ddcd404ce8c4b89b5dee0a2
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: expose the direct container command

In the process of migrating away from using docker.py to build our
containers we need to expose the command to the build environment. The
script is still a useful way to probe which command works though.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-18-alex.bennee@linaro.org>


  Commit: 5b8bcf6b6cf7a254854e75def40883e2a8fea5dc
      
https://github.com/qemu/qemu/commit/5b8bcf6b6cf7a254854e75def40883e2a8fea5dc
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/dockerfiles/alpine.docker
    M tests/docker/dockerfiles/centos8.docker
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-amd64.docker
    M tests/docker/dockerfiles/debian-arm64-cross.docker
    M tests/docker/dockerfiles/debian-armel-cross.docker
    M tests/docker/dockerfiles/debian-armhf-cross.docker
    M tests/docker/dockerfiles/debian-mips64el-cross.docker
    M tests/docker/dockerfiles/debian-mipsel-cross.docker
    M tests/docker/dockerfiles/debian-ppc64el-cross.docker
    M tests/docker/dockerfiles/debian-s390x-cross.docker
    M tests/docker/dockerfiles/fedora-win32-cross.docker
    M tests/docker/dockerfiles/fedora-win64-cross.docker
    M tests/docker/dockerfiles/fedora.docker
    M tests/docker/dockerfiles/opensuse-leap.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    M tests/docker/dockerfiles/ubuntu2204.docker
    M tests/lcitool/refresh

  Log Message:
  -----------
  tests/lcitool: append user setting stanza to dockerfiles

For the cross-compilation use-case it is important to add the host
user to the dockerfile so we can map them to the docker environment
when cross-building files.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230228190653.1602033-19-alex.bennee@linaro.org>


  Commit: 93bd2954f4c47b197233eaff9b165dee52622f27
      
https://github.com/qemu/qemu/commit/93bd2954f4c47b197233eaff9b165dee52622f27
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/dockerfiles/debian-all-test-cross.docker
    M tests/docker/dockerfiles/debian-alpha-cross.docker
    M tests/docker/dockerfiles/debian-hexagon-cross.docker
    M tests/docker/dockerfiles/debian-hppa-cross.docker
    M tests/docker/dockerfiles/debian-loongarch-cross.docker
    M tests/docker/dockerfiles/debian-m68k-cross.docker
    M tests/docker/dockerfiles/debian-mips-cross.docker
    M tests/docker/dockerfiles/debian-mips64-cross.docker
    M tests/docker/dockerfiles/debian-native.docker
    M tests/docker/dockerfiles/debian-powerpc-test-cross.docker
    M tests/docker/dockerfiles/debian-riscv64-cross.docker
    M tests/docker/dockerfiles/debian-riscv64-test-cross.docker
    M tests/docker/dockerfiles/debian-sh4-cross.docker
    M tests/docker/dockerfiles/debian-sparc64-cross.docker
    M tests/docker/dockerfiles/debian-toolchain.docker
    M tests/docker/dockerfiles/debian-tricore-cross.docker
    M tests/docker/dockerfiles/debian-xtensa-cross.docker
    M tests/docker/dockerfiles/fedora-cris-cross.docker
    M tests/docker/dockerfiles/fedora-i386-cross.docker
    M tests/docker/dockerfiles/python.docker

  Log Message:
  -----------
  tests/docker: add USER stanzas to non-lci images

These are flat but not generated by lcitool so we need to manually
update them with the `useradd` stanza.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-20-alex.bennee@linaro.org>


  Commit: 0b1a649047e0cddb968b0b1726101e895ecf79df
      
https://github.com/qemu/qemu/commit/0b1a649047e0cddb968b0b1726101e895ecf79df
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: use direct RUNC call to build containers

We don't really need stuff from docker.py to do the build as we have
everything we need with a direct call. We do rely on the dockerfiles
being able to tweak the UID/name mapping as the last step.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-21-alex.bennee@linaro.org>


  Commit: 789bc541170f58834e65afe20b3c5fce4fd2ccea
      
https://github.com/qemu/qemu/commit/789bc541170f58834e65afe20b3c5fce4fd2ccea
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: use direct RUNC call to run test jobs

If we build them without the script we can certainly run them without
it.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-22-alex.bennee@linaro.org>


  Commit: 88b19e4e1a1bb6a2941a1493ed723cea2b669425
      
https://github.com/qemu/qemu/commit/88b19e4e1a1bb6a2941a1493ed723cea2b669425
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest-template.yml
    M .gitlab-ci.d/buildtest.yml

  Log Message:
  -----------
  gitlab: move the majority of artefact handling to a template

To avoid lots of copy and paste lets deal with artefacts in a
template. This way we can filter out most of the pre-binary object and
library files we no longer need as we have the final binaries.

build-system-alpine also saved .git-submodule-status so for simplicity
we bring that into the template as well.

As an example the build-system-ubuntu artefacts before this patch
where around 1.3 GB, after dropping the object files it comes to 970
MB.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-23-alex.bennee@linaro.org>


  Commit: bbe307639db00738b6852a86cf875e2b1c77aeb9
      
https://github.com/qemu/qemu/commit/bbe307639db00738b6852a86cf875e2b1c77aeb9
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/docker/dockerfiles/alpine.docker
    M tests/docker/dockerfiles/centos8.docker
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-amd64.docker
    M tests/docker/dockerfiles/debian-arm64-cross.docker
    M tests/docker/dockerfiles/debian-armel-cross.docker
    M tests/docker/dockerfiles/debian-armhf-cross.docker
    M tests/docker/dockerfiles/debian-mips64el-cross.docker
    M tests/docker/dockerfiles/debian-mipsel-cross.docker
    M tests/docker/dockerfiles/debian-ppc64el-cross.docker
    M tests/docker/dockerfiles/debian-s390x-cross.docker
    M tests/docker/dockerfiles/fedora-win32-cross.docker
    M tests/docker/dockerfiles/fedora-win64-cross.docker
    M tests/docker/dockerfiles/fedora.docker
    M tests/docker/dockerfiles/opensuse-leap.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    M tests/docker/dockerfiles/ubuntu2204.docker
    M tests/lcitool/libvirt-ci
    M tests/lcitool/projects/qemu.yml

  Log Message:
  -----------
  tests/docker: add zstdtools to the images

We need this to be able to run the tuxrun_baseline tests in CI which
in turn helps us reduce overhead running other tests. We need to
update libvirt-ci and refresh the generated files by running 'make
lcitool-refresh' to get the new mapping.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-24-alex.bennee@linaro.org>


  Commit: c0c8687ef0fd990db8db1655a8a6c5a5e35dd4bb
      
https://github.com/qemu/qemu/commit/c0c8687ef0fd990db8db1655a8a6c5a5e35dd4bb
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M tests/avocado/boot_linux.py

  Log Message:
  -----------
  tests/avocado: disable BootLinuxPPC64 test in CI

This test is exceptionally heavyweight (nearly 330s) compared to the
two (both endians) TuxRun baseline tests which complete in under 160s.
The coverage is slightly reduced but a more directed test could make
up the difference.

tests/avocado/tuxrun_baselines.py:TuxRunBaselineTest.test_ppc64:

Overall coverage rate:
  lines......: 9.6% (44110 of 458817 lines)
  functions..: 16.5% (6767 of 41054 functions)
  branches...: 6.0% (13395 of 222634 branches)

tests/avocado/boot_linux.py:BootLinuxPPC64.test_pseries_tcg:

Overall coverage rate:
  lines......: 11.6% (53408 of 458817 lines)
  functions..: 18.7% (7691 of 41054 functions)
  branches...: 7.9% (17692 of 224218 branches)

So lets skip for GITLAB_CI and save a few CI minutes.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-25-alex.bennee@linaro.org>


  Commit: 262312d7ba6e2966acedb4f9c134fd19176b4083
      
https://github.com/qemu/qemu/commit/262312d7ba6e2966acedb4f9c134fd19176b4083
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M .cirrus.yml
    M .gitlab-ci.d/buildtest-template.yml
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/cirrus/build.yml
    M .gitlab-ci.d/cirrus/freebsd-12.vars
    M .gitlab-ci.d/cirrus/freebsd-13.vars
    M .gitlab-ci.d/cirrus/macos-12.vars
    M .gitlab-ci.d/container-template.yml
    M .gitlab-ci.d/containers.yml
    M .gitlab-ci.d/crossbuild-template.yml
    M .gitlab-ci.d/crossbuilds.yml
    M .gitlab-ci.d/custom-runners.yml
    M .gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml
    M .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
    M .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
    M MAINTAINERS
    M configure
    M docs/devel/testing.rst
    M tests/avocado/boot_linux.py
    M tests/avocado/replay_kernel.py
    A tests/avocado/tuxrun_baselines.py
    M tests/docker/Makefile.include
    M tests/docker/dockerfiles/alpine.docker
    M tests/docker/dockerfiles/centos8.docker
    M tests/docker/dockerfiles/debian-all-test-cross.docker
    M tests/docker/dockerfiles/debian-alpha-cross.docker
    M tests/docker/dockerfiles/debian-amd64-cross.docker
    M tests/docker/dockerfiles/debian-amd64.docker
    M tests/docker/dockerfiles/debian-arm64-cross.docker
    M tests/docker/dockerfiles/debian-armel-cross.docker
    M tests/docker/dockerfiles/debian-armhf-cross.docker
    M tests/docker/dockerfiles/debian-hexagon-cross.docker
    M tests/docker/dockerfiles/debian-hppa-cross.docker
    M tests/docker/dockerfiles/debian-loongarch-cross.docker
    M tests/docker/dockerfiles/debian-m68k-cross.docker
    M tests/docker/dockerfiles/debian-mips-cross.docker
    M tests/docker/dockerfiles/debian-mips64-cross.docker
    M tests/docker/dockerfiles/debian-mips64el-cross.docker
    M tests/docker/dockerfiles/debian-mipsel-cross.docker
    M tests/docker/dockerfiles/debian-native.docker
    M tests/docker/dockerfiles/debian-powerpc-test-cross.docker
    M tests/docker/dockerfiles/debian-ppc64el-cross.docker
    M tests/docker/dockerfiles/debian-riscv64-cross.docker
    M tests/docker/dockerfiles/debian-riscv64-test-cross.docker
    M tests/docker/dockerfiles/debian-s390x-cross.docker
    M tests/docker/dockerfiles/debian-sh4-cross.docker
    M tests/docker/dockerfiles/debian-sparc64-cross.docker
    M tests/docker/dockerfiles/debian-toolchain.docker
    M tests/docker/dockerfiles/debian-tricore-cross.docker
    M tests/docker/dockerfiles/debian-xtensa-cross.docker
    M tests/docker/dockerfiles/fedora-cris-cross.docker
    M tests/docker/dockerfiles/fedora-i386-cross.docker
    M tests/docker/dockerfiles/fedora-win32-cross.docker
    M tests/docker/dockerfiles/fedora-win64-cross.docker
    M tests/docker/dockerfiles/fedora.docker
    M tests/docker/dockerfiles/opensuse-leap.docker
    M tests/docker/dockerfiles/python.docker
    M tests/docker/dockerfiles/ubuntu2004.docker
    A tests/docker/dockerfiles/ubuntu2204.docker
    M tests/docker/test-tsan
    M tests/fp/berkeley-testfloat-3
    M tests/fp/fp-test.c
    M tests/fp/meson.build
    M tests/lcitool/libvirt-ci
    M tests/lcitool/projects/qemu.yml
    M tests/lcitool/refresh
    M tests/qtest/fuzz-lsi53c895a-test.c
    M tests/qtest/rtl8139-test.c
    M tests/tcg/tricore/Makefile.softmmu-target
    M tests/tcg/tricore/macros.h
    M tests/unit/test-io-channel-command.c

  Log Message:
  -----------
  Merge tag 'pull-testing-next-010323-1' of https://gitlab.com/stsquad/qemu 
into staging

testing updates:

  - ensure socat available for tests
  - skip socat tests for MacOS
  - properly clean up fifos after use
  - make fp-test less chatty
  - store test artefacts on Cirrus
  - control custom runners with QEMU_CI knobs
  - disable benchmark runs under tsan build
  - update ubuntu 2004 to 2204
  - skip nios2 kernel replay test
  - add tuxrun baselines to avocado
  - binary build of tricore tools
  - export test results on cross builds
  - improve windows builds
  - ensure we properly print TAP headers
  - migrate away from docker.py for building containers
  - be more efficient in our handling of build artefacts between stages
  - enable ztsd in containers so we can run tux_baselines
  - disable heavyweight PPC64 Boot Linux test in CI

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmP/SmUACgkQ+9DbCVqe
# KkQgSQgAmVrXEL+1/L7JNka/xDumZ+t39oxAAcY22WfV0dNIC85WQ/02A3+uMZmt
# pbNXq7PPvZ1YE4ygjqwHu5WabEA1lmcdAoyg8/ACwnQMDyQ9RZGxceNO3UUsaoNx
# b3U/hsOS1ggo5lzzfamsRj2xbxthtUx2MJZQe96NTWSut1ibcHLYyaOqxCY6Q5zJ
# ZONOHOd3NLlrb+omLONLp9J+100Dt/x1UHsW5daSqRKaoDucO6w/So6YxGOshn90
# tJIJ/vKTtYBZBfF5JYoJ7A/m9Ia/YjcTVLxbXpMI6Bvw0P9PSIAZuvgbKfxfIAnf
# EHqZo1B71aH74vFTttK9Q1rnf9/9Cg==
# =grRh
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 01 Mar 2023 12:51:49 GMT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-testing-next-010323-1' of https://gitlab.com/stsquad/qemu: (24 
commits)
  tests/avocado: disable BootLinuxPPC64 test in CI
  tests/docker: add zstdtools to the images
  gitlab: move the majority of artefact handling to a template
  tests/docker: use direct RUNC call to run test jobs
  tests/docker: use direct RUNC call to build containers
  tests/docker: add USER stanzas to non-lci images
  tests/lcitool: append user setting stanza to dockerfiles
  configure: expose the direct container command
  tests: Ensure TAP version is printed before other messages
  gitlab: Use plain docker in container-template.yml
  tests/dockerfiles: unify debian-toolchain references
  cirrus.yml: Improve the windows_msys2_task
  tests: ensure we export job results for some cross builds
  tests/docker: Use binaries for debian-tricore-cross
  tests: add tuxrun baseline test to avocado
  tests: skip the nios2 replay_kernel test
  testing: update ubuntu2004 to ubuntu2204
  tests: don't run benchmarks for the tsan build
  gitlab: extend custom runners with base_job_template
  gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/0ccf919d742e...262312d7ba6e



reply via email to

[Prev in Thread] Current Thread [Next in Thread]