Received: from eggs.gnu.org ([2001:4830:134:3::10]:49629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6YEV-0003wO-8X for qemu-devel@nongnu.org; Thu, 12 Apr 2018 05:09:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6YER-0008KD-7z for qemu-devel@nongnu.org; Thu, 12 Apr 2018 05:09:31 -0400 From: Vladimir Sementsov-Ogievskiy References: <20180330161040.350271-1-vsementsov@virtuozzo.com> <3d0d9016-276f-c1c6-eb7e-ef78c0744f01@redhat.com> <47c416af-4b8e-db9a-4b4b-9b0eb060b4ff@virtuozzo.com> <90b289f4-d976-1fb7-57e2-aa02d00947d1@virtuozzo.com> <44329c83-20d8-0924-ebf3-249e5777a1d5@virtuozzo.com> Message-ID: <0ad6b9fc-59fd-3c32-43d3-1a4d433d9154@virtuozzo.com> Date: Thu, 12 Apr 2018 12:09:10 +0300 MIME-Version: 1.0 In-Reply-To: <44329c83-20d8-0924-ebf3-249e5777a1d5@virtuozzo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US Subject: Re: [Qemu-devel] [PATCH] iotests: fix 169 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , John Snow , qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: kwolf@redhat.com, den@openvz.org 12.04.2018 11:34, Vladimir Sementsov-Ogievskiy wrote: > 11.04.2018 19:11, Max Reitz wrote: >> On 2018-04-11 15:05, Vladimir Sementsov-Ogievskiy wrote: >> >> [...] >> >>> Hmm, first type? I'm now not sure about, did I really see sha256 >>> mismatch, or something like this (should be error, but found bitmap): >>> >>> --- /work/src/qemu/up-169/tests/qemu-iotests/169.out 2018-04-11 >>> 15:35:10.055027392 +0300 >>> +++ /work/src/qemu/up-169/tests/qemu-iotests/169.out.bad 2018-04-11 >>> 15:58:09.300450045 +0300 >>> @@ -1,5 +1,20 @@ >>> -........ >>> +F....... >>> +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> +FAIL: test__not_persistent__migbitmap__offline >>> (__main__.TestDirtyBitmapMigration) >>> +methodcaller(name, ...) --> methodcaller object >>> +---------------------------------------------------------------------- >>> +Traceback (most recent call last): >>> +=C2=A0 File "169", line 136, in do_test_migration >>> +=C2=A0=C2=A0=C2=A0 self.check_bitmap(self.vm_b, sha256 if persistent e= lse False) >>> +=C2=A0 File "169", line 77, in check_bitmap >>> +=C2=A0=C2=A0=C2=A0 "Dirty bitmap 'bitmap0' not found"); >>> +=C2=A0 File "/work/src/qemu/up-169/tests/qemu-iotests/iotests.py", lin= e=20 >>> 389, >>> in assert_qmp >>> +=C2=A0=C2=A0=C2=A0 result =3D self.dictpath(d, path) >>> +=C2=A0 File "/work/src/qemu/up-169/tests/qemu-iotests/iotests.py", lin= e=20 >>> 348, >>> in dictpath >>> +=C2=A0=C2=A0=C2=A0 self.fail('failed path traversal for "%s" in "%s"' = % (path,=20 >>> str(d))) >>> +AssertionError: failed path traversal for "error/desc" in "{u'return': >>> {u'sha256': >>> u'01d2ebedcb8f549a2547dbf8e231c410e3e747a9479e98909fc936e0035cf8b1'}}" >>> >>> >>> Max, did you really seed sha256 mismatch or only something like this? >> I'm pretty sure I did see mismatches. > > hm, may be it possible too, because of not waiting for RESUME in this=20 > case, we can request sha256 in the intermediate state of bitmap loading no. if you see mismatch on first check after migration, then it is after=20 RESUME event, so it means, migrated broken bitmap, it's a bug.. if you see mismatch on second check - after vm_b stop/start, this means=20 that it is a persistent case, so incoming migration should fail, and=20 bitmap is loaded from file, but how it can mismatch? persistance bug? > >> >> Max > > --=20 Best regards, Vladimir