Received: from eggs.gnu.org ([208.118.235.92]:36097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S60zw-000680-S8 for qemu-devel@nongnu.org; Fri, 09 Mar 2012 09:40:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S60zq-0005Bn-DQ for qemu-devel@nongnu.org; Fri, 09 Mar 2012 09:40:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S60zq-0005BX-56 for qemu-devel@nongnu.org; Fri, 09 Mar 2012 09:40:42 -0500 Date: Fri, 9 Mar 2012 11:40:32 -0300 From: Ademar Reis Message-ID: <20120309144032.GB3769@t420s.optimusnet> References: <20120308160505.GA32360@t420s.optimusnet> <4F58E67A.3050708@codemonkey.ws> <20120308175907.GA4900@t420s.optimusnet> <4F5905AA.3060304@codemonkey.ws> <20120308210209.GA11998@t420s.optimusnet> <4F59237F.6010406@codemonkey.ws> <4F593BAF.1020201@redhat.com> <4F59F3FF.9040009@codemonkey.ws> <4F59FC26.4020404@redhat.com> <4F5A1019.5020203@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F5A1019.5020203@codemonkey.ws> Subject: Re: [Qemu-devel] [RFC] Future goals for autotest and virtualization tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Lucas Meneghel Rodrigues , QEMU devel , "kvm-autotest@redhat.com" , Cleber Rosa On Fri, Mar 09, 2012 at 08:13:45AM -0600, Anthony Liguori wrote: > On 03/09/2012 06:48 AM, Lucas Meneghel Rodrigues wrote: > > Look at how this discussion started. We've been discussing testing > on qemu-devel at excruciating length and detail and have finally > come to something of a consensus. AFAIK, no one from autotest has > participated in those discussions which is fair as I'm sure ya'll > don't read qemu-devel religiously. The discussion started back in December and this is a follow-up RFC based on what was said back then. (http://lists.nongnu.org/archive/html/qemu-devel/2011-12/msg02434.html) > > Then we see this note that more or less declares, this is how QEMU > should do all of its testing. What reaction did you really expect > there to be? :-) This is a clear misunderstanding: we've repeated numerous times that libautotest and the test runner are optional. I don't know how much I have to stress this out. Technically speaking, the use of autotest would be enabled by "import autotest", "source $AUTOTESTDIR/libautotest.sh" or something similar. This can be easily detected by the test runner, which could skip such tests if autotest is not available. We're also offering a global test-runner that we believe will bring advantages to anybody running tests that follow the simple requirement of being a script returning 0/error. > > >It's just that this extra stuff is potentially not interesting to the goal of > >doing developer level regression testing of qemu alone. > > I think we need to focus this discussion on concrete technical > proposals. If the proposal is, QEMU should use libautotest, we need > to start with an awful lot more detail about libautotest does and > what functions it provides. The discussion diverged long ago. So much that the initial test examples, bootstrap procedure, directory structure, test runner output, and our request for requiements was all kind of forgotten. Anyway, we'll keep working on autotest targeting the other projects which will benefit from it. As I said in the other e-mail, we'll probably revisit this topic in the KVM forum in person, with more code to show and hopefully with some beers around us. :-) Cheers, - Ademar -- Ademar de Souza Reis Jr. Red Hat ^[:wq!