Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 30061 invoked from network); 30 Apr 2010 08:27:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Apr 2010 08:27:28 -0000 Received: (qmail 74589 invoked by uid 500); 30 Apr 2010 04:27:28 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 74341 invoked by uid 500); 30 Apr 2010 04:27:26 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 74332 invoked by uid 99); 30 Apr 2010 04:27:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 04:27:25 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nbeyer@gmail.com designates 74.125.82.177 as permitted sender) Received: from [74.125.82.177] (HELO mail-wy0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 04:27:20 +0000 Received: by wyb35 with SMTP id 35so348855wyb.36 for ; Thu, 29 Apr 2010 21:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cMnXeDEUqrVDvILb4kwqLRkt3NZhlTZElDkT6jYpXZI=; b=kunlxnK9evj9ietWvq777VJ+vS+56ZlVjwAj6vEq21e8mX5UReLCU+8uGyYbP/B/bf ywGG44GhiB9G2hwdETA11dgvWrwgvPoYK94fJJJjI1N0rNesHxeQwjng1JRrycRnUmc/ 5+HtHZKjrCNOLDH5k/u1fvidrGKYu3JHZ380A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=HOAkoRDvxvcLzu7EAX2fArioDYUXEKx5S+AMF5W0KUbwGuyTb7jCJuoyqlkcIvNxAe djyNTBMkp6VHiwXlP+OtKbUEHERFBi8BjYRC9qL7btPFKsFyL4yjTPZzUG4FjHZ14sxN 0H/boG/LJwt4OihRP3uqIKgnVzLfde2bFuqps= MIME-Version: 1.0 Received: by 10.216.175.210 with SMTP id z60mr6683154wel.37.1272601619026; Thu, 29 Apr 2010 21:26:59 -0700 (PDT) Sender: nbeyer@gmail.com Received: by 10.216.182.83 with HTTP; Thu, 29 Apr 2010 21:26:58 -0700 (PDT) In-Reply-To: <5C535121-6DB1-43F4-B426-D61ED24CD555@solas.net> References: <9CB6A426-945E-4EE3-A20F-6F1680BE8EF9@solas.net> <201004270805.o3R85XgO012634@d06av03.portsmouth.uk.ibm.com> <5C535121-6DB1-43F4-B426-D61ED24CD555@solas.net> Date: Thu, 29 Apr 2010 23:26:58 -0500 X-Google-Sender-Auth: 6c49cd5c96c04e66 Message-ID: Subject: Re: Build Test System From: Nathan Beyer To: dev@harmony.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Apr 27, 2010 at 3:30 AM, Colin Fitzpatrick wrote: > Hi Mark, > > Thanks for the quick reply. > > I'm making some experimental changes to Harmony, especially around the JI= T (they may never be suitable for a real world environment), and I want to = do as much automated testing as possible. > > I'm planning on using Hudson as well, and I presumed that the build and t= est system was used for your hudson tests? =C2=A0 =C2=A0 =C2=A0http://hudso= n.zones.apache.org/hudson/view/Harmony/job/Harmony-1.5-head-linux-x86_64-fu= ll-tests/ I believe this job is just 'ant test' from this point in the SCM - https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk/ . The 'buildtest' folder/project isn't a 'build and test system' -- it would be more accurate to say that it's a framework for building integration tests that combine external production test suites run against Harmony (i.e. run Maven's tests using Harmony). The original thought started as a 'build and test', but evolved towards the integration testing concept. > > If you can point me in the right direction for details on what you use fo= r your hudson jobs, that would probably make more sense, if not, I can cont= inue working on the build and test system, and push the changes when I'm fi= nished. > > Thanks again. > > Colin. > > > On 27 Apr 2010, at 09:05, Mark Hindess wrote: > >> >> In message <9CB6A426-945E-4EE3-A20F-6F1680BE8EF9@solas.net>, Colin >> Fitzpatrick writes: >>> >>> Hi, >>> >>> First off thanks for the great work on Harmony, it's been a pleasure >>> to work with so far. >>> >>> I've been trying to get the build-test system up and running for the >>> last few days and I've run into many problems. I'm not sure if I'm >>> making some incredibly stupid mistake or if there's something else I >>> need to do. >>> >>> I'm testing against the latest stable build of harmony, I have all the >>> prerequisites installed (JDK 1.5., Ant, SVN, GCC) >>> >>> I want to use a version of harmony built by a different build process, >>> in a different directory. >>> >>> I do a SVN checkout: >>> =C2=A0 =C2=A0 =C2=A0svn co http://svn.apache.org/repos/asf/harmony/enha= nced/buildtest/trunk/infra >>> >>> I run >>> =C2=A0 =C2=A0 =C2=A0ant -Dtest.suites=3D"classlib,drlvm,scimark" instal= l >>> >>> On first build I noticed that lot of dependancies have moved (mostly >>> in SVN), which I've updated. >>> >>> I update the necessary property files to use the previously build >>> jvm/jre. =C2=A0It's possible that I've missed something at this step. >>> >>> I run >>> =C2=A0 =C2=A0 =C2=A0ant setup >>> without problems >>> >>> I run >>> =C2=A0 =C2=A0 =C2=A0ant run >>> >>> This is where I get lots of problems: >>> =C2=A0 =C2=A0 =C2=A0Many ant files appear to have dependancies on other= ant files >>> that don't exist or are in another location. >>> =C2=A0 =C2=A0 =C2=A0Many ant files look for properties in files that do= n't exist or >>> are in another location. >>> =C2=A0 =C2=A0 =C2=A0Some parts of the run process call ant targets that= don't exist. >>> >>> Without getting into the details of each individual error, my questions >>> are: >>> >>> =C2=A0 =C2=A0 =C2=A0Are these known problems with the build-test system= ? >>> =C2=A0 =C2=A0 =C2=A0Am I using the build-test system correctly? =C2=A0C= orrect version >>> from SVN? >>> >>> Again, apologies if I've gone down the wrong path. >> >> I don't think anyone is actively running the buildtest infrastructure at >> the moment so I'm not surprised you are having problems. =C2=A0(I tried = it to >> see if I could reproduce the issues you described but I don't even get >> that far I get the appended errors.) >> >> The intention is just to use Hudson jobs to expand our testing now that >> Apache provide this service. >> >> Perhaps if you tell us your goal we can help? =C2=A0If you just want to = do a >> build, you can just do: >> >> =C2=A0svn co https://svn.apache.org/repos/asf/harmony/enhanced/java/trun= k harmony >> =C2=A0cd harmony >> =C2=A0ant fetch-depends build >> >> and to run scimark: >> >> =C2=A0wget http://math.nist.gov/scimark2/scimark2lib.jar >> =C2=A0target/hdk/jdk/jre/bin/java -cp scimark2lib.jar jnt.scimark2.comma= ndline >> >> HTH, >> Mark. >> >> ... >> >> -download-next: >> >> -init: >> =C2=A0 =C2=A0 [echo] Fetching '${libname}' external dependency for 'scri= pts' subcomponent. >> =C2=A0 =C2=A0 [echo] =3D=3D=3D> Library Info: ${libname} >> =C2=A0 =C2=A0 [echo] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Basename: ${lib.u= rl} >> =C2=A0 =C2=A0 [echo] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Location: /home/h= indessm/hy/buildtest/infra/build/libs/${lib.url} >> >> -fetch-if-necessary: >> >> -download: >> =C2=A0 =C2=A0 [echo] =3D=3D> Do Download from ${lib.url} >> >> BUILD FAILED >> /home/hindessm/hy/buildtest/infra/build.xml:161: The following error occ= urred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:59: The following= error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:112: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:100: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:112: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:100: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:112: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:100: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:112: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:100: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:112: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:92: The following= error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:205: The followin= g error occurred while executing this line: >> /home/hindessm/hy/buildtest/infra/scripts/download.xml:282: java.net.Mal= formedURLException: no protocol: ${lib.url} >> >> >> > >