qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Automated testing of block/gluster.c with upstream Glus


From: Kevin Wolf
Subject: Re: [Qemu-devel] Automated testing of block/gluster.c with upstream Gluster
Date: Tue, 28 Jun 2016 16:10:44 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 28.06.2016 um 11:02 hat Niels de Vos geschrieben:
> Hi,
> 
> it seems we broke the block/gluster.c functionality with a recent patch
> in upstream Gluster. In order to prevent this from happening in the
> future, I would like to setup a Jenkins job that installs a plan CentOS
> with its version of QEMU, and nightly builds of upstream Gluster.
> Getting a notification about breakage the day after a patch got merged
> seems like a reasonable approach.
> 
> The test should at least boot the generic CentOS cloud image (slightly
> modified with libguestfs) and return a success/fail. I am wondering if
> there are automated tests like this already, and if I could (re)use some
> of the scripts for it. At the moment, I am thinking to so it like this:
>  - download the image [1]
>  - set kernel parameters to output on the serial console
>  - add a auto-login user/script
>  - have the script write "bootup complete" or something
>  - have the script poweroff the VM
>  - script that started the VM checks for the "bootup complete" message
>  - return success/fail

Sounds like something that Avocado should be able (or actually is
designed) to do. I can't tell you the details of how to write the test
case for it, but I'm adding a CC to Lukáš who probably can (and I think
it shouldn't be hard anyway).

Kevin

Attachment: pgpMyJtSYo1nb.pgp
Description: PGP signature


reply via email to

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