Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7428710223 for ; Sat, 6 Apr 2013 17:16:44 +0000 (UTC) Received: (qmail 41738 invoked by uid 500); 6 Apr 2013 17:16:44 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 41704 invoked by uid 500); 6 Apr 2013 17:16:44 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 41695 invoked by uid 99); 6 Apr 2013 17:16:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Apr 2013 17:16:43 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.149.244] (HELO na3sys009aog118.obsmtp.com) (74.125.149.244) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Apr 2013 17:16:37 +0000 Received: from mail-vb0-f69.google.com ([209.85.212.69]) (using TLSv1) by na3sys009aob118.postini.com ([74.125.148.12]) with SMTP ID DSNKUWBYX3Gd0o+L/jVKAQSyuf4RMw9KvQXC@postini.com; Sat, 06 Apr 2013 10:16:16 PDT Received: by mail-vb0-f69.google.com with SMTP id p12so5587639vbe.4 for ; Sat, 06 Apr 2013 10:16:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-gm-message-state; bh=/jYw7cNl3/blfDNbf+IqnD0Q5O0upVJ1/urrUhrWKRw=; b=nL9G5Ebh1yjCzz04lIRNSWV8gFT6CjadfDJ/WlnYFidWe7htTUqJT5jqhMc9pxppqr HXchyejCJs25t7pF+M29pz5LqT1xtiTbs6Jf66xPyL7Vb4168/HV6D1zPJVZb+hknyxP ihndDGDuG0Hj0ub3ODcUGxJ5jc5IU+PSHCgjF/XjNOLlPt+ZNYIzH+bhSleXSz8P5ERm L2bdKeZRgNhSDmflX0pprYu4BfCdC04DscBv91tWdLtOVTY37LdXe898/PEDH+QFvETX +rR2Sb1qGPLa0hhNPYbROeZBtP6vaUp0IrB6daR2bgzJ0ew6qOKulC3uqjE33CjV1kX5 Ds+Q== X-Received: by 10.229.72.130 with SMTP id m2mr4909577qcj.122.1365268575168; Sat, 06 Apr 2013 10:16:15 -0700 (PDT) X-Received: by 10.229.72.130 with SMTP id m2mr4909576qcj.122.1365268575111; Sat, 06 Apr 2013 10:16:15 -0700 (PDT) Received: from USLT-205755.sungardas.corp (pool-68-238-233-13.phil.east.verizon.net. [68.238.233.13]) by mx.google.com with ESMTPS id ed8sm9641944qeb.7.2013.04.06.10.16.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 06 Apr 2013 10:16:13 -0700 (PDT) Received: by USLT-205755.sungardas.corp (Postfix, from userid 76098887) id A9F2013058967; Sat, 6 Apr 2013 13:16:05 -0400 (EDT) Date: Sat, 6 Apr 2013 13:16:05 -0400 From: Chip Childers To: dev@cloudstack.apache.org Subject: Re: Master broken Message-ID: <20130406171605.GA45212@USLT-205755.sungardas.corp> References: <3BCE9BB272306B449A3BD520DD47A79603286C@SINPEX01CL02.citrite.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BCE9BB272306B449A3BD520DD47A79603286C@SINPEX01CL02.citrite.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlsmFg9wUDc86SuFMdoZijh8vK0msSUwKBEs0niwat+Tu6yQWvG08eH8n7YY9VIO0wZrIs4LYziV66lkVRIIPhyD1Gr1GHC62oMXxFm6lJ1h02W4vHVO2eVkNdLWVRAn/Ed7O9BIeWcfjS867QvMRZ9A/k12b35XZUiOiOXHZPaATqZsX8= X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Apr 06, 2013 at 05:27:11AM +0000, Prasanna Santhanam wrote: > Ah - misunderstood. Like Hugo said, a test that fails on presence of db connection should solve this. But I hope ppl will turn mysql on (as an additional step) to run the bvt. Or better yet, I can look into those db tests and port them as marvin tests. > Perhaps I'm confused, but having a unit test that fails the build if MySQL is running on the local machine seems like a really bad idea. I think the problem to solve is just that we want to avoid unit tests that require a DB. As long as we all know this, and that we have build jobs that fail on the CI side of things, isn't that enough? Am I confused? > > > > -- > Prasanna., > > ----- Original Message ----- > From: Alex Huang [mailto:Alex.Huang@citrix.com] > Sent: Saturday, April 06, 2013 05:21 AM > To: dev@cloudstack.apache.org > Subject: RE: Master broken > > > That will be hard to do since the checkin test requires the DB to be present as > > it starts up the server and sets-up the databases. We'd have to turn it off for > > the build and turn it back on again for the bvt. Best if we avoid doing - > > DskipTests when building as a general good rule. > > I don't think -DskipTests is the problem. The problem is actually people who are running the unit tests have db on their laptops so if they have unit tests that require DB will run on their laptop but fails on Jenkins, which doesn't have a db. > > --Alex >