You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Alex Karasulu <ak...@apache.org> on 2010/12/07 19:09:56 UTC

[ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

-------------------------------------------------------------------------------
Test set: org.apache.directory.server.core.integ.TestSuiteServer
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.313 sec
<<< FAILURE!
org.apache.directory.server.core.integ.TestSuiteServer  Time elapsed: 0 sec
 <<< ERROR!
org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
        at
org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
        at
org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
        at
org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
        at
org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
        at
org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
        at
org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
        at
org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
        at
org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
        at
org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
        at
org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
        at
org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
        at
org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
        at
org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
        at
org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
        at
org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
        at
org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
        at
org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
        at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
        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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Here's my reactor summary:

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Directory Project .......................... SUCCESS [0.630s]
[INFO] Apache Directory Checkstyle Configuration ......... SUCCESS [0.753s]
[INFO] Apache Directory JUnit Add-ons .................... SUCCESS [0.855s]
[INFO] Apache Directory Shared ........................... SUCCESS [0.049s]
[INFO] Apache Directory Shared I18n ...................... SUCCESS [0.898s]
[INFO] Apache Directory Shared LDAP ...................... SUCCESS [19.348s]
[INFO] Apache Directory Shared JNDI ...................... SUCCESS [0.886s]
[INFO] Apache Directory Shared LDAP Schema ............... SUCCESS [16.202s]
[INFO] Apache Directory Shared All ....................... SUCCESS [1.830s]
[INFO] Apache Directory LDAP Client API .................. SUCCESS [1.391s]
[INFO] Apache Directory Shared DSML Parser ............... SUCCESS [3.880s]
[INFO] Apache Directory Shared DSML Engine ............... SUCCESS [0.969s]
[INFO] ApacheDS .......................................... SUCCESS [0.044s]
[INFO] ApacheDS I18n ..................................... SUCCESS [0.718s]
[INFO] ApacheDS Core Constants ........................... SUCCESS [0.688s]
[INFO] ApacheDS Core API ................................. SUCCESS [7.661s]
[INFO] ApacheDS Core ..................................... SUCCESS [11.543s]
[INFO] ApacheDS Core AVL ................................. SUCCESS [5.387s]
[INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [9.143s]
[INFO] ApacheDS LDIF Partition ........................... SUCCESS [4.475s]
[INFO] ApacheDS JDBM implementation ...................... SUCCESS [12.115s]
[INFO] ApacheDS JDBM Partition ........................... SUCCESS [16.708s]
[INFO] ApacheDS Core Annotations ......................... SUCCESS [8.778s]
[INFO] ApacheDS Core JNDI ................................ SUCCESS [2.440s]
[INFO] ApacheDS Protocol Shared .......................... SUCCESS [1.636s]
[INFO] ApacheDS Protocol Kerberos Shared ................. SUCCESS [6.580s]
[INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [1.772s]
[INFO] ApacheDS Protocol Change Password ................. SUCCESS [3.373s]
[INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [1.843s]
[INFO] ApacheDS Protocol Dns ............................. SUCCESS [4.121s]
[INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [4.239s]
[INFO] ApacheDS Protocol Ldap ............................ SUCCESS [3.525s]
[INFO] ApacheDS Protocol Ntp ............................. SUCCESS [2.241s]
[INFO] Apacheds Server Annotations ....................... SUCCESS [9.812s]
[INFO] ApacheDS Server Config ............................ SUCCESS [6.629s]
[INFO] ApacheDS Server JNDI .............................. SUCCESS [2.463s]
[INFO] ApacheDS Server Replication Service ............... SUCCESS [0.921s]
[INFO] ApacheDS Test Framework ........................... FAILURE [20.672s]
[INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
[INFO] ApacheDS All ...................................... SKIPPED
[INFO] ApacheDS Core Integration ......................... SKIPPED
[INFO] ApacheDS Server Integration ....................... SKIPPED
[INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
[INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
[INFO] ApacheDS Service Builder .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
[INFO] Apache Directory LDAP Client API test ............. SKIPPED
[INFO] ApacheDS Service .................................. SKIPPED
[INFO] ApacheDS Wrapper .................................. SKIPPED
[INFO] ApacheDS Manuals .................................. SKIPPED
[INFO] ApacheDS 1.5 Build With Dependencies .............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:18.305s
[INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
[INFO] Final Memory: 142M/2061M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on
project apacheds-test-framework: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :apacheds-test-framework

-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org
To set up a meeting with me: http://tungle.me/AlexKarasulu

Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Emmanuel Lécharny <el...@apache.org>.
On 12/9/10 1:56 PM, Alex Karasulu wrote:
> On Thu, Dec 9, 2010 at 1:57 PM, Emmanuel Lecharny<el...@gmail.com>wrote:
>
>> I svn up atoine's branch this morning, and run integration tests on it :
>> BUILD SUCCESSFUL.
>
> It's failing for me in the same manner after an svn up again just to be safe
> at revision 1043945. I also have 4 cores on this machine and it's a way fast
> new core i7 box. I cannot seem to reproduce the error in eclipse but only on
> the command line. I'm thinking it might be timing dependent.
Yeah, it seems we still have some issues related to parallel tests being 
run. Will be tough to fix :/

I also noticed that on Mac, the build sometimes fail in server-integ. 
Stefan fixed some errors 2 weeks ago, but I'm afraid that was not enough :/

At this point, we can fish for bugs randomly, but I do think we need a 
serious server test with concurrent clients pounding the server.

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Alex Karasulu <ak...@apache.org>.
On Thu, Dec 9, 2010 at 1:57 PM, Emmanuel Lecharny <el...@gmail.com>wrote:

> I svn up atoine's branch this morning, and run integration tests on it :
> BUILD SUCCESSFUL.


It's failing for me in the same manner after an svn up again just to be safe
at revision 1043945. I also have 4 cores on this machine and it's a way fast
new core i7 box. I cannot seem to reproduce the error in eclipse but only on
the command line. I'm thinking it might be timing dependent.

Apache Maven 3.0.1 (r1038046; 2010-11-23 12:58:32+0200)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.35-24-generic" arch: "amd64" Family: "unix"

This was also happening on trunk before the merge on the same machine. Not a
problem at all on mac. I will have to fish around with it but I have little
to no time.

This is not an antoine branch change specific test failure since it's
happening across branches. I looked at Antoine's code and it looks good to
go. Nice job Antoine. I'd go ahead and merge it back when others are ready
to take a look.

-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org
To set up a meeting with me: http://tungle.me/AlexKarasulu

Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Antoine Levy-Lambert <an...@gmx.de>.
On 12/9/2010 12:52 PM, Emmanuel Lecharny wrote:
> On 12/9/10 6:46 PM, Antoine Levy-Lambert wrote:
>> Thanks Emmanuel and Alex and Pierre-Arnaud and Kiran !
>
> I have a small issue with the Set<Authenticator>. Does it have to be a 
> TreeSet ? I don't think so. 
I am very ignorant concerning collection/set classes. Change this the 
way which makes sense.
> An Hashset should be just fine (otherwise, you either need to have the 
> Authenticator implement Comparable, _or_ trick the JVM by first 
> creating a HashSet and inject it into the TreeSet.
>
> I'd rather use an HashSet here - all in all, it's not like we will 
> ever have 10K authenticators, are we ? -
Fine. We are not going to have 10 k authenticators.
Regards,
Antoine
>
>


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 12/9/10 6:46 PM, Antoine Levy-Lambert wrote:
> Thanks Emmanuel and Alex and Pierre-Arnaud and Kiran !

I have a small issue with the Set<Authenticator>. Does it have to be a 
TreeSet ? I don't think so. An Hashset should be just fine (otherwise, 
you either need to have the Authenticator implement Comparable, _or_ 
trick the JVM by first creating a HashSet and inject it into the TreeSet.

I'd rather use an HashSet here - all in all, it's not like we will ever 
have 10K authenticators, are we ? -


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Thanks Emmanuel and Alex and Pierre-Arnaud and Kiran !

Antoine

On 12/9/2010 12:23 PM, Emmanuel Lecharny wrote:
> On 12/9/10 4:20 PM, Antoine Levy-Lambert wrote:
>> Thanks to you all for testing my work.
>
> I have reviewed your code, adding some few tweaks here and there 
> (formating, adding missing ASF headers), nothing serious.
>
> Waiting for tests to complete before I commit my changes. Then we will 
> be able to merge back into trunk.
>
> Thanks Antoine !
>
>


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 12/9/10 4:20 PM, Antoine Levy-Lambert wrote:
> Thanks to you all for testing my work.

I have reviewed your code, adding some few tweaks here and there 
(formating, adding missing ASF headers), nothing serious.

Waiting for tests to complete before I commit my changes. Then we will 
be able to merge back into trunk.

Thanks Antoine !


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Antoine Levy-Lambert <an...@gmx.de>.
On 12/9/2010 10:29 AM, Alex Karasulu wrote:
> Yeah sorry this hick up delayed things - it has nothing to do with 
> your code looks good.
This happens. In Ant there are also some platform specific, timing 
related test failures.
>
> Y'all want me to merge it or you want the honors Antoine?
I am fine if you or Emmanuel does the merge. To do the merge, one must 
look into the changes that Pierre-Arnaud did and add the proper 
annotations to make the authenticators consistent with the rest of the 
new CDIT framework. And also remove operational attributes from the new 
LDIF files which I created. Today I have a cold and my day job has given 
me an essay to write about builds ...

Regards,

Antoine
>
> Regards,
>
> On Thu, Dec 9, 2010 at 5:20 PM, Antoine Levy-Lambert <antoine@gmx.de 
> <ma...@gmx.de>> wrote:
>
>     Thanks to you all for testing my work.
>     Regards,
>     Antoine
>
>
>     On 12/9/2010 8:39 AM, Alex Karasulu wrote:
>>     Yeah this has got to be a concurrency issue or something related
>>     to my platform. I hate these kinds of bugs.
>>
>>     Thanks,
>>     Alex
>>
>>     On Thu, Dec 9, 2010 at 3:11 PM, Pierre-Arnaud Marcelot
>>     <pa@marcelot.net <ma...@marcelot.net>> wrote:
>>
>>         Same thing here:
>>         > [INFO]
>>         ------------------------------------------------------------------------
>>         > [INFO] BUILD SUCCESSFUL
>>         > [INFO]
>>         ------------------------------------------------------------------------
>>         > [INFO] Total time: 14 minutes 29 seconds
>>         > [INFO] Finished at: Thu Dec 09 14:09:20 CET 2010
>>         > [INFO] Final Memory: 135M/252M
>>         > [INFO]
>>         ------------------------------------------------------------------------
>>
>>
>>         Regards,
>>         Pierre-Arnaud
>>
>>         On 9 déc. 2010, at 12:57, Emmanuel Lecharny wrote:
>>
>>         > I svn up atoine's branch this morning, and run integration
>>         tests on it : BUILD SUCCESSFUL.
>>         >
>>         > On 12/7/10 7:09 PM, Alex Karasulu wrote:
>>         >>
>>         -------------------------------------------------------------------------------
>>         >> Test set:
>>         org.apache.directory.server.core.integ.TestSuiteServer
>>         >>
>>         -------------------------------------------------------------------------------
>>         >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
>>         elapsed: 2.313 sec
>>         >> <<<  FAILURE!
>>         >> org.apache.directory.server.core.integ.TestSuiteServer
>>          Time elapsed: 0 sec
>>         >> <<<  ERROR!
>>         >>
>>         org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
>>         >> ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
>>         >>         at
>>         >>
>>         org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
>>         >>         at
>>         >>
>>         org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>         >>         at
>>         >>
>>         org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>>         >>         at
>>         >>
>>         org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>>         >>         at
>>         org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>>         >>         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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>>         >>         at
>>         >>
>>         org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>>         >>
>>         >> Here's my reactor summary:
>>         >>
>>         >> [INFO]
>>         >>
>>         ------------------------------------------------------------------------
>>         >> [INFO] Reactor Summary:
>>         >> [INFO]
>>         >> [INFO] Apache Directory Project ..........................
>>         SUCCESS [0.630s]
>>         >> [INFO] Apache Directory Checkstyle Configuration .........
>>         SUCCESS [0.753s]
>>         >> [INFO] Apache Directory JUnit Add-ons ....................
>>         SUCCESS [0.855s]
>>         >> [INFO] Apache Directory Shared ...........................
>>         SUCCESS [0.049s]
>>         >> [INFO] Apache Directory Shared I18n ......................
>>         SUCCESS [0.898s]
>>         >> [INFO] Apache Directory Shared LDAP ......................
>>         SUCCESS [19.348s]
>>         >> [INFO] Apache Directory Shared JNDI ......................
>>         SUCCESS [0.886s]
>>         >> [INFO] Apache Directory Shared LDAP Schema ...............
>>         SUCCESS [16.202s]
>>         >> [INFO] Apache Directory Shared All .......................
>>         SUCCESS [1.830s]
>>         >> [INFO] Apache Directory LDAP Client API ..................
>>         SUCCESS [1.391s]
>>         >> [INFO] Apache Directory Shared DSML Parser ...............
>>         SUCCESS [3.880s]
>>         >> [INFO] Apache Directory Shared DSML Engine ...............
>>         SUCCESS [0.969s]
>>         >> [INFO] ApacheDS ..........................................
>>         SUCCESS [0.044s]
>>         >> [INFO] ApacheDS I18n .....................................
>>         SUCCESS [0.718s]
>>         >> [INFO] ApacheDS Core Constants ...........................
>>         SUCCESS [0.688s]
>>         >> [INFO] ApacheDS Core API .................................
>>         SUCCESS [7.661s]
>>         >> [INFO] ApacheDS Core .....................................
>>         SUCCESS [11.543s]
>>         >> [INFO] ApacheDS Core AVL .................................
>>         SUCCESS [5.387s]
>>         >> [INFO] ApacheDS Generalized (X) DBM Partition ............
>>         SUCCESS [9.143s]
>>         >> [INFO] ApacheDS LDIF Partition ...........................
>>         SUCCESS [4.475s]
>>         >> [INFO] ApacheDS JDBM implementation ......................
>>         SUCCESS [12.115s]
>>         >> [INFO] ApacheDS JDBM Partition ...........................
>>         SUCCESS [16.708s]
>>         >> [INFO] ApacheDS Core Annotations .........................
>>         SUCCESS [8.778s]
>>         >> [INFO] ApacheDS Core JNDI ................................
>>         SUCCESS [2.440s]
>>         >> [INFO] ApacheDS Protocol Shared ..........................
>>         SUCCESS [1.636s]
>>         >> [INFO] ApacheDS Protocol Kerberos Shared .................
>>         SUCCESS [6.580s]
>>         >> [INFO] ApacheDS Interceptors for Kerberos ................
>>         SUCCESS [1.772s]
>>         >> [INFO] ApacheDS Protocol Change Password .................
>>         SUCCESS [3.373s]
>>         >> [INFO] ApacheDS Protocol Dhcp ............................
>>         SUCCESS [1.843s]
>>         >> [INFO] ApacheDS Protocol Dns .............................
>>         SUCCESS [4.121s]
>>         >> [INFO] ApacheDS Protocol Kerberos ........................
>>         SUCCESS [4.239s]
>>         >> [INFO] ApacheDS Protocol Ldap ............................
>>         SUCCESS [3.525s]
>>         >> [INFO] ApacheDS Protocol Ntp .............................
>>         SUCCESS [2.241s]
>>         >> [INFO] Apacheds Server Annotations .......................
>>         SUCCESS [9.812s]
>>         >> [INFO] ApacheDS Server Config ............................
>>         SUCCESS [6.629s]
>>         >> [INFO] ApacheDS Server JNDI ..............................
>>         SUCCESS [2.463s]
>>         >> [INFO] ApacheDS Server Replication Service ...............
>>         SUCCESS [0.921s]
>>         >> [INFO] ApacheDS Test Framework ...........................
>>         FAILURE [20.672s]
>>         >> [INFO] ApacheDS Generalized (X) DBM Tools ................
>>         SKIPPED
>>         >> [INFO] ApacheDS All ......................................
>>         SKIPPED
>>         >> [INFO] ApacheDS Core Integration .........................
>>         SKIPPED
>>         >> [INFO] ApacheDS Server Integration .......................
>>         SKIPPED
>>         >> [INFO] ApacheDS DirectoryService-WebApp bridge ...........
>>         SKIPPED
>>         >> [INFO] ApacheDS Jetty HTTP Server Integration ............
>>         SKIPPED
>>         >> [INFO] ApacheDS Service Builder ..........................
>>         SKIPPED
>>         >> [INFO] ApacheDS Protocol Kerberos Test ...................
>>         SKIPPED
>>         >> [INFO] Apache Directory LDAP Client API test .............
>>         SKIPPED
>>         >> [INFO] ApacheDS Service ..................................
>>         SKIPPED
>>         >> [INFO] ApacheDS Wrapper ..................................
>>         SKIPPED
>>         >> [INFO] ApacheDS Manuals ..................................
>>         SKIPPED
>>         >> [INFO] ApacheDS 1.5 Build With Dependencies ..............
>>         SKIPPED
>>         >> [INFO]
>>         >>
>>         ------------------------------------------------------------------------
>>         >> [INFO] BUILD FAILURE
>>         >> [INFO]
>>         >>
>>         ------------------------------------------------------------------------
>>         >> [INFO] Total time: 3:18.305s
>>         >> [INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
>>         >> [INFO] Final Memory: 142M/2061M
>>         >> [INFO]
>>         >>
>>         ------------------------------------------------------------------------
>>         >> [ERROR] Failed to execute goal
>>         >> org.apache.maven.plugins:maven-surefire-plugin:2.6:test
>>         (default-test) on
>>         >> project apacheds-test-framework: There are test failures.
>>         >> [ERROR]
>>         >> [ERROR] Please refer to
>>         >>
>>         /home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
>>         >> [ERROR]
>>         >> [ERROR] After correcting the problems, you can resume the
>>         build with the
>>         >> command
>>         >> [ERROR]   mvn<goals>  -rf :apacheds-test-framework
>>         >>
>>         >
>>         >
>>         > --
>>         > Regards,
>>         > Cordialement,
>>         > Emmanuel Lécharny
>>         > www.iktek.com <http://www.iktek.com>
>>         >
>>
>>
>>
>>
>>     -- 
>>     Alex Karasulu
>>     My Blog :: http://www.jroller.com/akarasulu/
>>     Apache Directory Server :: http://directory.apache.org
>>     Apache MINA :: http://mina.apache.org
>>     To set up a meeting with me: http://tungle.me/AlexKarasulu
>
>
>
>
> -- 
> Alex Karasulu
> My Blog :: http://www.jroller.com/akarasulu/
> Apache Directory Server :: http://directory.apache.org
> Apache MINA :: http://mina.apache.org
> To set up a meeting with me: http://tungle.me/AlexKarasulu


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Alex Karasulu <ak...@apache.org>.
Yeah sorry this hick up delayed things - it has nothing to do with your code
looks good.

Y'all want me to merge it or you want the honors Antoine?

Regards,

On Thu, Dec 9, 2010 at 5:20 PM, Antoine Levy-Lambert <an...@gmx.de> wrote:

>  Thanks to you all for testing my work.
> Regards,
> Antoine
>
>
> On 12/9/2010 8:39 AM, Alex Karasulu wrote:
>
> Yeah this has got to be a concurrency issue or something related to my
> platform. I hate these kinds of bugs.
>
>  Thanks,
> Alex
>
> On Thu, Dec 9, 2010 at 3:11 PM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:
>
>> Same thing here:
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESSFUL
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 14 minutes 29 seconds
>> > [INFO] Finished at: Thu Dec 09 14:09:20 CET 2010
>> > [INFO] Final Memory: 135M/252M
>> > [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> Regards,
>> Pierre-Arnaud
>>
>> On 9 déc. 2010, at 12:57, Emmanuel Lecharny wrote:
>>
>> > I svn up atoine's branch this morning, and run integration tests on it :
>> BUILD SUCCESSFUL.
>> >
>> > On 12/7/10 7:09 PM, Alex Karasulu wrote:
>> >>
>> -------------------------------------------------------------------------------
>> >> Test set: org.apache.directory.server.core.integ.TestSuiteServer
>> >>
>> -------------------------------------------------------------------------------
>> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.313
>> sec
>> >> <<<  FAILURE!
>> >> org.apache.directory.server.core.integ.TestSuiteServer  Time elapsed: 0
>> sec
>> >>  <<<  ERROR!
>> >>
>> org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
>> >> ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
>> >>         at
>> >>
>> org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>> >>         at
>> >>
>> org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>> >>         at
>> >>
>> org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>> >>         at
>> >>
>> org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>> >>         at
>> >>
>> org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>> >>         at
>> >>
>> org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
>> >>         at
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
>> >>         at
>> >>
>> org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
>> >>         at
>> >>
>> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
>> >>         at
>> >>
>> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
>> >>         at
>> >>
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
>> >>         at
>> >>
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
>> >>         at
>> >>
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
>> >>         at
>> >>
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
>> >>         at
>> >>
>> org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
>> >>         at
>> >>
>> org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
>> >>         at
>> >>
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>> >>         at
>> >>
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>> >>         at
>> >>
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>> >>         at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>> >>         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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>> >>         at
>> >>
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>> >>
>> >> Here's my reactor summary:
>> >>
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Reactor Summary:
>> >> [INFO]
>> >> [INFO] Apache Directory Project .......................... SUCCESS
>> [0.630s]
>> >> [INFO] Apache Directory Checkstyle Configuration ......... SUCCESS
>> [0.753s]
>> >> [INFO] Apache Directory JUnit Add-ons .................... SUCCESS
>> [0.855s]
>> >> [INFO] Apache Directory Shared ........................... SUCCESS
>> [0.049s]
>> >> [INFO] Apache Directory Shared I18n ...................... SUCCESS
>> [0.898s]
>> >> [INFO] Apache Directory Shared LDAP ...................... SUCCESS
>> [19.348s]
>> >> [INFO] Apache Directory Shared JNDI ...................... SUCCESS
>> [0.886s]
>> >> [INFO] Apache Directory Shared LDAP Schema ............... SUCCESS
>> [16.202s]
>> >> [INFO] Apache Directory Shared All ....................... SUCCESS
>> [1.830s]
>> >> [INFO] Apache Directory LDAP Client API .................. SUCCESS
>> [1.391s]
>> >> [INFO] Apache Directory Shared DSML Parser ............... SUCCESS
>> [3.880s]
>> >> [INFO] Apache Directory Shared DSML Engine ............... SUCCESS
>> [0.969s]
>> >> [INFO] ApacheDS .......................................... SUCCESS
>> [0.044s]
>> >> [INFO] ApacheDS I18n ..................................... SUCCESS
>> [0.718s]
>> >> [INFO] ApacheDS Core Constants ........................... SUCCESS
>> [0.688s]
>> >> [INFO] ApacheDS Core API ................................. SUCCESS
>> [7.661s]
>> >> [INFO] ApacheDS Core ..................................... SUCCESS
>> [11.543s]
>> >> [INFO] ApacheDS Core AVL ................................. SUCCESS
>> [5.387s]
>> >> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS
>> [9.143s]
>> >> [INFO] ApacheDS LDIF Partition ........................... SUCCESS
>> [4.475s]
>> >> [INFO] ApacheDS JDBM implementation ...................... SUCCESS
>> [12.115s]
>> >> [INFO] ApacheDS JDBM Partition ........................... SUCCESS
>> [16.708s]
>> >> [INFO] ApacheDS Core Annotations ......................... SUCCESS
>> [8.778s]
>> >> [INFO] ApacheDS Core JNDI ................................ SUCCESS
>> [2.440s]
>> >> [INFO] ApacheDS Protocol Shared .......................... SUCCESS
>> [1.636s]
>> >> [INFO] ApacheDS Protocol Kerberos Shared ................. SUCCESS
>> [6.580s]
>> >> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS
>> [1.772s]
>> >> [INFO] ApacheDS Protocol Change Password ................. SUCCESS
>> [3.373s]
>> >> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS
>> [1.843s]
>> >> [INFO] ApacheDS Protocol Dns ............................. SUCCESS
>> [4.121s]
>> >> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS
>> [4.239s]
>> >> [INFO] ApacheDS Protocol Ldap ............................ SUCCESS
>> [3.525s]
>> >> [INFO] ApacheDS Protocol Ntp ............................. SUCCESS
>> [2.241s]
>> >> [INFO] Apacheds Server Annotations ....................... SUCCESS
>> [9.812s]
>> >> [INFO] ApacheDS Server Config ............................ SUCCESS
>> [6.629s]
>> >> [INFO] ApacheDS Server JNDI .............................. SUCCESS
>> [2.463s]
>> >> [INFO] ApacheDS Server Replication Service ............... SUCCESS
>> [0.921s]
>> >> [INFO] ApacheDS Test Framework ........................... FAILURE
>> [20.672s]
>> >> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>> >> [INFO] ApacheDS All ...................................... SKIPPED
>> >> [INFO] ApacheDS Core Integration ......................... SKIPPED
>> >> [INFO] ApacheDS Server Integration ....................... SKIPPED
>> >> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>> >> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>> >> [INFO] ApacheDS Service Builder .......................... SKIPPED
>> >> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>> >> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>> >> [INFO] ApacheDS Service .................................. SKIPPED
>> >> [INFO] ApacheDS Wrapper .................................. SKIPPED
>> >> [INFO] ApacheDS Manuals .................................. SKIPPED
>> >> [INFO] ApacheDS 1.5 Build With Dependencies .............. SKIPPED
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] BUILD FAILURE
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Total time: 3:18.305s
>> >> [INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
>> >> [INFO] Final Memory: 142M/2061M
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] Failed to execute goal
>> >> org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test)
>> on
>> >> project apacheds-test-framework: There are test failures.
>> >> [ERROR]
>> >> [ERROR] Please refer to
>> >>
>> /home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
>> >> [ERROR]
>> >> [ERROR] After correcting the problems, you can resume the build with
>> the
>> >> command
>> >> [ERROR]   mvn<goals>  -rf :apacheds-test-framework
>> >>
>> >
>> >
>> > --
>> > Regards,
>> > Cordialement,
>> > Emmanuel Lécharny
>> > www.iktek.com
>> >
>>
>>
>
>
> --
> Alex Karasulu
> My Blog :: http://www.jroller.com/akarasulu/
> Apache Directory Server :: http://directory.apache.org
> Apache MINA :: http://mina.apache.org
> To set up a meeting with me: http://tungle.me/AlexKarasulu
>
>
>


-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org
To set up a meeting with me: http://tungle.me/AlexKarasulu

Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Thanks to you all for testing my work.
Regards,
Antoine

On 12/9/2010 8:39 AM, Alex Karasulu wrote:
> Yeah this has got to be a concurrency issue or something related to my 
> platform. I hate these kinds of bugs.
>
> Thanks,
> Alex
>
> On Thu, Dec 9, 2010 at 3:11 PM, Pierre-Arnaud Marcelot 
> <pa@marcelot.net <ma...@marcelot.net>> wrote:
>
>     Same thing here:
>     > [INFO]
>     ------------------------------------------------------------------------
>     > [INFO] BUILD SUCCESSFUL
>     > [INFO]
>     ------------------------------------------------------------------------
>     > [INFO] Total time: 14 minutes 29 seconds
>     > [INFO] Finished at: Thu Dec 09 14:09:20 CET 2010
>     > [INFO] Final Memory: 135M/252M
>     > [INFO]
>     ------------------------------------------------------------------------
>
>
>     Regards,
>     Pierre-Arnaud
>
>     On 9 déc. 2010, at 12:57, Emmanuel Lecharny wrote:
>
>     > I svn up atoine's branch this morning, and run integration tests
>     on it : BUILD SUCCESSFUL.
>     >
>     > On 12/7/10 7:09 PM, Alex Karasulu wrote:
>     >>
>     -------------------------------------------------------------------------------
>     >> Test set: org.apache.directory.server.core.integ.TestSuiteServer
>     >>
>     -------------------------------------------------------------------------------
>     >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
>     2.313 sec
>     >> <<<  FAILURE!
>     >> org.apache.directory.server.core.integ.TestSuiteServer  Time
>     elapsed: 0 sec
>     >> <<<  ERROR!
>     >>
>     org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
>     >> ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
>     >>         at
>     >>
>     org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>     >>         at
>     >>
>     org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>     >>         at
>     >>
>     org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>     >>         at
>     >>
>     org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>     >>         at
>     >>
>     org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>     >>         at
>     >>
>     org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
>     >>         at
>     >>
>     org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
>     >>         at
>     >>
>     org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
>     >>         at
>     >>
>     org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
>     >>         at
>     >>
>     org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
>     >>         at
>     >>
>     org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
>     >>         at
>     >>
>     org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
>     >>         at
>     >>
>     org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
>     >>         at
>     >>
>     org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
>     >>         at
>     >>
>     org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
>     >>         at
>     >>
>     org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
>     >>         at
>     >>
>     org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>     >>         at
>     >>
>     org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>     >>         at
>     >>
>     org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>     >>         at
>     org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>     >>         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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>     >>         at
>     >>
>     org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>     >>
>     >> Here's my reactor summary:
>     >>
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [INFO] Reactor Summary:
>     >> [INFO]
>     >> [INFO] Apache Directory Project ..........................
>     SUCCESS [0.630s]
>     >> [INFO] Apache Directory Checkstyle Configuration .........
>     SUCCESS [0.753s]
>     >> [INFO] Apache Directory JUnit Add-ons ....................
>     SUCCESS [0.855s]
>     >> [INFO] Apache Directory Shared ...........................
>     SUCCESS [0.049s]
>     >> [INFO] Apache Directory Shared I18n ......................
>     SUCCESS [0.898s]
>     >> [INFO] Apache Directory Shared LDAP ......................
>     SUCCESS [19.348s]
>     >> [INFO] Apache Directory Shared JNDI ......................
>     SUCCESS [0.886s]
>     >> [INFO] Apache Directory Shared LDAP Schema ...............
>     SUCCESS [16.202s]
>     >> [INFO] Apache Directory Shared All .......................
>     SUCCESS [1.830s]
>     >> [INFO] Apache Directory LDAP Client API ..................
>     SUCCESS [1.391s]
>     >> [INFO] Apache Directory Shared DSML Parser ...............
>     SUCCESS [3.880s]
>     >> [INFO] Apache Directory Shared DSML Engine ...............
>     SUCCESS [0.969s]
>     >> [INFO] ApacheDS ..........................................
>     SUCCESS [0.044s]
>     >> [INFO] ApacheDS I18n .....................................
>     SUCCESS [0.718s]
>     >> [INFO] ApacheDS Core Constants ...........................
>     SUCCESS [0.688s]
>     >> [INFO] ApacheDS Core API .................................
>     SUCCESS [7.661s]
>     >> [INFO] ApacheDS Core .....................................
>     SUCCESS [11.543s]
>     >> [INFO] ApacheDS Core AVL .................................
>     SUCCESS [5.387s]
>     >> [INFO] ApacheDS Generalized (X) DBM Partition ............
>     SUCCESS [9.143s]
>     >> [INFO] ApacheDS LDIF Partition ...........................
>     SUCCESS [4.475s]
>     >> [INFO] ApacheDS JDBM implementation ......................
>     SUCCESS [12.115s]
>     >> [INFO] ApacheDS JDBM Partition ...........................
>     SUCCESS [16.708s]
>     >> [INFO] ApacheDS Core Annotations .........................
>     SUCCESS [8.778s]
>     >> [INFO] ApacheDS Core JNDI ................................
>     SUCCESS [2.440s]
>     >> [INFO] ApacheDS Protocol Shared ..........................
>     SUCCESS [1.636s]
>     >> [INFO] ApacheDS Protocol Kerberos Shared .................
>     SUCCESS [6.580s]
>     >> [INFO] ApacheDS Interceptors for Kerberos ................
>     SUCCESS [1.772s]
>     >> [INFO] ApacheDS Protocol Change Password .................
>     SUCCESS [3.373s]
>     >> [INFO] ApacheDS Protocol Dhcp ............................
>     SUCCESS [1.843s]
>     >> [INFO] ApacheDS Protocol Dns .............................
>     SUCCESS [4.121s]
>     >> [INFO] ApacheDS Protocol Kerberos ........................
>     SUCCESS [4.239s]
>     >> [INFO] ApacheDS Protocol Ldap ............................
>     SUCCESS [3.525s]
>     >> [INFO] ApacheDS Protocol Ntp .............................
>     SUCCESS [2.241s]
>     >> [INFO] Apacheds Server Annotations .......................
>     SUCCESS [9.812s]
>     >> [INFO] ApacheDS Server Config ............................
>     SUCCESS [6.629s]
>     >> [INFO] ApacheDS Server JNDI ..............................
>     SUCCESS [2.463s]
>     >> [INFO] ApacheDS Server Replication Service ...............
>     SUCCESS [0.921s]
>     >> [INFO] ApacheDS Test Framework ...........................
>     FAILURE [20.672s]
>     >> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>     >> [INFO] ApacheDS All ...................................... SKIPPED
>     >> [INFO] ApacheDS Core Integration ......................... SKIPPED
>     >> [INFO] ApacheDS Server Integration ....................... SKIPPED
>     >> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>     >> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>     >> [INFO] ApacheDS Service Builder .......................... SKIPPED
>     >> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>     >> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>     >> [INFO] ApacheDS Service .................................. SKIPPED
>     >> [INFO] ApacheDS Wrapper .................................. SKIPPED
>     >> [INFO] ApacheDS Manuals .................................. SKIPPED
>     >> [INFO] ApacheDS 1.5 Build With Dependencies .............. SKIPPED
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [INFO] BUILD FAILURE
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [INFO] Total time: 3:18.305s
>     >> [INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
>     >> [INFO] Final Memory: 142M/2061M
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [ERROR] Failed to execute goal
>     >> org.apache.maven.plugins:maven-surefire-plugin:2.6:test
>     (default-test) on
>     >> project apacheds-test-framework: There are test failures.
>     >> [ERROR]
>     >> [ERROR] Please refer to
>     >>
>     /home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
>     >> [ERROR]
>     >> [ERROR] After correcting the problems, you can resume the build
>     with the
>     >> command
>     >> [ERROR]   mvn<goals>  -rf :apacheds-test-framework
>     >>
>     >
>     >
>     > --
>     > Regards,
>     > Cordialement,
>     > Emmanuel Lécharny
>     > www.iktek.com <http://www.iktek.com>
>     >
>
>
>
>
> -- 
> Alex Karasulu
> My Blog :: http://www.jroller.com/akarasulu/
> Apache Directory Server :: http://directory.apache.org
> Apache MINA :: http://mina.apache.org
> To set up a meeting with me: http://tungle.me/AlexKarasulu


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Alex Karasulu <ak...@apache.org>.
Yeah this has got to be a concurrency issue or something related to my
platform. I hate these kinds of bugs.

Thanks,
Alex

On Thu, Dec 9, 2010 at 3:11 PM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Same thing here:
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time: 14 minutes 29 seconds
> > [INFO] Finished at: Thu Dec 09 14:09:20 CET 2010
> > [INFO] Final Memory: 135M/252M
> > [INFO]
> ------------------------------------------------------------------------
>
>
> Regards,
> Pierre-Arnaud
>
> On 9 déc. 2010, at 12:57, Emmanuel Lecharny wrote:
>
> > I svn up atoine's branch this morning, and run integration tests on it :
> BUILD SUCCESSFUL.
> >
> > On 12/7/10 7:09 PM, Alex Karasulu wrote:
> >>
> -------------------------------------------------------------------------------
> >> Test set: org.apache.directory.server.core.integ.TestSuiteServer
> >>
> -------------------------------------------------------------------------------
> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.313
> sec
> >> <<<  FAILURE!
> >> org.apache.directory.server.core.integ.TestSuiteServer  Time elapsed: 0
> sec
> >>  <<<  ERROR!
> >>
> org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
> >> ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
> >>         at
> >>
> org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
> >>         at
> >>
> org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
> >>         at
> >>
> org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
> >>         at
> >>
> org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
> >>         at
> >>
> org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
> >>         at
> >>
> org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
> >>         at
> >>
> org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
> >>         at
> >>
> org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
> >>         at
> >>
> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
> >>         at
> >>
> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
> >>         at
> >>
> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
> >>         at
> >>
> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
> >>         at
> >>
> org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
> >>         at
> >>
> org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
> >>         at
> >>
> org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
> >>         at
> >>
> org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
> >>         at
> >>
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> >>         at
> >>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
> >>         at
> >>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
> >>         at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
> >>         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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> >>         at
> >>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> >>
> >> Here's my reactor summary:
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Reactor Summary:
> >> [INFO]
> >> [INFO] Apache Directory Project .......................... SUCCESS
> [0.630s]
> >> [INFO] Apache Directory Checkstyle Configuration ......... SUCCESS
> [0.753s]
> >> [INFO] Apache Directory JUnit Add-ons .................... SUCCESS
> [0.855s]
> >> [INFO] Apache Directory Shared ........................... SUCCESS
> [0.049s]
> >> [INFO] Apache Directory Shared I18n ...................... SUCCESS
> [0.898s]
> >> [INFO] Apache Directory Shared LDAP ...................... SUCCESS
> [19.348s]
> >> [INFO] Apache Directory Shared JNDI ...................... SUCCESS
> [0.886s]
> >> [INFO] Apache Directory Shared LDAP Schema ............... SUCCESS
> [16.202s]
> >> [INFO] Apache Directory Shared All ....................... SUCCESS
> [1.830s]
> >> [INFO] Apache Directory LDAP Client API .................. SUCCESS
> [1.391s]
> >> [INFO] Apache Directory Shared DSML Parser ............... SUCCESS
> [3.880s]
> >> [INFO] Apache Directory Shared DSML Engine ............... SUCCESS
> [0.969s]
> >> [INFO] ApacheDS .......................................... SUCCESS
> [0.044s]
> >> [INFO] ApacheDS I18n ..................................... SUCCESS
> [0.718s]
> >> [INFO] ApacheDS Core Constants ........................... SUCCESS
> [0.688s]
> >> [INFO] ApacheDS Core API ................................. SUCCESS
> [7.661s]
> >> [INFO] ApacheDS Core ..................................... SUCCESS
> [11.543s]
> >> [INFO] ApacheDS Core AVL ................................. SUCCESS
> [5.387s]
> >> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS
> [9.143s]
> >> [INFO] ApacheDS LDIF Partition ........................... SUCCESS
> [4.475s]
> >> [INFO] ApacheDS JDBM implementation ...................... SUCCESS
> [12.115s]
> >> [INFO] ApacheDS JDBM Partition ........................... SUCCESS
> [16.708s]
> >> [INFO] ApacheDS Core Annotations ......................... SUCCESS
> [8.778s]
> >> [INFO] ApacheDS Core JNDI ................................ SUCCESS
> [2.440s]
> >> [INFO] ApacheDS Protocol Shared .......................... SUCCESS
> [1.636s]
> >> [INFO] ApacheDS Protocol Kerberos Shared ................. SUCCESS
> [6.580s]
> >> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS
> [1.772s]
> >> [INFO] ApacheDS Protocol Change Password ................. SUCCESS
> [3.373s]
> >> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS
> [1.843s]
> >> [INFO] ApacheDS Protocol Dns ............................. SUCCESS
> [4.121s]
> >> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS
> [4.239s]
> >> [INFO] ApacheDS Protocol Ldap ............................ SUCCESS
> [3.525s]
> >> [INFO] ApacheDS Protocol Ntp ............................. SUCCESS
> [2.241s]
> >> [INFO] Apacheds Server Annotations ....................... SUCCESS
> [9.812s]
> >> [INFO] ApacheDS Server Config ............................ SUCCESS
> [6.629s]
> >> [INFO] ApacheDS Server JNDI .............................. SUCCESS
> [2.463s]
> >> [INFO] ApacheDS Server Replication Service ............... SUCCESS
> [0.921s]
> >> [INFO] ApacheDS Test Framework ........................... FAILURE
> [20.672s]
> >> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> >> [INFO] ApacheDS All ...................................... SKIPPED
> >> [INFO] ApacheDS Core Integration ......................... SKIPPED
> >> [INFO] ApacheDS Server Integration ....................... SKIPPED
> >> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> >> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> >> [INFO] ApacheDS Service Builder .......................... SKIPPED
> >> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> >> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> >> [INFO] ApacheDS Service .................................. SKIPPED
> >> [INFO] ApacheDS Wrapper .................................. SKIPPED
> >> [INFO] ApacheDS Manuals .................................. SKIPPED
> >> [INFO] ApacheDS 1.5 Build With Dependencies .............. SKIPPED
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD FAILURE
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 3:18.305s
> >> [INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
> >> [INFO] Final Memory: 142M/2061M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test)
> on
> >> project apacheds-test-framework: There are test failures.
> >> [ERROR]
> >> [ERROR] Please refer to
> >>
> /home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
> >> [ERROR]
> >> [ERROR] After correcting the problems, you can resume the build with the
> >> command
> >> [ERROR]   mvn<goals>  -rf :apacheds-test-framework
> >>
> >
> >
> > --
> > Regards,
> > Cordialement,
> > Emmanuel Lécharny
> > www.iktek.com
> >
>
>


-- 
Alex Karasulu
My Blog :: http://www.jroller.com/akarasulu/
Apache Directory Server :: http://directory.apache.org
Apache MINA :: http://mina.apache.org
To set up a meeting with me: http://tungle.me/AlexKarasulu

Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Same thing here:
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 14 minutes 29 seconds
> [INFO] Finished at: Thu Dec 09 14:09:20 CET 2010
> [INFO] Final Memory: 135M/252M
> [INFO] ------------------------------------------------------------------------


Regards,
Pierre-Arnaud

On 9 déc. 2010, at 12:57, Emmanuel Lecharny wrote:

> I svn up atoine's branch this morning, and run integration tests on it : BUILD SUCCESSFUL.
> 
> On 12/7/10 7:09 PM, Alex Karasulu wrote:
>> -------------------------------------------------------------------------------
>> Test set: org.apache.directory.server.core.integ.TestSuiteServer
>> -------------------------------------------------------------------------------
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.313 sec
>> <<<  FAILURE!
>> org.apache.directory.server.core.integ.TestSuiteServer  Time elapsed: 0 sec
>>  <<<  ERROR!
>> org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
>> ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
>>         at
>> org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         at
>> org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         at
>> org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         at
>> org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         at
>> org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         at
>> org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>>         at
>> org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
>>         at
>> org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
>>         at
>> org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
>>         at
>> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
>>         at
>> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
>>         at
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
>>         at
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
>>         at
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
>>         at
>> org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
>>         at
>> org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
>>         at
>> org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
>>         at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>         at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>>         at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>>         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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>>         at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>> 
>> Here's my reactor summary:
>> 
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Directory Project .......................... SUCCESS [0.630s]
>> [INFO] Apache Directory Checkstyle Configuration ......... SUCCESS [0.753s]
>> [INFO] Apache Directory JUnit Add-ons .................... SUCCESS [0.855s]
>> [INFO] Apache Directory Shared ........................... SUCCESS [0.049s]
>> [INFO] Apache Directory Shared I18n ...................... SUCCESS [0.898s]
>> [INFO] Apache Directory Shared LDAP ...................... SUCCESS [19.348s]
>> [INFO] Apache Directory Shared JNDI ...................... SUCCESS [0.886s]
>> [INFO] Apache Directory Shared LDAP Schema ............... SUCCESS [16.202s]
>> [INFO] Apache Directory Shared All ....................... SUCCESS [1.830s]
>> [INFO] Apache Directory LDAP Client API .................. SUCCESS [1.391s]
>> [INFO] Apache Directory Shared DSML Parser ............... SUCCESS [3.880s]
>> [INFO] Apache Directory Shared DSML Engine ............... SUCCESS [0.969s]
>> [INFO] ApacheDS .......................................... SUCCESS [0.044s]
>> [INFO] ApacheDS I18n ..................................... SUCCESS [0.718s]
>> [INFO] ApacheDS Core Constants ........................... SUCCESS [0.688s]
>> [INFO] ApacheDS Core API ................................. SUCCESS [7.661s]
>> [INFO] ApacheDS Core ..................................... SUCCESS [11.543s]
>> [INFO] ApacheDS Core AVL ................................. SUCCESS [5.387s]
>> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [9.143s]
>> [INFO] ApacheDS LDIF Partition ........................... SUCCESS [4.475s]
>> [INFO] ApacheDS JDBM implementation ...................... SUCCESS [12.115s]
>> [INFO] ApacheDS JDBM Partition ........................... SUCCESS [16.708s]
>> [INFO] ApacheDS Core Annotations ......................... SUCCESS [8.778s]
>> [INFO] ApacheDS Core JNDI ................................ SUCCESS [2.440s]
>> [INFO] ApacheDS Protocol Shared .......................... SUCCESS [1.636s]
>> [INFO] ApacheDS Protocol Kerberos Shared ................. SUCCESS [6.580s]
>> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [1.772s]
>> [INFO] ApacheDS Protocol Change Password ................. SUCCESS [3.373s]
>> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [1.843s]
>> [INFO] ApacheDS Protocol Dns ............................. SUCCESS [4.121s]
>> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [4.239s]
>> [INFO] ApacheDS Protocol Ldap ............................ SUCCESS [3.525s]
>> [INFO] ApacheDS Protocol Ntp ............................. SUCCESS [2.241s]
>> [INFO] Apacheds Server Annotations ....................... SUCCESS [9.812s]
>> [INFO] ApacheDS Server Config ............................ SUCCESS [6.629s]
>> [INFO] ApacheDS Server JNDI .............................. SUCCESS [2.463s]
>> [INFO] ApacheDS Server Replication Service ............... SUCCESS [0.921s]
>> [INFO] ApacheDS Test Framework ........................... FAILURE [20.672s]
>> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>> [INFO] ApacheDS All ...................................... SKIPPED
>> [INFO] ApacheDS Core Integration ......................... SKIPPED
>> [INFO] ApacheDS Server Integration ....................... SKIPPED
>> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>> [INFO] ApacheDS Service Builder .......................... SKIPPED
>> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>> [INFO] ApacheDS Service .................................. SKIPPED
>> [INFO] ApacheDS Wrapper .................................. SKIPPED
>> [INFO] ApacheDS Manuals .................................. SKIPPED
>> [INFO] ApacheDS 1.5 Build With Dependencies .............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3:18.305s
>> [INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
>> [INFO] Final Memory: 142M/2061M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on
>> project apacheds-test-framework: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> /home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn<goals>  -rf :apacheds-test-framework
>> 
> 
> 
> -- 
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
> 


Re: [ApacheDS] [AuthN Delegation] Antoine here's the failure I encountered.

Posted by Emmanuel Lecharny <el...@gmail.com>.
I svn up atoine's branch this morning, and run integration tests on it : 
BUILD SUCCESSFUL.

On 12/7/10 7:09 PM, Alex Karasulu wrote:
> -------------------------------------------------------------------------------
> Test set: org.apache.directory.server.core.integ.TestSuiteServer
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.313 sec
> <<<  FAILURE!
> org.apache.directory.server.core.integ.TestSuiteServer  Time elapsed: 0 sec
>   <<<  ERROR!
> org.apache.directory.shared.ldap.exception.LdapEntryAlreadyExistsException:
> ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
>          at
> org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:147)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>          at
> org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1201)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>          at
> org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:132)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>          at
> org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:421)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>          at
> org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:247)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>          at
> org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:331)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain$Element$1.add(InterceptorChain.java:1027)
>          at
> org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:118)
>          at
> org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:654)
>          at
> org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:265)
>          at
> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:144)
>          at
> org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:121)
>          at
> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntry(DSAnnotationProcessor.java:292)
>          at
> org.apache.directory.server.core.factory.DSAnnotationProcessor.injectEntries(DSAnnotationProcessor.java:366)
>          at
> org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:193)
>          at
> org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:216)
>          at
> org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:77)
>          at
> org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:149)
>          at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>          at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>          at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>          at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>          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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>          at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
> Here's my reactor summary:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Directory Project .......................... SUCCESS [0.630s]
> [INFO] Apache Directory Checkstyle Configuration ......... SUCCESS [0.753s]
> [INFO] Apache Directory JUnit Add-ons .................... SUCCESS [0.855s]
> [INFO] Apache Directory Shared ........................... SUCCESS [0.049s]
> [INFO] Apache Directory Shared I18n ...................... SUCCESS [0.898s]
> [INFO] Apache Directory Shared LDAP ...................... SUCCESS [19.348s]
> [INFO] Apache Directory Shared JNDI ...................... SUCCESS [0.886s]
> [INFO] Apache Directory Shared LDAP Schema ............... SUCCESS [16.202s]
> [INFO] Apache Directory Shared All ....................... SUCCESS [1.830s]
> [INFO] Apache Directory LDAP Client API .................. SUCCESS [1.391s]
> [INFO] Apache Directory Shared DSML Parser ............... SUCCESS [3.880s]
> [INFO] Apache Directory Shared DSML Engine ............... SUCCESS [0.969s]
> [INFO] ApacheDS .......................................... SUCCESS [0.044s]
> [INFO] ApacheDS I18n ..................................... SUCCESS [0.718s]
> [INFO] ApacheDS Core Constants ........................... SUCCESS [0.688s]
> [INFO] ApacheDS Core API ................................. SUCCESS [7.661s]
> [INFO] ApacheDS Core ..................................... SUCCESS [11.543s]
> [INFO] ApacheDS Core AVL ................................. SUCCESS [5.387s]
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS [9.143s]
> [INFO] ApacheDS LDIF Partition ........................... SUCCESS [4.475s]
> [INFO] ApacheDS JDBM implementation ...................... SUCCESS [12.115s]
> [INFO] ApacheDS JDBM Partition ........................... SUCCESS [16.708s]
> [INFO] ApacheDS Core Annotations ......................... SUCCESS [8.778s]
> [INFO] ApacheDS Core JNDI ................................ SUCCESS [2.440s]
> [INFO] ApacheDS Protocol Shared .......................... SUCCESS [1.636s]
> [INFO] ApacheDS Protocol Kerberos Shared ................. SUCCESS [6.580s]
> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS [1.772s]
> [INFO] ApacheDS Protocol Change Password ................. SUCCESS [3.373s]
> [INFO] ApacheDS Protocol Dhcp ............................ SUCCESS [1.843s]
> [INFO] ApacheDS Protocol Dns ............................. SUCCESS [4.121s]
> [INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [4.239s]
> [INFO] ApacheDS Protocol Ldap ............................ SUCCESS [3.525s]
> [INFO] ApacheDS Protocol Ntp ............................. SUCCESS [2.241s]
> [INFO] Apacheds Server Annotations ....................... SUCCESS [9.812s]
> [INFO] ApacheDS Server Config ............................ SUCCESS [6.629s]
> [INFO] ApacheDS Server JNDI .............................. SUCCESS [2.463s]
> [INFO] ApacheDS Server Replication Service ............... SUCCESS [0.921s]
> [INFO] ApacheDS Test Framework ........................... FAILURE [20.672s]
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO] ApacheDS Manuals .................................. SKIPPED
> [INFO] ApacheDS 1.5 Build With Dependencies .............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:18.305s
> [INFO] Finished at: Tue Dec 07 06:01:47 EET 2010
> [INFO] Final Memory: 142M/2061M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on
> project apacheds-test-framework: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /home/akarasulu/Projects/directory/antoine/apacheds/test-framework/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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn<goals>  -rf :apacheds-test-framework
>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com