You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2016/12/24 22:05:59 UTC

Failures on ApacheDS trunk on my machine...

Hi guys,


not exactly a christmas gift :-)


Recently, building ApacehDS fails on my machine (it succeed on Kiran's
one though). The failure is one I have met month (years ?) ago, and it's
related to the connection establishement. For some unknown reasons, when
using the LDAP API in ldap-client-api tests, tests are blocking and
timing out while trying to connect on the server. Under the hood, we use
a bind-async, which get back a future, and we wait on it, and it never
get valid, so we retry immediately, up to the pont I exhaust the number
of file I can open.

Is that happens for any of you ? I suspect a race condition, because it
works for Kiran who has a slower computer than mine (core i5, 4Gb vs
core i7 and 16Gb), also because when I debug teh code, it somehow works.

It might be a MINA issue, or a LDAP API issue (I have changed the API
quite a bit recently, although I mainly cleaed up Javadocs)...

In any case, Happy Christmas to all of you !

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org


Re: Failures on ApacheDS trunk on my machine...

Posted by Emmanuel Lécharny <el...@gmail.com>.
Forget about it...


This was an issue in my local version of the API, I have removed a
'break' in the connection loop, thinking it was useless. Of course, not
'breaking' from this loop never get me out of it, and led to the errors
on my computer.

All is back on track !

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org


Re: Failures on ApacheDS trunk on my machine...

Posted by Emmanuel Lécharny <el...@gmail.com>.
FTR, the build works on Jenkins :

https://builds.apache.org/job/dir-apacheds-ubuntu-deploy/1955/console

Here is my config :

localhost:shared elecharny$ mvn --version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T17:41:47+01:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_102, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"


I'm not using the latest Java version (1.8.0_111), the build is also
failing with Java 7.

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org