directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Carlo.Acco...@ibs-ag.com>
Subject RE: Cannot build from trunk, goal apacheds-interceptors-admin missing dependency
Date Fri, 13 Apr 2012 15:19:16 GMT
Great, we did that and it worked!!  Wow, build completes in 4 mins  :-)
Will test today my original issue with the indexes and get back to you. Thanks!!

Regards,
Carlo Accorsi


-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com]
Sent: Friday, April 13, 2012 5:35 AM
To: users@directory.apache.org
Subject: Re: Cannot build from trunk, goal apacheds-interceptors-admin missing dependency

After some investigation, building the server with the -Dmaven.test.skip option set is not
correct : it seems that it will try to build the tests, but not the jars, thus leading to
some build error.

OTOH, if you run :
mvn clean install -DskipTests=true

you get a successfull build.

Mavdn crazyness...


Le 4/13/12 6:51 AM, Carlo.Accorsi@ibs-ag.com a écrit :
> Ok, skip test and build success..   Thanks!
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Directory Project .......................... SUCCESS
> [27.136s] [INFO] Apache Directory Checkstyle Configuration .........
> SUCCESS [8.407s] [INFO] Apache Directory JUnit Add-ons
> .................... SUCCESS [9.727s] [INFO] Apache Directory Shared
> ........................... SUCCESS [0.750s] [INFO] Apache Directory
> Shared I18n ...................... SUCCESS [1.100s] [INFO] Apache
> Directory Shared Utilities ................. SUCCESS [7.887s] [INFO]
> Apache Directory Shared ASN.1 Parent .............. SUCCESS [0.380s]
> [INFO] Apache Directory Shared ASN.1 API ................. SUCCESS
> [2.259s] [INFO] Apache Directory Shared ASN.1 BER .................
> SUCCESS [4.622s] [INFO] Apache Directory Shared LDAP Parent
> ............... SUCCESS [0.130s] [INFO] Apache Directory Shared LDAP
> Model ................ SUCCESS [42.581s] [INFO] Apache Directory
> Shared LDAP Codec Parent ......... SUCCESS [0.150s] [INFO] Apache
> Directory Shared LDAP Codec ................ SUCCESS [9.537s] [INFO]
> Apache Directory Shared LDAP Net Parent ........... SUCCESS [0.140s]
> [INFO] Apache Directory Shared LDAP Network MINA ......... SUCCESS
> [1.010s] [INFO] Apache Directory Shared LDAP Codec Standalone .....
> SUCCESS [1.010s] [INFO] Apache Directory Shared DSML Parent
> ............... SUCCESS [0.150s] [INFO] Apache Directory Shared DSML
> Parser ............... SUCCESS [10.796s] [INFO] Apache Directory
> Shared LDAP Extras ............... SUCCESS [0.120s] [INFO] Apache
> Directory Shared LDAP Extras ACI ........... SUCCESS [2.999s] [INFO]
> Apache Directory Shared LDAP Schema Parent ........ SUCCESS [0.100s]
> [INFO] Apache Directory Shared LDAP Schema ............... SUCCESS
> [11.057s] [INFO] Apache Directory Shared LDAP Client Parent ........
> SUCCESS [0.190s] [INFO] Apache Directory Shared LDAP Client API
> ........... SUCCESS [1.809s] [INFO] Apache Directory Shared DSML
> Engine ............... SUCCESS [1.070s] [INFO] Apache Directory Shared
> LDAP Extras Codec API ..... SUCCESS [1.160s] [INFO] Apache Directory
> Shared LDAP Extras Codec ......... SUCCESS [2.599s] [INFO] Apache
> Directory Shared LDAP Extras Util .......... SUCCESS [1.200s] [INFO]
> Apache Directory Shared LDAP Extras Stored Procedures  SUCCESS
> [0.959s] [INFO] Apache Directory Shared LDAP Extras Trigger .......
> SUCCESS [1.690s] [INFO] Apache Directory Shared LDAP Schema Converter
> ..... SUCCESS [3.079s] [INFO] Apache Directory Shared All
> ....................... SUCCESS [3.073s] [INFO] Apache Directory
> Shared LDAP Client All ........... SUCCESS [2.519s] [INFO] Apache
> Directory Shared Integration Tests ......... SUCCESS [12.173s] [INFO]
> Apache Directory LDAP API Distribution ............ SUCCESS [0.120s]
> [INFO] ApacheDS .......................................... SUCCESS
> [0.279s] [INFO] ApacheDS I18n .....................................
> SUCCESS [1.030s] [INFO] ApacheDS Core Constants
> ........................... SUCCESS [0.760s] [INFO] ApacheDS Core API
> ................................. SUCCESS [4.908s] [INFO] ApacheDS
> Core Shared .............................. SUCCESS [1.270s] [INFO]
> ApacheDS Interceptors ............................. SUCCESS [0.060s]
> [INFO] ApacheDS AdministrativePoint Interceptor .......... SUCCESS
> [1.220s] [INFO] ApacheDS Authentication Interceptor ...............
> SUCCESS [1.429s] [INFO] ApacheDS Authorization Interceptor
> ................ SUCCESS [1.980s] [INFO] ApacheDS ChangeLog
> Interceptor .................... SUCCESS [1.239s] [INFO] ApacheDS
> Collective Attribute Interceptor ......... SUCCESS [0.880s] [INFO]
> ApacheDS Event Interceptor ........................ SUCCESS [0.900s]
> [INFO] ApacheDS Exception Interceptor .................... SUCCESS
> [0.889s] [INFO] ApacheDS Journal Interceptor ......................
> SUCCESS [0.880s] [INFO] ApacheDS Normalization Interceptor
> ................ SUCCESS [1.150s] [INFO] ApacheDS Operational
> Attribute Interceptor ........ SUCCESS [0.920s] [INFO] ApacheDS
> Referral Interceptor ..................... SUCCESS [0.829s] [INFO]
> ApacheDS Schema Interceptor ....................... SUCCESS [1.900s]
> [INFO] ApacheDS Subtree Interceptor ...................... SUCCESS
> [1.369s] [INFO] ApacheDS Triggers Interceptor .....................
> SUCCESS [1.110s] [INFO] ApacheDS Core
> ..................................... SUCCESS [2.119s] [INFO] ApacheDS
> Core AVL ................................. SUCCESS [1.720s] [INFO]
> ApacheDS Generalized (X) DBM Partition ............ SUCCESS [4.109s]
> [INFO] ApacheDS LDIF Partition ........................... SUCCESS
> [1.659s] [INFO] ApacheDS JDBM Partition ...........................
> SUCCESS [2.359s] [INFO] ApacheDS Core Annotations
> ......................... SUCCESS [1.820s] [INFO] ApacheDS Core JNDI
> ................................ SUCCESS [1.549s] [INFO] ApacheDS
> Protocol Shared .......................... SUCCESS [1.060s] [INFO]
> ApacheDS Protocol Kerberos Codec .................. SUCCESS [5.759s]
> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS
> [1.140s] [INFO] ApacheDS Protocol Dhcp ............................
> SUCCESS [1.420s] [INFO] ApacheDS Protocol Dns
> ............................. SUCCESS [2.229s] [INFO] ApacheDS
> Protocol Kerberos ........................ SUCCESS [1.959s] [INFO]
> ApacheDS Protocol Ldap ............................ SUCCESS [2.929s]
> [INFO] ApacheDS Protocol Ntp ............................. SUCCESS
> [1.490s] [INFO] Apacheds Server Annotations .......................
> SUCCESS [2.019s] [INFO] ApacheDS Server Config
> ............................ SUCCESS [1.770s] [INFO] ApacheDS Server
> JNDI .............................. SUCCESS [1.409s] [INFO] ApacheDS
> Server Replication Service ............... SUCCESS [0.460s] [INFO]
> ApacheDS Test Framework ........................... SUCCESS [1.540s]
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SUCCESS
> [1.409s] [INFO] ApacheDS All ......................................
> SUCCESS [3.343s] [INFO] ApacheDS Logger Interceptor
> ....................... SUCCESS [1.920s] [INFO] ApacheDS Password
> Hashing Interceptor ............. SUCCESS [0.850s] [INFO] ApacheDS
> Core Integration ......................... SUCCESS [3.209s] [INFO]
> ApacheDS Server Integration ....................... SUCCESS [3.014s]
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SUCCESS
> [0.715s] [INFO] ApacheDS Jetty HTTP Server Integration ............
> SUCCESS [1.315s] [INFO] ApacheDS Service Builder
> .......................... SUCCESS [1.230s] [INFO] ApacheDS Protocol
> Kerberos Test ................... SUCCESS [1.149s] [INFO] Apache
> Directory LDAP Client API test ............. SUCCESS [1.470s] [INFO]
> ApacheDS Service .................................. SUCCESS [3.789s]
> [INFO] ApacheDS Wrapper .................................. SUCCESS
> [0.470s] [INFO] ApacheDS Installers Maven Plugin ..................
> SUCCESS [6.928s] [INFO] ApacheDS Installers
> ............................... SUCCESS [0.160s] [INFO] ApacheDS
> Manuals .................................. SUCCESS [0.379s] [INFO]
> ApacheDS Build With Dependencies .................. SUCCESS [0.050s]
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] BUILD SUCCESS
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 4:45.741s
> [INFO] Finished at: Fri Apr 13 00:43:34 EDT 2012 [INFO] Final Memory:
> 136M/1146M [INFO]
> ----------------------------------------------------------------------
> --
>
> carlo.accorsi@dev /svn/apacheds/trunk-with-dependencies
>
>
> -----Original Message-----
> From: ayyagarikiran@gmail.com [mailto:ayyagarikiran@gmail.com] On
> Behalf Of Kiran Ayyagari
> Sent: Friday, April 13, 2012 12:01 AM
> To: users@directory.apache.org
> Subject: Re: Cannot build from trunk, goal apacheds-interceptors-admin
> missing dependency
>
> this test is quite non-deterministic, and I have had my share of
> problems with it while building, for now I would suggest you either
> skip building server-integ or @Ignore this test
>
> On Fri, Apr 13, 2012 at 9:26 AM,<Carlo.Accorsi@ibs-ag.com>  wrote:
>> Hi, getting closer but still fails with error below.
>> $ mvn clean install -Dintegration
>>
>> After the failure, if I run
>> $mvn clean install  -rf :apacheds-server-integ The same error occurs.
>>
>> Is there a way to specify where the tests are performed (on the file system) ?
>> I notice a lot of junit files/folders created under windows home
>> directory. It would be ideal to specify a directory I know is world writeable to
make sure there's no file system permission issue potentially interfering with the tests.
>> I've tried all sorts of maven properties maven.junit.* but nothing seems to work.
>>
>> Thanks!!
>>
>>
>>
>> -------------------------------------------------------
>>   T E S T S
>> -------------------------------------------------------
>> Running
>> org.apache.directory.server.replication.ClientServerReplicationIT
>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
>> 19.891 sec Running
>> org.apache.directory.server.suites.StockServerISuite
>> Tests run: 305, Failures: 0, Errors: 1, Skipped: 11, Time elapsed: 167.978 sec<<<
 FAILURE!
>>
>> Results :
>>
>> Tests in error:
>>   testMultipleAuthenticators(org.apache.directory.server.operations.bind.DelegatedAuthIT):
The connector has been disposed.
>>
>> Tests run: 310, Failures: 0, Errors: 1, Skipped: 12
>>
>> [INFO]
>> ---------------------------------------------------------------------
>> -
>> --
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Directory Project .......................... SUCCESS
>> [1.210s] [INFO] Apache Directory Checkstyle Configuration .........
>> SUCCESS [2.753s] [INFO] Apache Directory JUnit Add-ons
>> .................... SUCCESS [2.890s] [INFO] Apache Directory Shared
>> ........................... SUCCESS [0.270s] [INFO] Apache Directory
>> Shared I18n ...................... SUCCESS [1.380s] [INFO] Apache
>> Directory Shared Utilities ................. SUCCESS [2.830s] [INFO]
>> Apache Directory Shared ASN.1 Parent .............. SUCCESS [0.130s]
>> [INFO] Apache Directory Shared ASN.1 API ................. SUCCESS
>> [1.447s] [INFO] Apache Directory Shared ASN.1 BER .................
>> SUCCESS [1.480s] [INFO] Apache Directory Shared LDAP Parent
>> ............... SUCCESS [0.080s] [INFO] Apache Directory Shared LDAP
>> Model ................ SUCCESS [20.020s] [INFO] Apache Directory
>> Shared LDAP Codec Parent ......... SUCCESS [0.150s] [INFO] Apache
>> Directory Shared LDAP Codec ................ SUCCESS [5.311s] [INFO]
>> Apache Directory Shared LDAP Net Parent ........... SUCCESS [0.100s]
>> [INFO] Apache Directory Shared LDAP Network MINA ......... SUCCESS
>> [0.990s] [INFO] Apache Directory Shared LDAP Codec Standalone .....
>> SUCCESS [1.030s] [INFO] Apache Directory Shared DSML Parent
>> ............... SUCCESS [0.090s] [INFO] Apache Directory Shared DSML
>> Parser ............... SUCCESS [8.380s] [INFO] Apache Directory
>> Shared LDAP Extras ............... SUCCESS [0.060s] [INFO] Apache
>> Directory Shared LDAP Extras ACI ........... SUCCESS [2.980s] [INFO]
>> Apache Directory Shared LDAP Schema Parent ........ SUCCESS [0.030s]
>> [INFO] Apache Directory Shared LDAP Schema ............... SUCCESS
>> [27.820s] [INFO] Apache Directory Shared LDAP Client Parent ........
>> SUCCESS [0.210s] [INFO] Apache Directory Shared LDAP Client API ...........
>> SUCCESS [1.900s] [INFO] Apache Directory Shared DSML Engine
>> ............... SUCCESS [1.330s] [INFO] Apache Directory Shared LDAP
>> Extras Codec API ..... SUCCESS [1.190s] [INFO] Apache Directory
>> Shared LDAP Extras Codec ......... SUCCESS [2.990s] [INFO] Apache
>> Directory Shared LDAP Extras Util .......... SUCCESS [1.390s] [INFO]
>> Apache Directory Shared LDAP Extras Stored Procedures  SUCCESS
>> [1.060s] [INFO] Apache Directory Shared LDAP Extras Trigger .......
>> SUCCESS [2.540s] [INFO] Apache Directory Shared LDAP Schema Converter .....
>> SUCCESS [3.960s] [INFO] Apache Directory Shared All
>> ....................... SUCCESS [5.022s] [INFO] Apache Directory
>> Shared LDAP Client All ........... SUCCESS [5.753s] [INFO] Apache
>> Directory Shared Integration Tests ......... SUCCESS [10.171s] [INFO]
>> Apache Directory LDAP API Distribution ............ SUCCESS [0.390s]
>> [INFO] ApacheDS .......................................... SUCCESS
>> [0.190s] [INFO] ApacheDS I18n .....................................
>> SUCCESS [1.580s] [INFO] ApacheDS Core Constants
>> ........................... SUCCESS [0.840s] [INFO] ApacheDS Core API
>> ................................. SUCCESS [9.336s] [INFO] ApacheDS
>> Core Shared .............................. SUCCESS [1.800s] [INFO]
>> ApacheDS Interceptors ............................. SUCCESS [0.080s]
>> [INFO] ApacheDS AdministrativePoint Interceptor .......... SUCCESS
>> [1.250s] [INFO] ApacheDS Authentication Interceptor ...............
>> SUCCESS [5.490s] [INFO] ApacheDS Authorization Interceptor
>> ................ SUCCESS [12.990s] [INFO] ApacheDS ChangeLog
>> Interceptor .................... SUCCESS [4.530s] [INFO] ApacheDS
>> Collective Attribute Interceptor ......... SUCCESS [1.090s] [INFO]
>> ApacheDS Event Interceptor ........................ SUCCESS [1.120s]
>> [INFO] ApacheDS Exception Interceptor .................... SUCCESS
>> [1.030s] [INFO] ApacheDS Journal Interceptor ......................
>> SUCCESS [1.015s] [INFO] ApacheDS Normalization Interceptor
>> ................ SUCCESS [4.598s] [INFO] ApacheDS Operational
>> Attribute Interceptor ........ SUCCESS [0.970s] [INFO] ApacheDS
>> Referral Interceptor ..................... SUCCESS [1.360s] [INFO]
>> ApacheDS Schema Interceptor ....................... SUCCESS [11.330s]
>> [INFO] ApacheDS Subtree Interceptor ...................... SUCCESS
>> [10.290s] [INFO] ApacheDS Triggers Interceptor .....................
>> SUCCESS [1.256s] [INFO] ApacheDS Core
>> ..................................... SUCCESS [3.727s] [INFO]
>> ApacheDS Core AVL ................................. SUCCESS [6.420s]
>> [INFO] ApacheDS Generalized (X) DBM Partition ............ SUCCESS
>> [11.704s] [INFO] ApacheDS LDIF Partition ...........................
>> SUCCESS [4.820s] [INFO] ApacheDS JDBM Partition ...........................
>> SUCCESS [17.520s] [INFO] ApacheDS Core Annotations
>> ......................... SUCCESS [20.055s] [INFO] ApacheDS Core JNDI
>> ................................ SUCCESS [1.960s] [INFO] ApacheDS
>> Protocol Shared .......................... SUCCESS [1.620s] [INFO]
>> ApacheDS Protocol Kerberos Codec .................. SUCCESS [21.027s]
>> [INFO] ApacheDS Interceptors for Kerberos ................ SUCCESS
>> [1.360s] [INFO] ApacheDS Protocol Dhcp ............................
>> SUCCESS [3.824s] [INFO] ApacheDS Protocol Dns
>> ............................. SUCCESS [3.282s] [INFO] ApacheDS
>> Protocol Kerberos ........................ SUCCESS [3.870s] [INFO]
>> ApacheDS Protocol Ldap ............................ SUCCESS [11.830s]
>> [INFO] ApacheDS Protocol Ntp ............................. SUCCESS
>> [5.006s] [INFO] Apacheds Server Annotations .......................
>> SUCCESS [20.035s] [INFO] ApacheDS Server Config
>> ............................ SUCCESS [23.654s] [INFO] ApacheDS Server
>> JNDI .............................. SUCCESS [2.230s] [INFO] ApacheDS
>> Server Replication Service ............... SUCCESS [2.530s] [INFO]
>> ApacheDS Test Framework ........................... SUCCESS
>> [1:06.336s] [INFO] ApacheDS Generalized (X) DBM Tools ................
>> SUCCESS [2.471s] [INFO] ApacheDS All
>> ...................................... SUCCESS [3.701s] [INFO]
>> ApacheDS Logger Interceptor ....................... SUCCESS [1.100s]
>> [INFO] ApacheDS Password Hashing Interceptor ............. SUCCESS
>> [1.110s] [INFO] ApacheDS Core Integration .........................
>> SUCCESS [4:45.252s] [INFO] ApacheDS Server Integration
>> ....................... FAILURE [3:12.803s] [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
>> Installers Maven Plugin .................. SKIPPED [INFO] ApacheDS
>> Installers ............................... SKIPPED [INFO] ApacheDS
>> Manuals .................................. SKIPPED [INFO] ApacheDS
>> Build With Dependencies .................. SKIPPED [INFO]
>> ---------------------------------------------------------------------
>> -
>> --
>> [INFO] BUILD FAILURE
>> [INFO]
>> ---------------------------------------------------------------------
>> -
>> --
>> [INFO] Total time: 15:13.488s
>> [INFO] Finished at: Thu Apr 12 23:13:58 EDT 2012 [INFO] Final Memory:
>> 104M/1106M [INFO]
>> ---------------------------------------------------------------------
>> -
>> -- [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
>> (default-test) on project apacheds-serve
>> r-integ: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> D:\cygwin\svn\apacheds\trunk-with-dependencies\apacheds\server-integ\target\surefire-reports
for the ind ividual 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-server-integ
>>
>> Regards,
>> Carlo Accorsi
>>
>> Carlo Accorsi | Technical Services
>> IBSAmerica, Inc. | www.ibs-us.com | Visit IBS on LinkedIn
>> 24 Hartwell Ave | Lexington | Massachusetts | 02421
>> +1-781-862-9002 (Office) | +1-781-676-8129 (Direct) | +1-781-862-9003
>> +(Fax)
>>
>> Sign up for the IBS Blog today!
>>
>> IBS provides integrated management solutions that help companies improve quality
and lower costs.
>>
>>
>> -----Original Message-----
>> From: Emmanuel Lécharny [mailto:elecharny@gmail.com]
>> Sent: Thursday, April 12, 2012 7:46 PM
>> To: users@directory.apache.org
>> Subject: Re: Cannot build from trunk, goal
>> apacheds-interceptors-admin missing dependency
>>
>> Le 4/12/12 9:20 PM, Carlo.Accorsi@ibs-ag.com a écrit :
>>> Hi. Anyone else getting this error?
>> Yep :/
>>
>> Now, I never build the server skipping the tests (just because I want to be sure
that tests are passing before committing code).
>>
>> It seems that there is a problem with dependencies when runing without tests, as
some projects are expecting some tests jars to have been built, and they are not.
>>
>> I suggest two things :
>> 1) build the project using mvn clean install -Dintegration (it'll
>> take at least 15 mins, if you have a fast computer)
>> 2) fill a JIRA with the info you provided so that we can fix the build when run without
tests.
>>
>> Thanks !
>>
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>
>
> --
> Kiran Ayyagari


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

Mime
View raw message