Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8D33DB90 for ; Mon, 1 Oct 2012 07:41:50 +0000 (UTC) Received: (qmail 84137 invoked by uid 500); 1 Oct 2012 07:41:47 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 83930 invoked by uid 500); 1 Oct 2012 07:41:47 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 83884 invoked by uid 99); 1 Oct 2012 07:41:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 07:41:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.149.139.109] (HELO mail.jpl.nasa.gov) (128.149.139.109) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 07:41:40 +0000 Received: from mail.jpl.nasa.gov (ap-ehub-sp01.jpl.nasa.gov [128.149.137.148]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q917dZLv022297 (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits) verified NO); Mon, 1 Oct 2012 00:39:36 -0700 Received: from AP-EMBX-SP40.RES.AD.JPL ([169.254.7.32]) by ap-ehub-sp01.RES.AD.JPL ([169.254.3.32]) with mapi id 14.02.0318.001; Mon, 1 Oct 2012 00:39:35 -0700 From: "Mattmann, Chris A (388J)" To: "" CC: "" Subject: Re: SIS TLP Migration Thread-Topic: SIS TLP Migration Thread-Index: AQHNl5Vso5pK/5T5Y0SZfuK27AayQ5eT/tDLgAFBMgCAAx6mgIAAGAIAgAFakgCAAEKngIAA1mmAgAAMIICAAEfhgIAAWYyAgAKxFQCAAHu2gIAAzu6AgAACwoCABN3jgIAAHmiAgAAErYA= Date: Mon, 1 Oct 2012 07:39:33 +0000 Message-ID: References: <52669E09-4F00-4508-8520-373CAFD4BEA7@gmail.com> <505C6B5E.8060407@geomatys.fr> <505F0953.8010505@geomatys.fr> <50604030.7040500@geomatys.fr> <50612BF5.4000309@geomatys.fr> <5061726D.8080400@geomatys.fr> <5063FF96.8070207@geomatys.fr> <506514F3.6040809@geomatys.fr> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.149.137.114] Content-Type: text/plain; charset="iso-8859-1" Content-ID: <00B89D2E1DF9084C965B7B5F688EE2B5@ad.jpl> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Source-Sender: chris.a.mattmann@jpl.nasa.gov X-AUTH: Authorized X-Virus-Checked: Checked by ClamAV on apache.org Hi Olivier, OK I will take a look and thanks for the pointer. Cheers, Chris On Oct 1, 2012, at 8:27 AM, Olivier Lamy wrote: > Chris, > If you can use tomcat maven plugin rather than jetty. > It's possible to use port 0 (which means jvm will use the first available= port). > I don't know exactly what your build do so I cannot tell you if that's > possible or not for your use case. > But in Archiva project, we start an embeded tomcat running a war then > run selenium tests. > And we use port 0 so problem with reserved port ! >=20 > 2012/10/1 Brett Porter : >> Chris, >>=20 >> This sounds like you've had some jobs hang that held on to the port, as = it'd be unlikely another project is using the same port. >>=20 >> If you need to make sure you get distinct ports, try: >> http://mojo.codehaus.org/build-helper-maven-plugin/reserve-network-port-= mojo.html >>=20 >> Either way, if the builds are leaving processes around, that should be s= orted out. Someone with access to the particular Jenkins node you're buildi= ng on would have to answer that. >>=20 >> - Brett >>=20 >> On 28/09/2012, at 1:14 PM, "Mattmann, Chris A (388J)" wrote: >>=20 >>> Hey Martin, >>>=20 >>> I saw this. I'm CC'ing builds@ here. Guys, I keep changing the pom.xml >>> in Apache SIS to do automatic Jetty testing. I found this code snippet: >>>=20 >>> {code} >>> >>> start-jetty >>> pre-integration-test >>> >>> run >>> >>> >>> >>> >>> 50234 >>> >>> >>> 50500 >>> 10 >>> true >>> >>> >>> org.apache.commons.logging.Log >>> org.apache.commons.logging.impl.Jdk14Logger >>> >>> >>> java.util.logging.config.file >>> ./src/test/resources/logging.properties >>> >>> >>> >>> >>>=20 >>> {code} >>>=20 >>> That I *thought* scans different ports and tries to find a free one on = the machine. >>> Do the Jenkins build slaves allow this? Did I set the Maven conf up wro= ng? >>> Can someone help? :) >>>=20 >>> Thanks! >>>=20 >>> Cheers, >>> Chris >>>=20 >>> On Sep 27, 2012, at 8:09 PM, Martin Desruisseaux wrote: >>>=20 >>>> Hello Chris >>>>=20 >>>> Le 27/09/12 23:44, Mattmann, Chris A (388J) a =E9crit : >>>>> Ugh, OK, I've went ahead and picked an obscure port in r1391035. >>>>> Let's see if that fixes it. >>>>=20 >>>> Thanks! But unfortunately, we still got a "java.net.BindException: Add= ress already in use" despite the new port number. I wonder if all ports hav= e been closed? >>>>=20 >>>> Should we create a Maven profile for disabling the Jetty tests on Jenk= ins? They would still be executed on the developers local machine. >>>>=20 >>>> Martin >>>>=20 >>>=20 >>>=20 >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> Chris Mattmann, Ph.D. >>> Senior Computer Scientist >>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA >>> Office: 171-266B, Mailstop: 171-246 >>> Email: chris.a.mattmann@nasa.gov >>> WWW: http://sunset.usc.edu/~mattmann/ >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> Adjunct Assistant Professor, Computer Science Department >>> University of Southern California, Los Angeles, CA 90089 USA >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>=20 >>=20 >> -- >> Brett Porter >> brett@apache.org >> http://brettporter.wordpress.com/ >> http://au.linkedin.com/in/brettporter >> http://twitter.com/brettporter >>=20 >>=20 >>=20 >>=20 >>=20 >=20 >=20 >=20 > --=20 > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.a.mattmann@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++