qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: Amit Shah <amit.shah@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Juan Quintela <quintela@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Stefan Hajnoczi <stefanha@gmail.com>,
	Michael Roth <mdroth@linux.vnet.ibm.com>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] The state of testing
Date: Tue, 05 Mar 2013 12:54:06 -0300	[thread overview]
Message-ID: <5136151E.5050206@redhat.com> (raw)
In-Reply-To: <20130305101154.GA13737@amit.redhat.com>

On 03/05/2013 07:11 AM, Amit Shah wrote:
> On (Mon) 04 Mar 2013 [16:53:55], Stefan Hajnoczi wrote:
>> People are working on testing for various parts of QEMU.  I started
>> this thread to gather an update on the state of testing and see where
>> we still need help.
>>
>> I'm not sure yet if we should propose Google Summer of Code projects
>> to help with the testing infrastructure.  Perhaps working on libqtest
>> support for PCI, USB, virtio, etc would be a cool project.
>>
>> Buildbot
>> ------------
>> The buildbot performs nightly builds and "make check".  Test coverage
>> is still minimal but it's a starting point where we can add more tests
>> that will run every day.
>>
>> Block
>> --------
>> tests/qemu-iotests/ contains 49 tests for the block layer.  These
>> tests mostly cover image format features like backing files,
>> snapshots, resize, and basic I/O verify tests.
>>
>> The test suite has a few areas for improvement:
>>
>> 1. aio is not well-supported.  We need to be able to control the order
>> in which asynchronous requests complete in order to test all possible
>> code paths.  This issue also means the current aio tests are not
>> deterministic and can fail randomly due to reordered output.
>>
>> 2. make check-block is not run by the buildbot.  We should do so to
>> get nightly coverage of basic qcow2 tests.  I will send a buildbot
>> config patch to fix this.
>>
>> Net
>> ---
>> No tests!
>>
>> How are things looking with device emulation, migration, monitor, char, etc?
>
> I have a few tests coded up for virtio-serial at
>
> http://fedorapeople.org/cgit/amitshah/public_git/test-virtserial.git/
>
> which indirectly test chardevs.
>
> Autotest (virt-tests) also has virtio-serial tests which end up
> testing chardevs.

> chardevs, being an external interface to qemu, do get tested whenever
> anyone starts qemu with e.g. libvirt.
>
> Also, autotest has libvirt-based tests, which exercise the monitor.
> However, I don't think there's anything comprehensive anywhere.

The virtio console tests span over 130 tests, and take ~4 hours to run, 
I'd consider they are comprehensive.

  reply	other threads:[~2013-03-05 15:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 15:53 [Qemu-devel] The state of testing Stefan Hajnoczi
2013-03-04 16:22 ` Gerd Hoffmann
2013-03-04 17:26   ` mdroth
2013-03-05  9:46   ` Kevin Wolf
2013-03-05 10:46   ` Stefan Hajnoczi
2013-03-05 11:17     ` Gerd Hoffmann
2013-03-05 15:59       ` Lucas Meneghel Rodrigues
2013-03-05 16:14         ` Gerd Hoffmann
2013-03-05 16:21           ` Lucas Meneghel Rodrigues
2013-03-06  9:53             ` Stefan Hajnoczi
2013-03-06 12:00               ` Markus Armbruster
2013-03-05 16:09   ` Lucas Meneghel Rodrigues
2013-03-05 16:23     ` Gerd Hoffmann
2013-03-05 16:41       ` Lucas Meneghel Rodrigues
2013-03-04 19:20 ` Anthony Liguori
2013-03-05 10:45   ` Stefan Hajnoczi
2013-03-05 10:11 ` Amit Shah
2013-03-05 15:54   ` Lucas Meneghel Rodrigues [this message]
2013-03-11  8:52     ` Amit Shah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5136151E.5050206@redhat.com \
    --to=lmr@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=armbru@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).