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 » HSQLDB,JDK 1.7 (latest),Ubuntu #963
Date Sun, 17 Nov 2013 17:51:25 GMT
See <https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=HSQLDB,jdk=JDK%201.7%20(latest),label=Ubuntu/963/changes>

Changes:

[aadamchik] adding hsql to the test scope

otheriwse hsqldb profile may not be activated if say 'assembly' is active
and the tests will fail

[aadamchik] cleaning up unit test DataSource bootstrap

Specifically in a CI environment, in-memory DBs can be bootstrapped without connection.properties

------------------------------------------
[...truncated 11025 lines...]
955/1292 KB   
959/1292 KB   
963/1292 KB   
967/1292 KB   
971/1292 KB   
975/1292 KB   
976/1292 KB   
979/1292 KB   
981/1292 KB   
985/1292 KB   
989/1292 KB   
993/1292 KB   
997/1292 KB   
1001/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   
1039/1292 KB   
1041/1292 KB   
1042/1292 KB   
1046/1292 KB   
1050/1292 KB   
1054/1292 KB   
1058/1292 KB   
1062/1292 KB   
1066/1292 KB   
1070/1292 KB   
1074/1292 KB   
1078/1292 KB   
1082/1292 KB   
1086/1292 KB   
1090/1292 KB   
1094/1292 KB   
1098/1292 KB   
1102/1292 KB   
1106/1292 KB   
1110/1292 KB   
1114/1292 KB   
1118/1292 KB   
1122/1292 KB   
1126/1292 KB   
1130/1292 KB   
1134/1292 KB   
1138/1292 KB   
1142/1292 KB   
1143/1292 KB   
1147/1292 KB   
1151/1292 KB   
1155/1292 KB   
1159/1292 KB   
1163/1292 KB   
1167/1292 KB   
1171/1292 KB   
1175/1292 KB   
1179/1292 KB   
1183/1292 KB   
1187/1292 KB   
1191/1292 KB   
1195/1292 KB   
1199/1292 KB   
1203/1292 KB   
1207/1292 KB   
1211/1292 KB   
1215/1292 KB   
1219/1292 KB   
1223/1292 KB   
1227/1292 KB   
1231/1292 KB   
1235/1292 KB   
1239/1292 KB   
1243/1292 KB   
1247/1292 KB   
1250/1292 KB   
1254/1292 KB   
1258/1292 KB   
1262/1292 KB   
1266/1292 KB   
1270/1292 KB   
1274/1292 KB   
1278/1292 KB   
1282/1292 KB   
1286/1292 KB   
1290/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 963.5 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=HSQLDB,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=HSQLDB,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=HSQLDB,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 5:51:25 PM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
<init>
INFO: Loaded  0 DataSource configurations from properties file
Nov 17, 2013 5:51:25 PM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider
get
INFO: Connection key: HSQLDB
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: org.apache.cayenne.ConfigurationException: [v.3.2M2-SNAPSHOT Nov 17 2013 17:48:38]
No connection info for key: HSQLDB
	at org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider.get(ServerCaseDataSourceInfoProvider.java:109)
	at org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider.get(ServerCaseDataSourceInfoProvider.java:36)
	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: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:48)
	... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [25.879s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.011s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1:06.890s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.986s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [3.456s]
[INFO] Cayenne Server .................................... FAILURE [59.842s]
[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:46.097s
[INFO] Finished at: Sun Nov 17 17:51:25 UTC 2013
[INFO] Final Memory: 38M/260M
[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=HSQLDB,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=HSQLDB,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=HSQLDB,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

Mime
View raw message