-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extended.openjdk failure: com/sun/jndi/ldap/LdapDnsProviderTest.java.LdapDnsProviderTest #2350
Comments
Also seen on jdk8 ppcle_linux and s390x_linux:
|
Some more investigation:
|
Also seen on s390x_linux, openj9 jdk8, test-marist-ubuntu1604-s390x-3, https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_extended.openjdk_s390x_linux/22/consoleFull. Same connection refused message:
|
Able to recreate this locally on test-marist-ubuntu1604-s390x-3 |
Note that test-marist-ubuntu1604-s390x-3 is now [test-marist-ubuntu1804-s390x-1](https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1804-s390x-1/ after an OS upgrade) as per adoptium/infrastructure#2156 so it may be worth seeing if it still occurs on there or whether the upgrade has had an impact. |
Looking at the test case code (https://github.com/AdoptOpenJDK/openjdk-jdk8u/blob/master/jdk/test/com/sun/jndi/ldap/LdapDnsProviderTest.java), the
The test is expecting 'Connection refused' for this subtest also. This is the output from a test run which passes:
The stack traces show the test is following different paths through the jdk code in the passing and failing cases. |
The failing test lines of code are found here https://github.com/ibmruntimes/openj9-openjdk-jdk8/blob/2c626feefcf485843cd2451597dc04eb41b1887f/jdk/test/com/sun/jndi/ldap/LdapDnsProviderTest.java#L194 From the error log, only the 3 |
Only three tests are run in the failing case because the test stops on first failure.
exception later. The test expects an exception to be thrown and for the exception message text to contain the second argument in the test input ( So the question appears to be - why does the connect to Still looking...... |
Looks like
I've shut down the |
The test passes on If |
The jdk11 version of the test uses port |
Fork/branch https://github.com/lumpfish/openjdk-jdk8u/tree/fix_LdapDnsProviderTest has the change, test now passes: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/500/console This fix should ideally be contributed upstream to openjdk. |
Test has been excluded for this failure and also for impacting test |
com/sun/jndi/ldap/LdapDnsProviderTest.java.LdapDnsProviderTest
https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_extended.openjdk_aarch64_linux/9/testReport/junit/com_sun_jndi_ldap_LdapDnsProviderTest/java/LdapDnsProviderTest_2/
Fails Hotspot and OpenJ9
Suspect upstream issue?
The text was updated successfully, but these errors were encountered: