[PULL 00/16] Final tests, s390x and misc updates before the soft freeze

Thomas Huth posted 16 patches 1 year, 1 month ago
There is a newer version of this series
docs/about/build-platforms.rst       |   3 +-
docs/about/deprecated.rst            |  20 ++++
docs/config/mach-virt-graphical.cfg  |   4 +-
docs/config/mach-virt-serial.cfg     |   4 +-
docs/config/q35-emulated.cfg         |   2 +
docs/config/q35-virtio-graphical.cfg |   2 +
docs/config/q35-virtio-serial.cfg    |   2 +
configure                            |   1 +
include/hw/i386/x86.h                |   2 -
pc-bios/s390-ccw/bootmap.h           |  30 +++++-
tests/qtest/libqos/libqos.h          |   2 -
tests/qtest/libqtest.h               |  21 +++++
pc-bios/s390-ccw/bootmap.c           | 157 ++++++++++++++++++++++++-------
tests/qtest/libqos/libqos.c          |  49 +---------
tests/qtest/libqtest.c               |  52 +++++++++++
tests/qtest/readconfig-test.c        | 175 ++++++++++++++++++++++++++++++++---
.gitlab-ci.d/crossbuilds.yml         |  24 -----
pc-bios/s390-ccw.img                 | Bin 42608 -> 42608 bytes
target/hexagon/meson.build           |   2 +-
tests/qtest/meson.build              |  10 +-
20 files changed, 428 insertions(+), 134 deletions(-)
[PULL 00/16] Final tests, s390x and misc updates before the soft freeze
Posted by Thomas Huth 1 year, 1 month ago
 Hi Peter!

The following changes since commit 2946e1af2704bf6584f57d4e3aec49d1d5f3ecc0:

  configure: Disable thread-safety warnings on macOS (2023-03-04 14:03:46 +0000)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2023-03-06

for you to fetch changes up to cb161e95334dd9ba6835dbe8a8a60a2a87ddfe7e:

  pc-bios/s390-ccw: Update s390-ccw.img with the list-directed IPL fix (2023-03-06 12:05:10 +0100)

----------------------------------------------------------------
* Refine the distro support policy
* Deprecate 32-bit x86 and arm hosts for system emulation
* Check bison version to be >= 3.0
* Compile vnc test only if vnc is really enabled
* Check some configs in docs/config/ via the readconfig-test
* s390x: Add support for list-directed IPL from ECKD DASD

----------------------------------------------------------------
Jared Rossi (1):
      pc-bios: Add support for List-Directed IPL from ECKD DASD

Juan Quintela (1):
      test: Check vnc enable before compiling vnc test

Matheus Tavares Bernardino (1):
      Hexagon (meson.build): define min bison version

Thomas Huth (13):
      docs/about/build-platforms: Refine the distro support policy
      include/hw/i386: Clean up includes in x86.h
      docs/about/deprecated: Deprecate 32-bit x86 hosts for system emulation
      gitlab-ci.d/crossbuilds: Drop the i386 system emulation job
      docs/about/deprecated: Deprecate 32-bit arm hosts for system emulation
      gitlab-ci.d/crossbuilds: Drop the 32-bit arm system emulation jobs
      tests/qtest/readconfig: Rework test_object_rng_resp into a generic function
      tests/qtest/readconfig: Test docs/config/ich9-ehci-uhci.cfg
      docs/config: Set the "kvm" accelerator via "[accel]" section
      tests/qtest/readconfig-test: Allow testing for arbitrary memory sizes
      tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest
      tests/qtest/readconfig: Test docs/config/q35-emulated.cfg
      pc-bios/s390-ccw: Update s390-ccw.img with the list-directed IPL fix

 docs/about/build-platforms.rst       |   3 +-
 docs/about/deprecated.rst            |  20 ++++
 docs/config/mach-virt-graphical.cfg  |   4 +-
 docs/config/mach-virt-serial.cfg     |   4 +-
 docs/config/q35-emulated.cfg         |   2 +
 docs/config/q35-virtio-graphical.cfg |   2 +
 docs/config/q35-virtio-serial.cfg    |   2 +
 configure                            |   1 +
 include/hw/i386/x86.h                |   2 -
 pc-bios/s390-ccw/bootmap.h           |  30 +++++-
 tests/qtest/libqos/libqos.h          |   2 -
 tests/qtest/libqtest.h               |  21 +++++
 pc-bios/s390-ccw/bootmap.c           | 157 ++++++++++++++++++++++++-------
 tests/qtest/libqos/libqos.c          |  49 +---------
 tests/qtest/libqtest.c               |  52 +++++++++++
 tests/qtest/readconfig-test.c        | 175 ++++++++++++++++++++++++++++++++---
 .gitlab-ci.d/crossbuilds.yml         |  24 -----
 pc-bios/s390-ccw.img                 | Bin 42608 -> 42608 bytes
 target/hexagon/meson.build           |   2 +-
 tests/qtest/meson.build              |  10 +-
 20 files changed, 428 insertions(+), 134 deletions(-)
Re: [PULL 00/16] Final tests, s390x and misc updates before the soft freeze
Posted by Peter Maydell 1 year, 1 month ago
On Mon, 6 Mar 2023 at 13:30, Thomas Huth <thuth@redhat.com> wrote:
>
>  Hi Peter!
>
> The following changes since commit 2946e1af2704bf6584f57d4e3aec49d1d5f3ecc0:
>
>   configure: Disable thread-safety warnings on macOS (2023-03-04 14:03:46 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/thuth/qemu.git tags/pull-request-2023-03-06
>
> for you to fetch changes up to cb161e95334dd9ba6835dbe8a8a60a2a87ddfe7e:
>
>   pc-bios/s390-ccw: Update s390-ccw.img with the list-directed IPL fix (2023-03-06 12:05:10 +0100)
>
> ----------------------------------------------------------------
> * Refine the distro support policy
> * Deprecate 32-bit x86 and arm hosts for system emulation
> * Check bison version to be >= 3.0
> * Compile vnc test only if vnc is really enabled
> * Check some configs in docs/config/ via the readconfig-test
> * s390x: Add support for list-directed IPL from ECKD DASD
>
> ----------------------------------------------------------------

On the centost-stream-8 job:
https://gitlab.com/qemu-project/qemu/-/jobs/3883361977

the readconfig test falls over because it assumes the existence
of the 'user' network backend:

------------------------------------------------------------------------------
154/177 qemu:qtest+qtest-x86_64 / qtest-x86_64/readconfig-test ERROR
0.97s killed by signal 6 SIGABRT
18:31:45 QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon
QTEST_QEMU_IMG=./qemu-img
G_TEST_DBUS_DAEMON=/home/gitlab-runner/builds/Jpwtyaz7/0/qemu-project/qemu/tests/dbus-vmstate-daemon.sh
MALLOC_PERTURB_=173 QTEST_QEMU_BINARY=./qemu-system-x86_64
/home/gitlab-runner/builds/Jpwtyaz7/0/qemu-project/qemu/build/tests/qtest/readconfig-test
--tap -k
----------------------------------- output -----------------------------------
stdout:
# random seed: R02Sdb70713b71430613420095c4ac69e492
1..5
# Start of x86_64 tests
# Start of readconfig tests
# starting QEMU: exec ./qemu-system-x86_64 -qtest
unix:/tmp/qtest-2231080.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-2231080.qmp,id=char0 -mon
chardev=char0,mode=control -display none -nodefaults -machine none
-readconfig /tmp/readconfig-test-8KX601 -accel qtest
ok 1 /x86_64/readconfig/spice
# starting QEMU: exec ./qemu-system-x86_64 -qtest
unix:/tmp/qtest-2231080.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-2231080.qmp,id=char0 -mon
chardev=char0,mode=control -display none -nodefaults -machine none
-readconfig /tmp/readconfig-test-JDLQ11 -accel qtest
ok 2 /x86_64/readconfig/object-rng
# Start of x86 tests
# starting QEMU: exec ./qemu-system-x86_64 -qtest
unix:/tmp/qtest-2231080.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-2231080.qmp,id=char0 -mon
chardev=char0,mode=control -display none -nodefaults -machine none
-readconfig /tmp/readconfig-test-7J9M11 -accel qtest
ok 3 /x86_64/readconfig/x86/memdev
# starting QEMU: exec ./qemu-system-x86_64 -qtest
unix:/tmp/qtest-2231080.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-2231080.qmp,id=char0 -mon
chardev=char0,mode=control -display none -nodefaults -readconfig
docs/config/ich9-ehci-uhci.cfg -accel qtest
ok 4 /x86_64/readconfig/x86/ich9-ehci-uhci
# starting QEMU: exec ./qemu-system-x86_64 -qtest
unix:/tmp/qtest-2231080.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-2231080.qmp,id=char0 -mon
chardev=char0,mode=control -display none -machine none -accel qtest
# starting QEMU: exec ./qemu-system-x86_64 -qtest
unix:/tmp/qtest-2231080.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-2231080.qmp,id=char0 -mon
chardev=char0,mode=control -display none -machine none -nodefaults
-readconfig /tmp/q35-emulated-2KMB11.cfg -accel qtest
stderr:
qemu-system-x86_64:/tmp/q35-emulated-2KMB11.cfg:245: network backend
'user' is not compiled into this binary
Broken pipe
../tests/qtest/libqtest.c:184: kill_qemu() tried to terminate QEMU
process but encountered exit status 1 (expected 0)
TAP parsing error: Too few tests run (expected 5, got 4)
(test program exited with status code -6)

thanks
-- PMM
Re: [PULL 00/16] Final tests, s390x and misc updates before the soft freeze
Posted by Thomas Huth 1 year, 1 month ago
On 07/03/2023 10.57, Peter Maydell wrote:
> On Mon, 6 Mar 2023 at 13:30, Thomas Huth <thuth@redhat.com> wrote:
>>
>>   Hi Peter!
>>
>> The following changes since commit 2946e1af2704bf6584f57d4e3aec49d1d5f3ecc0:
>>
>>    configure: Disable thread-safety warnings on macOS (2023-03-04 14:03:46 +0000)
>>
>> are available in the Git repository at:
>>
>>    https://gitlab.com/thuth/qemu.git tags/pull-request-2023-03-06
>>
>> for you to fetch changes up to cb161e95334dd9ba6835dbe8a8a60a2a87ddfe7e:
>>
>>    pc-bios/s390-ccw: Update s390-ccw.img with the list-directed IPL fix (2023-03-06 12:05:10 +0100)
>>
>> ----------------------------------------------------------------
>> * Refine the distro support policy
>> * Deprecate 32-bit x86 and arm hosts for system emulation
>> * Check bison version to be >= 3.0
>> * Compile vnc test only if vnc is really enabled
>> * Check some configs in docs/config/ via the readconfig-test
>> * s390x: Add support for list-directed IPL from ECKD DASD
>>
>> ----------------------------------------------------------------
> 
> On the centost-stream-8 job:
> https://gitlab.com/qemu-project/qemu/-/jobs/3883361977
> 
> the readconfig test falls over because it assumes the existence
> of the 'user' network backend

Ok, thanks, I'll fix it and send a v2...

  Thomas