JDK-8249562 : javax/net/ssl/DTLS/InvalidCookie.java timed out
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 15
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2020-07-15
  • Updated: 2022-12-15
  • Resolved: 2022-12-14
Related Reports
Duplicate :  
Description
The following test timed out in the JDK15 CI:

javax/net/ssl/DTLS/InvalidCookie.java

Here's a snippet from the log file:

Client: New handshake status is NEED_UNWRAP
Client: =======handshake(151, NEED_UNWRAP)=======
Client: Receive DTLS records, handshake status is NEED_UNWRAP
Timeout refired 480 times
Server: Warning: java.net.SocketTimeoutException: Receive timed out
Server: ----produce handshake packet(99, OK, NEED_UNWRAP)----
Server: Reproduced 0 packets
Server: New handshake status is NEED_UNWRAP
Server: =======handshake(151, NEED_UNWRAP)=======
Server: Receive DTLS records, handshake status is NEED_UNWRAP
Client: Warning: java.net.SocketTimeoutException: Receive timed out
Client: ----produce handshake packet(99, OK, NEED_WRAP)----
Client: ----produce handshake packet(98, OK, NEED_UNWRAP)----
Client: Reproduced 2 packets
Reproduced packet
    0: 16 fe fd 00 00 00 00 00 00 00 5a 00 f3 01 00 01  // \\syn\\254\\253\\nul\\nul\\nul\\nul\\nul\\nul\\nulZ\\nul\\243\\soh\\nul\\soh
   16: 25 00 00 00 00 00 00 00 e7 fe fd 52 64 26 85 96  // %\\nul\\nul\\nul\\nul\\nul\\nul\\nul\\231\\254\\253Rd&\\133\\150
   32: 82 01 d2 8c 39 f8 76 1a 64 f8 a4 f6 e8 42 9b a4  // \\130\\soh\\210\\1409\\248v\\subd\\248\\164\\246\\232B\\155\\164
   48: c9 74 82 cc 38 c5 64 62 63 3a 48 00 00 00 5c c0  // \\201t\\130\\2048\\197dbc:H\\nul\\nul\\nul\\\\192
   64: 2c c0 2b cc a9 c0 30 cc a8 c0 2f 00 9f cc aa 00  // ,\\192+\\204\\169\\1920\\204\\168\\192/\\nul\\159\\204\\170\\nul
   80: a3 00 9e 00 a2 c0 24 c0 28 c0 23 c0 27 00 6b 00  // \\163\\nul\\158\\nul\\162\\192$\\192(\\192#\\192'\\nulk\\nul
   96: 6a 00 67 00 40 c0 2e c0 32 c0 2d c0 31 c0 26 c0  // j\\nulg\\nul@\\192.\\1922\\192-\\1921\\192&\\192
  112: 2a c0 25 c0 29 c0 0a c0 14 c0 09 c0 13 00 39 00  // *\\192%\\192)\\192\\n\\192\\dc4\\192\\t\\192\\dc3\\nul9\\nul
  128: 38 00 33 00 32 c0 05 c0 0f c0 04 c0 0e 00 9d 00  // 8\\nul3\\nul2\\192\\enq\\192\\si\\192\\eot\\192\\so\\nul\\157\\nul
  144: 9c 00 3d 00 3c 00 35 00 2f 00 ff 01 00 00 9f 00  // \\156\\nul=\\nul<\\nul5\\nul/\\nul\\255\\soh\\nul\\nul\\159\\nul
  160: 05 00 05 01 00 00 00 00 00 0a 00 16 00 14 00 1d  // \\enq\\nul\\enq\\soh\\nul\\nul\\nul\\nul\\nul\\n\\nul\\syn\\nul\\dc4\\nul\\gs
  176: 00 17 00 18 00 19 00 1e 01 00 01 01 01 02 01 03  // \\nul\\etb\\nul\\can\\nul\\em\\nul\\rs\\soh\\nul\\soh\\soh\\soh\\stx\\soh\\etx
  192: 01 04 00 0b 00 02 01 00 00 0d 00 28 00 26 04 03  // \\soh\\eot\\nul\\vt\\nul\\stx\\soh\\nul\\nul\\r\\nul(\\nul&\\eot\\etx
  208: 05 03 06 03 08 04 08 05 08 06 08 09 08 0a 08 0b  // \\enq\\etx\\ack\\etx\\b\\eot\\b\\enq\\b\\ack\\b\\t\\b\\n\\b\\vt
  224: 04 01 05 01 06 01 04 02 03 03 03 01 03 02 02 03  // \\eot\\soh\\enq\\soh\\ack\\soh\\eot\\stx\\etx\\etx\\etx\\soh\\etx\\stx\\stx\\etx
  240: 02 01 02 02 00 32 00 28 00 26 04 03 05 03 06 03  // \\stx\\soh\\stx\\stx\\nul2\\nul(\\nul&\\eot\\etx\\enq\\etx\\ack\\etx
Reproduced packet
    0: 16 fe fd 00 00 00 00 00 00 00 5b 00 4a 01 00 01  // \\syn\\254\\253\\nul\\nul\\nul\\nul\\nul\\nul\\nul[\\nulJ\\soh\\nul\\soh
   16: 25 00 00 00 00 e7 00 00 3e 08 04 08 05 08 06 08  // %\\nul\\nul\\nul\\nul\\231\\nul\\nul>\\b\\eot\\b\\enq\\b\\ack\\b
   32: 09 08 0a 08 0b 04 01 05 01 06 01 04 02 03 03 03  // \\t\\b\\n\\b\\vt\\eot\\soh\\enq\\soh\\ack\\soh\\eot\\stx\\etx\\etx\\etx
   48: 01 03 02 02 03 02 01 02 02 00 11 00 09 00 07 02  // \\soh\\etx\\stx\\stx\\etx\\stx\\soh\\stx\\stx\\nul\\dc1\\nul\\t\\nul\\bel\\stx
   64: 00 04 00 00 00 00 00 17 00 00 00 23 00 00 00 2b  // \\nul\\eot\\nul\\nul\\nul\\nul\\nul\\etb\\nul\\nul\\nul#\\nul\\nul\\nul+
   80: 00 05 04 fe fd fe ff                             // \\nul\\enq\\eot\\254\\253\\254\\255
Client: New handshake status is NEED_UNWRAP
Client: =======handshake(150, NEED_UNWRAP)=======
Client: Receive DTLS records, handshake status is NEED_UNWRAP
----------System.err:(0/0)----------
----------rerun:(38/5630)*----------
Comments
The template is updated with JDK-8297798 and we are not able to reproduce this failure so closing it as duplicate of JDK-8297798.
14-12-2022