Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-05 Thread Stefan Seelmann
Can we call the vote successful?

On 3/3/20 3:17 PM, Shawn McKinney wrote:
> 
>> On Mar 3, 2020, at 6:10 AM, Emmanuel Lécharny  wrote:
>>
>> I'll investigate those erros, and the ones you mentionned (and Brian, etc).
>>
>> I'm not sure it would forces me to generate a new release, IMO, I think the 
>> best we can do is to cut this release, and get the errors fixed in a coming 
>> new release.
>>
>> Thoughts ?
> 
> Kind of where I ended up.  It does build, (on most platforms) and the 
> installer works, why I’m a +1 on release.
> 
> —
> Shawn
> -
> To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
> For additional commands, e-mail: dev-h...@directory.apache.org
> 


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-03 Thread Kiran Ayyagari
+1, built the sources with Java 8 (1.8.0_162-b12)

Thanks Emmanuel.

P.S:- One observation, the root pom.xml refers to version 2.0.1-SNAPSHOT of
checkstyle-configuration.

On Fri, Feb 28, 2020 at 3:23 PM Emmanuel Lécharny 
wrote:

> Hi,
>
> This is a major release of ApacheDS. It brings many bug fixes, and is the
> first version implementing LDAP transactions,
> which are now used internally for atomic operations, but can also be used
> through an extended operation, to apply many
> operations in one transaction.
> We also have changed the Cache system we were using (ehcache) to use the
> more efficient and lighter Caffeine
> (https://github.com/ben-manes/caffeine/wiki).
> Otherwise, we don't anymore store certificates in the server by default,
> but use an external keystore.
>
> We can't anymore produce the Mac OSX installer package, we are working on
> finding a solution for that issue (Apple
> deprecated the MakePackage tool and is now applying way more stringent
> checks and controls for packages, like
> and Apple signature). This will most certainly be fixed in the next
> revision.
>
> It uses the Apache LDAP API 2.0.0 release
>
> Here are the fixed issues :
>
>
> Bugs :
> --
>
> * DIRSERVER-1414 - Normalization is not handling correctly (buit this has
> no impact)
> * DIRSERVER-1580 - Numerous JUnit tests failing on Windows, again.
> * DIRSERVER-1878 - Bad warning from 'maven-shade-plugin' when creating the
> 'apacheds-service' jar
> * DIRSERVER-1924 - The MavibotPartition entry cache is not correctly set
> * DIRSERVER-1974 - Rename Operation Issue - ApacheDS
> * DIRSERVER-2049 - Queries interrupted with delete/add operations
> * DIRSERVER-2066 - Maven 3.3.x produces Invalid installers/archives
> * DIRSERVER-2070 - Null pointer exception on kerberos password changing
> * DIRSERVER-2071 - MinaKerberosDecoder fails with NullPointerException if
> the kerberos message is split in multiple packets
> * DIRSERVER-2074 - small default TCP receive/send buffer size causing TCP
> packet fragmentation on some platforms
> * DIRSERVER-2089 - AttributeType breaks the equals/hashCode override
> contract
> * DIRSERVER-2099 - NOTICE and LICENSE files for DS 2.0.0-M20 are
> incorrect
> * DIRSERVER-2146 - Using special chars in uid makes problem
> * DIRSERVER-2197 - Debian installer package contains the binary 4 times
> * DIRSERVER-2237 - Application opens but can't 'Open Connection' -
> IllegalArgumentException
> * DIRSERVER-2247 - Invalid signature file digest for Manifest main
> attributes - When switching from 2.0.0-M24 to 2.0.0-AM25
> * DIRSERVER-2253 - NIS schema object class and attribute problem
> * DIRSERVER-2264 - missing schema type for NIS: nisMapName
> * DIRSERVER-2273 - Le serveur ne démarre plus
> * DIRSERVER-2275 - Les schemas LDIF générés à partir du schema browser
> font planter Directory au démarrage
> * DIRSERVER-2289 - Paging support to retrieve all the entries available in
> ApacheDS between different client and LDAP server connections
>
>
> Improvements :
> --
>
> * DIRSERVER-959 - We nedd a global cache
> * DIRSERVER-1639 - Add support for specifying cipher suites in
> LdapServer's configuration
> * DIRSERVER-1892 - We don't need to clone the full entry when returning it
> from the backen
> * DIRSERVER-1916 - Don't drop 'top' from ObjectClass index, it's never
> present in the BTree
> * DIRSERVER-2044 - The CacheService.initialize() method takes an unused
> InstanceID argument
> * DIRSERVER-2132 - Add the structuralObjectClass attribute to every
> returned entry
> * DIRSERVER-2133 - Add the hasSubordinates operational attribute to entries
> * DIRSERVER-2145 - A BIND request will do 2 lookups of the entry trying to
> bind
> * DIRSERVER-2168 - Possible performance improvement in the Add operation
> * DIRSERVER-2262 - The LdapServer.loadkeyStore() method do the work twice
> if there is no KeyStore defined
> * DIRSERVER-2270 - Inconsistent log level practices
>
>
> New features :
> --
>
> * DIRSERVER-279 - Transaction support
> * DIRSERVER-1422 - Delegation of Authentication
> * DIRSERVER-1956 - Add support for rfc4525 (increment)
> * DIRSERVER-2245 - Implement the transaction support in ApachedS
> * DIRSERVER-2248 - The server generates some errors when starting (Schema
> isues)
>
> Tasks :
> ---
>
> * DIRSERVER-1245 - Source audit
> * DIRSERVER-2063 - Automat testing of installers
> * DIRSERVER-2097 - Fix usage of default charset|locale|timezone and enable
> forbiddenapis check
> * DIRSERVER-2271 - Replace Ehcache with Caffeine
>
> Tests :
> ---
> * DIRSERVER-1847 - Introduce time provider for time dependent tests
>
>
>
>   Here are the associated links :
>
> ApacheDS 2.0.0.AM26
> ---
> - GIT tag :
>
>
> https://gitbox.apache.org/repos/asf?p=directory-server.git;a=commit;h=8c9b56bdcc0703b04b8e2dbdc4f045ed5d83a064
> <
> https://gitbox.apache.org/repos/asf?p=directory-server.git;a=commit;h=40ab08d93c6125ccb59d692b25759361307195d3
> >
>
> - Nexus 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-03 Thread Shawn McKinney


> On Mar 3, 2020, at 6:10 AM, Emmanuel Lécharny  wrote:
> 
> I'll investigate those erros, and the ones you mentionned (and Brian, etc).
> 
> I'm not sure it would forces me to generate a new release, IMO, I think the 
> best we can do is to cut this release, and get the errors fixed in a coming 
> new release.
> 
> Thoughts ?

Kind of where I ended up.  It does build, (on most platforms) and the installer 
works, why I’m a +1 on release.

—
Shawn
-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-03 Thread Emmanuel Lécharny

Thanks Shawn.


I have tested the build on Debian, with Java 8, and got these errors :


[ERROR] Tests run: 14, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 
14.183 s <<< FAILURE! - in 
org.apache.directory.shared.client.api.CertificateValidationTest
[ERROR] 
testLdaps_Valid_RootCaTrustManager(org.apache.directory.shared.client.api.CertificateValidationTest) 
Time elapsed: 1.022 s  <<< ERROR!
org.apache.directory.api.ldap.model.exception.LdapTlsHandshakeException: 
ERR_04120_TLS_HANDSHAKE_ERROR The TLS handshake failed, reason: 
Unspecified: TrustAnchor with subject "CN=ApacheDS, OU=Directory, O=ASF, 
C=US" is not a CA certificate
    at 
org.apache.directory.shared.client.api.CertificateValidationTest.connectOk(CertificateValidationTest.java:337)
    at 
org.apache.directory.shared.client.api.CertificateValidationTest.testLdaps_Valid_RootCaTrustManager(CertificateValidationTest.java:243)

Caused by: javax.net.ssl.SSLHandshakeException: SSL handshake failed.
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Caused by: sun.security.validator.ValidatorException: PKIX path 
validation failed: sun.security.validator.ValidatorException: 
TrustAnchor with subject "CN=ApacheDS, OU=Directory, O=ASF, C=US" is not 
a CA certificate
Caused by: sun.security.validator.ValidatorException: TrustAnchor with 
subject "CN=ApacheDS, OU=Directory, O=ASF, C=US" is not a CA certificate


[ERROR] 
testStartTls_Valid_RootCaTrustManager(org.apache.directory.shared.client.api.CertificateValidationTest) 
Time elapsed: 1.011 s  <<< ERROR!
org.apache.directory.api.ldap.model.exception.LdapTlsHandshakeException: 
ERR_04120_TLS_HANDSHAKE_ERROR The TLS handshake failed, reason: 
Unspecified: TrustAnchor with subject "CN=ApacheDS, OU=Directory, O=ASF, 
C=US" is not a CA certificate
    at 
org.apache.directory.shared.client.api.CertificateValidationTest.connectOk(CertificateValidationTest.java:333)
    at 
org.apache.directory.shared.client.api.CertificateValidationTest.testStartTls_Valid_RootCaTrustManager(CertificateValidationTest.java:253)

Caused by: javax.net.ssl.SSLHandshakeException: SSL handshake failed.
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Caused by: sun.security.validator.ValidatorException: PKIX path 
validation failed: sun.security.validator.ValidatorException: 
TrustAnchor with subject "CN=ApacheDS, OU=Directory, O=ASF, C=US" is not 
a CA certificate
Caused by: sun.security.validator.ValidatorException: TrustAnchor with 
subject "CN=ApacheDS, OU=Directory, O=ASF, C=US" is not a CA certificate


[INFO] Running org.apache.directory.shared.client.api.LdapConnectionTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.222 s - in org.apache.directory.shared.client.api.LdapConnectionTest

[INFO] Running org.apache.directory.shared.client.api.ServerSchemaLoaderTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.069 s - in org.apache.directory.shared.client.api.ServerSchemaLoaderTest

[INFO] Running org.apache.directory.shared.client.api.LdapSSLConnectionTest
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
33.424 s - in org.apache.directory.shared.client.api.LdapSSLConnectionTest

[INFO] Running org.apache.directory.shared.client.api.AdsSchemaLoaderTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.1 s - in org.apache.directory.shared.client.api.AdsSchemaLoaderTest
[INFO] Running 
org.apache.directory.ldap.client.template.LdapConnectionTemplateTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.278 s - in 
org.apache.directory.ldap.client.template.LdapConnectionTemplateTest

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] 
CertificateValidationTest.testLdaps_Valid_RootCaTrustManager:243->connectOk:337 
? LdapTlsHandshake
[ERROR] 
CertificateValidationTest.testStartTls_Valid_RootCaTrustManager:253->connectOk:333 
? LdapTlsHandshake



$ mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/apache-maven-3.6.3
Java version: 1.8.0_242, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-8-openjdk-amd64/jre

Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "4.9.0-11-amd64", arch: "amd64", family: "unix"


I'll investigate those erros, and the ones you mentionned (and Brian, etc).


I'm not sure it would forces me to generate a new release, IMO, I think 
the best we can do is to cut this release, and get the errors fixed in a 
coming new release.



Thoughts ?

On 03/03/2020 00:41, Shawn McKinney wrote:

+1, built on centos 7, 8, Java 8.  Also installed binaries on centos 8 and ran 
fortress unit tests.

—
Shawn


On Mar 2, 2020, at 12:02 PM, Colm O hEigeartaigh  wrote:

+1. Built and verified distribution, tested 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Shawn McKinney
+1, built on centos 7, 8, Java 8.  Also installed binaries on centos 8 and ran 
fortress unit tests.

—
Shawn

> On Mar 2, 2020, at 12:02 PM, Colm O hEigeartaigh  wrote:
> 
> +1. Built and verified distribution, tested the upgrade works OK for various 
> other Apache projects that depend on it.
> 


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Emmanuel Lécharny



On 02/03/2020 20:26, Stefan Seelmann wrote:

On 3/2/20 8:14 PM, Shawn McKinney wrote:

On Mar 2, 2020, at 1:09 PM, Shawn McKinney  wrote:

Here is the trace for failure #2:

Left off the trailing bit:

...

[WARNING] Tests run: 24, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 
1.865 s - in org.apache.directory.server.ppolicy.PasswordPolicyIT
[INFO] Running org.apache.directory.IndexIT
[WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.667 
s - in org.apache.directory.IndexIT
[INFO] Running org.apache.directory.dsml.engine.Dsmlv2EngineIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.356 s 
- in org.apache.directory.dsml.engine.Dsmlv2EngineIT
[INFO]
[INFO] Results:
[INFO]

[ERROR] Failures:
[ERROR]   SearchIT.testAbandonnedRequest:1943 expected:<10> but was:<116>

IIRC that's a flaky test...



Indeed. The abandon request is asynchronous, there are many ways this 
test may fail.





-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Stefan Seelmann
On 3/2/20 8:14 PM, Shawn McKinney wrote:
> 
>> On Mar 2, 2020, at 1:09 PM, Shawn McKinney  wrote:
>>
>> Here is the trace for failure #2:
> 
> Left off the trailing bit:
> 
> ...
> 
> [WARNING] Tests run: 24, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 
> 1.865 s - in org.apache.directory.server.ppolicy.PasswordPolicyIT
> [INFO] Running org.apache.directory.IndexIT   
> [WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
> 0.667 s - in org.apache.directory.IndexIT  
> [INFO] Running org.apache.directory.dsml.engine.Dsmlv2EngineIT
>  
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.356 
> s - in org.apache.directory.dsml.engine.Dsmlv2EngineIT
> [INFO]
> 
> [INFO] Results:   
>   
>  
> [INFO]
>   
> 
> [ERROR] Failures: 
>
> [ERROR]   SearchIT.testAbandonnedRequest:1943 expected:<10> but was:<116> 
>  

IIRC that's a flaky test...



-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Stefan Seelmann
I think the below stacktraces are no error, but some tests just test
behaviour with invalid keystores. As long as there are not test failures
reported in KeyStoreIT that's fine.

On 3/2/20 8:09 PM, Shawn McKinney wrote:
> Here is the trace for failure #2:
> 
> [1]Centos 8
> 
> $ mvn -v
> Apache Maven 3.5.4 (Red Hat 3.5.4-5)
> Maven home: /usr/share/maven
> Java version: 1.8.0_242, vendor: Oracle Corporation, runtime: 
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el8_1.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.18.0-80.7.1.el8_0.x86_64", arch: "amd64", 
> family: "unix"
> 
> 
> $ mvn clean install
> 
> [INFO] Running org.apache.directory.server.ssl.KeyStoreIT 
>   
>[279/1995]
> java.security.KeyStoreException: Key store is empty   
>   
> at 
> org.apache.directory.server.core.security.CertificateUtil.loadKeyStore(CertificateUtil.java:268)
>
> at 
> org.apache.directory.server.ldap.LdapServer.start(LdapServer.java:421)
>   
>  
> at 
> org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:328)
> at 
> org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351)
>
> at 
> org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:291)
> at 
> org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:55)
>  
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>  
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> 
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)  
> 
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   
> 
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)   
>  
> at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) 
>
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)  
> 
> at 
> org.apache.directory.server.core.integ.FrameworkRunner.run(FrameworkRunner.java:156)
> 
> at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> 
> at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>   
> at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> 
> at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
> at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
> 
> at 
> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)  
>  
> at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 
>   
>  
> java.security.KeyStoreException: Key store contains more than one entry   
>  
> at 
> org.apache.directory.server.core.security.CertificateUtil.loadKeyStore(CertificateUtil.java:275)
> 
> at 
> org.apache.directory.server.ldap.LdapServer.start(LdapServer.java:421)
>   
>  
> at 
> org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:328)
>  
> at 
> 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Shawn McKinney


> On Mar 2, 2020, at 1:09 PM, Shawn McKinney  wrote:
> 
> Here is the trace for failure #2:

Left off the trailing bit:

...

[WARNING] Tests run: 24, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 
1.865 s - in org.apache.directory.server.ppolicy.PasswordPolicyIT
[INFO] Running org.apache.directory.IndexIT   
[WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.667 
s - in org.apache.directory.IndexIT  
[INFO] Running org.apache.directory.dsml.engine.Dsmlv2EngineIT 
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.356 s 
- in org.apache.directory.dsml.engine.Dsmlv2EngineIT
[INFO]  
  
[INFO] Results: 

 
[INFO]  

[ERROR] Failures:   
 
[ERROR]   SearchIT.testAbandonnedRequest:1943 expected:<10> but was:<116>   
   
[INFO]  

   
[ERROR] Tests run: 546, Failures: 1, Errors: 0, Skipped: 17 
[INFO]  
 
[INFO] 
[INFO] Reactor Summary: 
   
[INFO] ApacheDS 2.0.0.AM26  SUCCESS [ 23.896 s]
[INFO] ApacheDS I18n .. SUCCESS [  5.215 s]
[INFO] ApacheDS Core Constants  SUCCESS [  0.920 s]
[INFO] ApacheDS Core API .. SUCCESS [ 28.557 s]
...

[INFO] ApacheDS Server Integration  FAILURE [04:09 min]
[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 2.0.0.AM26 . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 15:42 min
[INFO] Finished at: 2020-03-02T18:24:28Z
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on 
project apacheds-server-integ: There are test failures.


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Shawn McKinney



> On Mar 2, 2020, at 1:09 PM, Shawn McKinney  wrote:
> 
> So, upgrading to maven 3.5.x got me past originally reported problem on 
> Centos 7, but still doesn’t test clean on Centos 7.


Err, doesn’t test clean on Centos 7 or 8. 

—
Shawn
-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Shawn McKinney


> On Mar 2, 2020, at 7:47 AM, Stefan Seelmann  wrote:
> 
> please see my comments inline...
> 
>> [1] Centos7 problem.
>> 
>> $mvn -version
>> 
>> Apache Maven 3.0.5 (Red Hat 3.0.5-17)
> 
> I'm quite sure that Maven version is too old, please use version 3.6.

Tried again three times:

1. Centos 7 after upgrading to maven 3.6

Failed during tests.

2. Centos 8 (brand new VM), with Maven 3.5.3, installed via yum.  Failed during 
tests. See trace below.

3. Centos 8 (same machine as #2, with upgraded Maven 3.6).  Again failed in 
test.  Exact error as #2 had.

So, upgrading to maven 3.5.x got me past originally reported problem on Centos 
7, but still doesn’t test clean on Centos 7.


>> [2] Ubuntu18 problem.
>> 
>> $mvn -version
>> 
>> Apache Maven 3.6.0
>> Maven home: /usr/share/maven
>> Java version: 1.8.0_242, vendor: Private Build, runtime: 
>> /usr/lib/jvm/java-8-openjdk-amd64/jre
> 
> Strange, like in Brian's case "Private Build", that definitely breaks
> some kerberos tests.

Ok, let’s sidestep the Ubuntu for a moment and focus on Centos.  

***

Here is the trace for failure #2:

[1]Centos 8

$ mvn -v
Apache Maven 3.5.4 (Red Hat 3.5.4-5)
Maven home: /usr/share/maven
Java version: 1.8.0_242, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el8_1.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.18.0-80.7.1.el8_0.x86_64", arch: "amd64", family: 
"unix"


$ mvn clean install

[INFO] Running org.apache.directory.server.ssl.KeyStoreIT   

   [279/1995]
java.security.KeyStoreException: Key store is empty 

at 
org.apache.directory.server.core.security.CertificateUtil.loadKeyStore(CertificateUtil.java:268)
   
at 
org.apache.directory.server.ldap.LdapServer.start(LdapServer.java:421)  

 
at 
org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:328)
at 
org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351)
   
at 
org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:291)
at 
org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:55)
 
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)  
  
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)  


at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 
   
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)   
 
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  
at 
org.apache.directory.server.core.integ.FrameworkRunner.run(FrameworkRunner.java:156)

at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)

at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
  
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 
   
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)

at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)   

 
java.security.KeyStoreException: Key store contains more than one entry 
   
at 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Colm O hEigeartaigh
+1. Built and verified distribution, tested the upgrade works OK for
various other Apache projects that depend on it.

Colm.

On Sun, Mar 1, 2020 at 8:08 PM Stefan Seelmann 
wrote:

> +1
>
> * Verified checksums and signatures
> * Built source package with Java 8
>
> Yay, many thanks Emmanuel!
>
> Kind Regards,
> Stefan
>
> On 2/28/20 3:23 PM, Emmanuel Lécharny wrote:
> > Hi,
> >
> > This is a major release of ApacheDS. It brings many bug fixes, and is
> > the first version implementing LDAP transactions,
> > which are now used internally for atomic operations, but can also be
> > used through an extended operation, to apply many
> > operations in one transaction.
> > We also have changed the Cache system we were using (ehcache) to use the
> > more efficient and lighter Caffeine
> > (https://github.com/ben-manes/caffeine/wiki).
> > Otherwise, we don't anymore store certificates in the server by default,
> > but use an external keystore.
> >
> > We can't anymore produce the Mac OSX installer package, we are working
> > on finding a solution for that issue (Apple
> > deprecated the MakePackage tool and is now applying way more stringent
> > checks and controls for packages, like
> > and Apple signature). This will most certainly be fixed in the next
> > revision.
> >
> > It uses the Apache LDAP API 2.0.0 release
> >
> > Here are the fixed issues :
> >
> >
> > Bugs :
> > --
> >
> > * DIRSERVER-1414 - Normalization is not handling correctly (buit this
> > has no impact)
> > * DIRSERVER-1580 - Numerous JUnit tests failing on Windows, again.
> > * DIRSERVER-1878 - Bad warning from 'maven-shade-plugin' when creating
> > the 'apacheds-service' jar
> > * DIRSERVER-1924 - The MavibotPartition entry cache is not correctly set
> > * DIRSERVER-1974 - Rename Operation Issue - ApacheDS
> > * DIRSERVER-2049 - Queries interrupted with delete/add operations
> > * DIRSERVER-2066 - Maven 3.3.x produces Invalid installers/archives
> > * DIRSERVER-2070 - Null pointer exception on kerberos password changing
> > * DIRSERVER-2071 - MinaKerberosDecoder fails with NullPointerException
> > if the kerberos message is split in multiple packets
> > * DIRSERVER-2074 - small default TCP receive/send buffer size causing
> > TCP packet fragmentation on some platforms
> > * DIRSERVER-2089 - AttributeType breaks the equals/hashCode override
> > contract
> > * DIRSERVER-2099 - NOTICE and LICENSE files for DS 2.0.0-M20 are
> > incorrect
> > * DIRSERVER-2146 - Using special chars in uid makes problem
> > * DIRSERVER-2197 - Debian installer package contains the binary 4 times
> > * DIRSERVER-2237 - Application opens but can't 'Open Connection' -
> > IllegalArgumentException
> > * DIRSERVER-2247 - Invalid signature file digest for Manifest main
> > attributes - When switching from 2.0.0-M24 to 2.0.0-AM25
> > * DIRSERVER-2253 - NIS schema object class and attribute problem
> > * DIRSERVER-2264 - missing schema type for NIS: nisMapName
> > * DIRSERVER-2273 - Le serveur ne démarre plus
> > * DIRSERVER-2275 - Les schemas LDIF générés à partir du schema browser
> > font planter Directory au démarrage
> > * DIRSERVER-2289 - Paging support to retrieve all the entries available
> > in ApacheDS between different client and LDAP server connections
> >
> >
> > Improvements :
> > --
> >
> > * DIRSERVER-959 - We nedd a global cache
> > * DIRSERVER-1639 - Add support for specifying cipher suites in
> > LdapServer's configuration
> > * DIRSERVER-1892 - We don't need to clone the full entry when returning
> > it from the backen
> > * DIRSERVER-1916 - Don't drop 'top' from ObjectClass index, it's never
> > present in the BTree
> > * DIRSERVER-2044 - The CacheService.initialize() method takes an unused
> > InstanceID argument
> > * DIRSERVER-2132 - Add the structuralObjectClass attribute to every
> > returned entry
> > * DIRSERVER-2133 - Add the hasSubordinates operational attribute to
> entries
> > * DIRSERVER-2145 - A BIND request will do 2 lookups of the entry trying
> > to bind
> > * DIRSERVER-2168 - Possible performance improvement in the Add operation
> > * DIRSERVER-2262 - The LdapServer.loadkeyStore() method do the work
> > twice if there is no KeyStore defined
> > * DIRSERVER-2270 - Inconsistent log level practices
> >
> >
> > New features :
> > --
> >
> > * DIRSERVER-279 - Transaction support
> > * DIRSERVER-1422 - Delegation of Authentication
> > * DIRSERVER-1956 - Add support for rfc4525 (increment)
> > * DIRSERVER-2245 - Implement the transaction support in ApachedS
> > * DIRSERVER-2248 - The server generates some errors when starting
> > (Schema isues)
> >   Tasks :
> > ---
> >
> > * DIRSERVER-1245 - Source audit
> > * DIRSERVER-2063 - Automat testing of installers
> > * DIRSERVER-2097 - Fix usage of default charset|locale|timezone and
> > enable forbiddenapis check
> > * DIRSERVER-2271 - Replace Ehcache with Caffeine
> >
> > Tests :
> > ---
> > * DIRSERVER-1847 - Introduce time provider for time dependent tests
> 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Stefan Seelmann
Hi Shawn,

please see my comments inline...

> [1] Centos7 problem.
> 
> $mvn -version
> 
> Apache Maven 3.0.5 (Red Hat 3.0.5-17)

I'm quite sure that Maven version is too old, please use version 3.6.

> [2] Ubuntu18 problem.
> 
> $mvn -version
> 
> Apache Maven 3.6.0
> Maven home: /usr/share/maven
> Java version: 1.8.0_242, vendor: Private Build, runtime: 
> /usr/lib/jvm/java-8-openjdk-amd64/jre

Strange, like in Brian's case "Private Build", that definitely breaks
some kerberos tests.

> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.15.0-72-generic", arch: "amd64", family: “unix”

Kind Regards,
Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Stefan Seelmann
On 3/2/20 9:46 AM, Brian Burch wrote:
> Hmm, perhaps +1...?
> 
> Sorry to raise a problem, but  "mvn clean install" gets three test
> failures for me when running under:-
> 
> OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.1, mixed
> mode, sharing
> 
> Do you think this is a local environment error, or something more
> general which ought to be fixed before general release?
> 
> KeyDerivationServiceIT.testAddDerivedKeys:273->checkKeyNumber:186 Unkown
> JVM/keysize: 'Private Build' / 5
> [ERROR]
> KeyDerivationServiceIT.testModifyDerivedKeys:350->checkKeyNumber:186
> Unkown JVM/keysize: 'Private Build' / 5
> [ERROR]
> KeyDerivationServiceIT.testModifyDerivedKeysWithoutPrincipalName:489->checkKeyNumber:186
> Unkown JVM/keysize: 'Private Build' / 5
> [INFO]

Can you post the output of `mvn -v` please?

Those three failures are caused by "unknown" JVM, see code [1]. Not sure
why the vendor is "Private Build"? Do you use a custom Java build?

I also tested with Java 11 where it works, for reference that's my output:
```
JAVA_HOME=/usr/lib/jvm/java-11-openjdk mvn -v
Apache Maven 3.6.3 (NON-CANONICAL_2019-11-27T20:26:29Z_root)
Maven home: /opt/maven
Java version: 11.0.5, vendor: Oracle Corporation, runtime:
/usr/lib/jvm/java-11-openjdk
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.6-arch1-1", arch: "amd64", family: "unix"
```

Kind Regards,
Stefan


[1]
https://github.com/apache/directory-server/blob/faa1249f49dea0c3af39e7312c18583ce2b1012b/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java#L186

-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Shawn McKinney


> On Mar 2, 2020, at 2:58 AM, Emmanuel Lécharny  wrote:
> 
> On 02/03/2020 09:46, Brian Burch wrote:
>> Hmm, perhaps +1...?
>> 
>> Sorry to raise a problem, but  "mvn clean install" gets three test failures 
>> for me when running under:-
>> 
>> OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.1, mixed 
>> mode, sharing
>> 
>> Do you think this is a local environment error, or something more general 
>> which ought to be fixed before general release?
> 
> 
> Clearly an issue with Java 11...
> 

I’m having problems as well, on Java 8.

I’ve tried both on Centos7[1] and Ubuntu18[2], both fail.

Also, having problems testing an instance of the server, but still 
troubleshooting.  It may be related to me not knowing how to build the 
installers.  I followed the instructions under the README in the installers 
folder.  Speaking of (bin) installers, shouldn’t they be included in the 
release package?

***

[1] Centos7 problem.

$mvn -version

Apache Maven 3.0.5 (Red Hat 3.0.5-17)
Maven home: /usr/share/maven
Java version: 1.8.0_242, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.el7.x86_64", arch: "amd64", family: 
“unix”

$mvn clean install
...

WARNING: Error injecting: org.apache.maven.plugin.surefire.SurefirePlugin   

[79/1918]
com.google.inject.ProvisionException: Guice provision errors:

1) No implementation for 
org.codehaus.plexus.languages.java.jpms.LocationManager was bound.
  while locating org.apache.maven.plugin.surefire.SurefirePlugin

