RFR: JDK-8293343 sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java failed with "Agent communication error: java.io.EOFException"

Kevin Walls kevinw at openjdk.org
Fri Sep 9 16:18:17 UTC 2022


On Thu, 8 Sep 2022 23:20:19 GMT, Bill Huang <duke at openjdk.org> wrote:

> This task provides a fix for java.io.EOFException on RmiSslNoKeyStoreTest and RmiBootstrapTest.
> 
> The EOFException is only seen when tests are run in concurrent mode. It could be caused by a bug in prepareTestFiles() which creates a race condition that RmiBootstrapTest/RmiSslNoKeyStoreTest changes the file permissions while the other one reading the same files. 
> 
> In addition, tests are failing intermittently for SocketException with agentvm mode.

Looks good, I've tested othervm and had success also.
One more thing - these tests are now in the problemlist, so we need to remove them from test/jdk/ProblemList.txt:

527 sun/management/jmxremote/bootstrap/RmiBootstrapTest.java        8293335 linux-x64
528 sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java    8293343 linux-aarch64,macosx-x64

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

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


More information about the serviceability-dev mailing list