JDK-8264152 : javax/net/ssl/DTLS/RespondToRetransmit.java timed out
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x_10.15
  • CPU: x86_64
  • Submitted: 2021-03-24
  • Updated: 2025-01-24
  • Resolved: 2021-04-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17
11.0.24Fixed 17 b19Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
The following test timed out in the JDK17 CI:

javax/net/ssl/DTLS/RespondToRetransmit.java

Here's a snippet from the log file:

#section:main
----------messages:(7/390)----------
command: main RespondToRetransmit client 15 certificate_verify
reason: User specified action: run main/othervm RespondToRetransmit client 15 certificate_verify 
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.util=ALL-UNNAMED
Timeout information:
--- Timeout information end.
elapsed time (seconds): 494.158
----------configuration:(4/111)----------
Boot Layer
  add modules: java.base                   
  add exports: java.base/sun.security.util ALL-UNNAMED

----------System.out:(1117/99388)*----------
Server: =======handshake(199, NEED_UNWRAP)=======
Server: Receive DTLS records, handshake status is NEED_UNWRAP
Client: =======handshake(199, NEED_WRAP)=======
Client: ----produce handshake packet(99, OK, NEED_UNWRAP)----
Client: Produced 1 packets
Client: =======handshake(198, NEED_UNWRAP)=======
Client: Receive DTLS records, handshake status is NEED_UNWRAP

<snip>

Server: =======handshake(12, NEED_WRAP)=======
Server: ----produce handshake packet(99, OK, NEED_UNWRAP)----
Server: Produced 1 packets
Server: =======handshake(11, NEED_UNWRAP)=======
Server: Receive DTLS records, handshake status is NEED_UNWRAP
----------System.err:(0/0)----------
----------rerun:(39/7250)*----------

<snip>

result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+15-1230/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 494153ms).

Comments
Fix request [11u] I backport this to streamline the jdk11u testing support. No risk, only a test change. Trivial adaptions needed. Tests pass. SAP nightly testing passed.
29-03-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2628 Date: 2024-03-27 12:58:53 +0000
27-03-2024

Changeset: 79adc16f Author: Fernando Guallini <fguallini@openjdk.org> Committer: Xue-Lei Andrew Fan <xuelei@openjdk.org> Date: 2021-04-16 16:51:41 +0000 URL: https://git.openjdk.java.net/jdk/commit/79adc16f
16-04-2021

Was able to reproduce this occasional failure only when executing the test multiple times in a host that is under a heavy CPU load. Cause is known: The server side is binding to the wildcard address, that has been a source of instability in many networking bugs. See https://bugs.openjdk.java.net/browse/JDK-8230858.
08-04-2021