[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches
From: |
Stefano Garzarella |
Subject: |
Re: [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches |
Date: |
Tue, 12 Feb 2019 19:14:37 +0100 |
On Tue, Feb 12, 2019 at 6:04 PM Peter Maydell <address@hidden> wrote:
>
> On Tue, 12 Feb 2019 at 14:12, Stefan Hajnoczi <address@hidden> wrote:
> > ----------------------------------------------------------------
> > Block pull request for testing
> >
> > Peter hit a virtio-blk-test failure caused by the new DISCARD/WRITE_ZEROES
> > patches that Stefano and I have been unable to reproduce. Here are the
> > patches
> > so they can be tested again in Peter's environment.
> >
> > ----------------------------------------------------------------
>
> x86-64 host seems to be a bit random about whether it reproducibly
> fails (it failed in the test merge builds but not when I run the
> test program by hand) but aarch64 host seems more definitely
> fails-every-time:
>
> address@hidden:~/qemu/build/all$
> QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 strace -tt -f -o
> ~/strace.log tests/virtio-blk-test
> /ppc64/virtio/blk/pci/basic: **
> ERROR:/home/pm215/qemu/tests/virtio-blk-test.c:272:test_basic:
> assertion failed (status == 0): (1 == 0)
> Aborted (core dumped)
>
> The strace.log from that is at
> http://people.linaro.org/~peter.maydell/strace.log
> (3.6MB file; the -f means it will have the trace for
> both the test binary and the QEMU process it spawns).
>
> thanks
> -- PMM
I found the error. I forgot the endianness in the test, so now it
works on ppc64 guest and x86_64 host.
Maybe the randomness of the fails was the different endianness between
guest and host.
I'll send a v5 of the series with the fix.
Thanks and sorry for that,
Stefano
- [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches, Stefan Hajnoczi, 2019/02/12
- [Qemu-block] [RFC PULL 4/6] virtio-blk: add DISCARD and WRITE_ZEROES features, Stefan Hajnoczi, 2019/02/12
- [Qemu-block] [RFC PULL 2/6] virtio-blk: add host_features field in VirtIOBlock, Stefan Hajnoczi, 2019/02/12
- [Qemu-block] [RFC PULL 5/6] tests/virtio-blk: change assert on data_size in virtio_blk_request(), Stefan Hajnoczi, 2019/02/12
- [Qemu-block] [RFC PULL 6/6] tests/virtio-blk: add test for WRITE_ZEROES command, Stefan Hajnoczi, 2019/02/12
- [Qemu-block] [RFC PULL 3/6] virtio-blk: add "discard" and "write-zeroes" properties, Stefan Hajnoczi, 2019/02/12
- [Qemu-block] [RFC PULL 1/6] virtio-blk: add acct_failed param to virtio_blk_handle_rw_error(), Stefan Hajnoczi, 2019/02/12
- Re: [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches, Peter Maydell, 2019/02/12
- Re: [Qemu-block] [RFC PULL 0/6] Block sgarzare test patches,
Stefano Garzarella <=