Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DC49E3A3 for ; Tue, 5 Mar 2013 18:42:36 +0000 (UTC) Received: (qmail 81050 invoked by uid 500); 5 Mar 2013 18:42:35 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 81006 invoked by uid 500); 5 Mar 2013 18:42:35 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 80998 invoked by uid 99); 5 Mar 2013 18:42:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 18:42:35 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Alex.Huang@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 18:42:30 +0000 X-IronPort-AV: E=Sophos;i="4.84,788,1355097600"; d="scan'208,217";a="11290006" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/RC4-MD5; 05 Mar 2013 18:42:08 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.72]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Tue, 5 Mar 2013 10:42:07 -0800 From: Alex Huang To: "cloudstack-dev@incubator.apache.org" Date: Tue, 5 Mar 2013 10:42:11 -0800 Subject: [PROPOSAL] BVT for CloudStack checkins Thread-Topic: [PROPOSAL] BVT for CloudStack checkins Thread-Index: Ac4ZzW8YmrfH9JmjRwavufb4jF18iw== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B1DF26ECC0458748AC97CECE2DA98D41013175649781SJCPMAILBOX_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B1DF26ECC0458748AC97CECE2DA98D41013175649781SJCPMAILBOX_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, As most of you are aware, the master branch keeps getting broken by checkin= s for various reasons. Committers need to be more responsible about their = checkins but I don't think we can depend on that happening. There are vari= ous reasons. The most obvious to me is that granting committership is not = based on code competency. (And I don't think it should.) Given that we ne= ed to build a BVT system for ensure that checkins do not break the branch. Here's my proposal: Existing components that we'll use. - Citrix has contributed its testing to Apache. - Apache CloudStack has already a simulator that's been used for s= cale testing. - Marvin - DevCloud-kvm Work Proposal: - Convert the Citrix testing into three phases: o Setup o Test o Verify - Add a Setup and Verify phase for the simulator - Add all of the agent commands necessary for the simulator to pas= s the testing. - Add a Setup and Verify phase for devCloud-kvm - Add two more profiles to pom o Checkin-test-with-simulator: Runs the testing against the simulator o Checkin-test-with-devCloud: Runs the testing against devcloud - All of the profiles will attempt to also check the merge list th= at Chip has proposed.' - We will also change marvin to easily add zones with actual hardw= are. It will be based on a data driven document to do the setup. For a developer to checkin: - S/he must writes marvin tests for their feature and add it to th= e BVT. - S/he must run the checkin tests to verify everything works. - If the feature contains a hardware/vpx component, simulation mus= t be added. At this point, everything is about the developer writing in their feature b= ranch and merging in. On infrastructure side: - We'll setup continuous BVT based on the simulator. - I again push that we must use Gerrit to test the code before it = gets merge into the branch but I'll leave that for someone else to do that. Let me know what you guys think. I'll probably break out a bvt branch to w= ork on this. Anyone want to join me? --Alex --_000_B1DF26ECC0458748AC97CECE2DA98D41013175649781SJCPMAILBOX_--