1 Reply Latest reply on Aug 24, 2010 12:18 PM by Anil Saldanha

    PicketLink IDM workspace Compilation

    Anil Saldanha Master

      Bolek.  I am running maven 3.  The IDM workspace does not build clean for me.

       

      ===================


      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] PicketLink IDM- Parent ............................ SUCCESS [3.856s]
      [INFO] PicketLink IDM Common ............................. SUCCESS [4.069s]
      [INFO] PicketLink IDM SPI ................................ SUCCESS [1.810s]
      [INFO] PicketLink IDM API ................................ SUCCESS [1.554s]
      [INFO] PicketLink IDM Implementation ..................... SUCCESS [8.045s]
      [INFO] PicketLink IDM Hibernate .......................... SUCCESS [3.223s]
      [INFO] PicketLink IDM LDAP ............................... SUCCESS [1.974s]
      [INFO] PicketLink IDM Cache .............................. SUCCESS [6.081s]
      [INFO] PicketLink IDM Auth ............................... SUCCESS [1.351s]
      [INFO] PicketLink IDM Testsuite .......................... FAILURE [10.850s]
      [INFO] PicketLink IDM Integration ........................ SKIPPED
      [INFO] PicketLink IDM Integration JBoss5 ................. SKIPPED
      [INFO] PicketLink IDM Integration JBoss5 deployer ........ SKIPPED
      [INFO] User Guide (en-US) ................................ SKIPPED
      [INFO] PicketLink IDM Docs ............................... SKIPPED
      [INFO] PicketLink IDM - Aggregator ....................... SKIPPED

      ===================

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.picketlink.idm.impl.api.SimpleTestCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.582 sec <<< FAILURE!
      Running org.picketlink.idm.impl.api.APITestCase
      Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.382 sec <<< FAILURE!
      Running org.picketlink.idm.impl.store.hibernate.EvilBinaryTestCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.252 sec <<< FAILURE!
      Running org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreTestCase
      Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.443 sec <<< FAILURE!
      Running org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreTestCase
      Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.081 sec <<< FAILURE!
      Running org.picketlink.idm.impl.api.APILDAPTestCase
      Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.061 sec <<< FAILURE!
      Running org.picketlink.idm.impl.store.hibernate.HibernateModelTestCase
      Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.316 sec <<< FAILURE!
      Running org.picketlink.idm.impl.api.OrganizationTestCase
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
      Running org.picketlink.idm.impl.api.OrganizationLDAPTestCase
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.044 sec <<< FAILURE!
      Running org.picketlink.idm.impl.api.ModelTestCase
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
      Running org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase
      Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.393 sec <<< FAILURE!

       

      Results :

       

      Tests in error:
        testPersistenceManager(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testRelationshipManager(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testRelationshipManagerCascade(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testRelationshipManagerMergedRoleAssociations(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testRoleManager(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testUserQuery(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testGroupQuery(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testRoleQuery(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testOrganization(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)
        testSamplePortal(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)

       

      Tests run: 53, Failures: 0, Errors: 52, Skipped: 0

      =============================

       

       

      Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.394 sec <<< FAILURE!
      testPersistenceManager(org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase)  Time elapsed: 0.22 sec  <<< ERROR!
      java.lang.IllegalStateException: Could not obtain Config for {datasourceName:datasources} - {:datasources/datasources.xml}
              at org.jboss.portal.test.framework.embedded.DataSourceSupport$Config.obtainConfig(DataSourceSupport.java:323)
              at org.picketlink.idm.impl.IdentityTestPOJO.start(IdentityTestPOJO.java:81)
              at org.picketlink.idm.impl.api.MinimalFlexibleConfigTestCase.setUp(MinimalFlexibleConfigTestCase.java:56)
              at junit.framework.TestCase.runBare(TestCase.java:125)
              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:118)
              at junit.framework.TestSuite.runTest(TestSuite.java:208)
              at junit.framework.TestSuite.run(TestSuite.java:203)
              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:213)
              at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)