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 D118310699 for ; Thu, 8 Aug 2013 14:55:11 +0000 (UTC) Received: (qmail 35091 invoked by uid 500); 8 Aug 2013 14:55:11 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 34823 invoked by uid 500); 8 Aug 2013 14:55:10 -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 34786 invoked by uid 99); 8 Aug 2013 14:55:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 14:55:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,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.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 14:55:04 +0000 X-IronPort-AV: E=Sophos;i="4.89,839,1367971200"; d="scan'208,217";a="40519361" Received: from sjcpex01cl02.citrite.net ([10.216.14.144]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/AES128-SHA; 08 Aug 2013 14:54:42 +0000 Received: from SJCPEX01CL03.citrite.net ([169.254.3.42]) by SJCPEX01CL02.citrite.net ([10.216.14.144]) with mapi id 14.02.0342.004; Thu, 8 Aug 2013 07:54:25 -0700 From: Alex Huang To: Dave Cahill , "dev@cloudstack.apache.org" Subject: RE: Master build failure Thread-Topic: Master build failure Thread-Index: AQHOlCRkTET41vhAAUydxI2Y7jy1u5mLZKmA Date: Thu, 8 Aug 2013 14:54:25 +0000 Message-ID: <20CF38CB4385CE4D9D1558D52A0FC0580A3B0F@SJCPEX01CL03.citrite.net> References: <20130808084558.GA9970@cloud-2.local> <20130808091314.GA12239@cloud-2.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.2.168] Content-Type: multipart/alternative; boundary="_000_20CF38CB4385CE4D9D1558D52A0FC0580A3B0FSJCPEX01CL03citri_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_20CF38CB4385CE4D9D1558D52A0FC0580A3B0FSJCPEX01CL03citri_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yup. That was the reason why it worked on my machine but doesn't work on j= enkins. It had a copy of the jar in the local maven cache so it continued = to build even though it's missing. Thanks for reverting. Will fix. I still don't understand why we have problems with Gerrit. It would have p= revented exactly this type of problems. I know a lot of people are busy on= 4.2. Will bring it up post 4.2 again. --Alex From: Dave Cahill [mailto:dcahill@midokura.com] Sent: Thursday, August 8, 2013 3:45 AM To: dev@cloudstack.apache.org; Dave Cahill; Alex Huang Subject: Re: Master build failure Thanks Prasanna. One suggestion I have is that if anyone makes pom file changes (or any larg= e changes at all, to be honest), that they nuke their local Maven cache (rm -rf ~/.m2/re= pository) and do a "clean install" before submitting a patch. This way, you don't end up thi= nking your work builds when it just happens to build due to leftover, cached jars. Alex, do you have any ideas on build stability? There have been 2 build bre= akages in the past few days (ref: "compile error on 4.2" thread), and looking at git log = I don't see much sign of review on the changes. We discussed Gerrit a while back, but I thin= k the conclusion was that it would slow us down? Thanks, Dave. On Thu, Aug 8, 2013 at 6:13 PM, Prasanna Santhanam > wrote: Reverted the range 30c33415..f6a2c817bc. Master builds now. Others who've checked in after these will still retain their commits but please build before push. It's clear we are only worried about 4.2 now but we are breaking master for those who are beginning to work ahead for 4.3 On Thu, Aug 08, 2013 at 02:15:58PM +0530, Prasanna Santhanam wrote: > Dave's been attempting to fix this and it looks to be intertwined in a > few commits. Large swaths of code has moved around. I'll revert to > last known state from Jenkins if we can't figure out a simple fix so > Dave can proceed. > > On Thu, Aug 08, 2013 at 04:11:36PM +0900, Dave Cahill wrote: > > Hi, > > > > As Prasanna noted in IRC, the cloudstack-master-maven Jenkins build is > > failing with a similar error: > > > > https://builds.apache.org/job/cloudstack-master-maven/2645/console > > > > Failed to execute goal on project cloud-engine-components-api: Could > > not resolve dependencies for project > > org.apache.cloudstack:cloud-engine-components-api:jar:4.3.0-SNAPSHOT: > > Could not find artifact > > org.apache.cloudstack:cloud-framework-config:jar:4.3.0-SNAPSHOT in > > Nexus (http://repository.apache.org/snapshots) > > cause : Could not resolve dependencies for project > > org.apache.cloudstack:cloud-engine-components-api:jar:4.3.0-SNAPSHOT: > > Could not find artifact > > org.apache.cloudstack:cloud-framework-config:jar:4.3.0-SNAPSHOT in > > Nexus (http://repository.apache.org/snapshots) > > > > > > Thanks, > > > > Dave. > > > > > > On Thu, Aug 8, 2013 at 3:53 PM, Dave Cahill > wrote: > > > > > Hi, > > > > > > I'm seeing a build failure with master - I've checked the usual gotch= as, > > > but > > > this seems to be something else. Possibly related to the 4.2.0 to 4.3= .0 > > > update? > > > > > > The missing dependency is cloud-engine-compute. It's listed as a > > > dependency in > > > engine/service/pom.xml with no "type" specified, which AFAIK defaults= to > > > "jar". > > > So my understanding is that it's trying to download version 4.3.0-SNA= PSHOT > > > of the cloud-engine-compute jar from repository.apache.org. How does the > > > jar get > > > uploaded there in the first place? Maybe that's a step we missed when > > > witching > > > from 4.2.0 to 4.3.0? > > > > > > Here's what I ran: > > > > > > # Nuke my local maven cache > > > $ rm -rf ~/.m2/repository > > > > > > # Get latest master > > > $ git pull > > > > > > # Clean any files hanging around my git working copy just in case > > > $ git clean -dxf > > > > > > # Build > > > $ mvn clean install -P developer,systemvm -DskipTests > > > > > > Here's the error I got: > > > > > > [ERROR] Failed to execute goal on project cloud-engine-service: Could= not > > > resolve dependencies for project > > > org.apache.cloudstack:cloud-engine-service:war:4.3.0-SNAPSHOT: Failur= e to > > > find org.apache.cloudstack:cloud-engine-compute:jar:4.3.0-SNAPSHOT in > > > http://repository.apache.org/snapshots was cached in the local > > > repository, resolution will not be reattempted until the update inter= val of > > > apache.snapshots has elapsed or updates are forced -> [Help 1] > > > > > > Thanks, > > > Dave. > > > > > > > > > > > -- > Prasanna., > > ------------------------ > Powered by BigRock.com -- Prasanna., ------------------------ Powered by BigRock.com --_000_20CF38CB4385CE4D9D1558D52A0FC0580A3B0FSJCPEX01CL03citri_--