Jtreg test compiler/vectorization/TestVectorAlgorithms.java fails after JDK-8373026

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: hotspot
    • None

      JDK-8373026 introduced TestVectorAlgorithms. This fails on at least AIX and Linux ppc64 BE ; probably it fails on all big endian platforms ?


      compiler/vectorization/TestVectorAlgorithms.java#noOptimizeFill

      Error Output
      ------------
      WARNING: Using incubator modules: jdk.incubator.vector
      ERROR: Equality matching failed: value mismatch: -293359437 vs 767514325
        aParent: <none>
        bParent: <none>
        field: <root>
        a: -293359437
        b: 767514325
      Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException:

      Test Failures (1)
      -----------------
      Custom Run Test: @Run: runTests - @Tests: {fillI_loop,fillI_VectorAPI,fillI_Arrays,iotaI_loop,iotaI_VectorAPI,copyI_loop,copyI_VectorAPI,copyI_System_arraycopy,mapI_loop,mapI_VectorAPI,reduceAddI_loop,reduceAddI_reassociate,reduceAddI_VectorAPI_naive,reduceAddI_VectorAPI_reduction_after_loop,dotProductF_loop,dotProductF_VectorAPI_naive,dotProductF_VectorAPI_reduction_after_loop,hashCodeB_loop,hashCodeB_Arrays,hashCodeB_VectorAPI_v1,hashCodeB_VectorAPI_v2,scanAddI_loop,scanAddI_loop_reassociate,scanAddI_VectorAPI_permute_add,findMinIndexI_loop,findMinIndexI_VectorAPI,findI_loop,findI_VectorAPI,reverseI_loop,reverseI_VectorAPI,filterI_loop,filterI_VectorAPI,reduceAddIFieldsX4_loop,reduceAddIFieldsX4_VectorAPI,lowerCaseB_loop,lowerCaseB_VectorAPI_v1,lowerCaseB_VectorAPI_v2}:
      compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.vectorization.TestVectorAlgorithms.runTests(compiler.lib.ir_framework.RunInfo)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:100)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:865)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:255)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:168)
      Caused by: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:157)
      ... 5 more
      Caused by: java.lang.RuntimeException: Verify.checkEQ failed for group hashCodeB, gold hashCodeB_VectorAPI_v1, test hashCodeB_VectorAPI_v2
      at compiler.vectorization.TestVectorAlgorithms.runTests(TestVectorAlgorithms.java:222)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      ... 7 more
      Caused by: compiler.lib.verify.VerifyException: Value verification failed:
      Value mismatch: -293359437 vs 767514325
      at compiler.lib.verify.Verify.checkEQimpl(Verify.java:204)
      at compiler.lib.verify.Verify.checkEQdispatch(Verify.java:135)
      at compiler.lib.verify.Verify.checkEQ(Verify.java:98)
      at compiler.vectorization.TestVectorAlgorithms.runTests(TestVectorAlgorithms.java:220)
      ... 8 more



      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:901)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:255)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:168)


        #############################################################
         - 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.TestVMException: There were one or multiple errors. Please check stderr for more information.
      at compiler.lib.ir_framework.driver.TestVMProcess.throwTestVMException(TestVMProcess.java:251)
      at compiler.lib.ir_framework.driver.TestVMProcess.checkTestVMExitCode(TestVMProcess.java:232)
      at compiler.lib.ir_framework.driver.TestVMProcess.<init>(TestVMProcess.java:76)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:879)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:839)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:431)
      at compiler.vectorization.TestVectorAlgorithms.main(TestVectorAlgorithms.java:87)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      compiler/vectorization/TestVectorAlgorithms.java#noSuperWord

      Error Output
      ------------
      WARNING: Using incubator modules: jdk.incubator.vector
      ERROR: Equality matching failed: value mismatch: -2027106234 vs -1418545242
        aParent: <none>
        bParent: <none>
        field: <root>
        a: -2027106234
        b: -1418545242
      Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException:

      Test Failures (1)
      -----------------
      Custom Run Test: @Run: runTests - @Tests: {fillI_loop,fillI_VectorAPI,fillI_Arrays,iotaI_loop,iotaI_VectorAPI,copyI_loop,copyI_VectorAPI,copyI_System_arraycopy,mapI_loop,mapI_VectorAPI,reduceAddI_loop,reduceAddI_reassociate,reduceAddI_VectorAPI_naive,reduceAddI_VectorAPI_reduction_after_loop,dotProductF_loop,dotProductF_VectorAPI_naive,dotProductF_VectorAPI_reduction_after_loop,hashCodeB_loop,hashCodeB_Arrays,hashCodeB_VectorAPI_v1,hashCodeB_VectorAPI_v2,scanAddI_loop,scanAddI_loop_reassociate,scanAddI_VectorAPI_permute_add,findMinIndexI_loop,findMinIndexI_VectorAPI,findI_loop,findI_VectorAPI,reverseI_loop,reverseI_VectorAPI,filterI_loop,filterI_VectorAPI,reduceAddIFieldsX4_loop,reduceAddIFieldsX4_VectorAPI,lowerCaseB_loop,lowerCaseB_VectorAPI_v1,lowerCaseB_VectorAPI_v2}:
      compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.vectorization.TestVectorAlgorithms.runTests(compiler.lib.ir_framework.RunInfo)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:100)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:865)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:255)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:168)
      Caused by: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:157)
      ... 5 more
      Caused by: java.lang.RuntimeException: Verify.checkEQ failed for group hashCodeB, gold hashCodeB_VectorAPI_v1, test hashCodeB_VectorAPI_v2
      at compiler.vectorization.TestVectorAlgorithms.runTests(TestVectorAlgorithms.java:222)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      ... 7 more
      Caused by: compiler.lib.verify.VerifyException: Value verification failed:
      Value mismatch: -2027106234 vs -1418545242
      at compiler.lib.verify.Verify.checkEQimpl(Verify.java:204)
      at compiler.lib.verify.Verify.checkEQdispatch(Verify.java:135)
      at compiler.lib.verify.Verify.checkEQ(Verify.java:98)
      at compiler.vectorization.TestVectorAlgorithms.runTests(TestVectorAlgorithms.java:220)
      ... 8 more



      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:901)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:255)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:168)


        #############################################################
         - 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.TestVMException: There were one or multiple errors. Please check stderr for more information.
      at compiler.lib.ir_framework.driver.TestVMProcess.throwTestVMException(TestVMProcess.java:251)
      at compiler.lib.ir_framework.driver.TestVMProcess.checkTestVMExitCode(TestVMProcess.java:232)
      at compiler.lib.ir_framework.driver.TestVMProcess.<init>(TestVMProcess.java:76)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:879)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:839)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:431)
      at compiler.vectorization.TestVectorAlgorithms.main(TestVectorAlgorithms.java:87)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      compiler/vectorization/TestVectorAlgorithms.java#vanilla

      Error Output
      ------------
      WARNING: Using incubator modules: jdk.incubator.vector
      ERROR: Equality matching failed: value mismatch: 2127601227 vs -755514967
        aParent: <none>
        bParent: <none>
        field: <root>
        a: 2127601227
        b: -755514967
      Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException:

      Test Failures (1)
      -----------------
      Custom Run Test: @Run: runTests - @Tests: {fillI_loop,fillI_VectorAPI,fillI_Arrays,iotaI_loop,iotaI_VectorAPI,copyI_loop,copyI_VectorAPI,copyI_System_arraycopy,mapI_loop,mapI_VectorAPI,reduceAddI_loop,reduceAddI_reassociate,reduceAddI_VectorAPI_naive,reduceAddI_VectorAPI_reduction_after_loop,dotProductF_loop,dotProductF_VectorAPI_naive,dotProductF_VectorAPI_reduction_after_loop,hashCodeB_loop,hashCodeB_Arrays,hashCodeB_VectorAPI_v1,hashCodeB_VectorAPI_v2,scanAddI_loop,scanAddI_loop_reassociate,scanAddI_VectorAPI_permute_add,findMinIndexI_loop,findMinIndexI_VectorAPI,findI_loop,findI_VectorAPI,reverseI_loop,reverseI_VectorAPI,filterI_loop,filterI_VectorAPI,reduceAddIFieldsX4_loop,reduceAddIFieldsX4_VectorAPI,lowerCaseB_loop,lowerCaseB_VectorAPI_v1,lowerCaseB_VectorAPI_v2}:
      compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.vectorization.TestVectorAlgorithms.runTests(compiler.lib.ir_framework.RunInfo)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:100)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:865)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:255)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:168)
      Caused by: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:157)
      ... 5 more
      Caused by: java.lang.RuntimeException: Verify.checkEQ failed for group hashCodeB, gold hashCodeB_VectorAPI_v1, test hashCodeB_VectorAPI_v2
      at compiler.vectorization.TestVectorAlgorithms.runTests(TestVectorAlgorithms.java:222)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      ... 7 more
      Caused by: compiler.lib.verify.VerifyException: Value verification failed:
      Value mismatch: 2127601227 vs -755514967
      at compiler.lib.verify.Verify.checkEQimpl(Verify.java:204)
      at compiler.lib.verify.Verify.checkEQdispatch(Verify.java:135)
      at compiler.lib.verify.Verify.checkEQ(Verify.java:98)
      at compiler.vectorization.TestVectorAlgorithms.runTests(TestVectorAlgorithms.java:220)
      ... 8 more



      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:901)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:255)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:168)


        #############################################################
         - 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.TestVMException: There were one or multiple errors. Please check stderr for more information.
      at compiler.lib.ir_framework.driver.TestVMProcess.throwTestVMException(TestVMProcess.java:251)
      at compiler.lib.ir_framework.driver.TestVMProcess.checkTestVMExitCode(TestVMProcess.java:232)
      at compiler.lib.ir_framework.driver.TestVMProcess.<init>(TestVMProcess.java:76)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:879)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:839)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:431)
      at compiler.vectorization.TestVectorAlgorithms.main(TestVectorAlgorithms.java:87)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

        
        

            Assignee:
            Unassigned
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: