Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
This test still fails intermittently after fixing https://bugs.openjdk.java.net/browse/JDK-8135124 RULE com/sun/jndi/ldap/LdapTimeoutTest.java Exception java.lang.RuntimeException: Test failed RULE com/sun/jndi/ldap/LdapTimeoutTest.java Exception java.util.concurrent.ExecutionException: java.lang.RuntimeException: Test failed #section:main ----------messages:(3/126)---------- command: main LdapTimeoutTest reason: User specified action: run main/othervm LdapTimeoutTest elapsed time (seconds): 21.159 ----------System.out:(14/732)---------- Running connect timeout test with 20s kill switch Running read timeout test with 10ms connect timeout & 20s kill switch Running read timeout test with 20s kill switch Running connect timeout test with 10ms connect timeout, 3000ms read timeout Running connect timeout test with 10ms connect timeout Running simple auth connection test class ReadServerNoTimeoutTest - elapsed: 20200 class ReadServerNoTimeoutTest - elapsed: 20200 class DeadServerNoTimeoutTest - elapsed: 20205 class DeadServerTimeoutTest - elapsed: 211 class DeadServerTimeoutTest - elapsed: 212 class DeadServerTimeoutTest - elapsed: 210 Running connect timeout test with 10ms connect timeout, 3000ms read timeout & SSL class DeadServerTimeoutSSLTest - elapsed: 585 ----------System.err:(46/2875)---------- java.lang.RuntimeException: Test failed at LdapTest.fail(LdapTimeoutTest.java:88) at DeadServerTimeoutSSLTest.handleNamingException(LdapTimeoutTest.java:239) at LdapTest.call(LdapTimeoutTest.java:134) at LdapTimeoutTest.main(LdapTimeoutTest.java:463) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:747) Caused by: javax.naming.CommunicationException: localhost:6394 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake] at com.sun.jndi.ldap.Connection.<init>(Connection.java:223) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1614) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2748) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:320) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:717) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305) at javax.naming.InitialContext.init(InitialContext.java:236) at javax.naming.InitialContext.<init>(InitialContext.java:208) at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101) at LdapTest.call(LdapTimeoutTest.java:127) ... 7 more Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1022) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:949) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1356) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1383) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1367) at com.sun.jndi.ldap.Connection.createSocket(Connection.java:329) at com.sun.jndi.ldap.Connection.<init>(Connection.java:202) ... 21 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:995) ... 27 more JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed