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 2E52310ED6 for ; Mon, 3 Mar 2014 06:14:08 +0000 (UTC) Received: (qmail 60167 invoked by uid 500); 3 Mar 2014 06:14:06 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 59887 invoked by uid 500); 3 Mar 2014 06:14:04 -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 59879 invoked by uid 99); 3 Mar 2014 06:14:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 06:14:02 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of koushik.das@citrix.com designates 103.14.252.240 as permitted sender) Received: from [103.14.252.240] (HELO SMTP.CITRIX.COM.AU) (103.14.252.240) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 06:13:56 +0000 X-IronPort-AV: E=Sophos;i="4.97,576,1389744000"; d="scan'208";a="3268200" Received: from sinaccessns.citrite.net (HELO SINPEX01CL01.citrite.net) ([10.151.60.9]) by sinpip01.citrite.net with ESMTP; 03 Mar 2014 06:13:33 +0000 Received: from SINPEX01CL02.citrite.net ([169.254.2.17]) by SINPEX01CL01.citrite.net ([169.254.1.73]) with mapi id 14.02.0342.004; Mon, 3 Mar 2014 14:13:33 +0800 From: Koushik Das To: "" Subject: Re: Build on 4.3-forward Fails: Shows Failure for Framework-Clustering Thread-Topic: Build on 4.3-forward Fails: Shows Failure for Framework-Clustering Thread-Index: AQHPNjmmhYkPSKBHbE+PKXw8APJnGprNhsUAgAAFzwCAAMNRAIAABlCAgAAGq4A= Date: Mon, 3 Mar 2014 06:13:33 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.13.107.79] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP: SIN1 X-Virus-Checked: Checked by ClamAV on apache.org I am facing a build failure but for a different reason on 4.3-forward. Look= s like due to commit 065ac54bd7755cb44667c71311293c8f2110b3f3 Author: tuna Date: Sat Mar 1 11:36:27 2014 +0700 CLOUDSTACK-6162: add UI for OVS plugin [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR :=20 [INFO] ------------------------------------------------------------- [ERROR] /Users/koushik/code/cloudstack-apache/cloudstack/api/src/org/apache= /cloudstack/api/ResponseGenerator.java:[361,4] error: cannot find symbol [ERROR] symbol: class LDAPConfigResponse location: interface ResponseGenerator /Users/koushik/code/cloudstack-apache/cloudstack/api/src/org/apache/cloudst= ack/api/command/admin/router/ConfigureOvsElementCmd.java:[32,22] error: pac= kage com.cloud.async does not exist [ERROR] /Users/koushik/code/cloudstack-apache/cloudstack/api/src/org/apache= /cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java:[40,21] er= ror: cannot find symbol [ERROR] symbol: class UserContext location: package com.cloud.user /Users/koushik/code/cloudstack-apache/cloudstack/api/src/com/cloud/network/= element/VirtualRouterElementService.java:[34,49] error: cannot find symbol [ERROR] symbol: class VirtualRouterProviderType location: interface VirtualRouterElementService /Users/koushik/code/cloudstack-apache/cloudstack/api/src/org/apache/cloudst= ack/api/command/admin/router/ConfigureOvsElementCmd.java:[108,16] error: pa= ckage AsyncJob does not exist [ERROR] /Users/koushik/code/cloudstack-apache/cloudstack/api/src/org/apache= /cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java:[109,17] e= rror: package AsyncJob does not exist [ERROR] /Users/koushik/code/cloudstack-apache/cloudstack/api/src/org/apache= /cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java:[120,2] er= ror: cannot find symbol [INFO] 7 errors=20 [INFO] ------------------------------------------------------------- [INFO] --------------------------------------------------------------------= ---- [INFO] Reactor Summary: [INFO]=20 [INFO] Apache CloudStack ................................. SUCCESS [2.245s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.038s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [2.471s] [INFO] Apache CloudStack Utils ........................... SUCCESS [6.479s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.031s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [5.440s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [3.505s] [INFO] Apache CloudStack API ............................. FAILURE [6.790s] [INFO] Apache CloudStack Framework - REST ................ SKIPPED On 03-Mar-2014, at 11:19 AM, Santhosh Edukulla wrote: > 1. I set the below two variables in my environment as per the java7 insta= lled paths and made sure they are set.=20 >=20 > JAVA_HOME=3D/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64/jre=20 > JDK_HOME=3D/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/ >=20 >=20 > 2. Deleted the contents under ~/.m2/repository. >=20 > 3. Did a fresh pull of the branch. Ran the below command. >=20 > mvn clean install -P developer,systemvm -Dmaven.test.skip=3Dtrue >=20 > 4. -X arguments to mvn gave an error pointing to jar for tests missing ea= rlier. So, rather spend time, i did a skip test and proceed further.=20 >=20 > 5. The below issue happened i "believe" when i switched to a different b= ranch say master and switched back to 4.3 and there was some change for jav= a7 made to repo, during that time. > Note, above may not be a true solution to the below problem, but it worke= d. The local binaries are getting corrupted somehow it seems.=20 >=20 > Santhosh > ________________________________________ > From: ng.tuna@gmail.com [ng.tuna@gmail.com] on behalf of Nguyen Anh Tu [t= una@apache.org] > Sent: Monday, March 03, 2014 12:27 AM > To: dev@cloudstack.apache.org > Subject: RE: Build on 4.3-forward Fails: Shows Failure for Framework-Clus= tering >=20 > Santhosh, >=20 > I replaced openjdk1.7 to oracle's jdk 7 and removed ~/.m2/repository as > well, but no luck. mvn -version pointed to oracle jdk. The problem still = be > there. >=20 > Could you please show me what you done to fix it? > (Sorry I cant paste log now because my company blocked gmail, I have to > send mail using mobile) >=20 > I have to fix my commit yesterday to 4.3-forward branch. >=20 > --Tuna >=20 > Sent from my GT-N7000 >=20 > Thanks Santhosh! >=20 > --Tuna >=20 > Sent from my GT-N7000 > On Mar 3, 2014 12:27 AM, "Santhosh Edukulla" > wrote: >=20 >> Tuna, >>=20 >> I removed the packages under ~/.m2/repository/, updated jdk and java pat= hs >> under bash profile for java7, and it worked thereafter. >>=20 >> Initially, i deleted only the problem jars from above path, but it didn'= t >> worked. >>=20 >> Santhosh >> ________________________________________ >> From: ng.tuna@gmail.com [ng.tuna@gmail.com] on behalf of Nguyen Anh Tu [ >> tuna@apache.org] >> Sent: Sunday, March 02, 2014 12:05 PM >> To: dev@cloudstack.apache.org >> Subject: Re: Build on 4.3-forward Fails: Shows Failure for >> Framework-Clustering >>=20 >> Am also facing this issue too. Anyone can help? >>=20 >> --Tuna >>=20 >>=20 >> On Thu, Jan 23, 2014 at 2:56 PM, Sanjeev Neelarapu < >> sanjeev.neelarapu@citrix.com> wrote: >>=20 >>> I am also facing this issue. >>>=20 >>> -Sanjeev >>>=20 >>> -----Original Message----- >>> From: Santhosh Edukulla [mailto:santhosh.edukulla@citrix.com] >>> Sent: Thursday, January 23, 2014 1:20 PM >>> To: dev@cloudstack.apache.org >>> Subject: Build on 4.3-forward Fails: Shows Failure for >> Framework-Clustering >>>=20 >>> Team, >>>=20 >>> 1. We are seeing a build failure for latest 4.3-forward branch code. >> Below >>> is the error message: >>>=20 >>> Apache CloudStack Cloud Engine API ................ SUCCESS [2.351s] >>> [INFO] Apache CloudStack Core ............................ SUCCESS >> [4.720s] >>> [INFO] Apache CloudStack Agents .......................... SUCCESS >> [4.663s] >>> [INFO] Apache CloudStack Framework - Clustering .......... FAILURE >> [0.031s] >>> [INFO] Apache CloudStack Framework >>>=20 >>>=20 >>> INFO] >>> -----------------------------------------------------------------------= - >>> [INFO] BUILD FAILURE >>> [INFO] >>> -----------------------------------------------------------------------= - >>> [INFO] Total time: 41.245s >>> [INFO] Finished at: Thu Jan 23 18:16:58 IST 2014 [INFO] Final Memory: >>> 44M/256M [INFO] >>> -----------------------------------------------------------------------= - >>> [ERROR] Failed to execute goal on project cloud-framework-cluster: Coul= d >>> not resolve dependencies for project >>> org.apache.cloudstack:cloud-framework-cluster:jar:4.3.0: Failure to fin= d >>> org.apache.cloudstack:cloud-api:jar:tests:4.3.0 in >>> http://repo.maven.apache.org/maven2 was cached in the local repository, >>> resolution will not be reattempted until the update interval of central >> has >>> elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the fu= ll >>> stack trace of the errors, re-run Maven with the -e switch. >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> [ERROR] >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> [ERROR] [Help 1] >>>=20 >> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExc= eption >>>=20 >>> 2. The above behavior was observed on few linux variants viz., >>> rhel,centos,fedora. Tried on 3 different setups and the issue seems to = be >>> there on these 3 setups. On mac, it seems to work. >>>=20 >>> Tried few steps: >>> 1. providing -U to mvn step >>> 2. Deleted the mentioned package from the home directory m2../ , still >> the >>> issue persists. >>>=20 >>> Regards, >>> Santhosh