Skip to content

bump jvm version in CI #1619

bump jvm version in CI

bump jvm version in CI #1619

GitHub Actions / JUnit Test Report failed May 10, 2024 in 0s

1 tests run, 0 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 20 in python-client/src/test/scala/raw/client/python/TestPythonCompilerService.scala

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestPythonCompilerService.(It is not a test it is a sbt.testing.SuiteSelector)

sbt.ForkMain$ForkError: java.lang.ExceptionInInitializerError: null
Raw output
sbt.ForkMain$ForkError: sbt.ForkMain$ForkError: java.lang.ExceptionInInitializerError: null
	at com.oracle.truffle.runtime.enterprise.EnterpriseTruffle.supportsEnterpriseExtensions(stripped:21)
	at com.oracle.truffle.polyglot.enterprise.EnterprisePolyglotImpl.getPriority(stripped:518)
	at java.base/java.util.Comparator.lambda$comparing$77a9974f$1(Comparator.java:473)
	at java.base/java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
	at java.base/java.util.TimSort.sort(TimSort.java:220)
	at java.base/java.util.Arrays.sort(Arrays.java:1308)
	at java.base/java.util.ArrayList.sort(ArrayList.java:1804)
	at java.base/java.util.Collections.sort(Collections.java:178)
	at org.graalvm.polyglot.Engine.loadAndValidateProviders(Engine.java:1656)
	at org.graalvm.polyglot.Engine$1.run(Engine.java:1732)
	at org.graalvm.polyglot.Engine$1.run(Engine.java:1727)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
	at org.graalvm.polyglot.Engine.initEngineImpl(Engine.java:1727)
	at org.graalvm.polyglot.Engine$ImplHolder.<clinit>(Engine.java:190)
	at org.graalvm.polyglot.Engine.getImpl(Engine.java:442)
	at org.graalvm.polyglot.Engine$Builder.build(Engine.java:740)
	at raw.client.api.CompilerService$.getEngine(CompilerService.scala:65)
	at raw.client.python.PythonCompilerService.<init>(PythonCompilerService.scala:70)
	at raw.client.python.TestPythonCompilerService.beforeAll(TestPythonCompilerService.scala:28)
	at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
	at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
	at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
	at raw.client.python.TestPythonCompilerService.run(TestPythonCompilerService.scala:20)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
	at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: sbt.ForkMain$ForkError: java.lang.IllegalStateException: Polyglot version compatibility check failed.
Your Java runtime '21.0.1+12-jvmci-23.1-b19' with compiler version '23.1.1' is incompatible with polyglot version '24.0.1'.
Update the Java runtime to the latest update release of JDK '21'.
Alternatively, it is possible to switch to the fallback runtime with -Dtruffle.UseFallbackRuntime=true.
The fallback runtime is compatible to any Java 17 capable JDK.
Execution with the fallback runtime does not support runtime compilation and therefore will negatively impact the guest application performance.
For more information see: https://www.graalvm.org/latest/reference-manual/embed-languages/#runtime-optimization-support.
To disable this version check the '-Dpolyglotimpl.DisableVersionChecks=true' system property can be used.
It is not recommended to disable version checks.

	at com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntimeAccess.throwVersionError(HotSpotTruffleRuntimeAccess.java:205)
	at com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntimeAccess.createRuntime(HotSpotTruffleRuntimeAccess.java:156)
	at com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntimeAccess.getRuntime(HotSpotTruffleRuntimeAccess.java:75)
	at com.oracle.truffle.api.Truffle.createRuntime(Truffle.java:145)
	at com.oracle.truffle.api.Truffle$1.run(Truffle.java:176)
	at com.oracle.truffle.api.Truffle$1.run(Truffle.java:174)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
	at com.oracle.truffle.api.Truffle.initRuntime(Truffle.java:174)
	at com.oracle.truffle.api.Truffle.<clinit>(Truffle.java:63)
	... 30 more