The tests/test-replication code tries to create some temporary working files in /tmp/. If the system it's running on happens to be out of disk space in /tmp/ it fails obscurely like this:
ERROR:/home/pm215/qemu/tests/test-replication.c:120:test_blk_write: assertion failed: (async_ret == 0) In particular, this fails to print the ENOSPC errno which has been returned by blk_aio_pwritev(). If the test case printed the errno (preferably in its human readable form) then it would be clear that the test was failing because of a lack of disk space rather than for some obscure test bug or bug in QEMU... thanks -- PMM