directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
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 java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
	- locked <0x000000003f4c7ab8> (a java.lang.Object)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1467)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.closeInternal(SSLSocketImpl.java:1419)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.close(SSLSocketImpl.java:1313)
	at com.sun.jndi.ldap.ext.StartTlsResponseImpl.close(StartTlsResponseImpl.java:267)
	at org.apache.directory.server.ssl.StartTlsIT.testStartTls(StartTlsIT.java:259)

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

Kind Regards,
Stefan

Mime
View raw message