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:[email protected]] Sent: Thursday, April 12, 2012 7:46 PM To: [email protected] Subject: Re: Cannot build from trunk, goal apacheds-interceptors-admin missing dependency Le 4/12/12 9:20 PM, [email protected] 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
