directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: Release troubles and failing tests
Date Sun, 06 May 2012 10:07:21 GMT
Ok, I think I have found the cursor that was not closed.

I'll try to cut the release this week-end (if I get enough intenret 

Le 5/5/12 1:57 PM, Emmanuel Lécharny a écrit :
> Le 5/5/12 12:20 PM, Alex Karasulu a écrit :
>> On Sat, May 5, 2012 at 1:15 PM, Emmanuel 
>> Lécharny<>  wrote:
>>> Hi guys,
>>> I'm trying to get ADS 2.0.0-M7 release done today, but I'm having hard
>>> time... Appart a bug in maven release plugin (mvn release:rollback 
>>> does not
>>> remove the tags, which leads to some very tricky issues with the rat
>>> plugin...), we stll have some random failures in server-integ and
>>> client-api-tests.
>>> Those failures are well known : timeout in the LRUCache, most 
>>> certainly due
>>> to some cursors not being closed.
>> One way in which we can approach this for the sake of debugging for
>> unclosed cursors is to use bytecode splicing just for testing purposes
>> (not for production or normal development use).
>> If we use something like aspectj to add logging statements to cursor
>> operations and regions of the code where operations occur we can run
>> your tests and then do the accounting on the log output. We should be
>> able to find mismatched opened/closed cursors this way.
> Ok, I don't think it's worthful to continue the release unless the 
> failing tests are fixed. This is the 6th attempt that fails, I'll 
> rollback the ApacheDS releas and try to see why we have those failures.

Emmanuel Lécharny

View raw message