qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/4] ahci-test: improve rw buffer patterns


From: John Snow
Subject: Re: [Qemu-devel] [PATCH 4/4] ahci-test: improve rw buffer patterns
Date: Tue, 31 Mar 2015 17:44:29 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0



On 03/31/2015 05:29 PM, Ed Maste wrote:
On 31 March 2015 at 16:58, John Snow <address@hidden> wrote:

which test case does it fail under? io_rw_simple is shared by a number of
different tests.

I'm not sure off hand how to run an individual test to confirm, but
the testrun output up to the failure is:

   LINK  tests/spapr-phb-test
GTESTER check-qtest-aarch64
GTESTER check-qtest-alpha
GTESTER check-qtest-arm
GTESTER check-qtest-cris
GTESTER check-qtest-i386
blkdebug: Suspended request 'A'
blkdebug: Resuming request 'A'
**
ERROR:tests/ahci-test.c:790:ahci_test_io_rw_simple: assertion failed
(memcmp(tx, rx, bufsize) == 0): (0xffffffffffffffff == 0x00000000)
GTester: last random seed: R02S181acd6574060796874e02dbdeb86199

Generally speaking I've only encountered build errors on FreeBSD, and
as long as it built the full test suite passed.

I suspect deeply that this test pattern has just unearthed an existing
problem.

Yeah, it's almost certainly just exposing the existing failure.


My apologies;

Head into your build directory and try this:

> make tests/ahci-test
> export QTEST_QEMU_BINARY=i386-softmmu/qemu-system-i386
> export QTEST_QEMU_IMG=./qemu-img
> ./tests/ahci-test

This should show you which test in particular is failing. I have a hunch it will be the PIO, again...

In the meantime, what is your setup? which release, what architecture?

Thank you,
--John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]