qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] aa5730: tests/docker: replace fedora-i386 wit


From: Alex Bennée
Subject: [Qemu-commits] [qemu/qemu] aa5730: tests/docker: replace fedora-i386 with debian-i686
Date: Fri, 24 Nov 2023 13:08:37 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: aa5730b07ebcebf26206a4f70a5118dc469e1160
      
https://github.com/qemu/qemu/commit/aa5730b07ebcebf26206a4f70a5118dc469e1160
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/container-cross.yml
    M .gitlab-ci.d/crossbuilds.yml
    M configure
    A tests/docker/dockerfiles/debian-i686-cross.docker
    R tests/docker/dockerfiles/fedora-i386-cross.docker
    M tests/lcitool/refresh

  Log Message:
  -----------
  tests/docker: replace fedora-i386 with debian-i686

Fedora is gradually killing off i386 packages in its repos, via a
death-by-1000-cuts process. Thus Debian looks like a better long
term bet for i686 build testing. It has the added advantage that
we can generate it via lcitool too.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231107164109.1449014-1-berrange@redhat.com>
[AJB: tweak commit msg, set correct prefix]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-2-alex.bennee@linaro.org>


  Commit: 7528ef7321951a89844693947bac8b237275072e
      
https://github.com/qemu/qemu/commit/7528ef7321951a89844693947bac8b237275072e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/cirrus.yml
    R .gitlab-ci.d/cirrus/macos-12.vars
    A .gitlab-ci.d/cirrus/macos-13.vars
    M tests/lcitool/refresh

  Log Message:
  -----------
  .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura)

macOS 14 "Sonoma" was released on September 2023 [1].

According to QEMU's support policy, we stop supporting the
previous major release two years after the the new major
release has been published. Replace the macOS 12 (Monterey)
testing by macOS 13 (Ventura, released on October 2022, [2]).

Refresh the generated files by running:

  $ make lcitool-refresh

[1] https://www.apple.com/newsroom/2023/09/macos-sonoma-is-available-today/
[2] https://www.apple.com/newsroom/2022/10/macos-ventura-is-now-available/

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


  Commit: 8e721c327778948bdbd2076a417e8ccc67525ae7
      
https://github.com/qemu/qemu/commit/8e721c327778948bdbd2076a417e8ccc67525ae7
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/containers.yml
    M tests/docker/Makefile.include
    R tests/docker/dockerfiles/debian-amd64.docker
    R tests/docker/dockerfiles/debian-native.docker
    A tests/docker/dockerfiles/debian.docker
    M tests/lcitool/refresh

  Log Message:
  -----------
  tests/docker: merge debian-native with debian-amd64

debian-native isn't really needed and suffers from the problem of
tracking a distros dependencies rather than the projects. With a
little surgery we can make the debian-amd64 container architecture
neutral and allow people to use it to build a native QEMU.

Rename it so it follows the same non-arch pattern of the other distro
containers.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-4-alex.bennee@linaro.org>


  Commit: 4789f9d3a16dbd8139d935ec3c5008d0fbd40f88
      
https://github.com/qemu/qemu/commit/4789f9d3a16dbd8139d935ec3c5008d0fbd40f88
  Author: Greg Manning <gmanning@rapitasystems.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/crossbuilds.yml
    M contrib/plugins/Makefile
    M plugins/meson.build
    M tests/plugin/meson.build

  Log Message:
  -----------
  plugins: fix win plugin tests on cross compile

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1972

Cross compile gcc is more picky about argument order than msys. Changed
the meson command to take the (now renamed) libqemu_plugin_api.a as a
lib, rather than an object. This puts it in the right place on both
native and cross compile gcc commands

Reenable plugins on crossbuilds

Signed-off-by: Greg Manning <gmanning@rapitasystems.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231109124326.21106-2-gmanning@rapitasystems.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-5-alex.bennee@linaro.org>


  Commit: 9997771bc17fa90297085118d7faa8256fe57b12
      
https://github.com/qemu/qemu/commit/9997771bc17fa90297085118d7faa8256fe57b12
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M docs/about/deprecated.rst
    M hw/nios2/10m50_devboard.c
    M hw/nios2/generic_nommu.c

  Log Message:
  -----------
  target/nios2: Deprecate the Nios II architecture

See commit 9ba1caf510 ("MAINTAINERS: Mark the Nios II CPU as orphan"),
last contribution from Chris was in 2012 [1] and Marek in 2018 [2].

[1] 
https://lore.kernel.org/qemu-devel/1352607539-10455-2-git-send-email-crwulff@gmail.com/
[2] 
https://lore.kernel.org/qemu-devel/805fc7b5-03f0-56d4-abfd-ed010d4fa769@denx.de/

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231117070250.32932-1-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-6-alex.bennee@linaro.org>


  Commit: 1be75e24e88020c8a2329c2dbf0f3460300eb2df
      
https://github.com/qemu/qemu/commit/1be75e24e88020c8a2329c2dbf0f3460300eb2df
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M tests/tcg/aarch64/Makefile.softmmu-target

  Log Message:
  -----------
  tests/tcg: fixup Aarch64 semiconsole test

We need to ensure we squash the serial port if we want to hand craft
our muxed input. As a bonus emit the example with a V=1 build to make
it easier for people to figure out.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-7-alex.bennee@linaro.org>


  Commit: ef073ebd329aecc5f31a3a9d6e355e367f5bfb99
      
https://github.com/qemu/qemu/commit/ef073ebd329aecc5f31a3a9d6e355e367f5bfb99
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M docs/about/emulation.rst

  Log Message:
  -----------
  docs/emulation: expand warning about semihosting

A surprising feature of calls like SYS_READC is this can cause QEMU to
indefinitely block as there is no handling for EOF.

Clarifies: https://gitlab.com/qemu-project/qemu/-/issues/1963
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-8-alex.bennee@linaro.org>


  Commit: 84dd7d88c98831f1ef95262990ea185a36c79fa1
      
https://github.com/qemu/qemu/commit/84dd7d88c98831f1ef95262990ea185a36c79fa1
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M docs/system/gdb.rst

  Log Message:
  -----------
  docs/system: clarify limits of using gdbstub in system emulation

It seems some users will try and use the gdbstub to debug userspace
inside a system emulation. While possible clarify the limitations of
this approach and direct the users to a less head scratching way of
debugging user-space.

Clarifies: https://gitlab.com/qemu-project/qemu/-/issues/1274
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-9-alex.bennee@linaro.org>


  Commit: 575aac007cfa5a28315f5c5658d3cf64cd6a5de4
      
https://github.com/qemu/qemu/commit/575aac007cfa5a28315f5c5658d3cf64cd6a5de4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M hw/core/loader.c

  Log Message:
  -----------
  hw/core: skip loading debug on all failures

ELF_LOAD_FAILED is one of many negative return codes we can have. Lets
treat any positive size_t as a success for loading.

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


  Commit: e8368b1c95728180d0e1ac8f468a34de2c588f9b
      
https://github.com/qemu/qemu/commit/e8368b1c95728180d0e1ac8f468a34de2c588f9b
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M tests/tcg/arm/Makefile.softmmu-target
    A tests/tcg/arm/system/test-armv6m-undef.S
    A tests/tcg/arm/system/test-armv6m-undef.ld
    R tests/tcg/arm/test-armv6m-undef.S
    R tests/tcg/arm/test-armv6m-undef.ld

  Log Message:
  -----------
  testing: move arm system tests into their own folder

Prepare for expanding the arm system tests by cleaning up the test
directory.

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


  Commit: 56611e17d2ec6f53bf04c37a2e5ad203c6f9ac4b
      
https://github.com/qemu/qemu/commit/56611e17d2ec6f53bf04c37a2e5ad203c6f9ac4b
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M tests/tcg/arm/Makefile.softmmu-target
    A tests/tcg/arm/system/boot.S
    A tests/tcg/arm/system/kernel.ld

  Log Message:
  -----------
  tests/tcg: enable arm softmmu tests

To make it easier to test 32 bit Arm softmmu issues implement a basic
boot.S so we can build the multiarch tests. Currently CHECK_UNALIGNED
is disabled as I haven't got the right magic set for it to work.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-12-alex.bennee@linaro.org>


  Commit: 8848c5296777f67fb2811bc434312f8b75c9a0d1
      
https://github.com/qemu/qemu/commit/8848c5296777f67fb2811bc434312f8b75c9a0d1
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M tests/tcg/arm/Makefile.softmmu-target
    A tests/tcg/arm/system/semiconsole.c

  Log Message:
  -----------
  tests/tcg: enable semiconsole test for Arm

This still remains a MANUAL test due to blocking issues.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-13-alex.bennee@linaro.org>


  Commit: c2118e9e1ab34edb1b5d1b0b4092cb12271a593d
      
https://github.com/qemu/qemu/commit/c2118e9e1ab34edb1b5d1b0b4092cb12271a593d
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: don't try a "native" cross for linux-user

As 32 bit x86 become rarer we are starting to run into problems with
search paths. Although we switched to a Debian container we still
favour the native CC on a Bookworm host. As a result we have a broken
cross compile setup which then fails to build with:

    BUILD   i386-linux-user guest-tests
  In file included from /usr/include/linux/stat.h:5,
                   from /usr/include/bits/statx.h:31,
                   from /usr/include/sys/stat.h:465,
                   from 
/home/alex/lsrc/qemu.git/tests/tcg/multiarch/linux/linux-test.c:28:
  /usr/include/linux/types.h:5:10: fatal error: asm/types.h: No such file or 
directory
      5 | #include <asm/types.h>
        |          ^~~~~~~~~~~~~
  compilation terminated.
  make[1]: *** [Makefile:119: linux-test] Error 1
  make: *** [/home/alex/lsrc/qemu.git/tests/Makefile.include:50: 
build-tcg-tests-i386-linux-user] Error 2

This is likely to affect more and more linux-user builds so wrap the
whole check in a test for softmmu targets (aka bare metal) which don't
worry about such header niceties. This allows us to keep using the
host compiler for softmmu tests and the roms.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-14-alex.bennee@linaro.org>


  Commit: 6ef164188d005d7636f7ed8a1033cc4083498301
      
https://github.com/qemu/qemu/commit/6ef164188d005d7636f7ed8a1033cc4083498301
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M tests/tcg/multiarch/gdbstub/registers.py
    M tests/tcg/ppc64/Makefile.target
    M tests/tcg/s390x/Makefile.target

  Log Message:
  -----------
  tests/tcg: finesse the registers check for "hidden" regs

The reason the ppc64 and s390x test where failing was because gdb
hides them although they are still accessible via regnum. We can
re-arrange the test a little bit and include these two arches in our
test.

We also need to be a bit more careful handling remote-registers as the
format isn't easily parsed with pure white space separation. Once we
fold types like "long long" and "long double" into a single word we
can now assert all registers are either listed or elided.

Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc:  <qemu-s390x@nongnu.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Daniel Henrique Barboza <danielhb413@gmail.com>
Cc:  <qemu-ppc@nongnu.org>
Cc: Luis Machado <luis.machado@arm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231121153606.542101-1-alex.bennee@linaro.org>


  Commit: 4705fc0c8511d073bee4751c3c974aab2b10a970
      
https://github.com/qemu/qemu/commit/4705fc0c8511d073bee4751c3c974aab2b10a970
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/cirrus.yml
    R .gitlab-ci.d/cirrus/macos-12.vars
    A .gitlab-ci.d/cirrus/macos-13.vars
    M .gitlab-ci.d/container-cross.yml
    M .gitlab-ci.d/containers.yml
    M .gitlab-ci.d/crossbuilds.yml
    M configure
    M contrib/plugins/Makefile
    M docs/about/deprecated.rst
    M docs/about/emulation.rst
    M docs/system/gdb.rst
    M hw/core/loader.c
    M hw/nios2/10m50_devboard.c
    M hw/nios2/generic_nommu.c
    M plugins/meson.build
    M tests/docker/Makefile.include
    R tests/docker/dockerfiles/debian-amd64.docker
    A tests/docker/dockerfiles/debian-i686-cross.docker
    R tests/docker/dockerfiles/debian-native.docker
    A tests/docker/dockerfiles/debian.docker
    R tests/docker/dockerfiles/fedora-i386-cross.docker
    M tests/lcitool/refresh
    M tests/plugin/meson.build
    M tests/tcg/aarch64/Makefile.softmmu-target
    M tests/tcg/arm/Makefile.softmmu-target
    A tests/tcg/arm/system/boot.S
    A tests/tcg/arm/system/kernel.ld
    A tests/tcg/arm/system/semiconsole.c
    A tests/tcg/arm/system/test-armv6m-undef.S
    A tests/tcg/arm/system/test-armv6m-undef.ld
    R tests/tcg/arm/test-armv6m-undef.S
    R tests/tcg/arm/test-armv6m-undef.ld
    M tests/tcg/multiarch/gdbstub/registers.py
    M tests/tcg/ppc64/Makefile.target
    M tests/tcg/s390x/Makefile.target

  Log Message:
  -----------
  Merge tag 'pull-for-8.2-fixes-231123-1' of https://gitlab.com/stsquad/qemu 
into staging

various random fixes for 8.2

  - replace fedora-i386 cross compiler with debian
  - update cirrus MacOS image to Ventura
  - merge debian-native and debian-amd64 docker images
  - fix compile of plugins on Windows mingw cross
  - add some doc notes on semihosting READC
  - add some doc notes on gdbstub
  - skip loading debug symbols if we have failed
  - enable arm-softmmu TCG tests
  - don't attempt to use native cross builds for linux-user
  - clean up registers gdb test case (ppc64/s390x)

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmVfXowACgkQ+9DbCVqe
# KkQY6Af5AVjPG2aHmixvhTjxEx5dXAH3cGYsWbny3EByT2RijaTBBK/A4OB7RTVV
# fr11kGpCkJDk4JPoUz4yTuw6Q+7WBmB0tJJ5wcGyC9cyCjI/PttSTJUC7hiikifw
# dg1IVrJZX0ahOpUiDXAtDbeHK1/i95mDRtot40mnyv5HHYHlJKohKsUVtiQEWMeq
# 0/X/M5Zq8oJ6wCkbw1nsCqkWpZa7eh4YcB9cGNf87dd0ZJ9M93CbjdSQlsugF2gB
# pH+5ZGOj+L/zkbEKoaWJNwYzF4G6hJeLpqP2rLMqRfA5MM43wdd0dJ6gK0ylKeuR
# Bo7jC1oEOcuLibZY40OhlOwLTMWiDg==
# =ME/l
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 23 Nov 2023 09:15:40 EST
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-for-8.2-fixes-231123-1' of https://gitlab.com/stsquad/qemu:
  tests/tcg: finesse the registers check for "hidden" regs
  configure: don't try a "native" cross for linux-user
  tests/tcg: enable semiconsole test for Arm
  tests/tcg: enable arm softmmu tests
  testing: move arm system tests into their own folder
  hw/core: skip loading debug on all failures
  docs/system: clarify limits of using gdbstub in system emulation
  docs/emulation: expand warning about semihosting
  tests/tcg: fixup Aarch64 semiconsole test
  target/nios2: Deprecate the Nios II architecture
  plugins: fix win plugin tests on cross compile
  tests/docker: merge debian-native with debian-amd64
  .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura)
  tests/docker: replace fedora-i386 with debian-i686

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


Compare: https://github.com/qemu/qemu/compare/b93c4313f2f4...4705fc0c8511



reply via email to

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