From dev-return-17716-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Oct 21 19:47:59 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 49852 invoked from network); 21 Oct 2010 19:47:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Oct 2010 19:47:59 -0000 Received: (qmail 4722 invoked by uid 500); 21 Oct 2010 19:47:59 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 4689 invoked by uid 500); 21 Oct 2010 19:47:59 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 4681 invoked by uid 99); 21 Oct 2010 19:47:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 19:47:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.d.dick@gmail.com designates 209.85.160.174 as permitted sender) Received: from [209.85.160.174] (HELO mail-gy0-f174.google.com) (209.85.160.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 19:47:52 +0000 Received: by gyg4 with SMTP id 4so223452gyg.33 for ; Thu, 21 Oct 2010 12:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=OTXVK8AevaYJTYX/NOmSqwZ+lTJTJpcyARJQcDsJBA0=; b=uPKV9LsWW+CfWjhr1oYvK86agV7ygmsCSvyvRJo3QAAo248RyUPG4coDF/1kJbvUDK oVOGfv7R2YqFxD1ETBToFs9WVLO74AIpROp1YLs5z/CO91zaGNrcJVcCLNcqo1osKEoT pElsQdMRNNb7YslnZ6XJcqmw4lb3JbdFyw3vs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=O2bZeELbdkwtJD01oH/hMiSkwYxTN/QmJQ1fe3+96s4ALsZZMzn3/q7Ke468ecMn7K kKIn4mLw9pbZjHt0XopRTSbqkoLctQwDVNt8P27/okC4yfzEGzpV2aJD9ykJq0q+LHfE IICjx9SexZ/yPagJMiCg3tc/fgumcem12V6uI= Received: by 10.90.113.13 with SMTP id l13mr1572775agc.54.1287690451269; Thu, 21 Oct 2010 12:47:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.65.11 with HTTP; Thu, 21 Oct 2010 12:47:11 -0700 (PDT) In-Reply-To: References: <4CBF5766.4050102@apache.org> <290612.49631.qm@web27807.mail.ukl.yahoo.com> From: Michael Dick Date: Thu, 21 Oct 2010 14:47:11 -0500 Message-ID: Subject: Re: test errors To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=001636283778edb794049325cb73 X-Virus-Checked: Checked by ClamAV on apache.org --001636283778edb794049325cb73 Content-Type: text/plain; charset=ISO-8859-1 Hi Mark, I've seen sporadic failures in the cache timeout tests where an entity hasn't been evicted by the time we check for it. We've tried to minimize the chances of hitting it, but apparently it's still there. Chances are good that it won't happen if you do another build. Sorry for a vague answer, could you try again and let us know if it consistently fails? -mike On Thu, Oct 21, 2010 at 12:02 PM, Kevin Sutter wrote: > Hi, > Just for another test, I just did a fresh svn update, then ran "mvn clean > install" and it all worked successfully. I am on Windows XP with the IBM > JDK 1.6 sr 8... Have you tried refreshing from svn? I ran into a glitch > a > couple of weeks ago where my build didn't work just because I refreshed at > the "wrong time". Sorry, no other ideas at this time. > > Kevin > > > On Thu, Oct 21, 2010 at 3:11 AM, Mark Struberg wrote: > > > mvn clean install is now crashing with a > > > > Failed tests: > > testTimeouts1(org.apache.openjpa.persistence.datacache.TestSJVMCache) > > > > > > [msx@notenix 2.0.x]$ java -version > > java version "1.6.0_21" > > Java(TM) SE Runtime Environment (build 1.6.0_21-b06) > > Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) > > > > > > type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: > > id 3 > (org.apache.openjpa.persistence.datacache.common.apps.CacheObjectH-201) > > was in cache; should not have been > > at junit.framework.Assert.fail(Assert.java:47) > > at junit.framework.Assert.assertTrue(Assert.java:20) > > at junit.framework.Assert.assertFalse(Assert.java:34) > > at > > > org.apache.openjpa.persistence.datacache.CacheTestHelper.checkCache(CacheTestHelper.java:44) > > at > > > org.apache.openjpa.persistence.datacache.CacheTest.checkCache(CacheTest.java:1374) > > at > > > org.apache.openjpa.persistence.datacache.CacheTest.timeoutsHelper(CacheTest.java:1057) > > at > > > org.apache.openjpa.persistence.datacache.CacheTest.timeoutsTest1(CacheTest.java:949) > > at > > > org.apache.openjpa.persistence.datacache.CacheTest.testTimeouts1(CacheTest.java:937) > > > > > > LieGrue, > > strub > > > > > > --- On Wed, 10/20/10, Donald Woods wrote: > > > > > From: Donald Woods > > > Subject: Re: test errors > > > To: dev@openjpa.apache.org > > > Date: Wednesday, October 20, 2010, 8:56 PM > > > Which JDK? They're passing for > > > me on Mac using 1.6.0_20. > > > > > > Do they still fail after running "mvn clean install" to > > > wipe the /target > > > directory? > > > > > > > > > -Donald > > > > > > > > > On 10/20/10 4:19 PM, Mark Struberg wrote: > > > > Hi! > > > > > > > > While compiling the latest 2.0.x branch, I got the > > > following test errors on openjpa-xmlstore: > > > > > > > > Tests in error: > > > > testQuery(org.apache.openjpa.xmlstore.simple.TestPersistence) > > > > > testNewDeleteNew(org.apache.openjpa.xmlstore.simple.TestPersistence) > > > > > > > > > > > > > type="<openjpa-2.0.2-SNAPSHOT-r422266:1023072"><openjpa-2.0.2-SNAPSHOT-r422266:1023072 > > > fatal store error> > > > org.apache.openjpa.persistence.RollbackException: null > > > > at > > > > > > org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:584) > > > > at > > > > > > org.apache.openjpa.xmlstore.simple.TestPersistence.testQuery(TestPersistence.java:65) > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at > > > java.lang.reflect.Method.invoke(Method.java:597) > > > > at > > > junit.framework.TestCase.runTest(TestCase.java:154) > > > > at > > > > > > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runTest(AbstractPersistenceTestCase.java:516) > > > > at > > > junit.framework.TestCase.runBare(TestCase.java:127) > > > > at > > > > > > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:503) > > > > at > > > > > > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:479) > > > > > > > > ... > > > > Caused by: java.lang.NullPointerException > > > > at > > > > > > org.apache.openjpa.xmlstore.XMLFileHandler$ObjectDataHandler.endElement(XMLFileHandler.java:435) > > > > at > > > > > > org.apache.openjpa.xmlstore.XMLFileHandler$ObjectDataHandler.endElement(XMLFileHandler.java:407) > > > > at > > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) > > > > at > > > > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) > > > > at > > > > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > > > > at > > > > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > > > > at > > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) > > > > at > > > > > > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) > > > > at > > > javax.xml.parsers.SAXParser.parse(SAXParser.java:395) > > > > at > > > javax.xml.parsers.SAXParser.parse(SAXParser.java:331) > > > > at > > > > org.apache.openjpa.xmlstore.XMLFileHandler.read(XMLFileHandler.java:106) > > > > at > > > org.apache.openjpa.xmlstore.XMLFileHandler.load(XMLFileHandler.java:89) > > > > > > > > > > > > 2nd one is almost the same. > > > > > > > > LieGrue, > > > > strub > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --001636283778edb794049325cb73--