JDK-8161084 : javax/naming/module/basic.sh test timed out
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2016-07-08
  • Updated: 2021-07-26
  • Resolved: 2021-07-26
Related Reports
Relates :  
Relates :  
Relates :  
Description
test/javax/naming/module/basic.sh

Running with the 'person' module...
StorePerson: connecting to ldap://localhost:63170/dc=ie,dc=oracle,dc=com
LDAPServer: Loading LDAP cache from: /scratch/jenkins/workspace/9-dev/jdk/test/javax/naming/module/src/test/test/StorePerson.ldap
    adding LDAP BindRequest with message ID 1 to the cache
    adding LDAP BindResponse with message ID 1 to the cache
    adding LDAP AddRequest with message ID 2 to the cache
    adding LDAP AddResponse with message ID 2 to the cache
    adding LDAP AddRequest with message ID 3 to the cache
    adding LDAP AddResponse with message ID 3 to the cache
    adding LDAP SearchRequest with message ID 4 to the cache
    adding LDAP SearchResultEntry with message ID 4 to the cache
    adding LDAP SearchResultDone with message ID 4 to the cache
    adding LDAP SearchRequest with message ID 5 to the cache
    adding LDAP SearchResultEntry with message ID 5 to the cache
    adding LDAP SearchResultDone with message ID 5 to the cache
    adding LDAP DeleteRequest with message ID 6 to the cache
    adding LDAP DeleteResponse with message ID 6 to the cache
    adding LDAP DeleteRequest with message ID 7 to the cache
    adding LDAP DeleteResponse with message ID 7 to the cache
    adding LDAP UnbindRequest with message ID 8 to the cache
LDAPServer: listening on port 63170
Timeout signalled after 600 seconds
----------System.err:(16/1364)----------
Exception in thread "main" javax.naming.ServiceUnavailableException: localhost:63170; socket closed
	at com.sun.jndi.ldap.Connection.readReply(java.naming@9-ea/Connection.java:407)
	at com.sun.jndi.ldap.LdapClient.ldapBind(java.naming@9-ea/LdapClient.java:365)
	at com.sun.jndi.ldap.LdapClient.authenticate(java.naming@9-ea/LdapClient.java:192)
	at com.sun.jndi.ldap.LdapCtx.connect(java.naming@9-ea/LdapCtx.java:2791)
	at com.sun.jndi.ldap.LdapCtx.<init>(java.naming@9-ea/LdapCtx.java:320)
	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(java.naming@9-ea/LdapCtxFactory.java:192)
	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(java.naming@9-ea/LdapCtxFactory.java:210)
	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(java.naming@9-ea/LdapCtxFactory.java:153)
	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(java.naming@9-ea/LdapCtxFactory.java:83)
	at javax.naming.spi.NamingManager.getInitialContext(java.naming@9-ea/NamingManager.java:730)
	at javax.naming.InitialContext.getDefaultInitCtx(java.naming@9-ea/InitialContext.java:305)
	at javax.naming.InitialContext.init(java.naming@9-ea/InitialContext.java:236)
	at javax.naming.InitialContext.<init>(java.naming@9-ea/InitialContext.java:208)
	at javax.naming.directory.InitialDirContext.<init>(java.naming@9-ea/InitialDirContext.java:101)
	at test.StorePerson.main(test/StorePerson.java:105)
Comments
Test was refactored with JDK-8209773, basic.sh does not exist any more. Hence closing this item.
26-07-2021