cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <hud...@hudson.apache.org>
Subject Build failed in Jenkins: Cayenne-trunk » derby,JDK 1.6 (latest),Ubuntu #501
Date Tue, 31 May 2011 19:31:35 GMT
See <https://builds.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/501/changes>

Changes:

[aadamchik] empty dir

------------------------------------------
[...truncated 4690 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.cayenne.CayenneRuntimeExceptionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-di-unpublished
>>>
[INFO] 
[INFO] --- maven-cayenne-build-plugin:3.1-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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1-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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1-SNAPSHOT.jar>
to /home/hudson/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1-SNAPSHOT/cayenne-di-unpublished-3.1-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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.1-SNAPSHOT/cayenne-di-unpublished-3.1-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-di-unpublished/target/cayenne-di-unpublished-3.1-SNAPSHOT-sources.jar>
to /home/hudson/.m2/repository/org/apache/cayenne/unpublished/cayenne-di-unpublished/3.1-SNAPSHOT/cayenne-di-unpublished-3.1-SNAPSHOT-sources.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Cayenne Java 1.5 Unpublished 3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cayenne-jdk1.5-unpublished ---
[INFO] 
[INFO] --- maven-cayenne-build-plugin:3.1-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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/javacc-1306870281397/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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/javacc-1306870281397/node/EJBQLParser.jj>
. . .
Warning: Choice conflict in (...)* construct at line 839, 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 848, 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 UTF-8, i.e. build is platform
dependent!
[INFO] Compiling 920 source files to <https://builds.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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 UTF-8, i.e. build is platform
dependent!
[INFO] Compiling 922 source files to <https://builds.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.unit.di.DICaseSelfTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
Running org.apache.cayenne.access.trans.BatchQueryBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec
Running org.apache.cayenne.configuration.DefaultDataChannelDescriptorMergerTest
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataMap 'C' from descriptor 'Ym' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataMap 'A' from descriptor 'Ym' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Discarding overridden DataMap 'A' from descriptor 'Zx'
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataMap 'B' from descriptor 'Zx' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataNode 'B' from descriptor 'Ym' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataNode 'C' from descriptor 'Ym' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataNode 'A' from descriptor 'Zx' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Discarding overridden DataNode 'B' from descriptor 'Zx'
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Using DataNode 'A' from descriptor 'Ym' in merged descriptor
May 31, 2011 7:31:34 PM org.apache.cayenne.configuration.DefaultDataChannelDescriptorMerger
merge
INFO: Discarding overridden DataNode 'A' from descriptor 'Zx'
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.apache.cayenne.exp.parser.ExpressionEvaluateInMemoryTest
May 31, 2011 7:31:34 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.exp.parser.ExpressionEvaluateInMemoryTest;
nested exception is java.lang.ExceptionInInitializerError: null; nested exception is org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.cayenne.exp.parser.ExpressionEvaluateInMemoryTest; nested exception is java.lang.ExceptionInInitializerError:
null
org.apache.maven.surefire.testset.TestSetFailedException: org.apache.cayenne.exp.parser.ExpressionEvaluateInMemoryTest;
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:513)
	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:513)
	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:597)
	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.IllegalStateException: Unmapped adapter type: org.apache.cayenne.dba.derby.DerbyAdapter
	at org.apache.cayenne.unit.di.server.UnitDbAdapterProvider.get(UnitDbAdapterProvider.java:54)
	at org.apache.cayenne.unit.di.server.UnitDbAdapterProvider.get(UnitDbAdapterProvider.java:33)
	at org.apache.cayenne.di.spi.CustomProvidersProvider.get(CustomProvidersProvider.java:38)
	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: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.293s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.502s]
[INFO] Cayenne Internal Build Plugin ..................... SUCCESS [1.186s]
[INFO] Cayenne Internal Documentation Build Plugin ....... SUCCESS [1.631s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.005s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [0.675s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [2.502s]
[INFO] Cayenne Java 1.5 Unpublished ...................... FAILURE [13.413s]
[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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.787s
[INFO] Finished at: Tue May 31 19:31:34 UTC 2011
[INFO] Final Memory: 46M/364M
[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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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:597)
	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/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.6%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
Archiving artifacts


Mime
View raw message