-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Environment
- Julia version: 1.11.1
- DIVAnd version: 2.7.12
- Operating system: Windows 11
Describe the bug
After running the test I get the following.
DIVAnd: Error During Test at C:\Users\Lenovo\.julia\packages\DIVAnd\4UymR\test\runtests.jl:12
Got exception outside of a @test
LoadError: RequestError: Failed to connect to dox.ulg.ac.be port 443 after 21125 ms: Couldn't connect to server while requesting https://dox.ulg.ac.be/index.php/s/PztJfSEnc8Cr3XN/download
Stacktrace:
[1] (::Downloads.var"#9#19"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, Nothing, String, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:452
[2] with_handle(f::Downloads.var"#9#19"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, Nothing, String, Bool, Bool}, handle::Downloads.Curl.Easy)
@ Downloads.Curl C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Curl\Curl.jl:105
[3] #8
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:363 [inlined]
[4] arg_write(f::Downloads.var"#8#18"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, Nothing, String, Bool, Bool}, arg::IOStream)
@ ArgTools C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\ArgTools\src\ArgTools.jl:134
[5] #7
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:362 [inlined]
[6] arg_read
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\ArgTools\src\ArgTools.jl:76 [inlined]
[7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, debug::Nothing, throw::Bool, downloader::Nothing, interrupt::Nothing)
@ Downloads C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:361
[8] request
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:328 [inlined]
[9] #3
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:259 [inlined]
[10] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Nothing, String}, arg::Nothing)
@ ArgTools C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\ArgTools\src\ArgTools.jl:123
[11] #download#2
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:258 [inlined]
[12] download
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:247 [inlined]
[13] download(url::String)
@ Downloads C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:247
[14] top-level scope
@ C:\Users\Lenovo\.julia\packages\DIVAnd\4UymR\test\test_average_background_profile.jl:25
[15] include(fname::String)
@ Main .\sysimg.jl:38
[16] macro expansion
@ C:\Users\Lenovo\.julia\packages\DIVAnd\4UymR\test\runtests.jl:85 [inlined]
[17] macro expansion
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Test\src\Test.jl:1700 [inlined]
[18] top-level scope
@ C:\Users\Lenovo\.julia\packages\DIVAnd\4UymR\test\runtests.jl:13
[19] include(fname::String)
@ Main .\sysimg.jl:38
[20] top-level scope
@ none:6
[21] eval
@ .\boot.jl:430 [inlined]
[22] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:296
[23] _start()
@ Base .\client.jl:531
in expression starting at C:\Users\Lenovo\.julia\packages\DIVAnd\4UymR\test\test_average_background_profile.jl:23
Test Summary: | Pass Error Total Time
DIVAnd | 245 1 246 3m30.9s
ERROR: LoadError: Some tests did not pass: 245 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\Lenovo\.julia\packages\DIVAnd\4UymR\test\runtests.jl:12
ERROR: Package DIVAnd errored during testing
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\Types.jl:68
[2] test(ctx::Pkg.Types.Context, pkgs::Vector{…}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
@ Pkg.Operations C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\Operations.jl:2104
[3] test
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\Operations.jl:1989 [inlined]
[4] test(ctx::Pkg.Types.Context, pkgs::Vector{…}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{…})
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:475
[5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{})
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:159
[6] test(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:148
[7] test
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:147 [inlined]
[8] test(pkg::String)
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:146
[9] top-level scope
@ REPL[32]:1
Some type information was truncated. Use `show(err)` to see complete types.
julia> show(err)
1-element ExceptionStack:
Package DIVAnd errored during testing
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\Types.jl:68
[2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
@ Pkg.Operations C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\Operations.jl:2104
[3] test
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\Operations.jl:1989 [inlined]
[4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}})
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:475
[5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{})
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:159
[6] test(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:148
[7] test
@ C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:147 [inlined]
[8] test(pkg::String)
@ Pkg.API C:\Users\Lenovo\AppData\Local\Programs\Julia-1.11.1\share\julia\stdlib\v1.11\Pkg\src\API.jl:146
[9] top-level scope
@ REPL[32]:1
I browsed through other people's failure messages and didn't seem to find a similar error, I tried the following code and retested it afterward and still got the error, I also tried updating and uninstalling and reinstalling, both with the same result.
Besides, the previous message shows that these 3 packages that have not been updated to the latest version,
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading.
based on other issues, I ran the following code and it shows the following.
]add Expronicon
using Expronicon
]add Nettle_jll
using Nettle_jll
]add OpenMPI_jll
using OpenMPI_jll
but the results show that "no changes",and it remains the version as before.
Or is it possible to ignore this error, because it's an error not a fail?
I apologize if the question is stupid , I'm new to julia and DIVAnd, I'm really confused now.
If you know why please let me know.
Many thanks.
Jin