From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKvVj-0004Jl-5W for qemu-devel@nongnu.org; Wed, 06 Jul 2016 18:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKvVe-00022H-UK for qemu-devel@nongnu.org; Wed, 06 Jul 2016 18:41:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKvVe-000229-Ol for qemu-devel@nongnu.org; Wed, 06 Jul 2016 18:41:34 -0400 References: <65fce607-1674-d208-965b-0e2f667664dd@redhat.com> <2082277889.2697853.1467841252544.JavaMail.zimbra@redhat.com> <20160706222026.9860.13979@loki> From: John Snow Message-ID: Date: Wed, 6 Jul 2016 18:41:32 -0400 MIME-Version: 1.0 In-Reply-To: <20160706222026.9860.13979@loki> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] test-qga failures on Fedora 24 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= Cc: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , qemu-devel On 07/06/2016 06:20 PM, Michael Roth wrote: > Quoting Marc-Andr=C3=A9 Lureau (2016-07-06 16:40:52) >> Hi >> >> ----- Original Message ----- >>> I upgraded to Fedora 24 last Friday before the long (American) weeken= d. >>> Probably a bad idea. >>> >>> Regardless, test-qga has developed a new symptom on current developme= nt >>> HEAD that I don't know what to make of: >>> >>> https://paste.fedoraproject.org/388356/14678205/ >>> >>> Here's the meat of it: >>> >>> LINK tests/test-qga >>> GTESTER tests/test-qga >>> ** >>> ERROR:/home/bos/jhuston/src/qemu/tests/test-qga.c:266:test_qga_get_fs= info: >>> assertion failed ret: GenericError realpath("/sys/dev/block/8:17"): N= o >>> such file or directory >>> GTester: last random seed: R02S9d55aa8939b9bd797279bd3f69d33466 >>> ** >>> ERROR:/home/bos/jhuston/src/qemu/tests/test-qga.c:685:test_qga_blackl= ist: >>> assertion failed ret: GenericError realpath("/sys/dev/block/8:17"): N= o >>> such file or directory >>> GTester: last random seed: R02Sb9bc461c2129c284f83033dca27827c6 >>> /home/bos/jhuston/src/qemu/tests/Makefile.include:684: recipe for tar= get >>> 'check-tests/test-qga' failed >>> make: *** [check-tests/test-qga] Error 1 >>> >>> >>> Any clues as to what's gone awry? >>> >> >> >> build_guest_fsinfo_for_device() failed, it's probably worth to investi= gate why the agent treats this as a fatal error, this would likely happen= in a guest too. Could you try to reproduce in a VM or give clues on your= setup to reproduce it? >> >=20 > The code assumes (non-virtual) block devices have a symlink at > /sys/dev/block/:, maybe this isn't the case in Fedora > anymore? >=20 > The alternative is that realpath("/sys/dev/block/8:17", NULL) is what's= actually > failing. That call assumes the first argument is a symlink, maybe that'= s > not the case on FC24? >=20 > Don't have an fc24 handy, but can check tomorrow. >=20 >=20 Good news: The problem went away. It was likely due to an external XFS drive I have that perhaps didn't properly register as ejected. I unmounted it and re-mounted it and now everything's fine. I'm not sure where it got 8:17, though. I guess mtab was stale? Well, I learned a thing about test-qga today: If your local system is weird it will explode and get angry at you for your trouble. --js