Skip to content
New issue

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

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

Already on GitHub? # to your account

Registry issue in github action with Julia 1.10? #48

Open
willow-ahrens opened this issue Jan 9, 2024 · 5 comments
Open

Registry issue in github action with Julia 1.10? #48

willow-ahrens opened this issue Jan 9, 2024 · 5 comments

Comments

@willow-ahrens
Copy link

In my script, with the update to Julia 1.10, I'm getting:

Run julia-actions/julia-buildpkg@v1
Run echo "JULIA_PKG_SERVER_REGISTRY_PREFERENCE=${JULIA_PKG_SERVER_REGISTRY_PREFERENCE:-eager}" >> ${GITHUB_ENV}
Run if "false" == "false" && !isdir(DEPOT_PATH[1])
       Added registry `General` to `~/.julia/registries/General`
    Updating registry at `~/.julia/registries/General`
┌ Warning: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/f995392ee85dbbb02d014c410f580299287f3f2c
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1173
    Updating registry at `~/.julia/registries/General`
┌ Warning: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/f995392ee85dbbb02d014c410f580299287f3f2c
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1173
ERROR: LoadError: "/tmp/jl_3EuJal/Registry.toml": No such file

Any ideas what this might be?

@DilumAluthge
Copy link
Member

Can you post a link to the CI log in question?

@DilumAluthge
Copy link
Member

Can you "retry" the failed job and see if the failure persists?

@willow-ahrens
Copy link
Author

seems to work fine now? The issue was always intermittent, only some of the jobs would randomly fail

@DilumAluthge
Copy link
Member

Yeah, I think the Pkg Servers were having some trouble earlier today. I'm hoping they're doing better now.

As far as what we can do in this repo (julia-buildpkg), some ideas include

  1. Better error messages
  2. Wrap these flaky network calls in bounded retry loops with some backoff/delay.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants