RFR: 8169086: DTLS tests fail intermittently with too much loops or timeout

Anthony Scarpino ascarpino at openjdk.java.net
Fri Dec 18 17:26:54 UTC 2020


On Fri, 18 Dec 2020 01:05:47 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> There are a few intermittent timeout in the DTLS regression test in JDK.  In the DTLS implementation, invalid record is not discarded in the ByteBuffers.  So, the next unwrap() will repeat the reading and thus there is a potential dead loop.  The DTLS test failure cannot reproduced, and I'm not very sure if this is the root cause.  Let see if the intermittent failure could be fixed or not with this update.
> 
> No new regression, the existing javax/net/ssl/DTLS/PacketLossRetransmission.java test will be used instead.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8169086

Change looks reasonable and a minimal risk attempt

-------------

Marked as reviewed by ascarpino (Reviewer).

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



More information about the security-dev mailing list