[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 4/7] tests: iotests: drop some stderr line
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v4 4/7] tests: iotests: drop some stderr line |
Date: |
Wed, 20 Jun 2018 15:21:52 +0800 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Wed, Jun 20, 2018 at 09:12:57AM +0200, Markus Armbruster wrote:
> Peter Xu <address@hidden> writes:
>
> > On Tue, Jun 19, 2018 at 03:57:07PM +0200, Markus Armbruster wrote:
> >> Peter Xu <address@hidden> writes:
> >>
> >> > In my Out-Of-Band test, "check -qcow2 060" fail with this (the output is
> >> > manually changed due to line width requirement):
> >> >
> >> > 060 5s ... - output mismatch (see 060.out.bad)
> >> > --- /home/peterx/git/qemu/tests/qemu-iotests/060.out
> >> > +++ /home/peterx/git/qemu/bin/tests/qemu-iotests/060.out.bad
> >> > @@ -427,8 +427,8 @@
> >> > QMP_VERSION
> >> > {"return": {}}
> >> > qcow2: Image is corrupt: L2 table offset 0x2a2a2a00 unaligned (L1
> >> > index: 0); further non-fatal corruption events will be suppressed
> >> > -{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP},
> >> > - "event": "BLOCK_IMAGE_CORRUPTED", "data": {"device": "", "msg": "L2
> >> > - table offset 0x2a2a2a0
> >> > 0 unaligned (L1 index: 0)", "node-name": "drive", "fatal": false}}
> >> > read failed: Input/output error
> >> > +{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP},
> >> > + "event": "BLOCK_IMAGE_CORRUPTED", "data": {"device": "", "msg": "L2
> >> > + table offset 0x2a2a2a0
> >> > 0 unaligned (L1 index: 0)", "node-name": "drive", "fatal": false}}
> >> > {"return": ""}
> >> > {"return": {}}
> >> > {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP},
> >> > "event": "SHUTDOWN", "data": {"guest": false}}
> >>
> >> Please indent this diff; I'd expect git-am to choke on it.
> >
> > Do you mean something like pretty-JSON?
>
> Instead of
>
> In my Out-Of-Band test, "check -qcow2 060" fail with this (the output is
> manually changed due to line width requirement):
>
> 060 5s ... - output mismatch (see 060.out.bad)
> --- /home/peterx/git/qemu/tests/qemu-iotests/060.out
> +++ /home/peterx/git/qemu/bin/tests/qemu-iotests/060.out.bad
> @@ -427,8 +427,8 @@
> QMP_VERSION
> {"return": {}}
>
> write
>
> In my Out-Of-Band test, "check -qcow2 060" fail with this (the output is
> manually changed due to line width requirement):
>
> 060 5s ... - output mismatch (see 060.out.bad)
> --- /home/peterx/git/qemu/tests/qemu-iotests/060.out
> +++ /home/peterx/git/qemu/bin/tests/qemu-iotests/060.out.bad
> @@ -427,8 +427,8 @@
> QMP_VERSION
> {"return": {}}
>
> The former confuses git-am.
>
> In other words, quote diff output verbatim, but indent your quote.
>
> > How about I remove this chunk too? What do you prefer?
>
> I rather like having the test failure details in the commit message.
Ah I see. I'll keep them then.
Thanks,
--
Peter Xu
[Qemu-devel] [PATCH v4 4/7] tests: iotests: drop some stderr line, Peter Xu, 2018/06/19
[Qemu-devel] [PATCH v4 5/7] docs: mention shared state protect for OOB, Peter Xu, 2018/06/19
[Qemu-devel] [PATCH v4 6/7] monitor: remove "x-oob", turn oob on by default, Peter Xu, 2018/06/19
[Qemu-devel] [PATCH v4 7/7] Revert "tests: Add parameter to qtest_init_without_qmp_handshake", Peter Xu, 2018/06/19
Re: [Qemu-devel] [PATCH v4 0/7] monitor: enable OOB by default, Thomas Huth, 2018/06/19