JDK-6862356 : 7 ldap jndi tests fail with 5.0u20-rev-b03, but pass with 5.0u20 b02 SSR
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version: 5.0u20-rev,5.0u21-rev,5.0u22
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-07-20
  • Updated: 2010-11-17
  • Resolved: 2010-01-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
5.0u21-rev b02Fixed 5.0u22Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
7 ldap jndi tests fail with 1.5.0 u20 b03 but pass with 1.5.0 u20 b02 (1.5.0 fcs). The tests fail becouse of java.lang.OutOfMemoryError: Java heap space, but alwasys pass on the same machine/setup with any prev. builds. The issue may be related with fix intoruced by CR 6750362. 

The following tests affected:

    * ExtendedOpTests/custom/index.html#TLSAnonymousBind: index_TLSAnonymousBind
    * ExtendedOpTests/custom/index.html#TLSBindIncorrectCreds: index_TLSBindIncorrectCreds
    * ExtendedOpTests/custom/index.html#TLSBindPassword: index_TLSBindPassword
    * ExtendedOpTests/index.html#TLSAnonymousBind: index_TLSAnonymousBind
    * ExtendedOpTests/index.html#TLSBindCert: index_TLSBindCert
    * ExtendedOpTests/index.html#TLSBindExpiredCert: index_TLSBindExpiredCert
    * ExtendedOpTests/index.html#TLSBindPassword: index_TLSBindPassword 

----------messages:(0/0)----------

#section:compile.java
----------messages:(1/451)----------
command: javasoft.sqe.javatest.lib.ProcessCommand CLASSPATH=/export/JDK/jdk1.5.0_20/jre/lib/ext/javatest.jar:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/classes:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/ExtendedOpTests /export/JDK/jdk1.5.0_20/bin/javac -d /export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/ExtendedOpTests BLITS/ExtendedOpTests/TLSBindIncorrectCreds.java
----------ref:(0/0)----------
----------log:(2/110)----------
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
result: Passed. exit code 0

#section:execute
----------messages:(1/997)----------
command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export/JDK/jdk1.5.0_20/jre/lib/ext/javatest.jar:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/classes:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/ExtendedOpTests /export/JDK/jdk1.5.0_20/bin/java -client -Djavax.net.ssl.trustStore=/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/classes/../truststore -Djavax.net.ssl.trustStorePassword=secret99 TLSBindIncorrectCreds -property java.naming.provider.url=ldap://stt-41.russia.sun.com -property java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory -property java.naming.security.authentication=simple -property java.naming.security.principal=cn=admin,o=IMC,c=US -property java.naming.security.credentials=secret99 -property mainSslServer=ldap://stt-41.russia.sun.com:636 -vendorID 1 -clientID 6 -certsHome /net/stt-13.russia/export/home0/dtf/dtf_ws/suites/60_JNDI/testjndi/ldap/tests/BLITS/certs1
----------ref:(3/98)----------
debug: sending Start TLS request
debug: received Start TLS response
debug: opening TLS connection
----------log:(4/237)----------
Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space
	at com.sun.jndi.ldap.Connection.run(Connection.java:865)
	at java.lang.Thread.run(Thread.java:595)
STATUS:Failed.Failed: java.net.SocketException: Socket closed
result: Failed. Failed: java.net.SocketException: Socket closed


test result: Failed. Failed: java.net.SocketException: Socket closed

----------messages:(1/38)----------
Timeout signalled after 600.0 seconds

#section:compile.java
----------messages:(1/446)----------
command: javasoft.sqe.javatest.lib.ProcessCommand CLASSPATH=/export/JDK/jdk1.5.0_20/jre/lib/ext/javatest.jar:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/classes:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/ExtendedOpTests /export/JDK/jdk1.5.0_20/bin/javac -d /export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/ExtendedOpTests BLITS/ExtendedOpTests/TLSAnonymousBind.java
----------ref:(0/0)----------
----------log:(2/110)----------
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
result: Passed. exit code 0

#section:execute
----------messages:(1/992)----------
command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export/JDK/jdk1.5.0_20/jre/lib/ext/javatest.jar:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/classes:/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/ExtendedOpTests /export/JDK/jdk1.5.0_20/bin/java -client -Djavax.net.ssl.trustStore=/export/home/JQA/ts60/jndi/Linux_2.6.18-128.1.6.el5_i386/BLITS/07161552/classes/../truststore -Djavax.net.ssl.trustStorePassword=secret99 TLSAnonymousBind -property java.naming.provider.url=ldap://stt-41.russia.sun.com -property java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory -property java.naming.security.authentication=simple -property java.naming.security.principal=cn=admin,o=IMC,c=US -property java.naming.security.credentials=secret99 -property mainSslServer=ldap://stt-41.russia.sun.com:636 -vendorID 1 -clientID 6 -certsHome /net/stt-13.russia/export/home0/dtf/dtf_ws/suites/60_JNDI/testjndi/ldap/tests/BLITS/certs1
----------ref:(3/98)----------
debug: sending Start TLS request
debug: received Start TLS response
debug: opening TLS connection
----------log:(0/0)----------
result: Failed. Program `/export/JDK/jdk1.5.0_20/bin/java' interrupted! (timed out?)


test result: Failed. Program `/export/JDK/jdk1.5.0_20/bin/java' interrupted! (timed out?)

Comments
EVALUATION remove erroneous unpauseReader() call.
21-07-2009