more testing fixes (all green now)
The following changes since commit aadac5b3d9fdce28030495f80fc76a4336e97328:
Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging (2021-01-06 15:55:29 +0000)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-060121-4
for you to fetch changes up to af229fc367021e361cebaf84acceb01f28922cc4:
cirrus: don't run full qtest on macOS (2021-01-06 17:30:02 +0000)
----------------------------------------------------------------
Testing updates (back to green)
- include ccache in Debian 10 docker image
- iotests: drop 312 from auto group
- bound reading of s390x framebuffer file
- cirrus: drop non-x86 tests so we complete
----------------------------------------------------------------
Alex Bennée (2):
tests/iotests: drop test 312 from auto group tests/acceptance: bound the size of readline in s390_ccw_virtio
Daniel P. Berrangé (1):
cirrus: don't run full qtest on macOS
Philippe Mathieu-Daudé (1):
tests/docker: Include 'ccache' in Debian base image
.cirrus.yml | 14 ++++++++++---- tests/acceptance/machine_s390_ccw_virtio.py | 2 +- tests/docker/dockerfiles/debian10.docker | 1 + tests/qemu-iotests/group | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-)
Signature · 1 line
2.20.1
[PULL v4 1/4] tests/docker: Include 'ccache' in Debian base image
From: Philippe Mathieu-Daudé <[email protected]>
Include the 'ccache' package to speed up compilation.
Message-Id: <[email protected]>
tests/docker/dockerfiles/debian10.docker +1 -0
@@ -20,6 +20,7 @@ RUN apt update && \ bc \ build-essential \ ca-certificates \ + ccache \ clang \ dbus \ gdb-multiarch \
Signature · 1 line
2.20.1
[PULL v4 2/4] tests/iotests: drop test 312 from auto group
In reply to Alex BennéeThe "auto" documentation states:
That means they should run with every QEMU binary (also non-x86)
which is not the case as the check-system-fedora build which only includes a rag tag group of rare and deprecated targets doesn't support the virtio device required.
Message-Id: <[email protected]>
tests/qemu-iotests/group +1 -1
@@ -318,4 +318,4 @@ 307 rw quick export 308 rw 309 rw auto quick -312 rw auto quick +312 rw quick
Signature · 1 line
2.20.1
[PULL v4 3/4] tests/acceptance: bound the size of readline in s390_ccw_virtio
In reply to Alex BennéeThe read binary data as text via a PPM export of the frame buffer seems a bit sketchy and it did blow up in the real world when the assertion failed:
https://gitlab.com/qemu-project/qemu/-/jobs/943183183
However short of cleaning up the test to be more binary focused at least limit the attempt to dump the whole file as hexified zeros in the logs.
Message-Id: <[email protected]>
tests/acceptance/machine_s390_ccw_virtio.py +1 -1
@@ -241,7 +241,7 @@ class S390CCWVirtioMachine(Test): self.assertEqual(line, b"1024 768\n") line = ppmfile.readline() self.assertEqual(line, b"255\n") - line = ppmfile.readline() + line = ppmfile.readline(256) self.assertEqual(line, b"The quick fox jumps over a lazy dog\n") # Hot-plug a virtio-crypto device and see whether it gets accepted
Signature · 1 line
2.20.1
[PULL v4 4/4] cirrus: don't run full qtest on macOS
In reply to Alex BennéeFrom: Daniel P. Berrangé <[email protected]>
The Cirrus CI macOS build hosts have exhibited a serious performance degradation in recent months. For example the "qom-test" qtest takes over an hour for only the qemu-system-aarch64 binary. This is as much 20-40 times slower than other environments. The other qtests all show similar performance degradation, as do many of the unit tests.
This does not appear related to QEMU code changes, since older git commits which were known to fully complete in less than 1 hour on Cirrus CI now also show similar bad performance. Either Cirrus CI performance has degraded, or an change in its environment has exposed a latent bug widely affecting all of QEMU. Debugging the qom-test showed no easily identified large bottleneck - every step of the test execution was simply slower.
macOS builds/tests run outside Cirrus CI show normal performance.
With an inability to identify any obvious problem, the only viable way to get a reliably completing Cirrus CI macOS job is to cut out almost all of the qtests. We choose to run the x86_64 target only, since that has very few machine types and thus is least badly impacted in the qom-test execution.
With this change, the macOS jobs complete in approx 35 minutes.
Message-Id: <[email protected]>
.cirrus.yml +10 -4
@@ -18,7 +18,6 @@ freebsd_12_task: - gmake -j$(sysctl -n hw.ncpu) check V=1 macos_task: - timeout_in: 90m osx_instance: image: catalina-base install_script:
@@ -30,10 +29,13 @@ macos_task: --extra-cflags='-Wno-error=deprecated-declarations' || { cat config.log meson-logs/meson-log.txt; exit 1; } - gmake -j$(sysctl -n hw.ncpu) - - gmake check V=1 + - gmake check-unit V=1 + - gmake check-block V=1 + - gmake check-qapi-schema V=1 + - gmake check-softfloat V=1 + - gmake check-qtest-x86_64 V=1 macos_xcode_task: - timeout_in: 90m osx_instance: # this is an alias for the latest Xcode image: catalina-xcode
@@ -45,7 +47,11 @@ macos_xcode_task: - ../configure --extra-cflags='-Wno-error=deprecated-declarations' --enable-modules --enable-werror --cc=clang || { cat config.log meson-logs/meson-log.txt; exit 1; } - gmake -j$(sysctl -n hw.ncpu) - - gmake check V=1 + - gmake check-unit V=1 + - gmake check-block V=1 + - gmake check-qapi-schema V=1 + - gmake check-softfloat V=1 + - gmake check-qtest-x86_64 V=1 windows_msys2_task: timeout_in: 90m
Signature · 1 line
2.20.1
Peter Maydell
AppliedQuoted 13 lines · Alex Bennée
The following changes since commit
aadac5b3d9fdce28030495f80fc76a4336e97328:Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging (2021-01-06 15:55:29 +0000)
are available in the Git repository at:
https://github.com/stsquad/qemu.git tags/pull-testing-060121-4
for you to fetch changes up to
af229fc367021e361cebaf84acceb01f28922cc4:cirrus: don't run full qtest on macOS (2021-01-06 17:30:02 +0000)
Quoted 7 lines
----------------------------------------------------------------
Testing updates (back to green)- include ccache in Debian 10 docker image
- iotests: drop 312 from auto group
- bound reading of s390x framebuffer file
- cirrus: drop non-x86 tests so we complete
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/6.0
for any user-visible changes.
-- PMM