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

two compiler tests fail with "Internal Test Framework exception" and "Did not find IR encoding"

XMLWordPrintable

    • x86_64
    • windows

      Spotted in the JDK21 CI:

      compiler/c2/irTests/TestAutoVecCountingDownLoop.java
      compiler/loopopts/superword/ProdRed_Float.java

      Here's a log file snippet from TestAutoVecCountingDownLoop.java:

      ----------System.err:(22/1709)----------
      compiler.lib.ir_framework.shared.TestFrameworkException: Internal Test Framework exception - please file a bug:
      Did not find IR encoding
      at compiler.lib.ir_framework.TestFramework.check(TestFramework.java:770)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.getIREncodingLines(IREncodingParser.java:106)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.parseIREncoding(IREncodingParser.java:87)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.createTestMethodMap(IREncodingParser.java:78)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.parse(IREncodingParser.java:67)
      at compiler.lib.ir_framework.driver.irmatching.parser.TestClassParser.parse(TestClassParser.java:56)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:751)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:719)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:339)
      at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:223)
      at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:212)
      at compiler.c2.irTests.TestAutoVecCountingDownLoop.main(TestAutoVecCountingDownLoop.java:44)
      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:1583)

      JavaTest Message: Test threw exception: compiler.lib.ir_framework.shared.TestFrameworkException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: compiler.lib.ir_framework.shared.TestFrameworkException: Internal Test Framework exception - please file a bug: Did not find IR encoding


      Here's a log file snippet from ProdRed_Float.java:

      ----------System.err:(43/2825)----------
      The following scenarios have failed: #5

      compiler.lib.ir_framework.shared.TestFrameworkException: Internal Test Framework exception - please file a bug:
      Did not find IR encoding
      at compiler.lib.ir_framework.TestFramework.check(TestFramework.java:770)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.getIREncodingLines(IREncodingParser.java:106)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.parseIREncoding(IREncodingParser.java:87)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.createTestMethodMap(IREncodingParser.java:78)
      at compiler.lib.ir_framework.driver.irmatching.parser.IREncodingParser.parse(IREncodingParser.java:67)
      at compiler.lib.ir_framework.driver.irmatching.parser.TestClassParser.parse(TestClassParser.java:56)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:751)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:719)
      at compiler.lib.ir_framework.TestFramework.startWithScenarios(TestFramework.java:616)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:349)
      at compiler.loopopts.superword.ProdRed_Float.main(ProdRed_Float.java:52)
      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:1583)


        #############################################################
         - To only run the failed tests use -DTest, -DExclude,
           and/or -DScenarios.
         - To also get the standard output of the test VM run with
           -DReportStdout=true or for even more fine-grained logging
           use -DVerbose=true.
        #############################################################


      compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #5. Please check stderr for more information.
      at compiler.lib.ir_framework.TestFramework.reportScenarioFailures(TestFramework.java:665)
      at compiler.lib.ir_framework.TestFramework.startWithScenarios(TestFramework.java:625)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:349)
      at compiler.loopopts.superword.ProdRed_Float.main(ProdRed_Float.java:52)
      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:1583)

      JavaTest Message: Test threw exception: compiler.lib.ir_framework.shared.TestRunException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #5. Please check stderr for more information.

            chagedorn Christian Hagedorn
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: