Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GraalVM to 22.3.3 #1591

Merged
merged 1 commit into from
Mar 30, 2024
Merged

Upgrade GraalVM to 22.3.3 #1591

merged 1 commit into from
Mar 30, 2024

Conversation

dwickern
Copy link
Collaborator

Validate PR / scripted-graavlvm (pull_request) sometimes fails with this error:

Run gu install native-image
Downloading: Release index file from oca.opensource.oracle.com
Internal error occurred: A JSONObject text must begin with '{' at 1 [character 2 line 1]
Error: Process completed with exit code 3.

gu is the GraalVM Updater. Add the --debug flag to get more info.

@dwickern
Copy link
Collaborator Author

The debug output is not very useful...

Run gu --debug install native-image
Downloading: Release index file from oca.opensource.oracle.com
Internal error occurred: A JSONObject text must begin with '{' at 1 [character 2 line 1]
com.oracle.truffle.tools.utils.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
	at com.oracle.truffle.tools.utils.json.JSONTokener.syntaxError(JSONTokener.java:507)
	at com.oracle.truffle.tools.utils.json.JSONObject.<init>(JSONObject.java:222)
	at org.graalvm.component.installer.gds.GraalChannel.loadReleasesIndex(GraalChannel.java:432)
	at org.graalvm.component.installer.gds.GraalChannel.loadStorage(GraalChannel.java:364)
	at org.graalvm.component.installer.gds.GraalChannel$Delayed.init(GraalChannel.java:197)
	at org.graalvm.component.installer.gds.GraalChannel$Delayed.listComponentIDs(GraalChannel.java:204)
	at org.graalvm.component.installer.remote.MergeStorage.listComponentIDs(MergeStorage.java:109)
	at org.graalvm.component.installer.model.CatalogContents.getComponentIDs(CatalogContents.java:246)
	at org.graalvm.component.installer.remote.CatalogIterable$It.expandId(CatalogIterable.java:140)
	at org.graalvm.component.installer.remote.CatalogIterable$It.next(CatalogIterable.java:196)
	at org.graalvm.component.installer.remote.CatalogIterable$It.next(CatalogIterable.java:121)
	at org.graalvm.component.installer.commands.InstallCommand.processComponents(InstallCommand.java:496)
	at org.graalvm.component.installer.commands.InstallCommand.prepareInstallation(InstallCommand.java:533)
	at org.graalvm.component.installer.commands.InstallCommand.executeStep(InstallCommand.java:571)
	at org.graalvm.component.installer.commands.InstallCommand.execute(InstallCommand.java:199)
	at org.graalvm.component.installer.ComponentInstaller.doProcessCommand(ComponentInstaller.java:441)
	at org.graalvm.component.installer.ComponentInstaller.processCommand(ComponentInstaller.java:455)
	at org.graalvm.component.installer.ComponentInstaller.run(ComponentInstaller.java:572)
	at org.graalvm.component.installer.ComponentInstaller.main(ComponentInstaller.java:625)

But upgrading GraalVM seems to fix the problem.

@dwickern dwickern changed the title Enable GraalVM Updater debug output Upgrade GraalVM to 22.3.3 Mar 22, 2024
@dwickern dwickern requested a review from muuki88 March 29, 2024 18:13
@dwickern
Copy link
Collaborator Author

@muuki88 this seems to fix the scripted-graalvm build

@muuki88 muuki88 merged commit 9e009b0 into sbt:master Mar 30, 2024
14 of 15 checks passed
@muuki88
Copy link
Contributor

muuki88 commented Mar 30, 2024

Awesome 😎💖 only docker to go 😸

@dwickern dwickern deleted the graalvm-debug branch April 9, 2024 16:38
@dwickern dwickern restored the graalvm-debug branch April 9, 2024 16:38
@dwickern dwickern deleted the graalvm-debug branch November 6, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants