See 
<https://builds.apache.org/job/Cayenne-trunk/cayenneTestConnection=h2,jdk=JDK%201.6%20(latest),label=Ubuntu/971/changes>

Changes:

[aadamchik] CAY-1887 Move class loading under Di, differentiate between Cayenne 
and application classes

(also supporting for 'void' primitive type)

[aadamchik] CAY-1882 Porting to OSGi environment

explicitly setting bundle ClassLoader in OSGi module

[aadamchik] CAY-1882 Porting to OSGi environment

a basic OSGi Module
* AdhocObjectFactory with Osgi-friendly classloaders

[aadamchik] CAY-1887 Move class loading under Di, differentiate between Cayenne 
and application classes

adding 'getClassloader' method to have something to override when needed

------------------------------------------
[...truncated 32204 lines...]
  testFetchLimitWithOffset(org.apache.cayenne.query.SelectQueryTest)
  testFetchOffsetWithQualifier(org.apache.cayenne.query.SelectQueryTest)
  testFetchLimitWithQualifier(org.apache.cayenne.query.SelectQueryTest)
  testSelectAllObjectsRootEntityName(org.apache.cayenne.query.SelectQueryTest)
  testSelectAllObjectsRootClass(org.apache.cayenne.query.SelectQueryTest)
  testSelectAllObjectsRootObjEntity(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeExactMatch(org.apache.cayenne.query.SelectQueryTest)
  testSelectNotLikeSingleWildcardMatch(org.apache.cayenne.query.SelectQueryTest)
  
testSelectNotLikeIgnoreCaseSingleWildcardMatch(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeCaseSensitive(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeSingleWildcardMatch(org.apache.cayenne.query.SelectQueryTest)
  
testSelectLikeSingleWildcardMatchAndEscape(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeMultipleWildcardMatch(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeIgnoreCaseObjects1(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeIgnoreCaseObjects2(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeIgnoreCaseClob(org.apache.cayenne.query.SelectQueryTest)
  
testSelectFetchLimit_Offset_DistinctClob(org.apache.cayenne.query.SelectQueryTest)
  testSelectEqualsClob(org.apache.cayenne.query.SelectQueryTest)
  testSelectNotEqualsClob(org.apache.cayenne.query.SelectQueryTest)
  testSelectIn(org.apache.cayenne.query.SelectQueryTest)
  testSelectParameterizedIn(org.apache.cayenne.query.SelectQueryTest)
  testSelectParameterizedEmptyIn(org.apache.cayenne.query.SelectQueryTest)
  testSelectParameterizedEmptyNotIn(org.apache.cayenne.query.SelectQueryTest)
  testSelectEmptyIn(org.apache.cayenne.query.SelectQueryTest)
  testSelectEmptyNotIn(org.apache.cayenne.query.SelectQueryTest)
  testSelectBooleanTrue(org.apache.cayenne.query.SelectQueryTest)
  testSelectBitwiseNot(org.apache.cayenne.query.SelectQueryTest)
  testSelectBitwiseOr(org.apache.cayenne.query.SelectQueryTest)
  testSelectBitwiseAnd(org.apache.cayenne.query.SelectQueryTest)
  testSelectBitwiseXor(org.apache.cayenne.query.SelectQueryTest)
  testSelectBooleanNotTrueOr(org.apache.cayenne.query.SelectQueryTest)
  testSelectBooleanFalse(org.apache.cayenne.query.SelectQueryTest)
  testSelectBooleanFalseOr(org.apache.cayenne.query.SelectQueryTest)
  testRouteWithPrefetches(org.apache.cayenne.query.SelectQueryTest)
  
testRouteQueryWithPrefetchesNoReverse(org.apache.cayenne.query.SelectQueryTest)
  
testRouteQueryWithPrefetchesPrefetchExpressionPath(org.apache.cayenne.query.SelectQueryTest)
  testLeftJoinAndPrefetchToMany(org.apache.cayenne.query.SelectQueryTest)
  testLeftJoinAndPrefetchToOne(org.apache.cayenne.query.SelectQueryTest)
  testSelect_MatchObject(org.apache.cayenne.query.SelectQueryTest)
  testSelect_WithOrdering(org.apache.cayenne.query.SelectQueryTest)
  testSelectLongIn(org.apache.cayenne.query.SelectQueryTest)
  testCacheOffsetAndLimit(org.apache.cayenne.query.SelectQueryTest)
  testConcurrentInserts(org.apache.cayenne.dba.ConcurrentPkGeneratorTest)
  testFlushToParent_Commit(org.apache.cayenne.access.DataContextCommitTest)
  testReadToMany(org.apache.cayenne.CDOCollectionRelationshipTest)
  testReadToManyPrefetching(org.apache.cayenne.CDOCollectionRelationshipTest)
  testAddToMany(org.apache.cayenne.CDOCollectionRelationshipTest)
  testRemoveToMany(org.apache.cayenne.CDOCollectionRelationshipTest)
  testAddToManyViaReverse(org.apache.cayenne.CDOCollectionRelationshipTest)
  
testDeepMergeExistingSubclass(org.apache.cayenne.util.DeepMergeOperationInheritanceTest)
  
testDeepMergeNonExistentSubclass(org.apache.cayenne.util.DeepMergeOperationInheritanceTest)
  testReadRelationship(org.apache.cayenne.CDOOneToManyFKTest)
  
testInsertWithMeaningfulPK(org.apache.cayenne.access.DataContextEntityWithMeaningfulPKTest)
  
testGeneratedKey(org.apache.cayenne.access.DataContextEntityWithMeaningfulPKTest)
  testChangeKey(org.apache.cayenne.access.DataContextEntityWithMeaningfulPKTest)
  
testToManyRelationshipWithMeaningfulPK1(org.apache.cayenne.access.DataContextEntityWithMeaningfulPKTest)
  
testToManyRelationshipWithMeaningfulPK2(org.apache.cayenne.access.DataContextEntityWithMeaningfulPKTest)
  testSelect(org.apache.cayenne.access.DataContextEJBQLInheritanceTest)
  testInsert(org.apache.cayenne.access.EmbeddingTest)
  testSelect(org.apache.cayenne.access.EmbeddingTest)
  testUpdateEmbeddedProperties(org.apache.cayenne.access.EmbeddingTest)
  testUpdateEmbedded(org.apache.cayenne.access.EmbeddingTest)
  testValidateForSave1(org.apache.cayenne.MeaningfulFKTest)
  testValidateForSave2(org.apache.cayenne.MeaningfulFKTest)
  test2Null(org.apache.cayenne.CDOOne2OneDepTest)
  testNewAdd(org.apache.cayenne.CDOOne2OneDepTest)
  testTakeObjectSnapshotDependentFault(org.apache.cayenne.CDOOne2OneDepTest)
  testRollbackDependent(org.apache.cayenne.CDOOne2OneDepTest)
  testReplaceNull(org.apache.cayenne.CDOOne2OneDepTest)
  testDelete(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  testInsert(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  testUpdate(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectCompoundLongNames(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  testSelectEJQBQL(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectEJQBQLCollectionTheta(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectEJQBQLLike(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectEJQBQLBetween(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectEJQBQLSubquery(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  
testSelectEJQBQLHaving(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  testNotLike(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testIn(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testNotIn(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testOr(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testAnd(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testNot(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testEqual(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testNotEqual(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testLessThan(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testLessThanEqualTo(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testGreaterThan(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testGreaterThanEqualTo(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testLike(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testLikeIgnoreCase(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testNotLikeIgnoreCase(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testBetween(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testNotBetween(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testParameter(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testDbExpression(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testFloatExpression(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testNullExpression(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testTrueExpression(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testFalseExpression(org.apache.cayenne.exp.ParsedExpQualifierCompatTest)
  testMultipleOrdering(org.apache.cayenne.access.DataContextOrderingTest)
  
testMultipleOrderingInSelectClauseCAY_1074(org.apache.cayenne.access.DataContextOrderingTest)
  testCommit(org.apache.cayenne.access.UserTransactionTest)
  testSerializability(org.apache.cayenne.map.ObjEntityTest)
  testClassName(org.apache.cayenne.map.ObjEntityTest)
  
testTranslateToRelatedEntityIndependentPath(org.apache.cayenne.map.ObjEntityTest)
  testTranslateToRelatedEntityTrimmedPath(org.apache.cayenne.map.ObjEntityTest)
  testTranslateToRelatedEntitySplitHalfWay(org.apache.cayenne.map.ObjEntityTest)
  testTranslateToRelatedEntityMatchingPath(org.apache.cayenne.map.ObjEntityTest)
  testAttributeForDbAttribute(org.apache.cayenne.map.ObjEntityTest)
  testRelationshipForDbRelationship(org.apache.cayenne.map.ObjEntityTest)
  testGetAttributeWithOverrides(org.apache.cayenne.map.ObjEntityTest)
  testGetPrimaryKeys(org.apache.cayenne.map.ObjEntityTest)
  testAttributes(org.apache.cayenne.map.ObjEntityTest)
  testLastPathComponent(org.apache.cayenne.map.ObjEntityTest)
  testGeneric(org.apache.cayenne.map.ObjEntityTest)
  testServerOnly(org.apache.cayenne.map.ObjEntityTest)
  testClientAllowed(org.apache.cayenne.map.ObjEntityTest)
  testGetPrimaryKeyNames(org.apache.cayenne.map.ObjEntityTest)
  testGetClientEntity(org.apache.cayenne.map.ObjEntityTest)
  testDbEntityName(org.apache.cayenne.map.ObjEntityTest)
  testDbEntity(org.apache.cayenne.map.ObjEntityTest)
  testDbEntityNoContainer(org.apache.cayenne.map.ObjEntityTest)
  testSuperClassName(org.apache.cayenne.map.ObjEntityTest)
  testReadOnly(org.apache.cayenne.map.ObjEntityTest)
  
testTranslateToRelatedEntityMultiplePaths(org.apache.cayenne.map.ObjEntityTest)
  testTranslateNullArg(org.apache.cayenne.map.ObjEntityTest)
  testLongPk(org.apache.cayenne.PregeneratedPKTest)
  testUnregisterObject(org.apache.cayenne.access.DataContextObjectTrackingTest)
  
testInvalidateObjects_Vararg(org.apache.cayenne.access.DataContextObjectTrackingTest)
  
testResolveToOneOverFKOfDifferentNumType(org.apache.cayenne.unit.jira.CAY_191Test)
  testDateParameter(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testArithmetics(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testLike1(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testNotLike(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testLike2(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testLikeEscape(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testLikeEscape_LikeParameter(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testLikeNullParameter(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testIn(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testNotIn(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testInSubquery(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testCollectionEmpty(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testCollectionNotEmpty(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testCollectionNotEmptyExplicitDistinct(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testCollectionMemberOfParameter(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testGreaterOrEquals(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  testLessOrEquals(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testCollectionNotMemberOfParameter(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testCollectionMemberOfThetaJoin(org.apache.cayenne.access.DataContextEJBQLConditionsTest)
  
testFetchLimit_DistinctResultIterator(org.apache.cayenne.access.jdbc.SelectActionTest)
  testSerializeCommitted(org.apache.cayenne.DataObjectSerializationTest)
  
testLocalCacheDataRowsRefresh(org.apache.cayenne.access.DataContextQueryCachingTest)
  
testSharedCacheDataRowsRefresh(org.apache.cayenne.access.DataContextQueryCachingTest)
  
testLocalCacheDataObjectsRefresh(org.apache.cayenne.access.DataContextQueryCachingTest)
  
testLocalCacheRefreshObjectsRefresh(org.apache.cayenne.access.DataContextQueryCachingTest)
  
testPeerObjectUpdatedSimpleProperty(org.apache.cayenne.access.NestedDataContextParentPeerEventsTest)
  
testPeerObjectUpdatedToOneRelationship(org.apache.cayenne.access.NestedDataContextParentPeerEventsTest)
  
testPeerObjectUpdatedToManyRelationship(org.apache.cayenne.access.NestedDataContextParentPeerEventsTest)

Tests run: 2022, Failures: 4, Errors: 888, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.976s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.022s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [3.109s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [2.590s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [13.141s]
[INFO] Cayenne Server .................................... FAILURE [59.761s]
[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: 1:21.551s
[INFO] Finished at: Sun Nov 24 09:52:09 UTC 2013
[INFO] Final Memory: 36M/236M
[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 
/home/hudson/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/jdk/JDK
 1.6 (latest)/label/Ubuntu/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 
/home/hudson/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/jdk/JDK
 1.6 (latest)/label/Ubuntu/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: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 
/home/hudson/jenkins-slave/workspace/Cayenne-trunk/cayenneTestConnection/h2/jdk/JDK
 1.6 (latest)/label/Ubuntu/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

Reply via email to