RFR: 8241372: Several test failures due to javax.net.ssl.SSLException: Connection reset [v4]

Fernando Guallini fguallini at openjdk.java.net
Thu Feb 11 12:08:54 UTC 2021

> The server side is binding to the wildcard address which has been a source of instability in many networking tests due to javax.net.ssl.SSLException: Connection reset. Changing the following tests to bind to loopback address fixes intermittent failures:
> sun/security/ssl/SSLSocketImpl/ReverseNameLookup.java
> javax/net/ssl/TLSCommon/TLSTest.java
> sun/security/ssl/CipherSuite/SupportedGroups.java
> javax/net/ssl/SSLSession/TestEnabledProtocols.java still throws a connection reset occasionally because the server closes the connection before the client is done during handshake. That race condition cannot be completely removed in this test, thus is now handled and logged.

Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:

  check exception type


  - all: https://git.openjdk.java.net/jdk/pull/2405/files
  - new: https://git.openjdk.java.net/jdk/pull/2405/files/382a389a..8acf751a

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2405&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2405&range=02-03

  Stats: 16 lines in 1 file changed: 12 ins; 3 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2405.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2405/head:pull/2405

PR: https://git.openjdk.java.net/jdk/pull/2405

More information about the security-dev mailing list