Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 37393 invoked from network); 8 May 2010 17:40:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 May 2010 17:40:11 -0000 Received: (qmail 7939 invoked by uid 500); 8 May 2010 17:40:11 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 7888 invoked by uid 500); 8 May 2010 17:40:11 -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 7880 invoked by uid 99); 8 May 2010 17:40:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 17:40:11 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,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 webautomator@gmail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 17:40:02 +0000 Received: by fg-out-1718.google.com with SMTP id e12so838391fga.9 for ; Sat, 08 May 2010 10:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=tSy2cnjJjWDGzMjeoomuDjofLs0plL16b9aau6jHNjw=; b=lCai4bUkXjyWmfhiGYoy0UmCqBwpZ5E62AE8IAv5ScoZSoZLd04GNgptvEub48kzst Ze+ANflbUiAVSwlNQMrPgjq19sWbh6f4iiFYMcZtS2ZDQulpPWFPdezwE3Y0wXlIl4WJ UknWA7429NkfZzaEPNcchnEoXpSC7Nm+V2XjY= 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; b=Gm97XVO384mf593xfHQTEtkCPPANxSZn37XJ5MnQNI3hTPIgpPSPdbYJN/jY5fgaKX IKtAsHHZoD5gYbjD0vKFD3fiGIF/LgZLpmpvX7+S0OtugeVT1TGn/Bh8FzXxG1sMxa0k CFrJQoX87/H45QYQJ62BdDjhDYGpUMbUqB7nw= MIME-Version: 1.0 Received: by 10.87.9.11 with SMTP id m11mr6050356fgi.73.1273340382536; Sat, 08 May 2010 10:39:42 -0700 (PDT) Received: by 10.86.76.2 with HTTP; Sat, 8 May 2010 10:39:42 -0700 (PDT) In-Reply-To: References: Date: Sat, 8 May 2010 20:39:42 +0300 Message-ID: Subject: Re: OpenJPA test suite error From: =?KOI8-R?B?8c4g8NLPx9LBzc3J09Q=?= To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=001485f870002de59e048618a9e7 X-Virus-Checked: Checked by ClamAV on apache.org --001485f870002de59e048618a9e7 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable A new problem arrived; at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckE= xecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckE= xecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3= 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo= .java:118) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManag= er.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif= ecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl= e(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLife= cycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai= lures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Def= aultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl= eExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3= 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.io.FileNotFoundException: /home/webautomator/openjpa/openjpa-persistence-jdbc/target/test-classes/org= /apache/openjpa/persistence/embed/VicePresident.class (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at org.apache.openjpa.lib.util.J2DoPrivHelper$29.run(J2DoPrivHelper.java:688) at org.apache.openjpa.lib.util.J2DoPrivHelper$29.run(J2DoPrivHelper.java:686) at java.security.AccessController.doPrivileged(Native Method) at org.apache.openjpa.lib.meta.ClassArgParser.getFromClassFile(ClassArgParser.= java:306) at org.apache.openjpa.lib.meta.ClassArgParser.parseTypeNames(ClassArgParser.ja= va:217) ... 58 more [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] An Ant BuildException has occured: The following error occurred whil= e executing this line: /home/webautomator/openjpa/openjpa-persistence-jdbc/src/main/ant/enhancer.x= ml:51: The following error occurred while executing this line: /home/webautomator/openjpa/openjpa-persistence-jdbc/src/main/ant/enhancer.x= ml:84: java.lang.NoClassDefFoundError: org/apache/openjpa/util/ImplHelper org.apache.openjpa.util.ImplHelper [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 minutes 34 seconds [INFO] Finished at: Sat May 08 20:30:15 EEST 2010 [INFO] Final Memory: 115M/482M [INFO] ------------------------------------------------------------------------ 2010/5/7 Michael Dick > The wiki has been updated, but it might take a little while for it to rsy= nc > with the site. Should be done in about an hour. > > -mike > > On Fri, May 7, 2010 at 1:40 PM, Michael Dick >wrote: > > > Hi John, > > > > You need to set -DfailIfNoTests=3Dfalse on the command line. Otherwise > maven > > will compile the first module (openjpa-lib), notice that there are no > tests > > and stop executing. > > > > Unfortunately the documentation was written with an older version of > Maven > > which didn't require -DfailIfNoTests (I think that was new sometime > around > > maven 2.0.8). > > > > I'll update the doc. Thanks for letting us know, > > -mike > > > > 2010/5/7 =F1=CE =F0=D2=CF=C7=D2=C1=CD=CD=C9=D3=D4 > > > > $ mvn test -Dtest=3DTestPersistence -Dopenjpa.loglevel=3DTRACE > >> [INFO] Scanning for projects... > >> [INFO] Reactor build order: > >> [INFO] OpenJPA Parent POM > >> [INFO] OpenJPA Utilities Library > >> [INFO] OpenJPA Kernel > >> [INFO] OpenJPA JDBC > >> [INFO] OpenJPA Persistence > >> [INFO] OpenJPA Persistence JDBC > >> [INFO] OpenJPA Persistence Locking Tests > >> [INFO] OpenJPA XML Store > >> [INFO] OpenJPA Slice > >> [INFO] OpenJPA Aggregate Jar > >> [INFO] OpenJPA Aggregate Jar with Dependencies > >> [INFO] OpenJPA Project Docs and Assemblies > >> [INFO] OpenJPA Examples > >> [INFO] OpenJPA Integration Tests > >> [INFO] OpenJPA Integration Tests - Daytrader > >> [INFO] OpenJPA Integration Tests - Examples > >> [INFO] OpenJPA Integration Tests - JPA TCK > >> [INFO] OpenJPA Integration Tests - Bean Validation > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] Building OpenJPA Parent POM > >> [INFO] task-segment: [test] > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] [enforcer:enforce {execution: default}] > >> [INFO] Setting property: classpath.resource.loader.class =3D> > >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > >> [INFO] Setting property: velocimacro.messages.on =3D> 'false'. > >> [INFO] Setting property: resource.loader =3D> 'classpath'. > >> [INFO] Setting property: resource.manager.logwhenfound =3D> 'false'. > >> [INFO] [checkstyle:checkstyle {execution: default}] > >> [INFO] Source directory does not exist - skipping report. > >> [INFO] Setting property: classpath.resource.loader.class =3D> > >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > >> [INFO] Setting property: velocimacro.messages.on =3D> 'false'. > >> [INFO] Setting property: resource.loader =3D> 'classpath'. > >> [INFO] Setting property: resource.manager.logwhenfound =3D> 'false'. > >> [INFO] [remote-resources:process {execution: default}] > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] Building OpenJPA Utilities Library > >> [INFO] task-segment: [test] > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] [enforcer:enforce {execution: default}] > >> [INFO] [checkstyle:checkstyle {execution: default}] > >> [INFO] Starting audit... > >> Audit done. > >> > >> [WARNING] Unable to locate Source XRef to link to - DISABLED > >> [INFO] [remote-resources:process {execution: default}] > >> [INFO] [resources:resources {execution: default-resources}] > >> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >> [INFO] Copying 9 resources > >> [INFO] Copying 3 resources > >> [INFO] [compiler:compile {execution: default-compile}] > >> [INFO] Nothing to compile - all classes are up to date > >> [INFO] [antrun:run {execution: set subversion revision}] > >> [INFO] Executing tasks > >> [echo] Revision: exported > >> [echo] OpenJPA version: 2.0.0-beta3 > >> [INFO] Executed tasks > >> [INFO] [resources:testResources {execution: default-testResources}] > >> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >> > >> [INFO] Copying 8 resources > >> [INFO] Copying 3 resources > >> [INFO] [compiler:testCompile {execution: default-testCompile}] > >> [INFO] Nothing to compile - all classes are up to date > >> [INFO] [surefire:test {execution: default-test}] > >> [INFO] Surefire report directory: > >> > >> > /home/webautomator/apache-openjpa-2.0.0-beta3-source/openjpa-lib/target/s= urefire-reports > >> > >> ------------------------------------------------------- > >> T E S T S > >> ------------------------------------------------------- > >> There are no tests to run. > >> > >> Results : > >> > >> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > >> > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [ERROR] BUILD FAILURE > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] No tests were executed! (Set -DfailIfNoTests=3Dfalse to ignore > this > >> error.) > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] For more information, run Maven with the -e switch > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> [INFO] Total time: 25 seconds > >> [INFO] Finished at: Fri May 07 20:41:05 EEST 2010 > >> [INFO] Final Memory: 50M/120M > >> [INFO] > >> ----------------------------------------------------------------------= -- > >> > >> John > >> > > > > > --001485f870002de59e048618a9e7--