Message ID | 20190211055040.13528-1-stefanha@redhat.com |
---|---|
State | New |
Headers | show |
On Mon, 11 Feb 2019 at 05:50, Stefan Hajnoczi <stefanha@redhat.com> wrote: > > The following changes since commit e47f81b617684c4546af286d307b69014a83538a: > > Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging (2019-02-07 18:53:25 +0000) > > are available in the Git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to 55140166667bb555c5d05165b93b25557d2e6397: > > tests/virtio-blk: add test for WRITE_ZEROES command (2019-02-11 11:58:17 +0800) > > ---------------------------------------------------------------- > Pull request > > User-visible changes: > > * virtio-blk: DISCARD and WRITE_ZEROES support Hi; this fails to pass "make check" (all platforms): MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=arm-softmmu/qemu-system-arm QTEST_QEMU_IMG=qemu-img tests/virtio-blk-test -m =quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="virtio-blk-test" ** ERROR:/home/pm215/qemu/tests/virtio-blk-test.c:272:test_basic: assertion failed (status == 0): (1 == 0) ERROR - too few tests run (expected 1, got 0) thanks -- PMM
On Mon, Feb 11, 2019 at 11:42:14AM +0000, Peter Maydell wrote: > On Mon, 11 Feb 2019 at 05:50, Stefan Hajnoczi <stefanha@redhat.com> wrote: > > > > The following changes since commit e47f81b617684c4546af286d307b69014a83538a: > > > > Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging (2019-02-07 18:53:25 +0000) > > > > are available in the Git repository at: > > > > git://github.com/stefanha/qemu.git tags/block-pull-request > > > > for you to fetch changes up to 55140166667bb555c5d05165b93b25557d2e6397: > > > > tests/virtio-blk: add test for WRITE_ZEROES command (2019-02-11 11:58:17 +0800) > > > > ---------------------------------------------------------------- > > Pull request > > > > User-visible changes: > > > > * virtio-blk: DISCARD and WRITE_ZEROES support > > Hi; this fails to pass "make check" (all platforms): > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} > QTEST_QEMU_BINARY=arm-softmmu/qemu-system-arm QTEST_QEMU_IMG=qemu-img > tests/virtio-blk-test -m > =quick -k --tap < /dev/null | ./scripts/tap-driver.pl > --test-name="virtio-blk-test" > ** > ERROR:/home/pm215/qemu/tests/virtio-blk-test.c:272:test_basic: > assertion failed (status == 0): (1 == 0) > ERROR - too few tests run (expected 1, got 0) Stefano, I'm dropping the virtio-blk DISCARD/WRITE_ZEROES series. Please debug this failure. I cannot reproduce it on a Linux host so maybe it's related to macOS. First I thought it's because write zeroes is not supported on macOS, but QEMU should fall back to writing a bounce buffer of zeroes. Stefan
On Tue, Feb 12, 2019 at 11:51:18AM +0800, Stefan Hajnoczi wrote: > On Mon, Feb 11, 2019 at 11:42:14AM +0000, Peter Maydell wrote: > > > > Hi; this fails to pass "make check" (all platforms): > > > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} > > QTEST_QEMU_BINARY=arm-softmmu/qemu-system-arm QTEST_QEMU_IMG=qemu-img > > tests/virtio-blk-test -m > > =quick -k --tap < /dev/null | ./scripts/tap-driver.pl > > --test-name="virtio-blk-test" > > ** > > ERROR:/home/pm215/qemu/tests/virtio-blk-test.c:272:test_basic: > > assertion failed (status == 0): (1 == 0) > > ERROR - too few tests run (expected 1, got 0) > > Stefano, I'm dropping the virtio-blk DISCARD/WRITE_ZEROES series. > Please debug this failure. > > I cannot reproduce it on a Linux host so maybe it's related to macOS. > First I thought it's because write zeroes is not supported on macOS, but > QEMU should fall back to writing a bounce buffer of zeroes. > Hi Stefan, I'll debug it! I also have a macOS here, so I'll try on it. Thanks, Stefano
On Tue, 12 Feb 2019 at 03:51, Stefan Hajnoczi <stefanha@gmail.com> wrote: > > On Mon, Feb 11, 2019 at 11:42:14AM +0000, Peter Maydell wrote: > > Hi; this fails to pass "make check" (all platforms): > > > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} > > QTEST_QEMU_BINARY=arm-softmmu/qemu-system-arm QTEST_QEMU_IMG=qemu-img > > tests/virtio-blk-test -m > > =quick -k --tap < /dev/null | ./scripts/tap-driver.pl > > --test-name="virtio-blk-test" > > ** > > ERROR:/home/pm215/qemu/tests/virtio-blk-test.c:272:test_basic: > > assertion failed (status == 0): (1 == 0) > > ERROR - too few tests run (expected 1, got 0) > > Stefano, I'm dropping the virtio-blk DISCARD/WRITE_ZEROES series. > Please debug this failure. > > I cannot reproduce it on a Linux host so maybe it's related to macOS. > First I thought it's because write zeroes is not supported on macOS, but > QEMU should fall back to writing a bounce buffer of zeroes. The test failed everywhere, including the Linux platforms, not just OSX. thanks -- PMM