Hi Sameera, No, I built kernel and all patches in a clean repo today as well, but I'm still getting the same test failures.
Thanks, Bhathiya On Mon, Jun 8, 2015 at 9:57 AM, Sameera Jayasoma <same...@wso2.com> wrote: > Hi Bhathiya, > > Did you find a solution to this problem? > > Thanks, > Sameera. > > On Fri, Jun 5, 2015 at 7:31 PM, Bhathiya Jayasekara <bhath...@wso2.com> > wrote: > >> Hi all, >> >> I'm building patch0011 with tests. But tests are failing. >> >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> Running org.wso2.carbon.registry.synchronization.test.UtilitiesTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.051 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.secure.CommentsTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.secure.SecureRegistryTest >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.052 sec >> <<< FAILURE! >> Running >> org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationTrueTest >> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.055 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.CommentsTest >> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.PropertiesTest >> Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.056 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.TransactionsTest >> Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.056 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.SimpleLifecycleTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.TagsTest >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.056 sec >> <<< FAILURE! >> Running >> org.wso2.carbon.registry.core.test.jdbc.SystemRegistryInHandlerTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest >> Tests run: 25, Failures: 0, Errors: 25, Skipped: 0, Time elapsed: 0.07 >> sec <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.PathCacheTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.05 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.RenameTest >> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.055 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest >> Tests run: 26, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 0.074 >> sec <<< FAILURE! >> Running >> org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest >> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.07 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.PathsTest >> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.052 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest >> Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.06 >> sec <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.PaginationTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.051 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.HandlerTest >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.SymlinkTest >> Tests run: 17, Failures: 0, Errors: 17, Skipped: 0, Time elapsed: 0.065 >> sec <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.ResourcesTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.096 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.MoveTest >> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.057 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.QueryTest >> Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.054 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest >> Tests run: 27, Failures: 0, Errors: 27, Skipped: 0, Time elapsed: 0.084 >> sec <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.DumpReaderTest >> total read: 18143 >> total buffered: 6173 >> maximum buffer size: 3406 >> total buffer read size: 6607 >> log4j:WARN No appenders could be found for logger >> (org.apache.axiom.om.impl.MTOMXMLStreamWriter). >> log4j:WARN Please initialize the log4j system properly. >> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.258 sec >> Running org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest >> Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.054 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.DumpTest >> Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.058 >> sec <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.jdbc.CopyTest >> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.multitenant.MultiTenantTest >> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.053 sec >> <<< FAILURE! >> Running org.wso2.carbon.registry.core.test.utils.RegistryUtilsTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.047 sec >> <<< FAILURE! >> >> Results : >> >> Tests in error: >> >> testURLDecomposition(org.wso2.carbon.registry.synchronization.test.UtilitiesTest) >> >> testCommentDelete(org.wso2.carbon.registry.core.test.secure.CommentsTest) >> >> testUserBasedAuthorization(org.wso2.carbon.registry.core.test.secure.SecureRegistryTest) >> >> testRoleBasedAuthorization(org.wso2.carbon.registry.core.test.secure.SecureRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVersioningProperties(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationTrueTest) >> >> testVersioningComments(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationTrueTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVersioningTags(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationTrueTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVersioningRatings(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationTrueTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCommentQueryRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest) >> >> testCommentQueryNonRootRegistry(org.wso2.carbon.registry.core.test.jdbc.CommentsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCommentDelete(org.wso2.carbon.registry.core.test.jdbc.CommentsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRootLevelProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest) >> >> testSingleValuedProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMultiValuedProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testNullValuedProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testNullMultiValuedProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRemovingProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRemovingMultivaluedProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testEditingMultivaluedProperties(org.wso2.carbon.registry.core.test.jdbc.PropertiesTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testSuccessfulSimpleTransaction(org.wso2.carbon.registry.core.test.jdbc.TransactionsTest) >> >> testFailedSimpleTransaction(org.wso2.carbon.registry.core.test.jdbc.TransactionsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testSuccessfulMultiOperationTransaction(org.wso2.carbon.registry.core.test.jdbc.TransactionsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testFailedMultiOperationTransaction(org.wso2.carbon.registry.core.test.jdbc.TransactionsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testNestedSuccessfulMultiOperationTransaction(org.wso2.carbon.registry.core.test.jdbc.TransactionsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testNestedFailedMultiOperationTransaction(org.wso2.carbon.registry.core.test.jdbc.TransactionsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testSimpleLifecycle(org.wso2.carbon.registry.core.test.jdbc.SimpleLifecycleTest) >> testTagging(org.wso2.carbon.registry.core.test.jdbc.TagsTest) >> testMultipleUserTags(org.wso2.carbon.registry.core.test.jdbc.TagsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testNestedRegistryOperations(org.wso2.carbon.registry.core.test.jdbc.SystemRegistryInHandlerTest) >> >> testIllegalCharacters(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest) >> >> testMediaTypesInCaps(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionDetails(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testFlatResourceHandling(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testHierarchicalResourceHandling(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceVersioning(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testPutOnSamePath(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionVersioning(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testValueChange(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testComments(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testRatings(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedResourceQuery(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedRatingsQuery(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedTagsQuery(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedCommentsQuery(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testTagsAsResources(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCommentsAsResources(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRatingsAsResources(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testLogs(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceDelete(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCombinedScenario(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGetMetaData(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceCollectionMix(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLastUpdateWithGet(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLastUpdateWithPut(org.wso2.carbon.registry.core.test.jdbc.JDBCRegistryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testPathCache(org.wso2.carbon.registry.core.test.jdbc.PathCacheTest) >> >> testRootLevelResourceRename(org.wso2.carbon.registry.core.test.jdbc.RenameTest) >> >> testGeneralResourceRename(org.wso2.carbon.registry.core.test.jdbc.RenameTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRootLevelCollectionRename(org.wso2.carbon.registry.core.test.jdbc.RenameTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGeneralCollectionRename(org.wso2.carbon.registry.core.test.jdbc.RenameTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testPrefixManagement(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest) >> >> testIllegalCharacters(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMediaTypesInCaps(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionDetails(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testFlatResourceHandling(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testHierarchicalResourceHandling(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceVersioning(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testPutOnSamePath(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionVersioning(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testValueChange(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testComments(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testRatings(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedResourceQuery(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedRatingsQuery(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedTagsQuery(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedCommentsQuery(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testTagsAsResources(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCommentsAsResources(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRatingsAsResources(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testLogs(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): Could >> not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceDelete(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCombinedScenario(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGetMetaData(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceCollectionMix(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLastUpdateWithGet(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLastUpdateWithPut(org.wso2.carbon.registry.core.test.jdbc.ChrootJDBCTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVersioningProperties(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest) >> >> testVersioningComments(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVersioningTags(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVersioningRatings(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testGetOnPaths(org.wso2.carbon.registry.core.test.jdbc.PathsTest) >> testColon(org.wso2.carbon.registry.core.test.jdbc.PathsTest): Could not >> initialize class org.wso2.carbon.context.CarbonContext >> testPutOnPaths(org.wso2.carbon.registry.core.test.jdbc.PathsTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCreateVersions(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest) >> >> testResourceContentVersioning(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourcePropertyVersioning(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testSimpleCollectionVersioning(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceRestore(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testSimpleCollectionRestore(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testAdvancedCollectionRestore(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testPermalinksForResources(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testPermalinksForCollections(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRootLevelVersioning(org.wso2.carbon.registry.core.test.jdbc.VersionHandlingTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionPagination(org.wso2.carbon.registry.core.test.jdbc.PaginationTest) >> >> testCommitHandlerExecution(org.wso2.carbon.registry.core.test.jdbc.HandlerTest) >> >> testRollbackHandlerExecution(org.wso2.carbon.registry.core.test.jdbc.HandlerTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testSymbolicLinks(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest) >> >> testSymbolicLinksRoots(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCopySourceSymLinkRoot(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCopySourceFromSymlink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCopyTargetToSymLink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCopyBothSymLink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMoveSourceSymLinkRoot(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMoveSourceFromSymlink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMoveTargetToSymLink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMoveBothSymLink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMoveSourceSymLinkRootCollection(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCopyParentWithSymlink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMoveParentWithSymlink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRenameParentWithSymlink(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testSymlinkOrder(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testSymlinkOrder2(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testTransitiveSymLinks(org.wso2.carbon.registry.core.test.jdbc.SymlinkTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceUpdate(org.wso2.carbon.registry.core.test.jdbc.ResourcesTest) >> >> testResourceMoveFromRoot(org.wso2.carbon.registry.core.test.jdbc.MoveTest) >> >> testResourceMoveToRoot(org.wso2.carbon.registry.core.test.jdbc.MoveTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGeneralResourceMove(org.wso2.carbon.registry.core.test.jdbc.MoveTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGeneralCollectionMove(org.wso2.carbon.registry.core.test.jdbc.MoveTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionMoveWithChild(org.wso2.carbon.registry.core.test.jdbc.MoveTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGeneralCacheCollectionMove(org.wso2.carbon.registry.core.test.jdbc.MoveTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGeneralCacheResourceMove(org.wso2.carbon.registry.core.test.jdbc.MoveTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testBackwardCompatibility(org.wso2.carbon.registry.core.test.jdbc.QueryTest) >> testDefaultQuery(org.wso2.carbon.registry.core.test.jdbc.QueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testWithSpecialCharactersQuery(org.wso2.carbon.registry.core.test.jdbc.QueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testWithoutTableParamsQuery(org.wso2.carbon.registry.core.test.jdbc.QueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testWithoutWhereQuery(org.wso2.carbon.registry.core.test.jdbc.QueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testImportResourceFromFile(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest) >> >> testExportResourceToFile(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testIllegalCharacters(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testMediaTypesInCaps(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionDetails(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testFlatResourceHandling(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testHierarchicalResourceHandling(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceVersioning(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testPutOnSamePath(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCollectionVersioning(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testValueChange(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testComments(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRatings(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedResourceQuery(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedRatingsQuery(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedTagsQuery(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testUserDefinedCommentsQuery(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testTagsAsResources(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCommentsAsResources(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRatingsAsResources(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLogs(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceDelete(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCombinedScenario(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGetMetaData(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceCollectionMix(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLastUpdateWithGet(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testLastUpdateWithPut(org.wso2.carbon.registry.core.test.jdbc.ResourceImportExportTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testAssociationsQuery(org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest) >> >> testAssociationsCollectionQuery(org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testQueryAsParameter(org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCustomQueryResultsOrderForComments(org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testCustomQueryResultsOrderForResources(org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testResourceDump(org.wso2.carbon.registry.core.test.jdbc.DumpTest) >> testCollectionDump(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testRootDump(org.wso2.carbon.registry.core.test.jdbc.DumpTest): Could >> not initialize class org.wso2.carbon.context.CarbonContext >> testRootRestore(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testSimpleNewRestore(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testNewRestore(org.wso2.carbon.registry.core.test.jdbc.DumpTest): Could >> not initialize class org.wso2.carbon.context.CarbonContext >> >> testAbsoluteAssociationPath(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testRelativeAssociationPath(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testDumpWithSymLink(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testNewerVersionException(org.wso2.carbon.registry.core.test.jdbc.DumpTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> testResourceCopy(org.wso2.carbon.registry.core.test.jdbc.CopyTest) >> testCollectionCopy(org.wso2.carbon.registry.core.test.jdbc.CopyTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceCopyWithComments(org.wso2.carbon.registry.core.test.jdbc.CopyTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testResourceCopyWithTags(org.wso2.carbon.registry.core.test.jdbc.CopyTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testVirtualRoots(org.wso2.carbon.registry.core.test.multitenant.MultiTenantTest) >> >> testUserStores(org.wso2.carbon.registry.core.test.multitenant.MultiTenantTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testClaims(org.wso2.carbon.registry.core.test.multitenant.MultiTenantTest): >> Could not initialize class org.wso2.carbon.context.CarbonContext >> >> testGetResourceName(org.wso2.carbon.registry.core.test.utils.RegistryUtilsTest) >> >> Tests run: 196, Failures: 0, Errors: 185, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache Axis2 - Transport - JMS .................... SUCCESS >> [1:36.105s] >> [INFO] Apache Axis2 - JSON ............................... SUCCESS >> [15.664s] >> [INFO] axis2.json.wso2 ................................... SUCCESS >> [0.776s] >> [INFO] WSO2 Carbon - Utilities ........................... SUCCESS >> [4.505s] >> [INFO] WSO2 Carbon - Registry Kernel ..................... FAILURE >> [27.452s] >> [INFO] WSO2 Carbon - Kernel .............................. SKIPPED >> [INFO] WSO2 Carbon - UI .................................. SKIPPED >> [INFO] WSO2 Carbon Kernel Kernel Patch 0011 .............. SKIPPED >> [INFO] WSO2 Carbon Kernel Kernel Core Patch 0011 ......... SKIPPED >> [INFO] Distribution-Aggregate ............................ SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 2:25.872s >> [INFO] Finished at: Fri Jun 05 19:38:33 IST 2015 >> [INFO] Final Memory: 102M/972M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (test-set0) on >> project org.wso2.carbon.registry.core: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> /home/bhathiya/Downloads/temp/x/patch0011/core/org.wso2.carbon.registry.core/target/surefire-reports-0 >> for the individual test results. >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [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 :org.wso2.carbon.registry.core >> >> >> >> >> >> Sure-fire reports of the tests mention about a NoClassDefFound error. >> What is the reason for this? Am I doing anything wrong here? >> >> >> testDumpWithSymLink(org.wso2.carbon.registry.core.test.jdbc.DumpTest) >> Time elapsed: 0 sec <<< ERROR! >> java.lang.NoClassDefFoundError: Could not initialize class >> org.wso2.carbon.context.CarbonContext >> at >> org.wso2.carbon.registry.core.test.utils.BaseTestCase.setupCarbonHome(BaseTestCase.java:64) >> at >> org.wso2.carbon.registry.core.test.utils.BaseTestCase.setUp(BaseTestCase.java:36) >> at >> org.wso2.carbon.registry.core.test.jdbc.DumpTest.setUp(DumpTest.java:39) >> at junit.framework.TestCase.runBare(TestCase.java:128) >> at junit.framework.TestResult$1.protect(TestResult.java:106) >> at junit.framework.TestResult.runProtected(TestResult.java:124) >> at junit.framework.TestResult.run(TestResult.java:109) >> at junit.framework.TestCase.run(TestCase.java:120) >> at junit.framework.TestSuite.runTest(TestSuite.java:230) >> at junit.framework.TestSuite.run(TestSuite.java:225) >> 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.junit.JUnitTestSet.execute(JUnitTestSet.java:95) >> at >> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121) >> at >> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98) >> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) >> at >> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) >> at >> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) >> at >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) >> at >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) >> testNewerVersionException(org.wso2.carbon.registry.core.test.jdbc.DumpTest) >> Time elapsed: 0.001 sec <<< ERROR! >> java.lang.NoClassDefFoundError: Could not initialize class >> org.wso2.carbon.context.CarbonContext >> at >> org.wso2.carbon.registry.core.test.utils.BaseTestCase.setupCarbonHome(BaseTestCase.java:64) >> at >> org.wso2.carbon.registry.core.test.utils.BaseTestCase.setUp(BaseTestCase.java:36) >> at >> org.wso2.carbon.registry.core.test.jdbc.DumpTest.setUp(DumpTest.java:39) >> at junit.framework.TestCase.runBare(TestCase.java:128) >> at junit.framework.TestResult$1.protect(TestResult.java:106) >> at junit.framework.TestResult.runProtected(TestResult.java:124) >> at junit.framework.TestResult.run(TestResult.java:109) >> at junit.framework.TestCase.run(TestCase.java:120) >> at junit.framework.TestSuite.runTest(TestSuite.java:230) >> at junit.framework.TestSuite.run(TestSuite.java:225) >> 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.junit.JUnitTestSet.execute(JUnitTestSet.java:95) >> at >> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121) >> at >> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98) >> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) >> at >> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) >> at >> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) >> at >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) >> at >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) >> >> Thanks, >> -- >> *Bhathiya Jayasekara* >> *Senior Software Engineer,* >> *WSO2 inc., http://wso2.com <http://wso2.com>* >> >> *Phone: +94715478185 <%2B94715478185>* >> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >> <http://www.linkedin.com/in/bhathiyaj>* >> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >> *Blog: http://movingaheadblog.blogspot.com >> <http://movingaheadblog.blogspot.com/>* >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sameera Jayasoma, > Software Architect, > > WSO2, Inc. (http://wso2.com) > email: same...@wso2.com > blog: http://blog.sameera.org > twitter: https://twitter.com/sameerajayasoma > flickr: http://www.flickr.com/photos/sameera-jayasoma/collections > Mobile: 0094776364456 > > Lean . Enterprise . Middleware > > -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev