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

Cannot create musl based native image #12

Closed
edigonzales opened this issue Aug 2, 2022 · 8 comments
Closed

Cannot create musl based native image #12

edigonzales opened this issue Aug 2, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@edigonzales
Copy link

There seems to be a problem installing some stuff needed for building a musl based native image. I get timeouts when the action tries to setup musl:


Setting up musl for GraalVM Native Image...
  connect ETIMEDOUT 104.232.42.245:80
  Waiting 11 seconds before trying again
  connect ETIMEDOUT 104.232.42.245:80
  Waiting 17 seconds before trying again
  Error: connect ETIMEDOUT 104.232.42.245:80

A quick look into the code makes me think that this is the problem: https://github.com/graalvm/setup-graalvm/blob/main/src/features.ts#L20

It tries to download something from http://more.musl.cc (104.232.42.245) which cannot be resolved.

@fniephaus
Copy link
Member

Thanks for raising this. Was this just a temporary problem? The domain seems to work again. If you could restart your builds and let us know whether it works now, that'd be great.

@edigonzales
Copy link
Author

It did not work on July 30, 17:16 CEST. Then I changed to non-musl in one repo. While working on another repo on August 2, 16:31 CEST it did work. Few minutes later it was broken.

@edigonzales
Copy link
Author

I added a github action scheduler to one repo to see if it's conditional on the time of day.

@edigonzales
Copy link
Author

Sometimes it works, sometimes it does not:

Screenshot 2022-08-03 at 16 36 20

@fniephaus
Copy link
Member

Thanks for checking! Looks like we'll have to do something about this. Will look into mirroring the external dependency somehow.

fniephaus added a commit to fniephaus/setup-graalvm that referenced this issue Aug 3, 2022
fniephaus added a commit to fniephaus/setup-graalvm that referenced this issue Aug 3, 2022
@fniephaus fniephaus self-assigned this Aug 3, 2022
@fniephaus fniephaus added the bug Something isn't working label Aug 3, 2022
@fniephaus
Copy link
Member

Could you please monitor your builds for a few more hours and check whether this problem has now been resolved? If not, please re-open this issue.

@edigonzales
Copy link
Author

All green for the last 12h. Thanks.

@fniephaus
Copy link
Member

Thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants