From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHqEg-0005yu-Cn for qemu-devel@nongnu.org; Tue, 28 Jun 2016 06:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHqEc-0005x5-61 for qemu-devel@nongnu.org; Tue, 28 Jun 2016 06:27:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHqEb-0005x1-Ts for qemu-devel@nongnu.org; Tue, 28 Jun 2016 06:27:14 -0400 Date: Tue, 28 Jun 2016 12:27:11 +0200 From: Niels de Vos Message-ID: <20160628102711.GE10557@ndevos-x240.usersys.redhat.com> References: <20160628090209.GD10557@ndevos-x240.usersys.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WYTEVAkct0FjGQmd" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Automated testing of block/gluster.c with upstream Gluster List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasiliy Tolstov Cc: qemu-devel@nongnu.org --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 scrip= ts > 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, Niels > 28 =D0=98=D1=8E=D0=BD 2016 =D0=B3. 12:10 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7= =D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Niels de Vos" > =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: >=20 > > 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 > > > > 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/ > > --WYTEVAkct0FjGQmd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXclD/AAoJECXo5AApwsWzUaEP/2Q7CNlEsCDOSDfGsmuHI8KO cjnxs6//o43JyiobNbXdVCWLMTRCAHhipwHyjQlRnDM4Yz6hiRYdst21WHd2N0lB 5dcoh0cWIhF4kUgpdpJRaK60TH5gqcM5y4ZbzDihlX58Gw/ETQHFm2rDN0U3laKh kLELAqEedt67K43RfQyxIndSm/Nr7TSrSRtyngQTnMp8gxJzM3AhdzPwjZ1AQKBG OZfE95/B6EwAls0T6tqKpxVkAdY2RV2zwgSG/Wu1yPeh6OTGih8sveU0wjg2xcBi Pwpy47mEPSfou8dWiJMYWQhA5y7ZBKPjXkCQ/JTGjxdGa3PhuoVE59rBD+9g7lGF pv/O2/7rfKNWqIMEflwyzseA71yYU7pMFuIx0RfS111HYYTxwsvJNRVMef1ndfxd +bURsS+v+XbazsOUI2GZa1HOxtC6WlzESBpJbLRyBm1rbKPDo8zQIYZR2Zo7bjlM 9mFSLFGLGEKXI+geXXZfVyAGAPjTOYamKLXLby3IK6MusQakFg4YAejFztsYqF2y dHu/fFVP1OwSimXg3qTRRrbvUXX36KcDjAENtIJlFuYaI7HH0JvVaxrKlTjQcNpn WamCZvzFJI8N9pOP9ZQUjEq7Map+TMRzgiA4Ebmjg7qfpDjGnxeiTefazHWn4byn CWit51PNH8s00BrOlhDq =rdsG -----END PGP SIGNATURE----- --WYTEVAkct0FjGQmd--