* [Qemu-devel] Intermittent failure of iotest 203
@ 2018-02-23 13:03 Max Reitz
2018-03-05 15:44 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Max Reitz @ 2018-02-23 13:03 UTC (permalink / raw)
To: Qemu-block; +Cc: qemu-devel@nongnu.org, Stefan Hajnoczi
[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]
Hi,
iotest 203 relatively often fails for me, at least when run in parallel.
When I run the following concurrently on four shells:
$ while TEST_DIR=/tmp/t1 ./check -T -qcow2 203; do; done
$ while TEST_DIR=/tmp/t2 ./check -T -qcow2 203; do; done
$ while TEST_DIR=/tmp/t3 ./check -T -qcow2 203; do; done
$ while TEST_DIR=/tmp/t4 ./check -T -qcow2 203; do; done
Very quickly (like under ten iterations), at least one of those starts
to hang and then fails because of a timeout in vm.get_qmp_event().
Before digging deeper into the ppoll() dungeon* myself, I decided to
report this so I wouldn't have to. :-)
*Backtrace:
(gdb) bt
#0 0x00007f354137b4d6 in ppoll () at /lib64/libc.so.6
#1 0x000055b659144299 in ppoll (__ss=0x0, __timeout=0x7ffe4eaca230,
__nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2 0x000055b659144299 in qemu_poll_ns (fds=<optimized out>,
nfds=<optimized out>, timeout=timeout@entry=39512999619000) at
util/qemu-timer.c:334
#3 0x000055b6591450a3 in os_host_main_loop_wait (timeout=<optimized
out>) at util/main-loop.c:255
#4 0x000055b6591450a3 in main_loop_wait (nonblocking=<optimized out>)
at util/main-loop.c:515
#5 0x000055b658d4a253 in main_loop () at vl.c:1933
#6 0x000055b658d4a253 in main (argc=<optimized out>, argv=<optimized
out>, envp=<optimized out>) at vl.c:4757
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 512 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Intermittent failure of iotest 203
2018-02-23 13:03 [Qemu-devel] Intermittent failure of iotest 203 Max Reitz
@ 2018-03-05 15:44 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2018-03-05 15:44 UTC (permalink / raw)
To: Max Reitz; +Cc: Qemu-block, qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]
On Fri, Feb 23, 2018 at 02:03:15PM +0100, Max Reitz wrote:
> Hi,
>
> iotest 203 relatively often fails for me, at least when run in parallel.
> When I run the following concurrently on four shells:
>
> $ while TEST_DIR=/tmp/t1 ./check -T -qcow2 203; do; done
> $ while TEST_DIR=/tmp/t2 ./check -T -qcow2 203; do; done
> $ while TEST_DIR=/tmp/t3 ./check -T -qcow2 203; do; done
> $ while TEST_DIR=/tmp/t4 ./check -T -qcow2 203; do; done
>
> Very quickly (like under ten iterations), at least one of those starts
> to hang and then fails because of a timeout in vm.get_qmp_event().
>
> Before digging deeper into the ppoll() dungeon* myself, I decided to
> report this so I wouldn't have to. :-)
Thanks for reporting it. I will send a patch and CC you.
Stefan
> *Backtrace:
>
> (gdb) bt
> #0 0x00007f354137b4d6 in ppoll () at /lib64/libc.so.6
> #1 0x000055b659144299 in ppoll (__ss=0x0, __timeout=0x7ffe4eaca230,
> __nfds=<optimized out>, __fds=<optimized out>) at
> /usr/include/bits/poll2.h:77
> #2 0x000055b659144299 in qemu_poll_ns (fds=<optimized out>,
> nfds=<optimized out>, timeout=timeout@entry=39512999619000) at
> util/qemu-timer.c:334
> #3 0x000055b6591450a3 in os_host_main_loop_wait (timeout=<optimized
> out>) at util/main-loop.c:255
> #4 0x000055b6591450a3 in main_loop_wait (nonblocking=<optimized out>)
> at util/main-loop.c:515
> #5 0x000055b658d4a253 in main_loop () at vl.c:1933
> #6 0x000055b658d4a253 in main (argc=<optimized out>, argv=<optimized
> out>, envp=<optimized out>) at vl.c:4757
>
> Max
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-05 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23 13:03 [Qemu-devel] Intermittent failure of iotest 203 Max Reitz
2018-03-05 15:44 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).