invenia / FTPClient.jl

Julia FTP client using LibCURL.jl
Mozilla Public License 2.0
22 stars 4 forks source link

CI ssl test failure: LibCURL 28 #118

Open morris25 opened 2 years ago

morris25 commented 2 years ago

It looks like the CI has been getting this error on Ubuntu for at least a week

ssl: Error During Test at /home/runner/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:101
  Got exception outside of a @test
   :: LibCURL error #28
  Stacktrace:
    [1] macro expansion
      @ ~/work/FTPClient.jl/FTPClient.jl/src/FTPC.jl:62 [inlined]
    [2] ftp_perform(ctxt::ConnContext{Bool})
      @ FTPClient ~/work/FTPClient.jl/FTPClient.jl/src/conn_context.jl:298
    [3] ftp_put(ctxt::ConnContext{Bool}, file_name::String, file::IOStream; mode::FTP_MODE)
      @ FTPClient ~/work/FTPClient.jl/FTPClient.jl/src/conn_context.jl:223
    [4] ftp_put(options::RequestOptions, file_name::String, file::IOStream; mode::FTP_MODE, verbose::Bool)
      @ FTPClient ~/work/FTPClient.jl/FTPClient.jl/src/request_options.jl:149
    [5] ftp_put
      @ ~/work/FTPClient.jl/FTPClient.jl/src/request_options.jl:147 [inlined]
    [6] #83
      @ ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:60 [inlined]
    [7] open(f::var"#83#85"{RequestOptions, String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ Base ./io.jl:330
    [8] open
      @ ./io.jl:328 [inlined]
    [9] #82
      @ ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:59 [inlined]
   [10] copy_and_wait(func::var"#82#84"{RequestOptions, String}, files::String; timeout::Int64)
      @ Main ~/work/FTPClient.jl/FTPClient.jl/test/ftp_object.jl:40
   [11] copy_and_wait
      @ ~/work/FTPClient.jl/FTPClient.jl/test/ftp_object.jl:40 [inlined]
   [12] test_upload(options::RequestOptions)
      @ Main ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:58
   [13] (::var"#80#81"{Bool})(server::FTPServer.Server)
      @ Main ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:21
   [14] serve(::var"#80#81"{Bool}; kwargs::Base.Pairs{Symbol, Symbol, Tuple{Symbol}, NamedTuple{(:security,), Tuple{Symbol}}})
      @ FTPServer ~/.julia/packages/FTPServer/8L0oJ/src/FTPServer.jl:148
   [15] ssl_tests(implicit::Bool)
      @ Main ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:6
   [16] macro expansion
      @ ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:[102](https://github.com/invenia/FTPClient.jl/runs/6518123543?check_suite_focus=true#step:11:105) [inlined]
   [17] macro expansion
      @ /opt/hostedtoolcache/julia/1.7.2/x64/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [18] top-level scope
      @ ~/work/FTPClient.jl/FTPClient.jl/test/ssl.jl:102
   [19] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [20] macro expansion
      @ ~/work/FTPClient.jl/FTPClient.jl/test/runtests.jl:42 [inlined]
   [21] macro expansion
      @ /opt/hostedtoolcache/julia/1.7.2/x64/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [22] macro expansion
      @ ~/work/FTPClient.jl/FTPClient.jl/test/runtests.jl:40 [inlined]
   [23] macro expansion
      @ /opt/hostedtoolcache/julia/1.7.2/x64/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [24] top-level scope
      @ ~/work/FTPClient.jl/FTPClient.jl/test/runtests.jl:29
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:373 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:495
iamed2 commented 2 years ago

I think this is probably https://github.com/invenia/FTPServer.jl/issues/36