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

AArch64: compiler/vectorapi/reshape/TestVectorCastNeon.java failed with incorrect result

    XMLWordPrintable

Details

    • b16
    • aarch64
    • generic

    Description

      Error message:

      "RuntimeException: assertEquals: expected 6.2043621E18 to equal 6.2043616E18"

      The following test failed in the JDK19 CI:

      compiler/vectorapi/reshape/TestVectorCastNeon.java

      Here's a snippet from the log file:

      ----------System.err:(71/6948)----------
      WARNING: Using incubator modules: jdk.incubator.vector

      TestFramework test VM exited with code 1

      Command Line:
      /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+13-768/macosx-aarch64-debug.jdk/jdk-19/fastdebug/bin/java -DReproduce=true -cp /System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39435/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32f58915-83cb-4f36-aee7-65cfe8e706e4/runs/52ff5d8b-e932-4168-b04c-a48448e8a5d7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/0/compiler/vectorapi/reshape/TestVectorCastNeon.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+13-768/src.full/open/test/hotspot/jtreg/compiler/vectorapi/reshape:/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39435/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32f58915-83cb-4f36-aee7-65cfe8e706e4/runs/52ff5d8b-e932-4168-b04c-a48448e8a5d7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+13-768/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39435/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32f58915-83cb-4f36-aee7-65cfe8e706e4/runs/52ff5d8b-e932-4168-b04c-a48448e8a5d7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/classes/0:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+13-768/src.full/open/test/hotspot/jtreg:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar -Djava.library.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+13-768/macosx-aarch64-debug.test/hotspot/jtreg/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39435/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/32f58915-83cb-4f36-aee7-65cfe8e706e4/runs/52ff5d8b-e932-4168-b04c-a48448e8a5d7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -Dir.framework.server.port=64787 --add-modules=jdk.incubator.vector --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -XX:+UseNeon -DTest=testB64toS64,testB64toS128,testB64toI128,testB64toF128,testS64toB64,testS128toB64,testS64toI128,testS64toF128,testI128toB64,testI128toS64,testI64toL128,testI64toF64,testI128toF128,testI64toD128,testL128toI64,testL128toF64,testL128toD128,testF128toB64,testF128toS64,testF64toI64,testF128toI128,testF64toL128,testF64toD128,testD128toI64,testD128toL128,testD128toF64 -XX:-BackgroundCompilation -XX:CompileCommand=quiet -DWarmup=1 compiler.lib.ir_framework.test.TestVM compiler.vectorapi.reshape.tests.TestVectorCast compiler.vectorapi.reshape.utils.VectorReshapeHelper


      Error Output
      ------------
      WARNING: Using incubator modules: jdk.incubator.vector
      Exception in thread "main" compiler.lib.ir_framework.shared.TestRunException:

      Test Failures (1)
      -----------------
      Custom Run Test: @Run: runL128toF64 - @Test: testL128toF64:
      compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public static void compiler.vectorapi.reshape.tests.TestVectorCast.runL128toF64() throws java.lang.Throwable
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:104)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:818)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:249)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:164)
      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:577)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
      ... 5 more
      Caused by: java.lang.RuntimeException: assertEquals: expected 6.2043621E18 to equal 6.2043616E18
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at compiler.vectorapi.reshape.utils.VectorReshapeHelper.runCastHelper(VectorReshapeHelper.java:209)
      at compiler.vectorapi.reshape.tests.TestVectorCast.runL128toF64(TestVectorCast.java:857)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      ... 7 more



      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:853)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:249)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:164)


        #############################################################
         - 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:238)
      at compiler.lib.ir_framework.driver.TestVMProcess.checkTestVMExitCode(TestVMProcess.java:219)
      at compiler.lib.ir_framework.driver.TestVMProcess.<init>(TestVMProcess.java:74)
      at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:699)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:671)
      at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:324)
      at compiler.vectorapi.reshape.utils.VectorReshapeHelper.runMainHelper(VectorReshapeHelper.java:95)
      at compiler.vectorapi.reshape.TestVectorCastNeon.main(TestVectorCastNeon.java:42)
      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:828)

      JavaTest Message: Test threw exception: compiler.lib.ir_framework.driver.TestVMException: There were one or multiple errors. Please check stderr for more information.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: compiler.lib.ir_framework.driver.TestVMException: There were one or multiple errors. Please check stderr for more information.
      ----------rerun:(39/8841)*----------

      Attachments

        Issue Links

          Activity

            People

              njian Ningsheng Jian (Inactive)
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: