From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Subject: Re: [PULL 00/31] various fixes (testing, plugins, gitdm)
Date: Mon, 20 Mar 2023 14:15:19 +0000 [thread overview]
Message-ID: <ZBhqd7uyT0X6tRK7@redhat.com> (raw)
In-Reply-To: <CAFEAcA-f=tDQqmisqaJQxwYjgYOv+1XbCUDcaZkH_Jikt1iYNg@mail.gmail.com>
On Mon, Mar 20, 2023 at 01:42:46PM +0000, Peter Maydell wrote:
> On Sat, 18 Mar 2023 at 11:46, Alex Bennée <alex.bennee@linaro.org> wrote:
> >
> > The following changes since commit 74c581b6452394e591f13beba9fea2ec0688e2f5:
> >
> > Merge tag 'trivial-branch-for-8.0-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging (2023-03-17 14:22:01 +0000)
> >
> > are available in the Git repository at:
> >
> > https://gitlab.com/stsquad/qemu.git tags/pull-for-8.0-170323-4
> >
> > for you to fetch changes up to 4f2c431acd43d0aa505494229d05fa343762f272:
> >
> > qtests: avoid printing comments before g_test_init() (2023-03-17
> > 17:50:19 +0000)
> >
> > You can see my CI run on the branch here:
> >
> > https://gitlab.com/stsquad/qemu/-/pipelines/810271620
> >
> > The failures:
> >
> > FreeBSD's time out on a migration test
> > Centos8 Stream because my private runner needs more disk space
> >
> > ----------------------------------------------------------------
> > 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()
> >
>
> This seems to consistently fail an avocado test on the
> centos-stream-8-x86_64 job:
> (21/51) tests/avocado/multiprocess.py:Multiprocess.test_multiprocess_x86_64:
> ERROR: ConnectError: Failed to establish session: EOFError\n Exit
> code: 1\n Command: ./qemu-system-x86_64 -display none -vga none
> -chardev socket,id=mon,fd=17 -mon chardev=mon,mode=control -machine
> x-remote -nodefaults -device lsi53c895a,id=lsi1 -object x-remote-o...
> (0.10 s)
>
> https://gitlab.com/qemu-project/qemu/-/jobs/3962028269
> https://gitlab.com/qemu-project/qemu/-/jobs/3965134190
>
>
>
> The iotests also don't seem to pass on the OpenBSD VM after this;
> which test fails varies from run to run but the common factor
> is a complaint about running out of disk space:
This must be caused by the change in the way we register the
iotests with meson, as I don't see any other interesting changes
in this series.
At a high level we have four scenarios we're testing
qcow2 + quick
raw + slow
qed + thorough
vmdk + thorough
vpc + thorough
Previously each scenario was serialized wrt other scenarios, but
within a scenario things run in parallel. So we could have more
parallelization than we did in the past.
They were also serialized wrt any other tests QEMU runs.
IIUC, we skip any 'slow' and 'thorough' tests by default
add_test_setup('quick', exclude_suites: ['slow', 'thorough'], is_default: true)
add_test_setup('slow', exclude_suites: ['thorough'], env: ['G_TEST_SLOW=1', 'SPEED=slow'])
add_test_setup('thorough', env: ['G_TEST_SLOW=1', 'SPEED=thorough'])
so in practice we should only be runing the qcow2 + quick
tests, not the raw/qed/vmdk/vpc tests.
So the change in parallelism is that we can potentially run the
block I/O tests in parallel with unit tests. Maybe parallel with
avocado tests too, I'm not sure ?
>
>
>
> 719/774 qemu:block / io-qcow2-177
> ERROR 4.21s exit status 1
> ――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
> stderr:
> --- /home/qemu/qemu-test.8HLwgo/src/tests/qemu-iotests/177.out
> +++ /home/qemu/qemu-test.8HLwgo/build/scratch/qcow2-file-177/177.out.bad
> @@ -5,8 +5,7 @@
> wrote 134217728/134217728 bytes at offset 0
> 128 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
> backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
> -wrote 134217728/134217728 bytes at offset 0
> -128 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> +write failed: No space left on device
>
> == constrained alignment and max-transfer ==
> wrote 131072/131072 bytes at offset 1000
> @@ -27,22 +26,27 @@
> 30 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
>
>
> (etc)
>
> and in another run
>
> stderr:
> --- /home/qemu/qemu-test.ZfU510/src/tests/qemu-iotests/040.out
> +++ /home/qemu/qemu-test.ZfU510/build/scratch/qcow2-file-040/040.out.bad
> @@ -1,5 +1,54 @@
> -.................................................................
> +................................EE...............................
> +======================================================================
> +ERROR: testIntermediateReadErrorReport (__main__.TestErrorHandling)
> +----------------------------------------------------------------------
> +Traceback (most recent call last):
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/machine.py",
> line 433, in launch
> + self._launch()
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/machine.py",
> line 460, in _launch
> + self._pre_launch()
> + File "/home/qemu/qemu-test.ZfU510/src/tests/qemu-iotests/iotests.py",
> line 837, in _pre_launch
> + super()._pre_launch()
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/qtest.py",
> line 142, in _pre_launch
> + super()._pre_launch()
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/machine.py",
> line 358, in _pre_launch
> + self._qemu_log_path = os.path.join(self.log_dir, self._name + ".log")
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/machine.py",
> line 905, in log_dir
> + return self.temp_dir
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/machine.py",
> line 886, in temp_dir
> + self._temp_dir = tempfile.mkdtemp(prefix="qemu-machine-",
> + File "/usr/local/lib/python3.9/tempfile.py", line 363, in mkdtemp
> + _os.mkdir(file, 0o700)
> +OSError: [Errno 28] No space left on device:
> '/home/qemu/qemu-test.ZfU510/build/scratch/qcow2-file-040/qemu-machine-g_v0pby3'
> +
> +The above exception was the direct cause of the following exception:
> +
> +Traceback (most recent call last):
> + File "/home/qemu/qemu-test.ZfU510/src/tests/qemu-iotests/040", line
> 472, in setUp
> + self.vm.launch()
> + File "/home/qemu/qemu-test.ZfU510/src/python/qemu/machine/machine.py",
> line 446, in launch
> + raise VMLaunchFailure(
> +qemu.machine.machine.VMLaunchFailure: OSError: [Errno 28] No space
> left on device:
> '/home/qemu/qemu-test.ZfU510/build/scratch/qcow2-file-040/qemu-machine-g_v0pby3'
> + Command:
> + Output: None
> +
>
> The host machine (hackbox) doesn't seem to have disk space issues
> so presumably the iotests want to use too much disk space for
> whatever the image size is that the tests/vm infrastructure
> creates ?
>
> thanks
> -- PMM
>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2023-03-20 14:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-18 11:46 [PULL 00/31] various fixes (testing, plugins, gitdm) Alex Bennée
2023-03-18 11:46 ` [PULL 01/31] tests/avocado: update AArch64 tests to Alpine 3.17.2 Alex Bennée
2023-03-18 11:46 ` [PULL 02/31] tests/docker: all add DOCKER_BUILDKIT to RUNC environment Alex Bennée
2023-03-18 11:46 ` [PULL 03/31] scripts/ci: add libslirp-devel to build-environment Alex Bennée
2023-03-18 11:46 ` [PULL 04/31] scripts/ci: update gitlab-runner playbook to handle CentOS Alex Bennée
2023-03-18 11:46 ` [PULL 05/31] gitlab: update centos-8-stream job Alex Bennée
2023-03-20 14:44 ` Philippe Mathieu-Daudé
2023-03-20 17:11 ` Alex Bennée
2023-03-18 11:46 ` [PULL 06/31] include/qemu: add documentation for memory callbacks Alex Bennée
2023-03-18 11:46 ` [PULL 07/31] tests/tcg: add some help output for running individual tests Alex Bennée
2023-03-18 11:46 ` [PULL 08/31] tests/avocado: don't use tags to define drive Alex Bennée
2023-03-18 11:46 ` [PULL 09/31] tcg: Clear plugin_mem_cbs on TB exit Alex Bennée
2023-03-18 11:46 ` [PULL 10/31] tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb Alex Bennée
2023-03-18 11:46 ` [PULL 11/31] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT Alex Bennée
2023-03-20 13:42 ` [PULL 00/31] various fixes (testing, plugins, gitdm) Peter Maydell
2023-03-20 14:15 ` Daniel P. Berrangé [this message]
2023-03-20 14:43 ` Philippe Mathieu-Daudé
2023-03-20 14:56 ` Daniel P. Berrangé
2023-03-20 15:00 ` Philippe Mathieu-Daudé
2023-03-22 12:47 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZBhqd7uyT0X6tRK7@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).