-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Nightly hanging test env precompilation with JULIA_NUM_THREADS > 1
#53572
Comments
So the issue is that https://github.com/JuliaLang/Pkg.jl/blob/28bbbd46f3303920fd52e4eaccc53543f575f75b/src/Operations.jl#L2042-L2052 |
This gets better with #53697, but i'd still consider what Pkg is doing a bug. |
Wasn't that all avoided with #48592 ? |
It used to, but Pkg now includes code to forcibly bypass that fix |
Ah, yeah this regressed in JuliaLang/Pkg.jl#3792 which forces the |
Precompilation with threads is not supported: JuliaLang/julia#53572 (comment)
Precompilation with threads is not supported: JuliaLang/julia#53572 (comment)
Precompilation with threads is not supported: JuliaLang/julia#53572 (comment)
Fixes JuliaLang/julia#56458 Precompilation with threads is not supported: JuliaLang/julia#53572 (comment) Ensures that tests run with threads, both when calling `julia --project --threads=auto --eval 'using Pkg; Pkg.test()', and when calling `julia --project --eval 'using Pkg; Pkg.test(; julia_args = ["--threads=auto"])'`.
Fixes JuliaLang/julia#56458 Precompilation with threads is not supported: JuliaLang/julia#53572 (comment) Ensures that tests run with threads, both when calling `julia --project --threads=auto --eval 'using Pkg; Pkg.test()'`, and when calling `julia --project --eval 'using Pkg; Pkg.test(; julia_args = ["--threads=auto"])'`.
ProgressMeter.jl precompilation in the
Pkg.test
environment (which usually takes 1s) is hanging on nightly in CI whenJULIA_NUM_THREADS=2
but not when=1
.1.6, 1.10 and 1.11 all succeed. And precompilation in the regular REPL succeeds.
https://github.com/timholy/ProgressMeter.jl/actions/runs/8127876000/job/22213188493?pr=305
I suspect that JuliaLang/Pkg.jl#3792 is the cause, but I'm not sure why (fyi @KristofferC )
The text was updated successfully, but these errors were encountered: