adoptium / adoptium/aqa-tests

extended.openjdk failure: com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java.DeadSSLLdapTimeoutTest

Open
#2,351 1 comment 0 reactions 0 assignees View on GitHub
release triage test excluded triage required type:openjdk
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java.DeadSSLLdapTimeoutTest
https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_extended.openjdk_aarch64_linux/9/testReport/junit/com_sun_jndi_ldap_DeadSSLLdapTimeoutTest/java/DeadSSLLdapTimeoutTest/
Fails both Hotspot and OpenJ9
```
01:37:37 openjdk version "1.8.0_292"
01:37:37 OpenJDK Runtime Environment (build 1.8.0_292-202103091148-b05)
01:37:37 Eclipse OpenJ9 VM (build openj9-0.26.0-m1, JRE 1.8.0 Linux aarch64-64-Bit Compressed References 20210309_235 (JIT enabled, AOT enabled)
01:37:37 OpenJ9 - b227feba2
01:37:37 OMR - 4665e2f72
01:37:37 JCL - 1780cbc92b based on jdk8u292-b05)
```
```
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(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:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:823)
Caused by: javax.naming.CommunicationException: localhost:35123 [Root exception is javax.net.ssl.SSLException: Read timed out]
at com.sun.jndi.ldap.Connection.(Connection.java:243)
at com.sun.jndi.ldap.LdapClient.(LdapClient.java:137)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2849)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:347)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:225)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:189)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:243)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244)
at javax.naming.InitialContext.(InitialContext.java:216)
at javax.naming.directory.InitialDirContext.(InitialDirContext.java:101)
at DeadServerTimeoutSSLTest.call(DeadSSLLdapTimeoutTest.java:120)
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked CI report and the failure in DeadSSLLdapTimeoutTest.java, especially the stack trace through DeadServerTimeoutSSLTest.call. Reproduce the test on the reported OpenJDK 8 AArch64 Linux configurations; done means the test completes without the reported RuntimeException on both HotSpot and OpenJ9.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.