JDK-8328619 : sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java failed with BindException: Address already in use
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2024-03-20
  • Updated: 2024-11-21
  • Resolved: 2024-03-28
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 21 JDK 23
17.0.14Fixed 21.0.6Fixed 23 b17Fixed
Related Reports
Relates :  
Description
The following test failed in the JDK23 CI:

sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java

Here's a snippet from the log file:

#section:main
----------messages:(8/427)----------
command: main SSLConfigFilePermissionTest
reason: User specified action: run main/timeout=300 SSLConfigFilePermissionTest 
started: Wed Mar 20 05:06:20 UTC 2024
Mode: agentvm
Agent id: 14
Additional exports to unnamed modules from @modules: java.management/sun.management jdk.management.agent/jdk.internal.agent jdk.management.agent/sun.management.jmxremote
finished: Wed Mar 20 05:06:27 UTC 2024
elapsed time (seconds): 7.287
----------configuration:(17/2132)----------

<snip>

----------System.out:(56/17284)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/src.full/open/test/jdk/sun/management/jmxremote/bootstrap:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/junit-platform-console-standalone-1.9.2.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/testng-7.3.0.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jcommander-1.82.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/guice-5.1.0.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Dcom.sun.management.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d/lib/management.properties -Dcom.sun.management.jmxremote.port=37049 -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d Dummy ]
test cmdline: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/src.full/open/test/jdk/sun/management/jmxremote/bootstrap:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/junit-platform-console-standalone-1.9.2.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/testng-7.3.0.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jcommander-1.82.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/guice-5.1.0.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Dcom.sun.management.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d/lib/management.properties -Dcom.sun.management.jmxremote.port=37049 -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d Dummy]
[2024-03-20T05:06:22.175078613Z] Gathering output for process 135662
[2024-03-20T05:06:22.305457499Z] Waiting for completion for process 135662
[2024-03-20T05:06:25.948450419Z] Waiting for completion finished for process 135662
Output and diagnostic info for process 135662 was saved into 'pid-135662-output.log'
test output:
Error: Exception thrown by the agent: java.rmi.server.ExportException: Port already in use: 37049; nested exception is: 
	java.net.BindException: Address already in use
jdk.internal.agent.AgentConfigurationError: java.rmi.server.ExportException: Port already in use: 37049; nested exception is: 
	java.net.BindException: Address already in use
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:491)
	at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:447)
	at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:603)
Caused by: java.rmi.server.ExportException: Port already in use: 37049; nested exception is: 
	java.net.BindException: Address already in use
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:356)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:251)
	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:415)
	at java.rmi/sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
	at java.rmi/sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:235)
	at java.rmi/sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:223)
	at java.rmi/sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:182)
	at jdk.management.agent/sun.management.jmxremote.SingleEntryRegistry.<init>(SingleEntryRegistry.java:49)
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer(ConnectorBootstrap.java:857)
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:479)
	... 2 more
Caused by: java.net.BindException: Address already in use
	at java.base/sun.nio.ch.Net.bind0(Native Method)
	at java.base/sun.nio.ch.Net.bind(Net.java:565)
	at java.base/sun.nio.ch.Net.bind(Net.java:554)
	at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:636)
	at java.base/java.net.ServerSocket.bind(ServerSocket.java:391)
	at java.base/java.net.ServerSocket.<init>(ServerSocket.java:278)
	at java.base/java.net.ServerSocket.<init>(ServerSocket.java:170)
	at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createServerSocket(TCPDirectSocketFactory.java:45)
	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:672)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:344)
	... 11 more

Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/src.full/open/test/jdk/sun/management/jmxremote/bootstrap:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/junit-platform-console-standalone-1.9.2.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/testng-7.3.0.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jcommander-1.82.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/guice-5.1.0.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Dcom.sun.management.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d/lib/management.properties -Dcom.sun.management.jmxremote.port=39843 -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d Dummy ]
test cmdline: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+15-1163/src.full/open/test/jdk/sun/management/jmxremote/bootstrap:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/junit-platform-console-standalone-1.9.2.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/testng-7.3.0.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jcommander-1.82.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/guice-5.1.0.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/21/35/bundles/linux-aarch64/jdk-21_linux-aarch64_bin.tar.gz/jdk-21 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/tmp -ea -esa -XX:+UseSerialGC -Dcom.sun.management.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d/lib/management.properties -Dcom.sun.management.jmxremote.port=39843 -cp /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d Dummy]
[2024-03-20T05:06:25.959174046Z] Gathering output for process 135686
[2024-03-20T05:06:25.959879410Z] Waiting for completion for process 135686
[2024-03-20T05:06:27.595435680Z] Waiting for completion finished for process 135686
Output and diagnostic info for process 135686 was saved into 'pid-135686-output.log'
test output:
Error: File read access must be restricted: /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9953/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b6c797b4-00e2-4f50-aead-30a7c55001c7/runs/f7dcad09-9388-42b9-960a-3e343ce5ca94/testoutput/test-support/jtreg_open_test_jdk_jdk_management/classes/2/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.d/lib/jmxremote.ssl.config
jdk.internal.agent.AgentConfigurationError
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.checkRestrictedFile(ConnectorBootstrap.java:655)
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.createSslRMIServerSocketFactory(ConnectorBootstrap.java:689)
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer(ConnectorBootstrap.java:815)
	at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:479)
	at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:447)
	at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:603)

----------System.err:(11/600)----------
java.lang.Error: 1 test(s) failed
	at AbstractFilePermissionTest.runTest(AbstractFilePermissionTest.java:126)
	at SSLConfigFilePermissionTest.main(SSLConfigFilePermissionTest.java:61)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
	at java.base/java.lang.Thread.run(Thread.java:1575)

JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.lang.Error: 1 test(s) failed
Comments
Fix request [17u,21u] I backport this for parity with 21.0.7-oracle, applies to 17, too. No risk, only a test change Clean backport. Test passes. SAP nightly testing passed.
21-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1168 Date: 2024-11-20 15:18:57 +0000
20-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3067 Date: 2024-11-20 15:19:11 +0000
20-11-2024

Changeset: 2af0312c Author: Kevin Walls <kevinw@openjdk.org> Date: 2024-03-28 11:34:44 +0000 URL: https://git.openjdk.org/jdk/commit/2af0312c958e693b1377f4c014ae8f84cabf6b83
28-03-2024

Test checks for: !output.getOutput().contains("Exception thrown by the agent : java.rmi.server.ExportException: Port already in use") Oops, we have an extra space in there. A day-one typo from JDK-7195249.
25-03-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18470 Date: 2024-03-25 13:15:48 +0000
25-03-2024