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 » derby,false,JDK 1.5 (latest),Ubuntu #702
Date Sat, 05 May 2012 12:23:21 GMT
See <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/702/changes>

Changes:

[aadamchik] CAY-1634 [PATCH] In ChildDiffLoader.nodePropertyChanged the oldValue is not passed
to writeProperty

patch by John Huss

[aadamchik] CAY-1701 Modeler cannot undo pasting of obj (db) entity

patch by ANdrei Veprev

------------------------------------------
[...truncated 373 lines...]
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.cayenne.di.spi.DefaultInjectorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.cayenne.di.spi.DefaultInjectorScopeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.cayenne.di.spi.DefaultInjectorInjectionTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
Running org.apache.cayenne.di.spi.DefaultInjectorCircularInjectionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 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: <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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: <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1M4-SNAPSHOT.jar>
to /home/hudson/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1M4-SNAPSHOT/cayenne-di-unpublished-3.1M4-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/pom.xml>
to /home/hudson/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1M4-SNAPSHOT/cayenne-di-unpublished-3.1M4-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1M4-SNAPSHOT-sources.jar>
to /home/hudson/.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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/javacc-1336220569243/node/EJBQLParser.jj>
Java Compiler Compiler Version 5.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/javacc-1336220569243/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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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: <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.CayenneDataObjectValidationTest
May 5, 2012 12:23:15 PM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: loaded connection info: [org.apache.cayenne.conn.DataSourceInfo:
   user name: username
   password: **********
   driver: org.apache.derby.jdbc.EmbeddedDriver
   db adapter class: org.apache.cayenne.dba.derby.DerbyAdapter
   url: jdbc:derby:./target/derby/testdb;create=true
   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.747s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [3.000s]
[INFO] Cayenne Internal Build Plugin ..................... SUCCESS [2.708s]
[INFO] Cayenne Internal Documentation Build Plugin ....... SUCCESS [2.199s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.059s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.054s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [2.622s]
[INFO] Cayenne Java 1.5 Unpublished ...................... FAILURE [28.323s]
[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: 42.438s
[INFO] Finished at: Sat May 05 12:23:16 UTC 2012
[INFO] Final Memory: 28M/202M
[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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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 <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=derby,collationCi=false,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/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