JDK-8282832 : Update file path for HostnameMatcher/cert5.crt in test sun/security/util/Pem/encoding.sh
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 19
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-03-08
  • Updated: 2023-07-28
  • Resolved: 2022-03-08
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 19
19 b13Fixed
Related Reports
Duplicate :  
Relates :  
Description
The following test failed in the JDK19 CI:

sun/security/util/Pem/encoding.sh

Here's a snippet from the log file:

#section:shell
----------messages:(3/111)----------
command: shell encoding.sh
reason: User specified action: run shell encoding.sh 
elapsed time (seconds): 0.094
----------System.out:(0/0)----------
----------System.err:(6/531)----------
Exception in thread "main" java.io.FileNotFoundException: /opt/mach5/mesos/work_dir/jib-master/install/jdk-19+13-801/src.full/open/test/jdk/sun/security/util/Pem/../HostnameMatcher/cert5.crt (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111)
	at PemEncoding.main(PemEncoding.java:29)
----------rerun:(30/3410)*----------

<snip>

result: Failed. Execution failed: exit code 1

Starting this Tier2 failure as a P2 since this looks like a regression.
Comments
Changeset: ea19114e Author: Rajan Halade <rhalade@openjdk.org> Date: 2022-03-08 20:34:02 +0000 URL: https://git.openjdk.java.net/jdk/commit/ea19114e66326e4be7b4b9995888ad2ead3d37dc
08-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7749 Date: 2022-03-08 20:25:12 +0000
08-03-2022

It looks like the file that cannot be found was recently touched by: JDK-7192189: Support endpoint identification algorithm in RFC 6125
08-03-2022