jmx-dev RFR: 8241865: sun/management/jdp tests fail (Timed out waiting for JDP packet)

Kevin Walls kevinw at openjdk.org
Fri Dec 13 19:51:09 UTC 2024


On Fri, 13 Dec 2024 18:58:12 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> This test has been noisy lately, and all the failures have been on "Mac OS X 15.0.1 (aarch64)".
> 
> Forcing it to require any other OS version looks good in my testing.

There was a Linux x64 failure a few years back, but since un-problemlisting in August 2024, macos aarch64 is where we are seeing failures.  A batch of 20 run will generally see a few failures on that platform and nowhere else.

I did some experiments with other fixes such as long timeouts, retrying the test, pausing and retrying the test.
But the OSX 15.0.1 failure is not solved by any of these.  Requiring any other OS version seems better than problemlisting, and means we do run this test on multiple other MacOSX aarch64 versions.

While here:

Some typos and formatting changes.

When handling SocketTimeoutException, don't capitalise the method as "onSocketTimeOut()", make the "Timeout" case consistent (which made my searching easier).

Remove the ' quotes from the loggers, that looks strange in the logs, probably unintentional.  Output is now like:
2024-12-12 18:39:50 FINE    Pause in between packets is: 1 seconds.
2024-12-12 18:39:50 FINE    Timeout set to 20 seconds.

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

PR Comment: https://git.openjdk.org/jdk/pull/22742#issuecomment-2542168289


More information about the jmx-dev mailing list