qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b14dc6: tests/avocado: update AArch64 tests t


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] b14dc6: tests/avocado: update AArch64 tests to Alpine 3.17.2
Date: Sat, 18 Mar 2023 11:48:06 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: b14dc6426d0b6d1e13c48d4a2fed94fcfbbeec0e
      
https://github.com/qemu/qemu/commit/b14dc6426d0b6d1e13c48d4a2fed94fcfbbeec0e
  Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/avocado/machine_aarch64_virt.py

  Log Message:
  -----------
  tests/avocado: update AArch64 tests to Alpine 3.17.2

To test Alpine boot on SBSA-Ref target we need Alpine Linux
'standard' image as 'virt' one lacks kernel modules.

So to minimalize Avocado cache I move test to 'standard' image.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302191146.1790560-1-marcin.juszkiewicz@linaro.org>
Message-Id: <20230315174331.2959-2-alex.bennee@linaro.org>


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

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: all add DOCKER_BUILDKIT to RUNC environment

It seems we also need to pass DOCKER_BUILDKIT as an argument to docker
itself to get the full benefit of caching.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230315174331.2959-3-alex.bennee@linaro.org>


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

  Changed paths:
    M scripts/ci/org.centos/stream/8/build-environment.yml

  Log Message:
  -----------
  scripts/ci: add libslirp-devel to build-environment

Without libslip enabled we won't have user networking which means the
KVM tests won't run.

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


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

  Changed paths:
    M scripts/ci/setup/gitlab-runner.yml

  Log Message:
  -----------
  scripts/ci: update gitlab-runner playbook to handle CentOS

This was broken when we moved to using the pre-built packages as we
didn't take care to ensure we used RPMs where required.

NB: I could never get this to complete on my test setup but I suspect
this was down to network connectivity and timeouts while downloading.

Fixes: 69c4befba1 (scripts/ci: update gitlab-runner playbook to use latest 
runner)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-5-alex.bennee@linaro.org>


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

  Changed paths:
    M .gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml

  Log Message:
  -----------
  gitlab: update centos-8-stream job

A couple of clean-ups here:

  - inherit from the custom runners job for artefacts
  - call check-avocado directly
  - add some comments to the top about setup

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


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

  Changed paths:
    M include/qemu/qemu-plugin.h

  Log Message:
  -----------
  include/qemu: add documentation for memory callbacks

Some API documentation was missed, rectify that.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1497
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230315174331.2959-7-alex.bennee@linaro.org>


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

  Changed paths:
    M tests/tcg/Makefile.target

  Log Message:
  -----------
  tests/tcg: add some help output for running individual tests

So you can do:

  cd tests/tcg/aarch64-linux-user
  make -f ../Makefile.target help

To see the list of tests. You can then run each one individually.

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


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

  Changed paths:
    M tests/avocado/tuxrun_baselines.py

  Log Message:
  -----------
  tests/avocado: don't use tags to define drive

We are abusing the avocado tags which are intended to provide test
selection metadata to provide parameters to our test. This works OK up
until the point you need to have ,'s in the field as this is the tag
separator character which is the case for a number of the drive
parameters. Fix this by making drive a parameter to the common helper
function.

Fixes: 267fe57c23 (tests: add tuxrun baseline test to avocado)
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-11-alex.bennee@linaro.org>


  Commit: c02001719a638101eedc1d3895b1f676ffef598e
      
https://github.com/qemu/qemu/commit/c02001719a638101eedc1d3895b1f676ffef598e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M accel/tcg/cpu-exec-common.c
    M accel/tcg/cpu-exec.c

  Log Message:
  -----------
  tcg: Clear plugin_mem_cbs on TB exit

Do this in cpu_tb_exec (normal exit) and cpu_loop_exit (exception),
adjacent to where we reset can_do_io.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1381
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230310195252.210956-2-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-12-alex.bennee@linaro.org>


  Commit: cbf065098537524cbdc3bf88d1496d90c425bd05
      
https://github.com/qemu/qemu/commit/cbf065098537524cbdc3bf88d1496d90c425bd05
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tcg/tcg-op.c

  Log Message:
  -----------
  tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb

Now that we call qemu_plugin_disable_mem_helpers in cpu_tb_exec,
we don't need to do this in generated code as well.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230310195252.210956-3-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-13-alex.bennee@linaro.org>


  Commit: 7de9e36f6bbb6ee13e9fbce95c7e17501b4a7540
      
https://github.com/qemu/qemu/commit/7de9e36f6bbb6ee13e9fbce95c7e17501b4a7540
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M include/qemu/plugin.h

  Log Message:
  -----------
  include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT

This macro is no longer used.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230310195252.210956-4-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-14-alex.bennee@linaro.org>


  Commit: 6fc78ba5e5e6111d98321b5b3925c6a63ec43ac2
      
https://github.com/qemu/qemu/commit/6fc78ba5e5e6111d98321b5b3925c6a63ec43ac2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M accel/accel-softmmu.c
    M block/monitor/block-hmp-cmds.c
    M dump/dump.c
    M dump/win_dump.c
    M gdbstub/gdbstub.c
    M hw/arm/collie.c
    M hw/arm/cubieboard.c
    M hw/arm/musicpal.c
    M hw/arm/npcm7xx_boards.c
    M hw/arm/nseries.c
    M hw/arm/omap_sx1.c
    M hw/arm/orangepi.c
    M hw/arm/palm.c
    M hw/core/loader.c
    M hw/core/machine-smp.c
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/kvm/xen_xenstore.c
    M hw/i386/sgx.c
    M hw/intc/apic.c
    M hw/loongarch/acpi-build.c
    M hw/loongarch/virt.c
    M hw/m68k/next-cube.c
    M hw/m68k/q800.c
    M hw/m68k/virt.c
    M hw/mem/memory-device.c
    M hw/mem/sparse-mem.c
    M hw/openrisc/boot.c
    M hw/ppc/ppc4xx_sdram.c
    M hw/ppc/spapr_softmmu.c
    M hw/riscv/opentitan.c
    M hw/riscv/shakti_c.c
    M hw/riscv/virt-acpi-build.c
    M hw/vfio/display.c
    M hw/vfio/igd.c
    M hw/vfio/migration.c
    M linux-user/elfload.c
    M migration/dirtyrate.c
    M migration/exec.c
    M target/i386/cpu.c
    M target/i386/host-cpu.c
    M target/i386/kvm/xen-emu.c
    M target/i386/sev.c
    M target/i386/whpx/whpx-apic.c
    M target/mips/cpu.c
    M target/s390x/cpu-sysemu.c
    M target/s390x/cpu_models.c
    M target/s390x/diag.c
    M ui/cocoa.m

  Log Message:
  -----------
  *: Add missing includes of qemu/error-report.h

This had been pulled in via qemu/plugin.h from hw/core/cpu.h,
but that will be removed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-5-richard.henderson@linaro.org>
[AJB: add various additional cases shown by CI]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-15-alex.bennee@linaro.org>


  Commit: 17c0174eac3b9a9d4861ce445012c5b5c2050011
      
https://github.com/qemu/qemu/commit/17c0174eac3b9a9d4861ce445012c5b5c2050011
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M accel/tcg/cpu-exec-common.c
    M cpu.c
    M include/user/syscall-trace.h
    M linux-user/exit.c
    M linux-user/syscall.c

  Log Message:
  -----------
  *: Add missing includes of qemu/plugin.h

This had been pulled in from hw/core/cpu.h,
but that will be removed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-6-richard.henderson@linaro.org>
[AJB: also syscall-trace.h]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-16-alex.bennee@linaro.org>


  Commit: b29af349190a0d78642c96d44a5cc7366495b55b
      
https://github.com/qemu/qemu/commit/b29af349190a0d78642c96d44a5cc7366495b55b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M include/hw/core/cpu.h
    A include/qemu/plugin-event.h
    M include/qemu/plugin.h

  Log Message:
  -----------
  include/qemu: Split out plugin-event.h

The usage in hw/core/cpu.h only requires QEMU_PLUGIN_EV_MAX.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-7-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-17-alex.bennee@linaro.org>


  Commit: 0255e214a847e4c9a8d9569686e470b77e1d542b
      
https://github.com/qemu/qemu/commit/0255e214a847e4c9a8d9569686e470b77e1d542b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M include/qemu/plugin.h
    M plugins/core.c

  Log Message:
  -----------
  include/qemu/plugin: Inline qemu_plugin_disable_mem_helpers

Now that we've broken the include loop with cpu.h,
we can bring this inline.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-8-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-18-alex.bennee@linaro.org>


  Commit: 889c3ccb1b2f15f40149406cb639ab69fb287598
      
https://github.com/qemu/qemu/commit/889c3ccb1b2f15f40149406cb639ab69fb287598
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/check
    M tests/qemu-iotests/testenv.py

  Log Message:
  -----------
  iotests: explicitly pass source/build dir to 'check' command

The 'check' script has some rather dubious logic whereby it assumes
that if invoked as a symlink, then it is running from a separate
source tree and build tree, otherwise it assumes the current working
directory is a combined source and build tree.

This doesn't work if you want to invoke the 'check' script using
its full source tree path while still using a split source and build
tree layout. This would be a typical situation with meson if you ask
it to find the 'check' script path using files('check').

Rather than trying to make the logic more magical, add support for
explicitly passing the dirs using --source-dir and --build-dir. If
either is omitted the current logic is maintained.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-2-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-19-alex.bennee@linaro.org>


  Commit: 6c95a69e47240148864ef1200a3bee5f344ddc24
      
https://github.com/qemu/qemu/commit/6c95a69e47240148864ef1200a3bee5f344ddc24
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/check
    M tests/qemu-iotests/testenv.py

  Log Message:
  -----------
  iotests: allow test discovery before building

The 'check' script can be invoked in "dry run" mode, in which case it
merely does test discovery and prints out all their names. Despite only
doing test discovery it still validates that the various QEMU binaries
can be found. This makes it impossible todo test discovery prior to
building QEMU. This is a desirable feature to support, because it will
let meson discover tests.

Fortunately the code in the TestEnv constructor is ordered in a way
that makes this fairly trivial to achieve. We can just short circuit
the constructor after the basic directory paths have been set.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-3-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-20-alex.bennee@linaro.org>


  Commit: 3f7c29ab025847fa178c31f320e1ce8adea5504b
      
https://github.com/qemu/qemu/commit/3f7c29ab025847fa178c31f320e1ce8adea5504b
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/check

  Log Message:
  -----------
  iotests: strip subdir path when listing tests

When asking 'check' to list individual tests by invoking it in dry run
mode, it prints the paths to the tests relative to the base of the
I/O test directory.

When asking 'check' to run an individual test, however, it mandates that
only the unqualified test name is given, without any path prefix. This
inconsistency makes it harder to ask for a list of tests and then invoke
each one.

Thus the test listing code is change to flatten the test names, by
printing only the base name, which can be directly invoked.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-4-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-21-alex.bennee@linaro.org>


  Commit: cef913c6bd6a47d52a87d90ff85a3b129ad82a56
      
https://github.com/qemu/qemu/commit/cef913c6bd6a47d52a87d90ff85a3b129ad82a56
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/testrunner.py

  Log Message:
  -----------
  iotests: print TAP protocol version when reporting tests

Recently meson started complaining that TAP test reports don't include
the TAP protocol version. While this warning is bogus and has since been
removed from Meson, it looks like good practice to include this header
going forward. The GLib library test harness has started unconditionally
printing the version, so this brings the I/O tests into line.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-5-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-22-alex.bennee@linaro.org>


  Commit: a1c1f26f3b0dd92f62a099cd9a1e5be8e8e30df5
      
https://github.com/qemu/qemu/commit/a1c1f26f3b0dd92f62a099cd9a1e5be8e8e30df5
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/testrunner.py

  Log Message:
  -----------
  iotests: connect stdin to /dev/null when running tests

Currently the tests have their stdin inherited from the test harness,
meaning they are connected to a TTY. The QEMU processes spawned by
certain tests, however, modify TTY settings and if the test exits
abnormally the settings might not be restored.

The python test harness thus has some logic which will capture the
initial TTY settings and restore them once all tests are finished.

This does not, however, take into account the possibility of many
copies of the 'check' program running in parallel. With parallel
execution, a later invokation may save the TTY state that QEMU has
already modified, and thus restore bad state leaving the TTY
non-functional.

None of the I/O tests shnould actually be interactive requiring
user input and so they should not require a TTY at all. To avoid
this while TTY save/restore complexity we can connect the test
stdin to /dev/null instead.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-6-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-23-alex.bennee@linaro.org>


  Commit: 3652933fb96c8b5dc6b2f66af5b9afa547fcaaef
      
https://github.com/qemu/qemu/commit/3652933fb96c8b5dc6b2f66af5b9afa547fcaaef
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/testrunner.py

  Log Message:
  -----------
  iotests: always use a unique sub-directory per test

The current test runner is only safe against parallel execution within
a single instance of the 'check' process, and only if -j is given a
value greater than 2. This prevents running multiple copies of the
'check' process for different test scenarios.

This change switches the output / socket directories to always include
the test name, image format and image protocol. This should allow full
parallelism of all distinct test scenarios. eg running both qcow2 and
raw tests at the same time, or both file and nbd tests at the same
time.

It would be possible to allow for parallelism of the same test scenario
by including the pid, but that would potentially let many directories
accumulate over time on failures, so is not done.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-7-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-24-alex.bennee@linaro.org>


  Commit: 4e1b5129f1181bea99dce30658b7a224baa018b0
      
https://github.com/qemu/qemu/commit/4e1b5129f1181bea99dce30658b7a224baa018b0
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qemu-iotests/meson.build

  Log Message:
  -----------
  iotests: register each I/O test separately with meson

Currently meson registers a single test that invokes an entire group of
I/O tests, hiding the test granularity from meson. There are various
downsides of doing this

 * You cannot ask 'meson test' to invoke a single I/O test
 * The meson test timeout can't be applied to the individual
   tests
 * Meson only gets a pass/fail for the overall I/O test group
   not individual tests
 * If a CI job gets killed by the GitLab timeout, we don't
   get visibility into how far through the I/O tests
   execution got.

This switches meson to perform test discovery by invoking 'check' in
dry-run mode. It then registers one meson test case for each I/O
test. Parallel execution remains disabled since the I/O tests do not
use self contained execution environments and thus conflict with
each other.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-8-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-25-alex.bennee@linaro.org>


  Commit: d57b6feb7cd11386460068738bc31c49b48e9f75
      
https://github.com/qemu/qemu/commit/d57b6feb7cd11386460068738bc31c49b48e9f75
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    R tests/check-block.sh

  Log Message:
  -----------
  iotests: remove the check-block.sh script

Now that meson directly invokes the individual I/O tests, the
check-block.sh wrapper script is no longer required.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Hanna Czenczek <hreitz@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230303160727.3977246-9-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-26-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: Add ASPEED Technology to the domain map

We have a number of contributors from this domain which is a corporate
endeavour.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Steven Lee <steven_lee@aspeedtech.com>
Cc: Troy Lee <troy_lee@aspeedtech.com>
Cc: Howard Chiu <howard_chiu@aspeedtech.com>
Cc: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Troy Lee <troy_lee@aspeedtech.com>
Message-Id: <20230315174331.2959-27-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: Add SYRMIA to the domain map

The company website lists QEMU amongst the things they work on so I
assume these are corporate contributions.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Milica Lazarevic <milica.lazarevic@syrmia.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230315174331.2959-28-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: add Amazon to the domain map

We have multiple contributors from both .co.uk and .com versions of
the address. Also add .de for completeness sake.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Paul Durrant <pdurrant@amazon.com>
Cc: David Wooodhouse <dwmw@amazon.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Message-Id: <20230315174331.2959-29-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/domain-map
    A contrib/gitdm/group-map-alibaba
    M gitdm.config

  Log Message:
  -----------
  contrib/gitdm: add Alibaba to the domain-map

This replaces the previous attempt to add c-sky.com. Group everything
under Alibaba now.

Added as requested by LIU Zhiwei.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Message-Id: <20230315174331.2959-30-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: add revng to domain map

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anton Johansson <anjo@rev.ng>
Cc: Niccolò Izzo <nizzo@rev.ng>
Cc: Paolo Montesel <babush@rev.ng>
Reviewed-by: Alessandro Di Federico <ale@rev.ng>
Message-Id: <20230315174331.2959-31-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/group-map-individuals

  Log Message:
  -----------
  contrib/gitdm: add more individual contributors

I've only added the names explicitly acked.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Bin Meng <bmeng@tinylab.org>
Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
Acked-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230315174331.2959-32-alex.bennee@linaro.org>


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

  Changed paths:
    M contrib/gitdm/domain-map
    A contrib/gitdm/group-map-amd
    M gitdm.config

  Log Message:
  -----------
  contrib/gitdm: add group map for AMD

AMD recently acquired Xilinx and contributors have been transitioning
their emails across.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Vikram Garhwal <vikram.garhwal@amd.com>
Cc: Stefano Stabellini <stefano.stabellini@amd.com>
Cc: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Cc: Tong Ho <tong.ho@xilinx.com>
Reviewed-by: Francisco Iglesias <francisco.iglesias@amd.com>
Message-Id: <20230315174331.2959-33-alex.bennee@linaro.org>


  Commit: 4f2c431acd43d0aa505494229d05fa343762f272
      
https://github.com/qemu/qemu/commit/4f2c431acd43d0aa505494229d05fa343762f272
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M tests/qtest/migration-test.c

  Log Message:
  -----------
  qtests: avoid printing comments before g_test_init()

The TAP protocol version line must be the first thing printed on
stdout. The migration test failed that requirement in certain
scenarios:

  # Skipping test: Userfault not available (builtdtime)
  TAP version 13
  # random seed: R02Sc120c807f11053eb90bfea845ba1e368
  1..32
  # Start of x86_64 tests
  # Start of migration tests
  ....

The TAP version is printed by g_test_init(), so we need to make
sure that any methods which print are run after that.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230317170553.592707-1-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


  Commit: e3402ee5ef0b6a689f1a4ec5e01a6873db0c64ce
      
https://github.com/qemu/qemu/commit/e3402ee5ef0b6a689f1a4ec5e01a6873db0c64ce
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-03-18 (Sat, 18 Mar 2023)

  Changed paths:
    M .gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
    M accel/accel-softmmu.c
    M accel/tcg/cpu-exec-common.c
    M accel/tcg/cpu-exec.c
    M block/monitor/block-hmp-cmds.c
    M contrib/gitdm/domain-map
    A contrib/gitdm/group-map-alibaba
    A contrib/gitdm/group-map-amd
    M contrib/gitdm/group-map-individuals
    M cpu.c
    M dump/dump.c
    M dump/win_dump.c
    M gdbstub/gdbstub.c
    M gitdm.config
    M hw/arm/collie.c
    M hw/arm/cubieboard.c
    M hw/arm/musicpal.c
    M hw/arm/npcm7xx_boards.c
    M hw/arm/nseries.c
    M hw/arm/omap_sx1.c
    M hw/arm/orangepi.c
    M hw/arm/palm.c
    M hw/core/loader.c
    M hw/core/machine-smp.c
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/kvm/xen_xenstore.c
    M hw/i386/sgx.c
    M hw/intc/apic.c
    M hw/loongarch/acpi-build.c
    M hw/loongarch/virt.c
    M hw/m68k/next-cube.c
    M hw/m68k/q800.c
    M hw/m68k/virt.c
    M hw/mem/memory-device.c
    M hw/mem/sparse-mem.c
    M hw/openrisc/boot.c
    M hw/ppc/ppc4xx_sdram.c
    M hw/ppc/spapr_softmmu.c
    M hw/riscv/opentitan.c
    M hw/riscv/shakti_c.c
    M hw/riscv/virt-acpi-build.c
    M hw/vfio/display.c
    M hw/vfio/igd.c
    M hw/vfio/migration.c
    M include/hw/core/cpu.h
    A include/qemu/plugin-event.h
    M include/qemu/plugin.h
    M include/qemu/qemu-plugin.h
    M include/user/syscall-trace.h
    M linux-user/elfload.c
    M linux-user/exit.c
    M linux-user/syscall.c
    M migration/dirtyrate.c
    M migration/exec.c
    M plugins/core.c
    M scripts/ci/org.centos/stream/8/build-environment.yml
    M scripts/ci/setup/gitlab-runner.yml
    M target/i386/cpu.c
    M target/i386/host-cpu.c
    M target/i386/kvm/xen-emu.c
    M target/i386/sev.c
    M target/i386/whpx/whpx-apic.c
    M target/mips/cpu.c
    M target/s390x/cpu-sysemu.c
    M target/s390x/cpu_models.c
    M target/s390x/diag.c
    M tcg/tcg-op.c
    M tests/avocado/machine_aarch64_virt.py
    M tests/avocado/tuxrun_baselines.py
    R tests/check-block.sh
    M tests/docker/Makefile.include
    M tests/qemu-iotests/check
    M tests/qemu-iotests/meson.build
    M tests/qemu-iotests/testenv.py
    M tests/qemu-iotests/testrunner.py
    M tests/qtest/migration-test.c
    M tests/tcg/Makefile.target
    M ui/cocoa.m

  Log Message:
  -----------
  Merge tag 'pull-for-8.0-170323-4' of https://gitlab.com/stsquad/qemu into 
staging

Misc fixes for 8.0 (testing, plugins, gitdm)

  - update Alpine image used for testing images
  - include libslirp in custom runner build env
  - update gitlab-runner recipe for CentOS
  - update docker calls for better caching behaviour
  - document some plugin callbacks
  - don't use tags to define drives for lkft baseline tests
  - fix missing clear of plugin_mem_cbs
  - fix iotests to report individual results
  - update the gitdm metadata for contributors
  - avoid printing comments before g_test_init()

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmQUqGwACgkQ+9DbCVqe
# KkRlgAgAhf2Tda4zeaJJ1KjY0kIoMCaAFthU42+5p1A6hTFlX53FxvvXACGpkfDr
# kSDt/ONVCdumkqKzSK+SCCr/ZVrOLY2GNt06k214Gcr1iTwoM4UYNgEi8WO5APeL
# J1xUeaWnPyJaPVfHqp/VODxkH/0uZpF3lebp9RcHaX8CqABIg1L1sv1mUZEnFrtu
# bVO5i27pgNM9uZ/0HH7FINkG2/HJKdSL79WJ2Poaam71aOgUJBM64fDTP8xwyovF
# KI1q1wuzU2To80UbMvX3KORiO4DLp2NPvbdzqJZnNDyoRYQhhveS9Wmqsu/myDf/
# 8dNEVX3hFEutW746erjngEaxyXFb5w==
# =lb44
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 17 Mar 2023 17:50:36 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-for-8.0-170323-4' of https://gitlab.com/stsquad/qemu: (31 commits)
  qtests: avoid printing comments before g_test_init()
  contrib/gitdm: add group map for AMD
  contrib/gitdm: add more individual contributors
  contrib/gitdm: add revng to domain map
  contrib/gitdm: add Alibaba to the domain-map
  contrib/gitdm: add Amazon to the domain map
  contrib/gitdm: Add SYRMIA to the domain map
  contrib/gitdm: Add ASPEED Technology to the domain map
  iotests: remove the check-block.sh script
  iotests: register each I/O test separately with meson
  iotests: always use a unique sub-directory per test
  iotests: connect stdin to /dev/null when running tests
  iotests: print TAP protocol version when reporting tests
  iotests: strip subdir path when listing tests
  iotests: allow test discovery before building
  iotests: explicitly pass source/build dir to 'check' command
  include/qemu/plugin: Inline qemu_plugin_disable_mem_helpers
  include/qemu: Split out plugin-event.h
  *: Add missing includes of qemu/plugin.h
  *: Add missing includes of qemu/error-report.h
  ...

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


Compare: https://github.com/qemu/qemu/compare/74c581b64523...e3402ee5ef0b



reply via email to

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