1 error
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1006)
at 
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
at 
org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
at 
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
at 
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
at 
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
at 
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
at 
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at 
org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
at 
org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Emmanuel Lécharny



On 02/03/2020 09:46, Brian Burch wrote:

Hmm, perhaps +1...?

Sorry to raise a problem, but  "mvn clean install" gets three test 
failures for me when running under:-


OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.1, 
mixed mode, sharing


Do you think this is a local environment error, or something more 
general which ought to be fixed before general release?



Clearly an issue with Java 11...


Can you fill a JIRA for this one ?


Thanks !



-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-02 Thread Brian Burch

Hmm, perhaps +1...?

Sorry to raise a problem, but  "mvn clean install" gets three test 
failures for me when running under:-


OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.1, mixed 
mode, sharing


Do you think this is a local environment error, or something more 
general which ought to be fixed before general release?


Here is the relevant section of my log:



[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ 
apacheds-server-integ ---

[INFO]
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.directory.IndexIT
[WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time 
elapsed: 7.363 s - in org.apache.directory.IndexIT

[INFO] Running org.apache.directory.server.ppolicy.PasswordPolicyIT
[WARNING] Tests run: 24, Failures: 0, Errors: 0, Skipped: 2, Time 
elapsed: 19.235 s - in org.apache.directory.server.ppolicy.PasswordPolicyIT

[INFO] Running org.apache.directory.server.admin.AdministrativePointModifyIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
8.657 s - in org.apache.directory.server.admin.AdministrativePointModifyIT
[INFO] Running 
org.apache.directory.server.admin.AdministrativePointPersistentIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
11.774 s - in 
org.apache.directory.server.admin.AdministrativePointPersistentIT

[INFO] Running org.apache.directory.server.admin.AdministrativePointAddIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
7.134 s - in org.apache.directory.server.admin.AdministrativePointAddIT
[INFO] Running 
org.apache.directory.server.admin.AdministrativePointModifyDelIT
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time 
elapsed: 5.443 s - in 
org.apache.directory.server.admin.AdministrativePointModifyDelIT

[INFO] Running org.apache.directory.server.schema.MavibotSchemaIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
23.579 s - in org.apache.directory.server.schema.MavibotSchemaIT

[INFO] Running org.apache.directory.server.schema.SchemaIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
16.498 s - in org.apache.directory.server.schema.SchemaIT
[INFO] Running 
org.apache.directory.server.ldap.handlers.sasl.external.ClientCertificateAuthenticationIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
9.605 s - in 
org.apache.directory.server.ldap.handlers.sasl.external.ClientCertificateAuthenticationIT

[INFO] Running org.apache.directory.server.kerberos.KeyDerivationServiceIT
[ERROR] Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 
6.199 s <<< FAILURE! - in 
org.apache.directory.server.kerberos.KeyDerivationServiceIT
[ERROR] 
testModifyDerivedKeysWithoutPrincipalName(org.apache.directory.server.kerberos.KeyDerivationServiceIT) 
 Time elapsed: 0.554 s  <<< FAILURE!

java.lang.AssertionError: Unkown JVM/keysize: 'Private Build' / 5
	at 
org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:186)
	at 
org.apache.directory.server.kerberos.KeyDerivationServiceIT.testModifyDerivedKeysWithoutPrincipalName(KeyDerivationServiceIT.java:489)


[ERROR] 
testModifyDerivedKeys(org.apache.directory.server.kerberos.KeyDerivationServiceIT) 
 Time elapsed: 0.292 s  <<< FAILURE!

java.lang.AssertionError: Unkown JVM/keysize: 'Private Build' / 5
	at 
org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:186)
	at 
org.apache.directory.server.kerberos.KeyDerivationServiceIT.testModifyDerivedKeys(KeyDerivationServiceIT.java:350)


[ERROR] 
testAddDerivedKeys(org.apache.directory.server.kerberos.KeyDerivationServiceIT) 
 Time elapsed: 0.143 s  <<< FAILURE!

java.lang.AssertionError: Unkown JVM/keysize: 'Private Build' / 5
	at 
org.apache.directory.server.kerberos.KeyDerivationServiceIT.checkKeyNumber(KeyDerivationServiceIT.java:186)
	at 
org.apache.directory.server.kerberos.KeyDerivationServiceIT.testAddDerivedKeys(KeyDerivationServiceIT.java:273)


[INFO] Running org.apache.directory.server.kerberos.PasswordPolicyServiceIT
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time 
elapsed: 0.002 s - in 
org.apache.directory.server.kerberos.PasswordPolicyServiceIT
[INFO] Running 
org.apache.directory.server.replication.ClientInitialRefreshIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
6.117 s - in org.apache.directory.server.replication.ClientInitialRefreshIT
[INFO] Running 
org.apache.directory.server.replication.ClientServerReplicationIT
[WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time 
elapsed: 22.779 s - in 
org.apache.directory.server.replication.ClientServerReplicationIT
[INFO] Running 
org.apache.directory.server.replication.StaleEventLogDetectionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time 

Re: [VOTE] Apache DS 2.0.0.AM26 release

2020-03-01 Thread Stefan Seelmann
+1

* Verified checksums and signatures
* Built source package with Java 8

Yay, many thanks Emmanuel!

Kind Regards,
Stefan

On 2/28/20 3:23 PM, Emmanuel Lécharny wrote:
> Hi,
> 
> This is a major release of ApacheDS. It brings many bug fixes, and is
> the first version implementing LDAP transactions,
> which are now used internally for atomic operations, but can also be
> used through an extended operation, to apply many
> operations in one transaction.
> We also have changed the Cache system we were using (ehcache) to use the
> more efficient and lighter Caffeine
> (https://github.com/ben-manes/caffeine/wiki).
> Otherwise, we don't anymore store certificates in the server by default,
> but use an external keystore.
> 
> We can't anymore produce the Mac OSX installer package, we are working
> on finding a solution for that issue (Apple
> deprecated the MakePackage tool and is now applying way more stringent
> checks and controls for packages, like
> and Apple signature). This will most certainly be fixed in the next
> revision.
> 
> It uses the Apache LDAP API 2.0.0 release
> 
> Here are the fixed issues :
> 
> 
> Bugs :
> --
> 
> * DIRSERVER-1414 - Normalization is not handling correctly (buit this
> has no impact)
> * DIRSERVER-1580 - Numerous JUnit tests failing on Windows, again.
> * DIRSERVER-1878 - Bad warning from 'maven-shade-plugin' when creating
> the 'apacheds-service' jar
> * DIRSERVER-1924 - The MavibotPartition entry cache is not correctly set
> * DIRSERVER-1974 - Rename Operation Issue - ApacheDS
> * DIRSERVER-2049 - Queries interrupted with delete/add operations   
> * DIRSERVER-2066 - Maven 3.3.x produces Invalid installers/archives
> * DIRSERVER-2070 - Null pointer exception on kerberos password changing
> * DIRSERVER-2071 - MinaKerberosDecoder fails with NullPointerException
> if the kerberos message is split in multiple packets
> * DIRSERVER-2074 - small default TCP receive/send buffer size causing
> TCP packet fragmentation on some platforms
> * DIRSERVER-2089 - AttributeType breaks the equals/hashCode override
> contract
> * DIRSERVER-2099 - NOTICE and LICENSE files for DS 2.0.0-M20 are
> incorrect   
> * DIRSERVER-2146 - Using special chars in uid makes problem
> * DIRSERVER-2197 - Debian installer package contains the binary 4 times
> * DIRSERVER-2237 - Application opens but can't 'Open Connection' -
> IllegalArgumentException
> * DIRSERVER-2247 - Invalid signature file digest for Manifest main
> attributes - When switching from 2.0.0-M24 to 2.0.0-AM25
> * DIRSERVER-2253 - NIS schema object class and attribute problem   
> * DIRSERVER-2264 - missing schema type for NIS: nisMapName
> * DIRSERVER-2273 - Le serveur ne démarre plus
> * DIRSERVER-2275 - Les schemas LDIF générés à partir du schema browser
> font planter Directory au démarrage
> * DIRSERVER-2289 - Paging support to retrieve all the entries available
> in ApacheDS between different client and LDAP server connections
> 
> 
> Improvements :
> --
> 
> * DIRSERVER-959 - We nedd a global cache
> * DIRSERVER-1639 - Add support for specifying cipher suites in
> LdapServer's configuration   
> * DIRSERVER-1892 - We don't need to clone the full entry when returning
> it from the backen
> * DIRSERVER-1916 - Don't drop 'top' from ObjectClass index, it's never
> present in the BTree
> * DIRSERVER-2044 - The CacheService.initialize() method takes an unused
> InstanceID argument
> * DIRSERVER-2132 - Add the structuralObjectClass attribute to every
> returned entry
> * DIRSERVER-2133 - Add the hasSubordinates operational attribute to entries
> * DIRSERVER-2145 - A BIND request will do 2 lookups of the entry trying
> to bind
> * DIRSERVER-2168 - Possible performance improvement in the Add operation
> * DIRSERVER-2262 - The LdapServer.loadkeyStore() method do the work
> twice if there is no KeyStore defined
> * DIRSERVER-2270 - Inconsistent log level practices
> 
> 
> New features :
> --
> 
> * DIRSERVER-279 - Transaction support
> * DIRSERVER-1422 - Delegation of Authentication
> * DIRSERVER-1956 - Add support for rfc4525 (increment)
> * DIRSERVER-2245 - Implement the transaction support in ApachedS
> * DIRSERVER-2248 - The server generates some errors when starting
> (Schema isues)
>   Tasks :
> ---
> 
> * DIRSERVER-1245 - Source audit
> * DIRSERVER-2063 - Automat testing of installers
> * DIRSERVER-2097 - Fix usage of default charset|locale|timezone and
> enable forbiddenapis check
> * DIRSERVER-2271 - Replace Ehcache with Caffeine
> 
> Tests :
> ---
> * DIRSERVER-1847 - Introduce time provider for time dependent tests
> 
>  
> 
>  Here are the associated links :
> 
> ApacheDS 2.0.0.AM26
> ---
> - GIT tag :
> 
> https://gitbox.apache.org/repos/asf?p=directory-server.git;a=commit;h=8c9b56bdcc0703b04b8e2dbdc4f045ed5d83a064
>  
> 
> 
> 
> - Nexus repository:
>