JDK-8293343 : sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java failed with "Agent communication error: java.io.EOFException"
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 20
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,os_x_10.15
  • CPU: x86_64,aarch64
  • Submitted: 2022-09-04
  • Updated: 2024-11-19
  • Resolved: 2022-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 20
17.0.10Fixed 20 b15Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8293518 :  
Description
The following test failed in the JDK20 CI:

sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java

Here's a snippet from the log file:

#section:main
----------messages:(6/368)----------
command: main RmiSslNoKeyStoreTest .*_ssltest.*.in
reason: User specified action: run main/timeout=300 RmiSslNoKeyStoreTest .*_ssltest.*.in 
Mode: agentvm
Agent id: 54
Additional exports to unnamed modules from @modules: java.management/sun.management jdk.management.agent/jdk.internal.agent jdk.management.agent/sun.management.jmxremote
elapsed time (seconds): 0.368
----------configuration:(19/2272)----------

<snip>

result: Error. Agent communication error: java.io.EOFException; check console log for any additional details

There's no indication of an error except for the above 
" Agent communication error: java.io.EOFException". 
No hs_err_pid file, no indication of a problem with the test 
execution, no core file. 

This same failure happened on a linux-aarch64-open and
a linux-aarch64-debug test machine in jdk-20+14-900-tier6.

We recently had the same failure mode with a different test:

JDK-8293335 sun/management/jmxremote/bootstrap/RmiBootstrapTest.java#id1failed with "Agent communication error: java.io.EOFException"
Comments
Fix request [17u] I backport this for parity with 17.0.11-oracle. No risk, only a test change. Omitted change to PRoblemList, rest is clean. Tests pass. SAP nightly testing passed.
22-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1980 Date: 2023-11-21 12:33:48 +0000
21-11-2023

Changeset: 91c9091d Author: Bill Huang <bill.w.huang@oracle.com> Committer: Kevin Walls <kevinw@openjdk.org> Date: 2022-09-12 13:07:34 +0000 URL: https://git.openjdk.org/jdk/commit/91c9091d7e64ba0bdb257521bd15ff183c6839fa
12-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10224 Date: 2022-09-08 23:20:19 +0000
09-09-2022

Test failure reproduces frequently for me. With the othervm jtreg tag it stopped failing (batches of 20 test runs on each platform). diff --git a/test/jdk/sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java b/test/jdk/sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java index 41b303399cc..78ccaa86c5f 100644 --- a/test/jdk/sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java +++ b/test/jdk/sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java @@ -48,7 +48,7 @@ import javax.management.remote.JMXConnectorServer; * * @library /test/lib * - * @run main/timeout=300 RmiSslNoKeyStoreTest .*_ssltest.*.in + * @run main/othervm/timeout=300 RmiSslNoKeyStoreTest .*_ssltest.*.in * */ /**
08-09-2022

The directory test/jdk/sun/management/jmxremote/bootstrap/ was updated just before these failures (Looking at it further...): 8292067: Convert test/sun/management/jmxremote/bootstrap shell tests to java version Date: Fri Sep 2 18:10:56 2022 +0000
07-09-2022