Open jiekang opened 1 week ago
Also related: RmiSslBootstrapTest is failing on a lot of JDK 8 platforms with:
[2024-10-17T12:45:43.422Z] Connection failed for {measure, QED}: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[2024-10-17T12:45:43.423Z] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
[2024-10-17T12:45:43.423Z] Connection failed for {modify, R&D}: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[2024-10-17T12:45:43.423Z] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
[2024-10-17T12:45:43.423Z] Connection failed as expected for {bad.user, R&D}: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[2024-10-17T12:45:43.423Z] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
[2024-10-17T12:45:43.423Z] Connection failed as expected for {measure, bad.password}: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[2024-10-17T12:45:43.423Z] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
[2024-10-17T12:45:43.423Z] Test Failed: Failed to connect to agent {url=service:jmx:rmi://e9a48cb84f6b/jndi/rmi://localhost:36732/jmxrmi}: java.lang.RuntimeException: Test /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_aarch64_linux_rerun/aqa-tests/TKG/output_17291679023488/jdk_management_0/work/classes/2/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties failed with 2 error(s)
[2024-10-17T12:45:43.423Z] STDERR:
[2024-10-17T12:45:43.423Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_aarch64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh: 37: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_aarch64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh: [[: not found
Related test code has seen one recent change in August 2024, the backport of JDK-8145919 https://github.com/openjdk/jdk8u/commit/09bab6e4c31531975ab6461832d4618dc9759ca9
From history: https://github.com/openjdk/jdk8u/commits/master/jdk/test/sun/management/jmxremote/bootstrap
The JDK-8145919 backport mentioned required followup PR for JDK-8205653, however this was not merged in time for this release:
I strongly suspect JDK-8205653 is required for these tests to pass properly.
Based on above analysis, I would not consider these test failures as release blockers.
I suppose the most correct thing to do is run a build with https://github.com/openjdk/jdk8u-dev/pull/548 incorporated to see if the test passes.
Seen during 2024 October CPU (https://github.com/adoptium/aqa-tests/issues/5692)
RmiRegistrySslTest is failing on all platforms with logs similar to: