See
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/964/>
------------------------------------------
[...truncated 11742 lines...]
982/1292 KB
986/1292 KB
990/1292 KB
994/1292 KB
998/1292 KB
1002/1292 KB
1005/1292 KB
1009/1292 KB
1013/1292 KB
1017/1292 KB
1021/1292 KB
1025/1292 KB
1029/1292 KB
1033/1292 KB
1037/1292 KB
1041/1292 KB
1045/1292 KB
1049/1292 KB
1053/1292 KB
1057/1292 KB
1061/1292 KB
1065/1292 KB
1069/1292 KB
1071/1292 KB
1075/1292 KB
1079/1292 KB
1083/1292 KB
1087/1292 KB
1091/1292 KB
1095/1292 KB
1099/1292 KB
1103/1292 KB
1107/1292 KB
1111/1292 KB
1115/1292 KB
1119/1292 KB
1123/1292 KB
1127/1292 KB
1131/1292 KB
1135/1292 KB
1139/1292 KB
1143/1292 KB
1147/1292 KB
1151/1292 KB
1155/1292 KB
1159/1292 KB
1163/1292 KB
1167/1292 KB
1169/1292 KB
1173/1292 KB
1177/1292 KB
1181/1292 KB
1185/1292 KB
1189/1292 KB
1193/1292 KB
1197/1292 KB
1201/1292 KB
1205/1292 KB
1209/1292 KB
1213/1292 KB
1217/1292 KB
1221/1292 KB
1225/1292 KB
1229/1292 KB
1233/1292 KB
1237/1292 KB
1241/1292 KB
1245/1292 KB
1249/1292 KB
1253/1292 KB
1257/1292 KB
1261/1292 KB
1265/1292 KB
1269/1292 KB
1273/1292 KB
1277/1292 KB
1281/1292 KB
1285/1292 KB
1289/1292 KB
1292/1292 KB
Downloaded:
http://maven.objectstyle.org/nexus/content/groups/cayenne-deps/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
(1292 KB at 943.8 KB/sec)
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ cayenne-server
---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
cayenne-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 17 resources
[INFO] Copying 19 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
cayenne-server ---
[INFO] Compiling 929 source files to
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/trunk/cayenne-server/target/classes>
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
cayenne-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 81 resources
[INFO] Copying 1345 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
cayenne-server ---
[INFO] Compiling 912 source files to
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/trunk/cayenne-server/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ cayenne-server ---
[INFO] Surefire report directory:
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/trunk/cayenne-server/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.cayenne.util.EntityMergeSupportTest
Nov 17, 2013 6:07:57 PM
org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider <init>
INFO: Loaded 0 DataSource configurations from properties file
Nov 17, 2013 6:07:57 PM
org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider get
INFO: Connection key: derby
Nov 17, 2013 6:07:57 PM
org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider get
INFO: loaded connection info: [org.apache.cayenne.conn.DataSourceInfo:
user name: sa
password: **********
driver: org.h2.Driver
db adapter class: org.apache.cayenne.dba.h2.H2Adapter
url: jdbc:h2:mem:aname;MVCC=TRUE
min. connections: 1
max. connections: 1
]
org.apache.maven.surefire.booter.SurefireExecutionException:
org.apache.cayenne.util.EntityMergeSupportTest; nested exception is
java.lang.ExceptionInInitializerError: null; nested exception is
org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.cayenne.util.EntityMergeSupportTest; nested exception is
java.lang.ExceptionInInitializerError: null
org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.cayenne.util.EntityMergeSupportTest; nested exception is
java.lang.ExceptionInInitializerError: null
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
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:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
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:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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.RuntimeException: Error rebuilding schema
at
org.apache.cayenne.unit.di.server.SchemaBuilder.rebuildSchema(SchemaBuilder.java:132)
at
org.apache.cayenne.unit.di.server.ServerCase.<clinit>(ServerCase.java:48)
... 22 more
Caused by: java.sql.SQLException: Can not load JDBC driver named
'org.h2.Driver': org.h2.Driver
at
org.apache.cayenne.conn.DriverDataSource.loadDriver(DriverDataSource.java:63)
at
org.apache.cayenne.conn.DriverDataSource.getDriver(DriverDataSource.java:267)
at
org.apache.cayenne.conn.DriverDataSource.getConnection(DriverDataSource.java:147)
at
org.apache.cayenne.conn.PooledConnectionImpl.reconnect(PooledConnectionImpl.java:83)
at
org.apache.cayenne.conn.PooledConnectionImpl.getConnection(PooledConnectionImpl.java:120)
at
org.apache.cayenne.conn.PoolManager.uncheckConnection(PoolManager.java:417)
at
org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:401)
at
org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:374)
at
org.apache.cayenne.unit.di.server.SchemaBuilder.dropSchema(SchemaBuilder.java:258)
at
org.apache.cayenne.unit.di.server.SchemaBuilder.dropSchema(SchemaBuilder.java:160)
at
org.apache.cayenne.unit.di.server.SchemaBuilder.rebuildSchema(SchemaBuilder.java:127)
... 23 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Cayenne ........................................... SUCCESS [18.901s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.012s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [54.706s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [2.143s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [3.475s]
[INFO] Cayenne Server .................................... FAILURE [50.347s]
[INFO] Cayenne ROP Client ................................ SKIPPED
[INFO] Cayenne Project ................................... SKIPPED
[INFO] Cayenne Tools ..................................... SKIPPED
[INFO] Cayenne Lifecycle Utilities ....................... SKIPPED
[INFO] Cayenne Integration Tests Parent .................. SKIPPED
[INFO] Cayenne Maven Plugins ............................. SKIPPED
[INFO] Cayenne Maven Plugin .............................. SKIPPED
[INFO] Integration Tests - Cayenne Tools ................. SKIPPED
[INFO] Cayenne Modeler Parent ............................ SKIPPED
[INFO] Cayenne WebObjects Compatibility Library .......... SKIPPED
[INFO] Cayenne Modeler ................................... SKIPPED
[INFO] Cayenne Modeler Maven Plugin ...................... SKIPPED
[INFO] Cayenne Tutorial .................................. SKIPPED
[INFO] Cayenne ROP Server Tutorial ....................... SKIPPED
[INFO] Cayenne ROP Client Tutorial ....................... SKIPPED
[INFO] Cayenne Tutorials ................................. SKIPPED
[INFO] Cayenne Documenation Parent ....................... SKIPPED
[INFO] Cayenne Documentation ............................. SKIPPED
[INFO] Cayenne Docbook Documentation ..................... SKIPPED
[INFO] Docbook: Cayenne Stylesheets ...................... 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: 2:16.838s
[INFO] Finished at: Sun Nov 17 18:07:57 UTC 2013
[INFO] Final Memory: 38M/197M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on
project cayenne-server: There are test failures.
[ERROR]
[ERROR] Please refer to
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/trunk/cayenne-server/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-server: There are test failures.
Please refer to
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/trunk/cayenne-server/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:320)
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:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/trunk/cayenne-server/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-server
Build step 'Invoke top-level Maven targets' marked build as failure