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

RunThese30M.java failed due to errors in JckStressModule.out

XMLWordPrintable

    • b02
    • x86_64
    • os_x

        The following test failed in the JDK19 CI:

        applications/runthese/RunThese30M.java

        Here's a snippet from JckStressModule.out:

        Error [743] Errors during initialization of test, skipping javasoft.sqe.tests.lang.stmt438.stmt43802m1081.stmt43802m1081
        java.lang.UnsupportedClassVersionError: javasoft/sqe/tests/lang/stmt438/stmt43802m1101/stmt43802m1101 (class file version 62.65535) was compiled with preview features that are unsupported. This version of the Java Runtime only recognizes preview features for class file version 63.65535
                at java.base/java.lang.ClassLoader.defineClass1(Native Method)
                at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1013)
                at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
                at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
                at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
                at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
                at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
                at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
                at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
                at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
                at java.base/java.lang.Class.forName0(Native Method)
                at java.base/java.lang.Class.forName(Class.java:488)
                at java.base/java.lang.Class.forName(Class.java:467)
                at applications.kitchensink.process.stress.modules.JckStressModule$TestRunner.runTest(JckStressModule.java:246)
                at applications.kitchensink.process.stress.modules.JckStressModule$TestRunner.run(JckStressModule.java:210)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
                at java.base/java.lang.Thread.run(Thread.java:833)
        Error [744] Thread javasoft.sqe.tests.lang.stmt438.stmt43802m1081.stmt43802m1081 died, exception was: java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.getMessage()" because the return value of "java.lang.Throwable.getCause()" is null
        Error [745] Errors during initialization of test, skipping javasoft.sqe.tests.lang.stmt438.stmt43802m1101.stmt43802m1101
        Error [746] Thread javasoft.sqe.tests.lang.stmt438.stmt43802m1101.stmt43802m1101 died, exception was: java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.getMessage()" because the return value of "java.lang.Throwable.getCause()" is null
        Exit runThese with code = 75. There are 740 errors of 2457 tests. Failure ratio is higher then 30Check logs for errors. Test failed.

        Unfortunately, the tests log file only shows this:

        [stress.process.err] Iteration start: Jck at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration start: NMT at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration start: MBean at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration start: Jstat at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration start: Perfmon at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration start: Compiler at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration done: Compiler at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration done: MBean at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] Iteration done: ThreadDumper at Fri Dec 10 06:56:24 GMT 2021
        [stress.process.err] STATUS:Passed.OKAY
        [stress.process.err] STATUS:Passed.OKAY
        Got an exception, so I'll kill the stress process process
        [Fri Dec 10 06:56:52 GMT 2021] Unexpected errors during GlueModule initialization: Stress process finished unexpectedly with exit code 75
        java.lang.RuntimeException: Stress process finished unexpectedly with exit code 75
        at applications.kitchensink.process.glue.Main.waitUntilStressProcessReady(Main.java:422)
        at applications.kitchensink.process.glue.Main.execute(Main.java:330)
        at applications.kitchensink.process.glue.Main.main(Main.java:217)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Stress process finished unexpectedly with exit code 75
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Stress process finished unexpectedly with exit code 75

        and I had to go digging into the test's workdir to
        find the errors in JckStressModule.out.

        I'm starting this bug in hotspot/test so that [~lmesnik] can check
        out this failure and see if it's related to the recent JCK upgrade
        in RunThese.

              lmesnik Leonid Mesnik
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: