Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8152654

com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java failed due to java.net.SocketException: Software caused connection abort: recv failed

XMLWordPrintable

      The test com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java failed, and the following is some logs:
      ----------messages:(3/141)----------
      command: main DeadSSLLdapTimeoutTest
      reason: User specified action: run main/othervm DeadSSLLdapTimeoutTest
      elapsed time (seconds): 1.86
      ----------System.out:(2/131)----------
      Running connect timeout test with 10ms connect timeout, 3000ms read timeout & SSL
      class DeadServerTimeoutSSLTest - elapsed: 1323
      ----------System.err:(48/3709)----------
      java.lang.RuntimeException: Test failed
      at DeadServerTimeoutSSLTest.fail(DeadSSLLdapTimeoutTest.java:94)
      at DeadServerTimeoutSSLTest.handleNamingException(DeadSSLLdapTimeoutTest.java:81)
      at DeadServerTimeoutSSLTest.call(DeadSSLLdapTimeoutTest.java:127)
      at DeadSSLLdapTimeoutTest.main(DeadSSLLdapTimeoutTest.java:201)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
      Caused by: javax.naming.CommunicationException: localhost:16501 [Root exception is java.net.SocketException: Software caused connection abort: recv failed]
      at com.sun.jndi.ldap.Connection.<init>(java.naming@9-ea/Connection.java:223)
      at com.sun.jndi.ldap.LdapClient.<init>(java.naming@9-ea/LdapClient.java:137)
      at com.sun.jndi.ldap.LdapClient.getInstance(java.naming@9-ea/LdapClient.java:1614)
      at com.sun.jndi.ldap.LdapCtx.connect(java.naming@9-ea/LdapCtx.java:2748)
      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:727)
      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 DeadServerTimeoutSSLTest.call(DeadSSLLdapTimeoutTest.java:120)
      ... 7 more
      Caused by: java.net.SocketException: Software caused connection abort: recv failed
      at java.net.SocketInputStream.socketRead0(java.base@9-ea/Native Method)
      at java.net.SocketInputStream.socketRead(java.base@9-ea/SocketInputStream.java:116)
      at java.net.SocketInputStream.read(java.base@9-ea/SocketInputStream.java:170)
      at java.net.SocketInputStream.read(java.base@9-ea/SocketInputStream.java:141)
      at sun.security.ssl.SSLSocketInputRecord.read(java.base@9-ea/SSLSocketInputRecord.java:425)
      at sun.security.ssl.SSLSocketInputRecord.decode(java.base@9-ea/SSLSocketInputRecord.java:154)
      at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1013)
      at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:955)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1382)
      at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1409)
      at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1393)
      at com.sun.jndi.ldap.Connection.createSocket(java.naming@9-ea/Connection.java:329)
      at com.sun.jndi.ldap.Connection.<init>(java.naming@9-ea/Connection.java:202)
      ... 21 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      JavaTest Message: shutting down test

            aefimov Aleksej Efimov
            jjiang John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: