RFR: 8339261: Logs truncated in test javax/net/ssl/DTLS/DTLSRehandshakeTest.java [v2]

Fernando Guallini fguallini at openjdk.org
Thu Sep 5 16:06:09 UTC 2024


> The test javax/net/ssl/DTLS/DTLSRehandshakeTest.java runs multiple scenarios, generating a large amount of logging as a result. Since Jtreg truncates the output when it becomes too large, the logs are often not useful for debugging in case of failure.
> 
> This PR updates the DTLS maxOutputSize for the test directory, including DTLSRehandshakeTest.java. Incrementing the maxOutputSize results in more logs, with an approximate size increase of 0.6MB when compressed.

Fernando Guallini has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:

 - remove copyright year change
 - Merge branch 'master' into 8339261
 - Relying on maxOutputSize to increment logs max size
 - also writing err to file
 - throw IOexception instead of catching
 - add comment for explanation
 - write logs to an external file

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20838/files
  - new: https://git.openjdk.org/jdk/pull/20838/files/14892f52..cbf572b7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20838&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20838&range=00-01

  Stats: 9250 lines in 397 files changed: 5293 ins; 1797 del; 2160 mod
  Patch: https://git.openjdk.org/jdk/pull/20838.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20838/head:pull/20838

PR: https://git.openjdk.org/jdk/pull/20838


More information about the security-dev mailing list