Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 57879 invoked from network); 7 Dec 2009 00:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Dec 2009 00:37:51 -0000 Received: (qmail 54992 invoked by uid 500); 7 Dec 2009 00:37:51 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 54936 invoked by uid 500); 7 Dec 2009 00:37:51 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 54924 invoked by uid 99); 7 Dec 2009 00:37:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 00:37:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of esjewett@gmail.com designates 209.85.222.174 as permitted sender) Received: from [209.85.222.174] (HELO mail-pz0-f174.google.com) (209.85.222.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 00:37:40 +0000 Received: by pzk4 with SMTP id 4so3631633pzk.32 for ; Sun, 06 Dec 2009 16:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cNCOkzyIKyym7tHoEspRaQvKhM72y0HIsVL6XW3mLck=; b=pjL0MRoRv3S6L2qQ3/17OB39CHItcSRlT6YpL4Yh17mnUmaL6LRxHHRYcgfBG6iU+1 y0MopfBCONcwRBVMkMM5Zjd7s6Amz+GXNEQGJ+76afMjIVAzPDasX9q0AUUFV9RI6xH/ dqzi91fM5tQyb/qE8ia5wqICh0MUrbMrK1Gvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZrOhQdvZK0pnFK9CsgSR26e+WOTVeNwnUE6OpibmbA0L9SHuNf+oW7sUIpUFv/iAgc DAehLC3f7T4ZaGOARfc1/vgaZffiYRQ6oRxEmOd2RdS/WTo0+EmlJlq7GBFjmwf8mBR+ pq6dmAM9iWAKn9ebCUp3czOPX1CN4wi3W/qtM= MIME-Version: 1.0 Received: by 10.140.208.15 with SMTP id f15mr373883rvg.49.1260146239439; Sun, 06 Dec 2009 16:37:19 -0800 (PST) In-Reply-To: References: <68f4a0e80912030949r188f6b47sf540910a5b32bea6@mail.gmail.com> <68f4a0e80912041052m732de355r473dc06a602662a6@mail.gmail.com> <68f4a0e80912060927i7295499fp8609dabee32a4777@mail.gmail.com> <68f4a0e80912060929x1ea47eeqf0270e4cdeaeb1e7@mail.gmail.com> <68f4a0e80912061220p6ebcfef0l8b1a194bbf8a9ef5@mail.gmail.com> <68f4a0e80912061437y1714eb1n18b717a421cd924d@mail.gmail.com> Date: Sun, 6 Dec 2009 18:37:19 -0600 Message-ID: <68f4a0e80912061637v52cd43bdi4749c853465b750f@mail.gmail.com> Subject: Re: Tests failing to run with "mvn clean test" - trunk/server revision 886861 From: Ethan Jewett To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I took a look, and it is the same error but I don't think it's necessarily the same issue. That error seems to pop up whenever the system can't connect to a database for any reason. So, it happens when I remove Derby from the pom.xml file entirely, for example. I was able to completely clear out the ~.m2/ repository on my local machine and do a "mvn clean test" from scratch. 20 minutes later, I have a terminal output that looks almost exactly like http://hudson.zones.apache.org/hudson/job/ESME/38/console except that the tests still run fine on my local machine. So I'm wondering if there really is something going on with Hudson. I don't really understand what it is doing. Maybe I need to get an account and dig into it. Is it possible that we have a property set on the Hudson server that makes the Boot.scala try to use PostgreSql? Would be a property "use_prod_psql" or "use_local_psql". Ethan On Sun, Dec 6, 2009 at 4:43 PM, Richard Hirsch wrot= e: > Take a look at this thread from the lift mailing list: > http://groups.google.com/group/liftweb/browse_thread/thread/7984c37a4e79d= c12 > > Maybe, the problem is somewhere else -although I don't why it would > work locally but not on Hudson.. > > > D. > > On Sun, Dec 6, 2009 at 11:37 PM, Ethan Jewett wrote: >> Maybe *I* am still using the old Derby Jar file, but then the >> in-memory db shouldn't work. I'll give it a go after clearing out my >> m2 directory this evening, hopefully. >> >> Ethan >> >> On Sunday, December 6, 2009, Richard Hirsch wrot= e: >>> Trying to figure what the problem is... >>> >>> Maybe, we are still using the old derby jar file... >>> >>> D. >>> >>> On Sun, Dec 6, 2009 at 9:20 PM, Ethan Jewett wrote= : >>>> Hmmm, that is strange. I didn't notice that at first, but it is >>>> happening on my machine as well. Interestingly, the tests run fine on >>>> my machine. >>>> >>>> How is Hudson actually running these tests? Is it different from a >>>> "mvn clean test" in some way? >>>> >>>> Ethan >>>> >>>> On Sun, Dec 6, 2009 at 1:58 PM, Richard Hirsch = wrote: >>>>> Just deployed on Hudson >>>>> (http://hudson.zones.apache.org/hudson/job/ESME/35/console) and we >>>>> still have the error. >>>>> >>>>> There is a warning regarding the new derby version that could be the >>>>> cause of the problem. >>>>> >>>>> [WARNING] POM for 'org.apache.derby:derby:pom:10.5.1.1:compile' is >>>>> invalid. It will be ignored for artifact resolution. Reason: Not a >>>>> v4.0.0 POM. for project org.apache.derby:derby at >>>>> /export/home/hudson/.m2/repository/org/apache/derby/derby/10.5.1.1/de= rby-10.5.1.1.pom >>>>> >>>>> @Ethan: is the reference in the pom.xml file correct? >>>>> >>>>> D. >>>>> >>>>> >>>>> On Sun, Dec 6, 2009 at 6:29 PM, Ethan Jewett wro= te: >>>>>> BTW, in case anyone is interested, I used this blog as my jumping-of= f >>>>>> point into Derby and H2 documentation: >>>>>> http://agoncal.wordpress.com/2009/07/05/derby-10-5-1-1-is-really-an-= in-memory-database/ >>>>>> >>>>>> Ethan >>>>>> >>>>>> On Sun, Dec 6, 2009 at 11:27 AM, Ethan Jewett w= rote: >>>>>>> I've posted a patch to issue 142 >>>>>>> (https://issues.apache.org/jira/browse/ESME-142). =A0The patch upgr= ades >>>>>>> the version of Derby we are using in pom.xml and switches the test >>>>>>> databases to run in memory. >>>>>>> >>>>>>> I'm not running H2 because I couldn't figure out immediately how to >>>>>>> get Lift to build the DB in H2 properly, so I was getting test >>>>>>> failures due to missing tables. >>>>>>> >>>>>>> Hopefully this will solve the Hudson issue. >>>>>>> >>>>>>> Ethan >>>>>>> >>>>>>> On Sun, Dec 6, 2009 at 7:57 AM, Richard Hirsch wrote: >>>>>>>> @Ethan - I'm asuming that is the problem on Hudson. Would be great= if >>>>>>>> we can solve this. >>>>>>>> >>>>>>>> Could you take a look and see if you find the maven conf=EDguratio= n to >>>>>>>> allow in-memory usage. I looked but didn't find anything. >>>>>>>> >>>>>>>> On Fri, Dec 4, 2009 at 7:52 PM, Ethan Jewett = wrote: >>>>>>>>> Would that fix the issue with Hudson as well? I'll look into that= a bit. >>>>>>>>> >>>>>>>>> Ethan >>>>>>>>> >>>>>>>>> On Fri, Dec 4, 2009 at 12:18 PM, David Pollak >>>>>>>>> wrote: >>>>>>>>>> On Fri, Dec 4, 2009 at 9:32 AM, Ethan Jewett wrote: >>>>>>>>>> >>>>>>>>>>> I'm not following. >>>>>>>>>>> >>>>>>>>>>> My local repo exactly matched the trunk branch as of when my em= ail was >>>>>>>>>>> sent. I'd deleted my entire local repo and checked out from Apa= che SVN >>>>>>>>>>> multiple times while trying to debug, so any local changes shou= ld be >>> >> >