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

compiler/vectorapi/VectorFPtoIntCastTest.java failed with "IRViolationException: There were one or multiple IR rule failures."

    XMLWordPrintable

Details

    • b03
    • x86_64
    • linux, windows

    Description

      The following test failed in the JDK20 CI:

      compiler/vectorapi/VectorFPtoIntCastTest.java

      Used JTreg javaoptions: -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation

      Here's a snippet from the log file:

      One or more @IR rules failed:

      Failed IR Rules (8) of Methods (8)
      ----------------------------------
      1) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.double2byte()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"D2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: D2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      2) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.double2int()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"D2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: D2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      3) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.double2long()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"D2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: D2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      4) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.double2short()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"D2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: D2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      5) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.float2byte()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"F2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: F2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      6) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.float2int()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"F2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: F2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      7) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.float2long()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"F2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: F2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      8) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.float2short()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIf={}, failOn={}, applyIfAnd={}, applyIfOr={}, counts={"F2X", ">= 1"}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: F2X
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

      >>> Check stdout for compilation output of the failed methods


        #############################################################
         - 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.driver.irmatching.IRViolationException: There were one or multiple IR rule failures. Please check stderr for more information.
      at compiler.lib.ir_framework.driver.irmatching.IRMatcher.throwIfNoSafepointWhilePrinting(IRMatcher.java:91)
      at compiler.lib.ir_framework.driver.irmatching.IRMatcher.reportFailures(IRMatcher.java:82)
      at compiler.lib.ir_framework.driver.irmatching.IRMatcher.applyIRRules(IRMatcher.java:54)
      at compiler.lib.ir_framework.driver.irmatching.IRMatcher.<init>(IRMatcher.java:43)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:729)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:698)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:329)
      at compiler.lib.ir_framework.TestFramework.runWithFlags(TestFramework.java:237)
      at compiler.vectorapi.VectorFPtoIntCastTest.main(VectorFPtoIntCastTest.java:64)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1596)

      JavaTest Message: Test threw exception: compiler.lib.ir_framework.driver.irmatching.IRViolationException: There were one or multiple IR rule failures. Please check stderr for more information.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: compiler.lib.ir_framework.driver.irmatching.IRViolationException: There were one or multiple IR rule failures. Please check stderr for more information.
      ----------rerun:(45/6579)*----------

      Attachments

        Issue Links

          Activity

            People

              sviswanathan Sandhya Viswanathan
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: