Skip to content

Downloads.jl downloading is broken on Windows, errors when trying to read cert file #38429

Closed
JuliaLang/NetworkOptions.jl
#4

Description

https://build.julialang.org/#/builders/61/builds/5568/steps/5/logs/stdio

Error in testset spawn:
Error During Test at C:\buildbot\worker-tabularasa\tester_win32\build\share\julia\test\testdefs.jl:21
  Got exception outside of a @test
  LoadError: Error reading ca cert file C:\buildbot\worker\package_win32\build\usr\share\julia\cert.pem - mbedTLS: (-0x3E00) PK - Read/write of file failed while requesting https://cache.julialang.org/https://frippery.org/files/busybox/busybox.exe
  Stacktrace:
    [1] (::Downloads.var"#9#17"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Nothing, Bool, Bool, String, Int32, Bool, Bool})(easy::Downloads.Curl.Easy)
      @ Downloads C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:333
    [2] with_handle(f::Downloads.var"#9#17"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Nothing, Bool, Bool, String, Int32, Bool, Bool}, handle::Downloads.Curl.Easy)
      @ Downloads.Curl C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Curl\Curl.jl:51
    [3] #8
      @ C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:284 [inlined]
    [4] arg_write(f::Downloads.var"#8#16"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Nothing, Bool, Bool, String, Int32, Bool, Bool}, arg::IOStream)
      @ ArgTools C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:112
    [5] #7
      @ C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:283 [inlined]
    [6] arg_read
      @ C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:61 [inlined]
    [7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, progress::Nothing, verbose::Bool, throw::Bool, downloader::Nothing)
      @ Downloads C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:282
    [8] #3
      @ C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:199 [inlined]
    [9] open(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Nothing, Bool, Nothing, String}, args::String; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:write,), Tuple{Bool}}})
      @ Base .\io.jl:330
   [10] arg_write(f::Function, arg::String)
      @ ArgTools C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:86
   [11] #download#2
      @ C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:198 [inlined]
   [12] download(url::String, output::String)
      @ Downloads C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:198
   [13] top-level scope
      @ C:\buildbot\worker-tabularasa\tester_win32\build\share\julia\test\spawn.jl:24
...

maybe #38413?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

ciContinuous integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions