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

compiler/jvmci/compilerToVM/AllocateCompileIdTest.java fails with hjava.lang.InternalError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 10
    • 9
    • hotspot
    • b175
    • 9
    • generic
    • linux

      Error Message :
      java.lang.InternalError: The VM does not support the minimum JVMCI API version required by Graal.
      Cannot read JDK9 EA build number from java.vm.version property: 9+176.
      Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution.
      Currently used Java home directory is /export/home/gtee/muneer/jtest/jdks/jdk-9.
      Currently used VM configuration is: Java HotSpot(TM) 64-Bit Server VM
      Download the latest JDK 9 EA from https://jdk9.java.net/download/
      at jdk.internal.vm.compiler@9/org.graalvm.compiler.hotspot.JVMCIVersionCheck.failVersionCheck(JVMCIVersionCheck.java:67)
      at jdk.internal.vm.compiler@9/org.graalvm.compiler.hotspot.JVMCIVersionCheck.check(JVMCIVersionCheck.java:122)
      at jdk.internal.vm.compiler@9/org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.onSelection(HotSpotGraalCompilerFactory.java:95)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCICompilerConfig.getCompilerFactory(HotSpotJVMCICompilerConfig.java:104)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.<init>(HotSpotJVMCIRuntime.java:290)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.<init>(HotSpotJVMCIRuntime.java:65)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$DelayedInit.<clinit>(HotSpotJVMCIRuntime.java:73)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime(HotSpotJVMCIRuntime.java:83)
      at jdk.internal.vm.ci/jdk.vm.ci.runtime.JVMCI.initializeRuntime(Native Method)
      at jdk.internal.vm.ci/jdk.vm.ci.runtime.JVMCI.<clinit>(JVMCI.java:58)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime(HotSpotJVMCIRuntime.java:82)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotVMConfig.config(HotSpotVMConfig.java:41)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.getHolder(HotSpotResolvedJavaMethodImpl.java:92)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.fromMetaspace(HotSpotResolvedJavaMethodImpl.java:110)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Native Method)
      at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper.asResolvedJavaMethod(CompilerToVMHelper.java:185)
      at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:59)
      at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:64)
      at compiler.jvmci.compilerToVM.AllocateCompileIdTest.runSanityCorrectTest(AllocateCompileIdTest.java:125)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1378)
      at compiler.jvmci.compilerToVM.AllocateCompileIdTest.main(AllocateCompileIdTest.java:71)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.InternalError: The VM does not support the minimum JVMCI API version required by Graal.
      Cannot read JDK9 EA build number from java.vm.version property: 9+176.
      Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution.
      Currently used Java home directory is /export/home/gtee/muneer/jtest/jdks/jdk-9.
      Currently used VM configuration is: Java HotSpot(TM) 64-Bit Server VM
      Download the latest JDK 9 EA from https://jdk9.java.net/download/
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.InternalError: The VM does not support the minimum JVMCI API version required by Graal. Cannot read JDK9 EA build number from java.vm.version property: 9+176. Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution. Currently used Java home directory is /export/home/gtee/muneer/jtest/jdks/jdk-9. Currently used VM configuration is: Java HotSpot(TM) 64-Bit Server VM Download the latest JDK 9 EA from https://jdk9.java.net/download/
      ----------rerun:(40/4291)*----------
      DISPLAY=:1 \\
      GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\
      HOME=/export/home/gtee/muneer/jtest/openjdk9 \\
      LANG=en_US.UTF-8 \\
      LD_LIBRARY_PATH=/export/home/gtee/muneer/jtest/utils/testlib/hotspot/jtreg/native \\
      PATH=/bin:/usr/bin \\
      TZ=Europe/Moscow \\
      XMODIFIERS=@im=ibus \\
      CLASSPATH=/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/compiler/jvmci/compilerToVM:/export/home/gtee/muneer/jtest/openjdk9/jdk9176/hotspot/test/compiler/jvmci/compilerToVM:/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/test/lib:/export/home/gtee/muneer/jtest/openjdk9/jdk9176/test/lib:/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0:/export/home/gtee/muneer/jtest/openjdk9/jdk9176/hotspot/test:/export/home/gtee/muneer/jtest/utils/jtreg/lib/javatest.jar:/export/home/gtee/muneer/jtest/utils/jtreg/lib/jtreg.jar \\
          /export/home/gtee/muneer/jtest/jdks/jdk-9/bin/java \\
              -Dtest.class.path.prefix=/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/compiler/jvmci/compilerToVM:/export/home/gtee/muneer/jtest/openjdk9/jdk9176/hotspot/test/compiler/jvmci/compilerToVM:/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/test/lib:/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0 \\
              -Dtest.src=/export/home/gtee/muneer/jtest/openjdk9/jdk9176/hotspot/test/compiler/jvmci/compilerToVM \\
              -Dtest.src.path=/export/home/gtee/muneer/jtest/openjdk9/jdk9176/hotspot/test/compiler/jvmci/compilerToVM:/export/home/gtee/muneer/jtest/openjdk9/jdk9176/test/lib:/export/home/gtee/muneer/jtest/openjdk9/jdk9176/hotspot/test \\
              -Dtest.classes=/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/compiler/jvmci/compilerToVM \\
              -Dtest.class.path=/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/compiler/jvmci/compilerToVM:/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/test/lib:/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0 \\
              -Dtest.vm.opts= \\
              -Dtest.tool.vm.opts= \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/export/home/gtee/muneer/jtest/jdks/jdk-9 \\
              -Dcompile.jdk=/export/home/gtee/muneer/jtest/jdks/jdk-9 \\
              -Dtest.timeout.factor=5.0 \\
              -Dtest.modules='java.base/jdk.internal.misc java.base/jdk.internal.org.objectweb.asm java.base/jdk.internal.org.objectweb.asm.tree jdk.internal.vm.ci/jdk.vm.ci.hotspot jdk.internal.vm.ci/jdk.vm.ci.code' \\
              -Dtest.nativepath=/export/home/gtee/muneer/jtest/utils/testlib/hotspot/jtreg/native \\
              -Dtest.patch.path=/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/compiler/jvmci/common/patches \\
              --patch-module jdk.internal.vm.ci=/export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/classes/0/compiler/jvmci/common/patches/jdk.internal.vm.ci \\
              --add-modules java.base,jdk.internal.vm.ci \\
              --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \\
              --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \\
              --add-exports java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \\
              --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \\
              --add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \\
              -Djava.library.path=/export/home/gtee/muneer/jtest/utils/testlib/hotspot/jtreg/native \\
              -Xbootclasspath/a:. \\
              -XX:+UnlockDiagnosticVMOptions \\
              -XX:+WhiteBoxAPI \\
              -XX:+UnlockExperimentalVMOptions \\
              -XX:+EnableJVMCI \\
              -XX:-BackgroundCompilation \\
              com.sun.javatest.regtest.agent.MainWrapper /export/home/gtee/muneer/jtest/results9/176/testresults/hotspot/linux-x86_64/testoutput/JTwork/compiler/jvmci/compilerToVM/AllocateCompileIdTest.d/main.1.jta
      result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: The VM does not support the minimum JVMCI API version required by Graal. Cannot read JDK9 EA build number from java.vm.version property: 9+176. Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution. Currently used Java home directory is /export/home/gtee/muneer/jtest/jdks/jdk-9. Currently used VM configuration is: Java HotSpot(TM) 64-Bit Server VM Download the latest JDK 9 EA from https://jdk9.java.net/download/


      test result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: The VM does not support the minimum JVMCI API version required by Graal. Cannot read JDK9 EA build number from java.vm.version property: 9+176. Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution. Currently used Java home directory is /export/home/gtee/muneer/jtest/jdks/jdk-9. Currently used VM configuration is: Java HotSpot(TM) 64-Bit Server VM Download the latest JDK 9 EA from https://jdk9.java.net/download/

            jcm Jamsheed C M (Inactive)
            akolarkunnu Abdul Kolarkunnu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: