Received: from eggs.gnu.org ([2001:4830:134:3::10]:42677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btve3-0005VR-FC for qemu-devel@nongnu.org; Tue, 11 Oct 2016 07:54:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btvdz-0007Dn-EG for qemu-devel@nongnu.org; Tue, 11 Oct 2016 07:54:55 -0400 Received: from bbox.sascha.silbe.org ([84.201.25.44]:40751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btvdz-0007DB-2j for qemu-devel@nongnu.org; Tue, 11 Oct 2016 07:54:51 -0400 Received: from twin.sascha.silbe.org (twin.sascha.silbe.org [IPv6:2a01:1e8:e100:85ef:922b:34ff:fea4:bab2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "twin.sascha.silbe.org", Issuer "stunnel Pseudo-CA" (verified OK)) by bbox.sascha.silbe.org (Postfix) with ESMTPS id E8EC4C1873 for ; Tue, 11 Oct 2016 13:54:47 +0200 (CEST) In-Reply-To: <8ae4c3cc-eac7-0b7b-0f6c-7d4a0cfd4ed9@redhat.com> References: <1476057841-21108-1-git-send-email-mst@redhat.com> <8ae4c3cc-eac7-0b7b-0f6c-7d4a0cfd4ed9@redhat.com> Date: Tue, 11 Oct 2016 13:54:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" From: Sascha Silbe 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: Thomas Huth , Peter Maydell , "Michael S. Tsirkin" Cc: QEMU Developers --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear Thomas, Thomas Huth writes: > On 11.10.2016 10:27, Sascha Silbe wrote: [pxe-test failing during "make check"] >> 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. Ouch. > 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... Feel free to go ahead. In the long run we'll probably want a more systematic approach; I've fixed several instances in the past (see 50455700, 5f1525a6, 6bb6f6cd, 0145b4e1). But that shouldn't prevent us From=20fixing a known issue in the meantime. >> 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) I'll try to whip up a patch in the next few days. Unless someone has a strong preference to stay with the current scheme, I'll implement the common variable approach I outlined above. Sascha =2D-=20 Softwareentwicklung Sascha Silbe, Niederhofenstra=C3=9Fe 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr.: DE281696641 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJX/NLzAAoJEMGPauiBMO2XmacP/2ugqfX0ck8kWP3Gat2fh9CT PAS5NM+dOOpA4qxtbkUWjWUGql2A0nyqBU/+D6ioRXv/Fq0nV7o6RDa+6bmxI0BZ M6CX97qiknUTafMB7nqJo4HgbOBw6mT2SVBT+/Cuc6+3QkCG4XEMWnAvSo8T5GyP mBKXWCUvgdBQqIUUgYfB0NOw22HxjDa0AGEICiYdgZSDI3ln6BlZAm+3G0J3v0Wt OIkn4F10+D5ahnTiWlBAWjcXlLSO9vLjWzYUPWJP6BeqXSUBHtzA8UvloqNRLiVS rtNtjjWFRfOifg7tWmT2X4o4usEmV+rz6dqW7zkwguV9yXzTFBP68Nu6NEN1lEEL sm9Bqiyi1MK+oRRH8mAs83QCdPW0XLJ0mLosoWRMuflMVjKIPJrTgN2IwJE+zYM/ vmuGjrhjSsPP3Pqjg8OWXM93tUJdqcqmqNhZBKIfiOzIoFBZfc+vEZM9+/L2/6uY rpS+1BYb9M3FAG3HXEyGAYxJrqghwh0eoR849nVhkz1DVF/QjodifC9K4RC98WxB DkCVqj4rPlAPWlpABUz5wZD5rZVGyL/HiBa3N1zzqZmcEQvQb8RS1IuGEh9W/GtX FAH71fR9o6epjtUze/ZfrwfHN++44jmL7vX3hK0v9n1R9Oc+upbn2qE488C93deQ 1UQf81hOfsa6iWtuo2nI =ZZ+z -----END PGP SIGNATURE----- --=-=-=--