From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV8SX-0001vF-B4 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 00:41:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fV8SU-0000g3-7P for qemu-devel@nongnu.org; Tue, 19 Jun 2018 00:41:37 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:48372 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fV8SU-0000fX-2b for qemu-devel@nongnu.org; Tue, 19 Jun 2018 00:41:34 -0400 Date: Tue, 19 Jun 2018 12:41:16 +0800 From: Peter Xu Message-ID: <20180619044116.GG16790@xz-mi> References: <20180615014249.22730-1-peterx@redhat.com> <20180615014249.22730-4-peterx@redhat.com> <87tvq4bh7w.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87tvq4bh7w.fsf@dusky.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH v3 3/6] tests: iotests: drop some stderr line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, Kevin Wolf , Peter Maydell , Fam Zheng , Eric Auger , John Snow , Max Reitz , Christian Borntraeger , "Dr . David Alan Gilbert" , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau On Fri, Jun 15, 2018 at 10:13:07AM +0200, Markus Armbruster wrote: > Peter Xu writes: > > > In my Out-Of-Band test, "check -qcow2 060" fail with this: > > > > 060 5s ... - output mismatch (see 060.out.bad) > > --- /home/peterx/git/qemu/tests/qemu-iotests/060.out 2018-06-15 08:31:14.607411950 +0800 > > +++ /home/peterx/git/qemu/bin/tests/qemu-iotests/060.out.bad 2018-06-15 08:33:09.679880113 +0800 > > @@ -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}} > > Failures: 060 > > Failed 1 of 1 tests > > Please indent this diff; git-am chokes on it for me. Will do. > > > The order of the event and the in/out error line is swapped. I didn't > > dig up the reason, but AFAIU what we want to verify is the event rather > > than stderr. Let's drop the stderr line directly for this test. > > > > Signed-off-by: Peter Xu > > > > Signed-off-by: Peter Xu > > Lose one S-o-b, please :) Yeah. :) -- Peter Xu