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

Jaikiran Pai jpai at openjdk.org
Thu Sep 5 10:02:56 UTC 2024


On Tue, 3 Sep 2024 13:07:47 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> 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 test to also write the full output to an external file. That will help with debugging this test's occasional failures.

Hello Fernando, I'm not familiar with this test or the area, but if this change is just to make available jtreg logs (in a separate file) to allow for debugging a currently intermittent test failure, then there are ways to change the jtreg output log limit in our CI, without having to change the test code - I can show you the command, offline, to do that.

As far as I remember, we don't have a precedence of changing tests to write out to additional locations to bypass the jtreg log limit.

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

PR Comment: https://git.openjdk.org/jdk/pull/20838#issuecomment-2331112823


More information about the security-dev mailing list