directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: Kerberos tests fixed (almost all of them)
Date Tue, 23 Nov 2010 11:57:25 GMT
>> FYI, I wasn't able to run all the tests fully, I had one test blocking in
>> server-integ. It seems that we have some intermittent issue when using the
>> LDAP-API : like if the server sent the response but it was incorrectly
>> processed by the API, which is waiting forever. We need to add a timeout on
>> the client side, otherwise it will kill the users (and obvioulsy, we have to
>> investingate this issue too, and find a fix).
>> I bet that there is some race condition in the LDAP-API.
> We have hanging tests in server-integ on Hudson's Windows job and I
> was able to reproduce the pb on a Windows VM. From thread dumps I saw
> that (at least one) pb was in StartTLS test and was caused by JNDI
> when using StartTLS extended operation. Unfortunately the VM crashed,
> I'll try to reproduce it again and post the thread dump.

Here it is:

(I run the test using the MultiThreadedMultiInvoker rule that invokes
each tests multiple times)

"MultiThreadedMultiInvoker-Thread-34" prio=6 tid=0x000000004cb95800
nid=0x134c runnable [0x000000005171e000]
   java.lang.Thread.State: RUNNABLE
	at Method)
	- locked <0x000000003f4c7ab8> (a java.lang.Object)
	at com.sun.jndi.ldap.ext.StartTlsResponseImpl.close(

The test hangs (after some iterations) when calling
StartTlsResponse.close(). If I remove that call than the test works.
Really strange...

Kind Regards,

View raw message