Received: from eggs.gnu.org ([2001:4830:134:3::10]:35759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btv4V-0003ln-9C for qemu-devel@nongnu.org; Tue, 11 Oct 2016 07:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btv4T-0000AO-0H for qemu-devel@nongnu.org; Tue, 11 Oct 2016 07:18:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btv4S-00009O-NA for qemu-devel@nongnu.org; Tue, 11 Oct 2016 07:18:08 -0400 References: <1476057841-21108-1-git-send-email-mst@redhat.com> From: Thomas Huth Message-ID: <8ae4c3cc-eac7-0b7b-0f6c-7d4a0cfd4ed9@redhat.com> Date: Tue, 11 Oct 2016 13:17:55 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q2LWOKcJ48M1PRqmXMkjvX8WH8gFVfM2f" Subject: Re: [Qemu-devel] [PULL 00/33] virtio, pc: fixes and features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sascha Silbe , Peter Maydell , "Michael S. Tsirkin" Cc: QEMU Developers This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --q2LWOKcJ48M1PRqmXMkjvX8WH8gFVfM2f Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11.10.2016 10:27, Sascha Silbe wrote: > Dear Peter, >=20 > Peter Maydell writes: >=20 >> On 10 October 2016 at 15:13, Peter Maydell = wrote: >>> This failed 'make check' on aarch64 host (everything else was ok): >>> >>> TEST: tests/pxe-test... (pid=3D11699) >>> /ppc64/pxe/virtio: = ** >>> ERROR:/home/petmay01/qemu/tests/boot-sector.c:120:boot_sector_test: >>> assertion failed (signature =3D=3D SIGN >>> ATURE): (0x00002020 =3D=3D 0x0000dead) >>> FAIL >>> GTester: last random seed: R02S87a02de849c98998299177b1a4c7a31b >>> (pid=3D19477) >>> /ppc64/pxe/spapr-vlan: = ** >>> ERROR:/home/petmay01/qemu/tests/boot-sector.c:120:boot_sector_test: >>> assertion failed (signature =3D=3D SIGN >>> ATURE): (0x00002020 =3D=3D 0x0000dead) >>> FAIL >>> GTester: last random seed: R02Sf9cf55ad239a137dd20d3085abf91524 >>> (pid=3D24055) >>> FAIL: tests/pxe-test >> >> Several subsequent test runs passed, so I'm inclined to suspect >> this is not related to the pull request but is actually an >> over-enthusiastic timeout and the build machine was heavily >> loaded or something. >=20 > There's a race condition in the tests. Both the "i386" and the "x86_64"= > set of tests are creating and removing the same set of files: > tests/acpi-test-disk.raw (hard-coded in tests/bios-tables-test.c) and > tests/pxe-test-disk.raw (hard-coded in tests/pxe-test.c). Hmm, it's likely even worse - the new ppc64 test is using the same file name, too - with different content in the file. So if the tests are running in parallel, they will likely disturb each other. I think we should use mkstemp() instead for creating a unique file. Is anybody working on a patch already? If not, I could have a look... > FWIW, it's not obvious at first sight that the tests added to > check-qtest-i386-y will also be included in check-qtest-x86_64-y. The > line responsible for that is hiding in the midst of other assignments, > without even a blank line separating it from the rest. >=20 > Assigning to a common variable first and then including it in both > check-qtest-i386-y and check-qtest-x86_64-y would make it a lot easier > to understand IMO. Could you maybe provide a patch for this, Sascha? (at least for adding some blank lines inbetween - currently it is really hard to read) Thomas --q2LWOKcJ48M1PRqmXMkjvX8WH8gFVfM2f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJX/MpqAAoJEC7Z13T+cC21ahcP/R82pf/HsOjzeWf4w0M6k0N6 IuhUUFCkOU4dSORaVotOGp4lztNDGpdIVlhyxfU+mggnzd5G5nJHNvibF6beRmE1 0bp9ShPOkd/ypzTWbh8T+gATTJ/G/QRD/SrtNFvEpbfjg7FrqUUDyJJ7ttrzCHN3 d6eLOQrhTSzoCswap13th6ubaI6HV5o7VkcrjN9ye9mWMSVfqRHec7avMTquu/0N lVRHvhzaR53IcqeWW0CaK3WVgeXCSi/nrt+jxFmxrdBXRSrlAhZ3P5VJOqu3aIOy 5nsZ3LAFN7h52BHVur5cV7YdvalRP9SBC7H5WQvRYSpQkM8x11ufNruODyeARXF/ 8t0TiADbYWm/6n5fA7FXB/zcZlhKno39KU/INN1ZfEAnTaS8ppLxEuKyLvBtWwRP tvAmlOgzm7NbJ9IOzuGeCfN7UsiuAERuNnSN1cDAjJrfaPq3Y1CbuRsW5ItSwZVH N9sX1ks2lrlRhU0qq+PKxGOaB9w55+Vo0+FRbva9mYH9PfGnfHBcWZUYCtS6Sbea 5CF/xwN2VLN90MYEP+B/T/7Q8MdFO5fzwUlWzBOjXwGFWDOyedukUXva1epHH/B+ Qsaz1yTchwl9X+8lbS6kcI8tRULdIMbkMgNqeKvv6PvxmvDEIo/otj1oezfftIRN hTi+0Dd/V65lUCIz9K6I =SDGh -----END PGP SIGNATURE----- --q2LWOKcJ48M1PRqmXMkjvX8WH8gFVfM2f--