On Fri, Aug 09, 2019 at 10:12:14AM +0100, Daniel P. Berrangé wrote: >On Fri, Aug 09, 2019 at 08:06:09AM +0800, Wei Yang wrote: >> On Thu, Aug 08, 2019 at 10:22:13AM +0100, Daniel P. Berrangé wrote: >> >On Thu, Aug 08, 2019 at 04:46:53PM +0800, Wei Yang wrote: >> >> On Thu, Aug 08, 2019 at 09:02:29AM +0100, Daniel P. Berrangé wrote: >> >> >On Thu, Aug 08, 2019 at 10:07:23AM +0800, Wei Yang wrote: >> >> >> Current qemu fails tests/test-util-filemonitor. >> >> > >> >> >You'll need to provide more info. The test works for me and passes in all >> >> >the QEMU CI environments. >> >> > >> >> >> >> The error message from my side is: >> >> >> >> /util/filemonitor: Expected watch id 200000000 but got 100000000 >> >> ** >> >> ERROR:tests/test-util-filemonitor.c:665:test_file_monitor_events: >> >> assertion failed: (err == 0) >> >> >> >> What else you'd prefer to have? >> > >> >Can you set the "FILEMONITOR_DEBUG=1" env variable before running >> >the test - it will print out lots more info >> > >> >> Here is the output with more info. >> >> $ FILEMONITOR_DEBUG=1 >> QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 >> tests/test-util-filemonitor > >> Rmdir /tmp/test-util-filemonitor-151B6Z/fish >> Event id=200000000 event=4 file= >> Expected watch id 200000000 but got 100000000 >> ** > >Ok, so the kernel is sending the events in an unexpected order > >> ERROR:tests/test-util-filemonitor.c:665:test_file_monitor_events: >> assertion failed: (err == 0) >> Aborted (core dumped) >> >> >> >Also what operating system are you using, and what kernel version >> > >> >> OS: Ubuntu 18.04.2 LTS >> Kernel: I built the kernel whose last commit is bed38c3e2dca. > >Does it work if you use the normal LTS kernel package instead. >
It looks good on LTS kernel. $ uname -a Linux richard 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 tests/test-util-filemonitor /util/filemonitor: OK > >Regards, >Daniel >-- >|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| >|: https://libvirt.org -o- https://fstop138.berrange.com :| >|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| -- Wei Yang Help you, Help me