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

internal Pkg error when running resolver on PkgEval #3188

Closed
vtjnash opened this issue Aug 31, 2022 · 2 comments
Closed

internal Pkg error when running resolver on PkgEval #3188

vtjnash opened this issue Aug 31, 2022 · 2 comments

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Aug 31, 2022

   Resolving package versions...
ERROR: Error when installing package MbedTLS:
IOError: rm("/home/pkgeval/.julia/packages/MbedTLS/4i6Lh/src"): no such file or directory (ENOENT)
Stacktrace:
 [1] uv_error
   @ ./libuv.jl:100 [inlined]
 [2] rm(path::String; force::Bool, recursive::Bool)
   @ Base.Filesystem ./file.jl:306
 [3] rm(path::String; force::Bool, recursive::Bool)
   @ Base.Filesystem ./file.jl:294
 [4] checkfor_mv_cp_cptree(src::String, dst::String, txt::String; force::Bool)
   @ Base.Filesystem ./file.jl:330
 [5] #mv#15
   @ ./file.jl:425 [inlined]
 [6] install_archive(urls::Vector{Pair{String, Bool}}, hash::Base.SHA1, version_path::String; io::Base.PipeEndpoint)
   @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:563
 [7] macro expansion
   @ /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:761 [inlined]
 [8] (::Pkg.Operations.var"#46#51"{Bool, Pkg.Types.Context, Tuple{SubString{String}, Dict{Base.UUID, Base.SHA1}}, Channel{Any}, Channel{NamedTuple{(:pkg, :urls, :path), Tuple{Pkg.Types.PackageEntry, Set{String}, String}}}})()
   @ Pkg.Operations ./task.jl:514
Stacktrace:
  [1] pkgerror(::String, ::Vararg{String})
    @ Pkg.Types /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Types.jl:68
  [2] macro expansion
    @ /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:783 [inlined]
  [3] macro expansion
    @ ./task.jl:476 [inlined]
  [4] download_source(ctx::Pkg.Types.Context; readonly::Bool)
    @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:724
  [5] download_source
    @ /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:700 [inlined]
  [6] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
    @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:1274
  [7] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.PipeEndpoint, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.PipeEndpoint}}})
    @ Pkg.API /opt/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:275
  [8] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /opt/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
  [9] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /opt/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
 [10] #add#26
    @ /opt/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
 [11] add
    @ /opt/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
 [12] add(; name::String, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /opt/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:173
 [13] top-level scope
    @ none:28
 [14] eval
    @ ./boot.jl:370 [inlined]
 [15] eval(x::Expr)
    @ Base.MainInclude ./client.jl:472
 [16] top-level scope
    @ none:1

caused by: ArgumentError: Package MarketTechnicals not found in current path.
- Run `import Pkg; Pkg.add("MarketTechnicals")` to install the MarketTechnicals package.
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1223 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1204
 [4] eval
   @ ./boot.jl:370 [inlined]
 [5] eval(x::Expr)
   @ Base.MainInclude ./client.jl:472
 [6] top-level scope
   @ none:22
 [7] eval
   @ ./boot.jl:370 [inlined]
 [8] eval(x::Expr)
   @ Base.MainInclude ./client.jl:472
 [9] top-level scope
   @ none:1

https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/245f3c4_vs_8fa066b/MarketTechnicals.primary.log
@maleadt

@maleadt
Copy link
Member

maleadt commented Sep 1, 2022

.julia/packages is shared across containers, https://github.com/JuliaCI/PkgEval.jl/blob/7896774d9e07fb7b482c30ab1554ea4279d9c888/src/sandbox.jl#L116-L121, so this is likely caused by a race between two Julia processes.

@KristofferC
Copy link
Sponsor Member

Dup of #2219

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

3 participants