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

Errors running tests #3442

Open
jmkuhn opened this issue Apr 19, 2023 · 0 comments
Open

Errors running tests #3442

jmkuhn opened this issue Apr 19, 2023 · 0 comments
Assignees

Comments

@jmkuhn
Copy link

jmkuhn commented Apr 19, 2023

This issue started after JuliaLang/julia@ba9c455 and JuliaLang/julia#49135. When testing Random for instance, the following errors are produced before the tests continue and complete successfully.

julia> versioninfo()
Julia Version 1.10.0-DEV.1065
Commit dffb33bfc0 (2023-04-19 18:12 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  CPU: 8 × Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, icelake-client)
  Threads: 1 on 8 virtual cores

(@v1.10) pkg> test Random
     Testing Random
      Status `/private/var/folders/_n/qxr3t0td5lg32xh_4pn25x5n_pzq0g/T/jl_3oPhxf/Project.toml`
  [9fa8497b] Future `@stdlib/Future`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [2f01184e] SparseArrays v1.10.0 `@stdlib/SparseArrays`
  [10745b16] Statistics v1.9.0 `@stdlib/Statistics`
  [8dfed614] Test `@stdlib/Test`
      Status `/private/var/folders/_n/qxr3t0td5lg32xh_4pn25x5n_pzq0g/T/jl_3oPhxf/Manifest.toml`
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [9fa8497b] Future `@stdlib/Future`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [2f01184e] SparseArrays v1.10.0 `@stdlib/SparseArrays`
  [10745b16] Statistics v1.9.0 `@stdlib/Statistics`
  [8dfed614] Test `@stdlib/Test`
  [e66e0078] CompilerSupportLibraries_jll v1.0.2+0 `@stdlib/CompilerSupportLibraries_jll`
  [4536629a] OpenBLAS_jll v0.3.23+0 `@stdlib/OpenBLAS_jll`
  [8e850b90] libblastrampoline_jll v5.7.0+0 `@stdlib/libblastrampoline_jll`
ERROR: LoadError: ArgumentError: Package Pkg does not have Random in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have Pkg checked out for development and have
  added Random as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with Pkg
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1627 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1604
 [4] include
   @ ./Base.jl:488 [inlined]
 [5] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2052
 [6] top-level scope
   @ stdin:2
in expression starting at /Users/john.m.kuhn/opt/julia/1.10-DEV/julia/usr/share/julia/stdlib/v1.10/Pkg/src/Pkg.jl:3
in expression starting at stdin:2
ERROR: Failed to precompile Pkg [44cfe95a-1eb2-52ea-b672-e2afdf69b78f] to "/Users/john.m.kuhn/.julia/compiled/v1.10/Pkg/jl_8sKqTL".
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:2304
 [3] compilecache
   @ ./loading.jl:2170 [inlined]
 [4] _require(pkg::Base.PkgId, env::Nothing)
   @ Base ./loading.jl:1813
 [5] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
   @ Base ./loading.jl:1655
 [6] _require_prelocked
   @ ./loading.jl:1653 [inlined]
 [7] macro expansion
   @ ./lock.jl:267 [inlined]
 [8] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1648
 [9] top-level scope
   @ none:1
     Testing Precompilation of test environment failed. Continuing to tests
     Testing Running tests...
Test Summary: | Pass  Total  Time
Issue #6573   |    1      1  0.3s
...
     Testing Random tests passed 
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

No branches or pull requests

2 participants