enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 321 forks source link

Engine (Oracle GraalVM) CI check fails #10895

Closed JaroslavTulach closed 1 week ago

JaroslavTulach commented 2 weeks ago

Nightly CI checks on Oracle GraalVM are currently failing:

 Error: Module jdk.compiler.graal not found
 java.lang.module.FindException: Module jdk.compiler.graal not found
    at java.base/java.lang.module.Resolver.findFail(Resolver.java:892)
    at java.base/java.lang.module.Resolver.resolve(Resolver.java:129)
    at java.base/java.lang.module.Configuration.resolve(Configuration.java:420)
    at java.base/java.lang.module.Configuration.resolve(Configuration.java:254)
    at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217)
    at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:523)
    at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:411)
    at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:286)
    at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56)
    at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34)
JaroslavTulach commented 2 weeks ago

Hubert says it might be an sbt issue.

hubertp commented 1 week ago

Looks like builds starting failing with this commit https://github.com/enso-org/enso/commit/5c06535c46d2a20d9eef70af415575c34ddb3f78

JaroslavTulach commented 1 week ago

Thank you Hubert for identifying source of the problem.

hubertp commented 1 week ago

It's fine, I still think it's sbt so you can leave it to me :)

hubertp commented 1 week ago

I've been trying to figure where jdk.compiler.graal is coming from and I couldn't find it in GraalVM distribution (neither community nor enterprise one). So I just removed it and things worked. So I guess that's a valid enough solution?

JaroslavTulach commented 1 week ago

If things work, then it is a fix!

FYI: There was a discussion about jdk.compiler.graal at GraalVM Slack.

enso-bot[bot] commented 1 week ago

Hubert Plociniczak reports a new STANDUP for yesterday (2024-09-05):

Progress: PR with a fix for GraalVM native image build is ready. Working on a problem where fetching of tableau artifacts fails randomly due to network issues. Trying to reproduce #10987 but so far only created a new issue #10995. It should be finished by 2024-09-05.

Next Day: Next day I will be working on the #10987 task. Continue investigating the issue.