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

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

    XMLWordPrintable

Details

    • b04
    • x86_64
    • windows

    Description

      The following test failed in the JDK20 CI:

      compiler/vectorapi/VectorFPtoIntCastTest.java

      Here's a snippet from the log file:

      ----------System.err:(96/8935)*----------
      WARNING: Using incubator modules: jdk.incubator.vector

      Command Line:
      c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+3-73\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\java.exe -DReproduce=true -cp C:\\sb\\prod\\1655460009\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\classes\\1\\compiler\\vectorapi\\VectorFPtoIntCastTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+3-73\\src.full\\open\\test\\hotspot\\jtreg\\compiler\\vectorapi;C:\\sb\\prod\\1655460009\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\classes\\1\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+3-73\\src.full\\open\\test\\lib;C:\\sb\\prod\\1655460009\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\classes\\1;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+3-73\\src.full\\open\\test\\hotspot\\jtreg;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+3-73\\windows-x64-debug.test\\hotspot\\jtreg\\native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=c:\\sb\\prod\\1655460009\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Dir.framework.server.port=57935 --add-modules=jdk.incubator.vector -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:CompileCommand=log,compiler.vectorapi.VectorFPtoIntCastTest::* -XX:CompileCommand=option,compiler.vectorapi.VectorFPtoIntCastTest::*,bool,PrintIdeal,true -XX:CompileCommand=option,compiler.vectorapi.VectorFPtoIntCastTest::*,bool,PrintOptoAssembly,true -XX:-OmitStackTraceInFastThrow -DShouldDoIRVerification=true -XX:-BackgroundCompilation -XX:CompileCommand=quiet compiler.lib.ir_framework.test.TestVM compiler.vectorapi.VectorFPtoIntCastTest

      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(applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={}, applyIf={}, applyIfCPUFeature={}, counts={"(\\\\d+(\\\\s){2}(VectorCastD2X.*)+(\\\\s){2}===.*)", "> 0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: (\\d+(\\s){2}(VectorCastD2X.*)+(\\s){2}===.*)
               - Failed comparison: [found] 0 > 0 [given]
               - No nodes matched!

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

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

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

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

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

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

      8) Method "public void compiler.vectorapi.VectorFPtoIntCastTest.float2short()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={}, applyIf={}, applyIfCPUFeature={}, counts={"(\\\\d+(\\\\s){2}(VectorCastF2X.*)+(\\\\s){2}===.*)", "> 0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: (\\d+(\\s){2}(VectorCastF2X.*)+(\\s){2}===.*)
               - Failed comparison: [found] 0 > 0 [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)*----------

      This failure occurred in jdk-20+3-73-tier3 and the following fix:

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

      was integrated in jdk-20+3-72.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: