Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315696

SignedLoggerFinderTest.java test failed

XMLWordPrintable

        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.

              coffeys Sean Coffey
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: