JDK-8315696 : SignedLoggerFinderTest.java test failed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.logging
  • Affected Version: 22
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2023-09-05
  • Updated: 2024-02-27
  • Resolved: 2023-09-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 11 JDK 17 JDK 21 JDK 22
11.0.22-oracleFixed 17.0.10-oracleFixed 21.0.2Fixed 22 b15Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
test/jdk/java/lang/System/LoggerFinder/SignedLoggerFinderTest/SignedLoggerFinderTest.java

----------System.err:(114/9284)----------
 stdout: [multi thread load sleep value: 6
Logger finder service load sleep value: 683
TEST LOGGER: [SHA384withRSA, 8a557a9c357bbe37, CN=sample, CN=sample, RSA, 3072, 4208812258, Tue Sep 05 13:29:54 UTC 2023, Mon Dec 04 13:29:54 UTC 2023]
TEST LOGGER: [test_2, test]
System.getLogger type: loggerfinder.SimpleLoggerFinder$SimpleLogger
System.getLoggerFinder type: loggerfinder.SimpleLoggerFinder
];
 stderr: [URLClassPath.getResource("SignedLoggerFinderTest.class")
URLClassPath.getResource("loggerfinder/SimpleLoggerFinder.class")
URLClassPath.getResource("loggerfinder/SimpleLoggerFinder$SimpleLogger.class")
]
 exitValue = 0

java.lang.RuntimeException: Unexpected fail.
	at SignedLoggerFinderTest.launchTest(SignedLoggerFinderTest.java:208)
	at SignedLoggerFinderTest.main(SignedLoggerFinderTest.java:102)
	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:1570)
Caused by: java.lang.RuntimeException: 'TEST LOGGER: [test_1, test]' missing from stdout/stderr
	at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
	at SignedLoggerFinderTest.launchTest(SignedLoggerFinderTest.java:194)
	... 5 more

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

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected fail.


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected fail.
Comments
Fix request [11u] I backport this for parity with 11.0.22-oracle. Included in backport of main change, JDK-8314263.
30-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2223 Date: 2023-10-27 06:51:06 +0000
27-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1756 Date: 2023-09-20 11:01:26 +0000
20-09-2023

Fix request [17u] I backport this for parity with 17.0.10-oracle. Included in backport of main change, JDK-8314263.
20-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/174 Date: 2023-09-19 15:56:06 +0000
19-09-2023

Test is still failing - see JDK-8316087. This issue was integrated in CI run jdk-22+15-1075. New failure is in jdk-22+15-1097-tier4
12-09-2023

Fix request: A follow on stabilization test fix for JDK-8314263
11-09-2023

Changeset: e409d07a Author: Sean Coffey <coffeys@openjdk.org> Date: 2023-09-08 14:25:58 +0000 URL: https://git.openjdk.org/jdk/commit/e409d07ae84c693b656c02befb636593f9293635
08-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15571 Date: 2023-09-05 20:06:41 +0000
06-09-2023