julialang吧 关注:42贴子:71
  • 2回复贴,共1

Pkg test 报错

只看楼主收藏回复

(v1.3) pkg> test Pkg
Testing Pkg
Resolving package versions...
Status `C:\Users\mkk\AppData\Local\Temp\jl_vQp6cA\Manifest.toml`
[2a0f44e3] Base64 [`@stdlib/Base64`]
[ade2ca70] Dates [`@stdlib/Dates`]
[8ba89e20] Distributed [`@stdlib/Distributed`]
[b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`]
[76f85450] LibGit2 [`@stdlib/LibGit2`]
[8f399da3] Libdl [`@stdlib/Libdl`]
[56ddb016] Logging [`@stdlib/Logging`]
[d6f4376e] Markdown [`@stdlib/Markdown`]
[44cfe95a] Pkg [`@stdlib/Pkg`]
[de0858da] Printf [`@stdlib/Printf`]
[3fa0cd96] REPL [`@stdlib/REPL`]
[9a3f8284] Random [`@stdlib/Random`]
[ea8e919c] SHA [`@stdlib/SHA`]
[9e88b42a] Serialization [`@stdlib/Serialization`]
[6462fe0b] Sockets [`@stdlib/Sockets`]
[8dfed614] Test [`@stdlib/Test`]
[cf7118a7] UUIDs [`@stdlib/UUIDs`]
[4ec0a83e] Unicode [`@stdlib/Unicode`]
Test Summary: | Pass Total
semver notation | 64 64
Test Summary: | Pass Total
compress_versions() | 6 6
Test Summary: | Pass Total
union, isjoinable | 12 12
Activating new environment at `C:\Users\mkk\AppData\Local\Temp\jl_3Ygin9\Project.toml`
───── Preview mode ─────
[ Info: skipping updating registries in preview mode
Cloning default registries into `C:\Users\mkk\AppData\Local\Temp\jl_63NqeK`
Cloning registry from "C:\\Users\\mkk\\AppData\\Local\\Julia-1.3.1\\share\\julia\\stdlib\\v1.3\\Pkg\\test\\registries\\General"
simple add and remove with preview: Error During Test at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\pkg.jl:150
Got exception outside of a @test
no `Registry.toml` file in cloned registry.
Stacktrace:
[1] pkgerror(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Types.jl:113
[2] clone_or_cp_registries(::Pkg.Types.Context, ::Array{Pkg.Types.RegistrySpec,1}, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Types.jl:1038
[3] clone_or_cp_registries at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Types.jl:1013 [inlined] (repeats 2 times)
[4] clone_default_registries() at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Types.jl:963
[5] find_registered!(::Pkg.Types.EnvCache, ::Array{String,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Types.jl:1244
[6] registry_resolve!(::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Types.jl:880
[7] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:preview,),Tuple{Bool}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:95
[8] (::Pkg.API.var"#kw##add")(::NamedTuple{(:preview,),Tuple{Bool}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at .\none:0
[9] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [inlined]
[10] #add at .\none:0 [inlined]
[11] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [inlined]
[12] #add at .\none:0 [inlined]
[13] #add#20(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:preview,),Tuple{Bool}}}, ::typeof(Pkg.API.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:66
[14] (::Main.PkgTests.OperationsTest.var"#16#30")(::String) at .\none:0
[15] (::Main.PkgTests.OperationsTest.var"#4#7"{Bool,Main.PkgTests.OperationsTest.var"#16#30"})() at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\utils.jl:40
[16] withenv(::Main.PkgTests.OperationsTest.var"#4#7"{Bool,Main.PkgTests.OperationsTest.var"#16#30"}, ::Pair{String,Nothing}, ::Vararg{Pair{String,Nothing},N} where N) at .\env.jl:161
[17] #temp_pkg_dir#1(::Bool, ::typeof(Main.PkgTests.OperationsTest.temp_pkg_dir), ::Main.PkgTests.OperationsTest.var"#16#30") at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\utils.jl:32
[18] temp_pkg_dir(::Function) at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\utils.jl:5
[19] top-level scope at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\pkg.jl:149
[20] include at .\boot.jl:328 [inlined]
[21] include_relative(::Module, ::String) at .\loading.jl:1105
[22] include at .\Base.jl:31 [inlined]
[23] include(::String) at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\runtests.jl:3
[24] top-level scope at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\runtests.jl:6
[25] include at .\boot.jl:328 [inlined]
[26] include_relative(::Module, ::String) at .\loading.jl:1105
[27] include(::Module, ::String) at .\Base.jl:31
[28] include(::String) at .\client.jl:424
[29] top-level scope at none:6
[30] eval(::Module, ::Any) at .\boot.jl:330
[31] exec_options(::Base.JLOptions) at .\client.jl:263
[32] _start() at .\client.jl:460
Test Summary: | Error Total
simple add and remove with preview | 1 1
ERROR: LoadError: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\pkg.jl:149
in expression starting at C:\Users\mkk\AppData\Local\Julia-1.3.1\share\julia\stdlib\v1.3\Pkg\test\runtests.jl:6
ERROR: Package Pkg errored during testing


IP属地:浙江1楼2020-02-06 19:55回复
    有人知道这是怎么回事吗?


    IP属地:浙江2楼2020-02-06 19:56
    收起回复