From: Christian Borntraeger <borntraeger@linux.ibm.com>
To: Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>
Cc: Qemu-block <qemu-block@nongnu.org>, Thomas Huth <thuth@redhat.com>
Subject: Re: s390 intermittent test failure in qemu:block / io-qcow2-copy-before-write
Date: Wed, 26 Jul 2023 09:58:27 +0200 [thread overview]
Message-ID: <d254f19d-0520-bc5d-6583-10fd46d9b894@linux.ibm.com> (raw)
In-Reply-To: <CAFEAcA--B6=JxOuy-55bvBmHDAkvHv5T-7K_kW_9JK0OQ4MPiA@mail.gmail.com>
Am 25.07.23 um 18:45 schrieb Peter Maydell:
> There seems to be an intermittent failure on the s390 host in
> the qemu:block / io-qcow2-copy-before-write test:
> https://gitlab.com/qemu-project/qemu/-/jobs/4737819873
>
> The log says the test was expecting to do some reading
> and writing but got an unexpected 'permission denied'
> error on the read. Any idea why this might happen ?
>
> 768/835 qemu:block / io-qcow2-copy-before-write ERROR 12.05s exit status 1
>>>> PYTHON=/home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/build/pyvenv/bin/python3 MALLOC_PERTURB_=101 /home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/build/pyvenv/bin/python3 /home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/build/../tests/qemu-iotests/check -tap -qcow2 copy-before-write --source-dir /home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/tests/qemu-iotests --build-dir /home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/build/tests/qemu-iotests
> ――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
> stderr:
> --- /home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/tests/qemu-iotests/tests/copy-before-write.out
> +++ /home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/build/scratch/qcow2-file-copy-before-write/copy-before-write.out.bad
> @@ -1,5 +1,21 @@
> -....
> +...F
> +======================================================================
> +FAIL: test_timeout_break_snapshot (__main__.TestCbwError)
> +----------------------------------------------------------------------
> +Traceback (most recent call last):
> + File "/home/gitlab-runner/builds/-LCfcJ2T/0/qemu-project/qemu/tests/qemu-iotests/tests/copy-before-write",
> line 210, in test_timeout_break_snapshot
> + self.assertEqual(log, """\
> +AssertionError: 'wrot[195 chars]read 1048576/1048576 bytes at offset
> 0\n1 MiB,[46 chars]c)\n' != 'wrot[195 chars]read failed: Permission
> denied\n'
> + wrote 524288/524288 bytes at offset 0
> + 512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> + wrote 524288/524288 bytes at offset 524288
> + 512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> ++ read failed: Permission denied
> +- read 1048576/1048576 bytes at offset 0
> +- 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> +
> +
> ----------------------------------------------------------------------
> Ran 4 tests
> -OK
> +FAILED (failures=1)
> (test program exited with status code 1)
> ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
>
> Same failure, previous job:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/4736463062
>
> This one's a "Failed to get write lock" in io-qcow2-161:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/4734846533
See
https://lore.kernel.org/qemu-devel/028059df-eaf4-9e65-a195-4733b708a426@linux.ibm.com/
I was not yet able to understand that. And I can only reproduce with Ubuntu (RHEL,SLES,Fedora are fine).
Upstream kernel on Ubuntu does not help, so I assume it must be something in the libraries or config.
prev parent reply other threads:[~2023-07-26 7:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 16:45 s390 intermittent test failure in qemu:block / io-qcow2-copy-before-write Peter Maydell
2023-07-26 7:58 ` Christian Borntraeger [this message]
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=d254f19d-0520-bc5d-6583-10fd46d9b894@linux.ibm.com \
--to=borntraeger@linux.ibm.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).