Hi,

Im also getting the same errors when building the user core i took a up
just now and working on revision 174753.

Tests in error:
  testTenantManager(org.wso2.carbon.user.core.tenant.TestTenantManager)

testAddToCache(org.wso2.carbon.user.core.authorization.AuthorizationCacheTest)

testAddCacheHit(org.wso2.carbon.user.core.authorization.AuthorizationCacheTest):
Could not initialize class
org.wso2.carbon.user.core.authorization.AuthorizationCache
  testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest):
nullType class java.lang.reflect.InvocationTargetException
  testStuff(org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest): nullType
class java.lang.reflect.InvocationTargetException
  testStuff(org.wso2.carbon.user.core.jdbc.JDBCRealmTest): nullType class
java.lang.reflect.InvocationTargetException
  testAuthorizationClearence(org.wso2.carbon.user.core.jdbc.JDBCRealmTest):
Could not initialize class
org.wso2.carbon.user.core.authorization.AuthorizationCache
  testStuff(org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest): nullType
class java.lang.reflect.InvocationTargetException
  testStuff(org.wso2.carbon.user.core.jdbc.PermissionTest): nullType class
java.lang.reflect.InvocationTargetException
  testStuff(org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest):
nullType class java.lang.reflect.InvocationTargetException

Regards,
Pulasthi


On Wed, Jun 12, 2013 at 4:20 PM, Shelan Perera <[email protected]> wrote:

> Hi,
>
> I am in the 174710 and updated today as well. But i am still getting the
> errors. Should be a local one to me.
> Will build on a clean repo.
>
> Thanks
>
>
> On Wed, Jun 12, 2013 at 4:10 PM, Chamath Gunawardana <[email protected]>wrote:
>
>> sorry. here its -
>>
>> http://svn.wso2.org/repos/wso2/carbon/kernel/trunk/core/org.wso2.carbon.user.core/src/test/resources
>>
>> Thanks,
>>
>>
>> On Wed, Jun 12, 2013 at 4:01 PM, Shelan Perera <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Is you location correct ? Could you please give me the svn link? It
>>> seems it is not there.
>>>
>>> https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/core/org.wso2.carbon.user.core/
>>>
>>> thanks
>>>
>>>
>>> On Wed, Jun 12, 2013 at 3:50 PM, Chamath Gunawardana 
>>> <[email protected]>wrote:
>>>
>>>> Hi Shelan,
>>>>
>>>> Seems its success for me.
>>>> Is your h2 db in [1] got updated to latest?
>>>>
>>>> [1] -
>>>> carbon/kernel/trunk/core/org.wso2.carbon.user.core/repository/database/WSO2CARBON_DB.h2.db
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> On Wed, Jun 12, 2013 at 3:30 PM, Shelan Perera <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am getting the following when run with tests.
>>>>>
>>>>> -------------------------------------------------------
>>>>>  T E S T S
>>>>> -------------------------------------------------------
>>>>> Running org.wso2.carbon.user.core.claim.AdvancedClaimManagerTest
>>>>> log4j:WARN No appenders could be found for logger
>>>>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.457
>>>>> sec
>>>>> Running org.wso2.carbon.user.core.claim.ClaimDAOTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.753
>>>>> sec
>>>>> Running org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.03
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.authorization.AuthorizationCacheTest
>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.001
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.039
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.905
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.jdbc.JDBCRealmTest
>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.869
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.783
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.jdbc.PermissionTest
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.317
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.jdbc.JDBCConfigurationTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011
>>>>> sec
>>>>> Running org.wso2.carbon.user.core.tenant.TestTenantManager
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.719
>>>>> sec <<< FAILURE!
>>>>> Running org.wso2.carbon.user.core.config.TestRealmConfigBuilder
>>>>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>>>>> Running
>>>>> org.wso2.carbon.user.core.profile.AdvancedProfileConfigManagerTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.809
>>>>> sec
>>>>> Running org.wso2.carbon.user.core.hybrid.AdvancedHybridRoleManagerTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.877
>>>>> sec
>>>>> Running org.wso2.carbon.user.core.hybrid.HybridRoleManagerTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.833
>>>>> sec
>>>>>
>>>>> Results :
>>>>>
>>>>> Tests in error:
>>>>>
>>>>> testStuff(org.wso2.carbon.user.core.authman.AdvancedPermissionTreeTest):
>>>>> nullType class java.lang.reflect.InvocationTargetException
>>>>>
>>>>> testAddToCache(org.wso2.carbon.user.core.authorization.AuthorizationCacheTest)
>>>>>
>>>>> testAddCacheHit(org.wso2.carbon.user.core.authorization.AuthorizationCacheTest):
>>>>> Could not initialize class
>>>>> org.wso2.carbon.user.core.authorization.AuthorizationCache
>>>>>   testStuff(org.wso2.carbon.user.core.jdbc.ReadOnlyJDBCRealmTest):
>>>>> nullType class java.lang.reflect.InvocationTargetException
>>>>>   testStuff(org.wso2.carbon.user.core.jdbc.AdvancedJDBCRealmTest):
>>>>> nullType class java.lang.reflect.InvocationTargetException
>>>>>   testStuff(org.wso2.carbon.user.core.jdbc.JDBCRealmTest): nullType
>>>>> class java.lang.reflect.InvocationTargetException
>>>>>
>>>>> testAuthorizationClearence(org.wso2.carbon.user.core.jdbc.JDBCRealmTest):
>>>>> Could not initialize class
>>>>> org.wso2.carbon.user.core.authorization.AuthorizationCache
>>>>>
>>>>> testStuff(org.wso2.carbon.user.core.jdbc.AdvancedReadOnlyJDBCRealmTest):
>>>>> nullType class java.lang.reflect.InvocationTargetException
>>>>>   testStuff(org.wso2.carbon.user.core.jdbc.PermissionTest): nullType
>>>>> class java.lang.reflect.InvocationTargetException
>>>>>   testTenantManager(org.wso2.carbon.user.core.tenant.TestTenantManager)
>>>>>
>>>>>  Tests run: 16, Failures: 0, Errors: 10, Skipped: 0
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 19.647s
>>>>> [INFO] Finished at: Wed Jun 12 15:28:55 IST 2013
>>>>> [INFO] Final Memory: 32M/619M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
>>>>> project org.wso2.carbon.user.core: There are test failures.
>>>>> [ERROR]
>>>>> [ERROR] Please refer to
>>>>> /home/shelan/wso2/trunk/carbon/kernel/trunk/core/org.wso2.carbon.user.core/target/surefire-reports
>>>>> 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
>>>>>
>>>>>
>>>>> --
>>>>> *Shelan Perera*
>>>>>
>>>>> Senior Software Engineer
>>>>> **
>>>>> Integration Technology Group
>>>>> *WSO2, Inc. : wso2.com*
>>>>> lean.enterprise.middleware.
>>>>>
>>>>> *Blog*             :   blog.shelan.org
>>>>> *Linked-i*n      :
>>>>> http://www.linkedin.com/pub/shelan-perera/a/194/465
>>>>> *Twitter*         :    https://twitter.com/#!/shelan
>>>>>
>>>>> *Mobile*          : +94 772 604 402
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Chamath Gunawardana
>>>> Technical Lead; WSO2 Inc.
>>>> Mobile : +94776322240
>>>>
>>>
>>>
>>>
>>> --
>>> *Shelan Perera*
>>>
>>> Senior Software Engineer
>>> **
>>> Integration Technology Group
>>> *WSO2, Inc. : wso2.com*
>>> lean.enterprise.middleware.
>>>
>>> *Blog*             :   blog.shelan.org
>>> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
>>> *Twitter*         :    https://twitter.com/#!/shelan
>>>
>>> *Mobile*          : +94 772 604 402
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> Chamath Gunawardana
>> Technical Lead; WSO2 Inc.
>> Mobile : +94776322240
>>
>
>
>
> --
> *Shelan Perera*
>
> Senior Software Engineer
> **
> Integration Technology Group
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Blog*             :   blog.shelan.org
> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter*         :    https://twitter.com/#!/shelan
>
> *Mobile*          : +94 772 604 402
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: [email protected]
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to