On 7 July 2016 at 00:02, Michael Roth <mdr...@linux.vnet.ibm.com> wrote: > Quoting John Snow (2016-07-06 17:41:32) >> >> >> On 07/06/2016 06:20 PM, Michael Roth wrote: >> > Quoting Marc-André Lureau (2016-07-06 16:40:52) >> >>> 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_fsinfo: >> >>> assertion failed ret: GenericError realpath("/sys/dev/block/8:17"): No >> >>> such file or directory >> >>> GTester: last random seed: R02S9d55aa8939b9bd797279bd3f69d33466 >> >>> ** >> >>> ERROR:/home/bos/jhuston/src/qemu/tests/test-qga.c:685:test_qga_blacklist: >> >>> assertion failed ret: GenericError realpath("/sys/dev/block/8:17"): No >> >>> such file or directory >> >>> GTester: last random seed: R02Sb9bc461c2129c284f83033dca27827c6 >> >>> /home/bos/jhuston/src/qemu/tests/Makefile.include:684: recipe for target >> >>> 'check-tests/test-qga' failed >> >>> make: *** [check-tests/test-qga] Error 1 >> >>> >> >>> >> >>> Any clues as to what's gone awry?
>> 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? > > Yah, that would explain it. The values are pulled from mtab via > getmntent() I just ran into this today too (in my case due to an external USB mass storage device that was powered-down without being unmounted). It's kind of annoying that the test fails: why should it care at all about what block devices you happen to have on your system, whether they're mounted or busted or otherwise ? thanks -- PMM