[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Automated testing of block/gluster.c with upstream Glus
Niels de Vos
Re: [Qemu-devel] Automated testing of block/gluster.c with upstream Gluster
Tue, 28 Jun 2016 12:27:11 +0200
On Tue, Jun 28, 2016 at 12:41:28PM +0300, Vasiliy Tolstov wrote:
> I'm recommend to use packer for this,it able to run via qemu VM,run scripts
> and output artifacts.
I'm not familiar with packer, but it seems very similar to virt-builder.
It does not look to be available in standard CentOS repositories.
Because the tests will run in the CentOS CI, I'd prefer to use as few
external tools as possible.
Thanks for the idea,
> 28 Июн 2016 г. 12:10 пользователь "Niels de Vos" <address@hidden>
> > 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 
> > - 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
> > Ideas and suggestions for running more heavy I/O in the VM are welcome
> > too.
> > Thanks,
> > Niels
> > 1. http://cloud.centos.org/centos/7/images/
Description: PGP signature