cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Cayenne-trunk » h2,false,JDK 1.5 (latest),Ubuntu #703
Date Mon, 07 May 2012 08:24:49 GMT
See <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=h2,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/703/changes>

Changes:

[aadamchik] CAY-1700 Split long DISJOINT_BY_ID prefetch query on several smaller queries

CAY-1700-typo.patch by Andrei Veprev

------------------------------------------
[...truncated 4780 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.cayenne.di.spi.DefaultInjectorScopeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.cayenne.di.spi.DefaultInjectorInjectionTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
Running org.apache.cayenne.di.spi.DefaultInjectorCircularInjectionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec

Results :

Tests run: 54, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ cayenne-di-unpublished ---
[INFO] Building jar: /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1M4-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished
>>>
[INFO] 
[INFO] --- maven-cayenne-build-plugin:3.1M4-SNAPSHOT:date (date) @ cayenne-di-unpublished
---
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished
<<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished ---
[INFO] org already added, skipping
[INFO] org/apache already added, skipping
[INFO] org/apache/cayenne already added, skipping
[INFO] Building jar: /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1M4-SNAPSHOT-sources.jar
[INFO] org already added, skipping
[INFO] org/apache already added, skipping
[INFO] org/apache/cayenne already added, skipping
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cayenne-di-unpublished ---
[INFO] Installing /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1M4-SNAPSHOT.jar
to /home/jenkins/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1M4-SNAPSHOT/cayenne-di-unpublished-3.1M4-SNAPSHOT.jar
[INFO] Installing /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-di-unpublished/pom.xml to /home/jenkins/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1M4-SNAPSHOT/cayenne-di-unpublished-3.1M4-SNAPSHOT.pom
[INFO] Installing /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1M4-SNAPSHOT-sources.jar
to /home/jenkins/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1M4-SNAPSHOT/cayenne-di-unpublished-3.1M4-SNAPSHOT-sources.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Cayenne Java 1.5 Unpublished 3.1M4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cayenne-jdk1.5-unpublished ---
[INFO] 
[INFO] --- maven-cayenne-build-plugin:3.1M4-SNAPSHOT:date (date) @ cayenne-jdk1.5-unpublished
---
[INFO] 
[INFO] --- javacc-maven-plugin:2.6:jjtree-javacc (jjtree-ejbql) @ cayenne-jdk1.5-unpublished
---
[WARNING] File encoding for grammars has not been configured, using platform default encoding,
i.e. build is platform dependent!
Java Compiler Compiler Version 5.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Reading from file /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt
. . .
File "Node.java" does not exist.  Will create one.
File "EJBQLTreeConstants.java" does not exist.  Will create one.
File "JJTEJBQLState.java" does not exist.  Will create one.
Annotated grammar generated successfully in /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/javacc-1336379078504/node/EJBQLParser.jj
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/javacc-1336379078504/node/EJBQLParser.jj
. . .
Warning: Choice conflict in (...)* construct at line 840, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "+"
         Consider using a lookahead of 2 or more for nested expansion.
Warning: Choice conflict in (...)* construct at line 849, column 17.
         Expansion nested within construct and expansion following construct
         have common prefixes, one of which is: "*"
         Consider using a lookahead of 2 or more for nested expansion.
File "TokenMgrError.java" does not exist.  Will create one.
File "ParseException.java" does not exist.  Will create one.
File "Token.java" does not exist.  Will create one.
File "JavaCharStream.java" does not exist.  Will create one.
Parser generated with 0 errors and 2 warnings.
[INFO] Processed 1 grammar
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (default) @ cayenne-jdk1.5-unpublished ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ cayenne-jdk1.5-unpublished
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 17 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ cayenne-jdk1.5-unpublished
---
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build
is platform dependent!
[INFO] Compiling 939 source files to /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ cayenne-jdk1.5-unpublished
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 96 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ cayenne-jdk1.5-unpublished
---
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build
is platform dependent!
[INFO] Compiling 941 source files to /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ cayenne-jdk1.5-unpublished ---
[INFO] Surefire report directory: /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.CayenneDataObjectValidationTest
May 7, 2012 8:24:49 AM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: Invalid connection key 'h2', trying default: internal_embedded_datasource
May 7, 2012 8:24:49 AM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: loaded connection info: [org.apache.cayenne.conn.DataSourceInfo:
   user name: sa
   password: **********
   driver: org.hsqldb.jdbcDriver
   db adapter class: org.apache.cayenne.dba.hsqldb.HSQLDBAdapter
   url: jdbc:hsqldb:mem:aname
   min. connections: 1
   max. connections: 1
]
org.apache.maven.surefire.booter.SurefireExecutionException: org.apache.cayenne.CayenneDataObjectValidationTest;
nested exception is java.lang.ExceptionInInitializerError: null; nested exception is org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.cayenne.CayenneDataObjectValidationTest; nested exception is java.lang.ExceptionInInitializerError:
null
org.apache.maven.surefire.testset.TestSetFailedException: org.apache.cayenne.CayenneDataObjectValidationTest;
nested exception is java.lang.ExceptionInInitializerError: null
java.lang.ExceptionInInitializerError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
	at junit.framework.TestSuite.createTest(TestSuite.java:131)
	at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
	at junit.framework.TestSuite.<init>(TestSuite.java:75)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
	at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:151)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:197)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.lang.SecurityException: Prohibited package name: java.sql
	at java.lang.ClassLoader.preDefineClass(ClassLoader.java:480)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
	at java.lang.Class.privateGetPublicMethods(Class.java:2519)
	at java.lang.Class.privateGetPublicMethods(Class.java:2535)
	at java.lang.Class.getMethods(Class.java:1406)
	at org.apache.cayenne.di.spi.DefaultScope.addScopeEventListener(DefaultScope.java:90)
	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:57)
	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:107)
	at org.apache.cayenne.di.spi.ConstructorInjectingProvider.get(ConstructorInjectingProvider.java:155)
	at org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:103)
	at org.apache.cayenne.unit.di.server.ServerCase.<clinit>(ServerCase.java:46)
	... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.173s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.041s]
[INFO] Cayenne Internal Build Plugin ..................... SUCCESS [0.802s]
[INFO] Cayenne Internal Documentation Build Plugin ....... SUCCESS [1.019s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.008s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [0.515s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [1.789s]
[INFO] Cayenne Java 1.5 Unpublished ...................... FAILURE [11.187s]
[INFO] Cayenne WebObjects Compatibility Library .......... SKIPPED
[INFO] Cayenne Aggregated Server Jar ..................... SKIPPED
[INFO] Cayenne Aggregated Client Jar ..................... SKIPPED
[INFO] Cayenne Project ................................... SKIPPED
[INFO] Cayenne Tools ..................................... SKIPPED
[INFO] Library: cayenne-lifecycle ........................ SKIPPED
[INFO] Cayenne Maven Plugin .............................. SKIPPED
[INFO] Cayenne Framework Aggregator Project .............. SKIPPED
[INFO] Cayenne Integration Tests Parent .................. SKIPPED
[INFO] Integration Tests - Cayenne Runtime ............... SKIPPED
[INFO] Integration Tests - Cayenne Tools ................. SKIPPED
[INFO] Cayenne Modeler ................................... SKIPPED
[INFO] Cayenne Modeler Maven Plugin ...................... SKIPPED
[INFO] Cayenne Modeler Parent ............................ SKIPPED
[INFO] Cayenne Tutorial .................................. SKIPPED
[INFO] Cayenne ROP Server Tutorial ....................... SKIPPED
[INFO] Cayenne ROP Client Tutorial ....................... SKIPPED
[INFO] Cayenne Tutorials ................................. SKIPPED
[INFO] Cayenne Documentation ............................. SKIPPED
[INFO] Cayenne Documenation Parent ....................... SKIPPED
[INFO] Cayenne Docbook Documenation ...................... SKIPPED
[INFO] Docbook: Cayenne Guide ............................ SKIPPED
[INFO] Docbook: Getting Started with Cayenne ............. SKIPPED
[INFO] Docbook: Getting Started with Cayenne ROP ......... SKIPPED
[INFO] Docbook: Cayenne New Features and Upgrade Guide ... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.227s
[INFO] Finished at: Mon May 07 08:24:49 GMT 2012
[INFO] Final Memory: 39M/424M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test)
on project cayenne-jdk1.5-unpublished: There are test failures.
[ERROR] 
[ERROR] Please refer to /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
(default-test) on project cayenne-jdk1.5-unpublished: There are test failures.

Please refer to /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports
for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:592)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /x1/jenkins/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/collationCi/false/jdk/JDK
1.5 (latest)/label/Ubuntu/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cayenne-jdk1.5-unpublished
Build step 'Invoke top-level Maven targets' marked build as failure
Archiving artifacts

Mime
View raw message