See
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/2175/display/redirect?page=changes>
Changes:
[elecharny] Fixed the server compilation issues following the changes in the
LDA API
------------------------------------------
[...truncated 344.40 KB...]
[ERROR]
testCreateMethodDS(org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest)
Time elapsed: 0.001 s <<< ERROR!
java.lang.NoClassDefFoundError:
org/apache/directory/api/ldap/extras/extended/ads_impl/nod/NoDFactory
at
org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest.testCreateMethodDS(DirectoryServiceAnnotationTest.java:77)
[ERROR]
testCreateMethodDSWithPartition(org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest)
Time elapsed: 0.002 s <<< ERROR!
java.lang.NoClassDefFoundError:
org/apache/directory/api/ldap/extras/extended/ads_impl/nod/NoDFactory
at
org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest.testCreateMethodDSWithPartition(DirectoryServiceAnnotationTest.java:115)
[ERROR]
testCreateMethodDSWithAvlPartition(org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest)
Time elapsed: 0.002 s <<< ERROR!
java.lang.NoClassDefFoundError:
org/apache/directory/api/ldap/extras/extended/ads_impl/nod/NoDFactory
at
org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest.testCreateMethodDSWithAvlPartition(DirectoryServiceAnnotationTest.java:162)
[ERROR]
testCustomAuthenticator(org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest)
Time elapsed: 0.001 s <<< ERROR!
java.lang.NoClassDefFoundError:
org/apache/directory/api/ldap/extras/extended/ads_impl/nod/NoDFactory
at
org.apache.directory.server.core.factory.DirectoryServiceAnnotationTest.testCustomAuthenticator(DirectoryServiceAnnotationTest.java:203)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] DirectoryServiceAnnotationTest.testCreateDS:63 » NoClassDefFound
org/apache/di...
[ERROR] DirectoryServiceAnnotationTest.testCreateMethodDS:77 »
NoClassDefFound org/apa...
[ERROR] DirectoryServiceAnnotationTest.testCreateMethodDSWithAvlPartition:162
» NoClassDefFound
[ERROR] DirectoryServiceAnnotationTest.testCreateMethodDSWithPartition:115 »
NoClassDefFound
[ERROR] DirectoryServiceAnnotationTest.testCustomAuthenticator:203 »
NoClassDefFound o...
[ERROR] DirectoryServiceFactoryTest.testCreateDS:47 » NoClassDefFound
org/apache/direc...
[INFO]
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0
[INFO]
[ERROR] There are test failures.
Please refer to
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-annotations/target/surefire-reports>
for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @
apacheds-core-annotations ---
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @
apacheds-core-annotations ---
[INFO] Skipping because packaging 'bundle' is not pom.
[INFO]
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @
apacheds-core-annotations ---
[INFO] Checking legal files in:
apacheds-core-annotations-2.0.0.AM26-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @
apacheds-core-annotations ---
[INFO] Installing
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-annotations/target/apacheds-core-annotations-2.0.0.AM26-SNAPSHOT.jar>
to
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-SNAPSHOT.jar
[INFO] Installing
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-annotations/pom.xml>
to
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-SNAPSHOT.pom
[INFO]
[INFO] --- maven-bundle-plugin:3.5.1:install (default-install) @
apacheds-core-annotations ---
[INFO] Installing
org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @
apacheds-core-annotations ---
[INFO] Downloading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/maven-metadata.xml
(820 B at 1.3 KB/sec)
[INFO] Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-20190101.112838-50.jar
[INFO] Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-20190101.112838-50.jar
(32 KB at 32.5 KB/sec)
[INFO] Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-20190101.112838-50.pom
[INFO] Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/apacheds-core-annotations-2.0.0.AM26-20190101.112838-50.pom
(9 KB at 9.4 KB/sec)
[INFO] Downloading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/maven-metadata.xml
[INFO] Downloaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/maven-metadata.xml
(466 B at 0.7 KB/sec)
[INFO] Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/2.0.0.AM26-SNAPSHOT/maven-metadata.xml
(820 B at 0.9 KB/sec)
[INFO] Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/maven-metadata.xml
[INFO] Uploaded:
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/server/apacheds-core-annotations/maven-metadata.xml
(466 B at 0.5 KB/sec)
[INFO]
[INFO] --- maven-bundle-plugin:3.5.1:deploy (default-deploy) @
apacheds-core-annotations ---
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[JENKINS] Archiving disabled
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Core JNDI 2.0.0.AM26-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apacheds-core-jndi
---
[INFO] Deleting
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @
apacheds-core-jndi ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ apacheds-core-jndi
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles)
@ apacheds-core-jndi ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
apacheds-core-jndi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/resources>
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
apacheds-core-jndi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/target/classes>
[INFO]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:
Some input files use or override a deprecated API.
[INFO]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:
Recompile with -Xlint:deprecation for details.
[INFO]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:
Some input files use unchecked or unsafe operations.
[INFO]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:
Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:[392,88]
cannot find symbol
symbol: method newControl()
location: variable controlFactory of type
org.apache.directory.api.ldap.codec.api.ControlFactory<?>
[ERROR]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:[395,23]
cannot find symbol
symbol: method
decodeValue(org.apache.directory.api.ldap.model.message.Control,byte[])
location: variable controlFactory of type
org.apache.directory.api.ldap.codec.api.ControlFactory<?>
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ApacheDS ........................................... SUCCESS [ 15.825 s]
[INFO] ApacheDS I18n ...................................... SUCCESS [ 12.586 s]
[INFO] ApacheDS Core Constants ............................ SUCCESS [ 9.482 s]
[INFO] ApacheDS Core API .................................. SUCCESS [01:32 min]
[INFO] ApacheDS Core Shared ............................... SUCCESS [ 17.063 s]
[INFO] ApacheDS Interceptors .............................. SUCCESS [ 6.222 s]
[INFO] ApacheDS AdministrativePoint Interceptor ........... SUCCESS [ 13.197 s]
[INFO] ApacheDS Authentication Interceptor ................ SUCCESS [ 13.950 s]
[INFO] ApacheDS Interceptor to increment numeric attributes SUCCESS [ 11.351 s]
[INFO] ApacheDS Authorization Interceptor ................. SUCCESS [ 15.729 s]
[INFO] ApacheDS ChangeLog Interceptor ..................... SUCCESS [ 13.732 s]
[INFO] ApacheDS Collective Attribute Interceptor .......... SUCCESS [ 11.533 s]
[INFO] ApacheDS Event Interceptor ......................... SUCCESS [ 11.574 s]
[INFO] ApacheDS Exception Interceptor ..................... SUCCESS [ 11.892 s]
[INFO] ApacheDS Journal Interceptor ....................... SUCCESS [ 11.419 s]
[INFO] ApacheDS Normalization Interceptor ................. SUCCESS [ 13.883 s]
[INFO] ApacheDS Operational Attribute Interceptor ......... SUCCESS [ 11.609 s]
[INFO] ApacheDS Referral Interceptor ...................... SUCCESS [ 11.332 s]
[INFO] ApacheDS Schema Interceptor ........................ SUCCESS [ 14.557 s]
[INFO] ApacheDS Subtree Interceptor ....................... SUCCESS [ 15.074 s]
[INFO] ApacheDS Triggers Interceptor ...................... SUCCESS [ 12.746 s]
[INFO] ApacheDS Core ...................................... SUCCESS [ 15.790 s]
[INFO] ApacheDS Core AVL .................................. SUCCESS [ 14.631 s]
[INFO] ApacheDS Generalized (X) DBM Partition ............. SUCCESS [ 22.801 s]
[INFO] ApacheDS LDIF Partition ............................ SUCCESS [ 23.647 s]
[INFO] ApacheDS JDBM Partition ............................ SUCCESS [ 31.771 s]
[INFO] ApacheDS Mavibot Partition ......................... SUCCESS [ 19.257 s]
[INFO] ApacheDS Core Annotations .......................... SUCCESS [ 14.512 s]
[INFO] ApacheDS Core JNDI ................................. FAILURE [ 2.797 s]
[INFO] ApacheDS Protocol Kerberos Codec ................... SKIPPED
[INFO] ApacheDS Interceptors for Kerberos ................. SKIPPED
[INFO] ApacheDS Protocol Dhcp ............................. SKIPPED
[INFO] ApacheDS Protocol Shared ........................... SKIPPED
[INFO] ApacheDS Protocol Dns .............................. SKIPPED
[INFO] ApacheDS Protocol Kerberos ......................... SKIPPED
[INFO] ApacheDS Protocol Ldap ............................. SKIPPED
[INFO] ApacheDS Protocol Ntp .............................. SKIPPED
[INFO] Apacheds Server Annotations ........................ SKIPPED
[INFO] ApacheDS Server Config ............................. SKIPPED
[INFO] ApacheDS Server JNDI ............................... SKIPPED
[INFO] ApacheDS Test Framework ............................ SKIPPED
[INFO] ApacheDS All ....................................... SKIPPED
[INFO] ApacheDS Logger Interceptor ........................ SKIPPED
[INFO] ApacheDS Password Hashing Interceptor .............. SKIPPED
[INFO] ApacheDS Core Integration .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test .................... 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] Apache Directory LDAP Client API test .............. SKIPPED
[INFO] kerberos-client .................................... SKIPPED
[INFO] ApacheDS Service ................................... SKIPPED
[INFO] ApacheDS Wrapper ................................... SKIPPED
[INFO] ApacheDS Installers Maven Plugin ................... SKIPPED
[INFO] ApacheDS Installers ................................ SKIPPED
[INFO] ApacheDS OSGi Integration Tests .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:16 min
[INFO] Finished at: 2019-01-01T11:29:28+00:00
[INFO] Final Memory: 91M/473M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile)
on project apacheds-core-jndi: Compilation failure: Compilation failure:
[ERROR]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:[392,88]
cannot find symbol
[ERROR] symbol: method newControl()
[ERROR] location: variable controlFactory of type
org.apache.directory.api.ldap.codec.api.ControlFactory<?>
[ERROR]
<https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/ws/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java>:[395,23]
cannot find symbol
[ERROR] symbol: method
decodeValue(org.apache.directory.api.ldap.model.message.Control,byte[])
[ERROR] location: variable controlFactory of type
org.apache.directory.api.ldap.codec.api.ControlFactory<?>
[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-core-jndi
channel stopped