JuliaWeb/HTTP.jl

Running package tests locally fails for some tests with EACCESS

tanmaykm opened this issue · 0 comments

Running tests locally with the package checked out locally for development throws errors:

Client: Error During Test at /home/tan/.julia/dev/HTTP/test/websockets/autobahn.jl:17
  Got exception outside of a @test
  IOError: unlink("/home/tan/.julia/dev/HTTP/test/websockets/reports/clients/index.json"): permission denied (EACCES)
  Stacktrace:
    [1] uv_error
      @ ./libuv.jl:100 [inlined]
    [2] unlink(p::String)
      @ Base.Filesystem ./file.jl:972
    [3] rm(path::String; force::Bool, recursive::Bool)
      @ Base.Filesystem ./file.jl:283
    [4] macro expansion
      @ ~/.julia/dev/HTTP/test/websockets/autobahn.jl:51 [inlined]
    [5] macro expansion
      @ /data/Work/julia/binaries/julia-1.9.2/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
    [6] macro expansion

and

Server: Error During Test at /home/tan/.julia/dev/HTTP/test/websockets/autobahn.jl:74
  Got exception outside of a @test
  IOError: unlink("/home/tan/.julia/dev/HTTP/test/websockets/reports/server/index.json"): permission denied (EACCES)
  Stacktrace:
    [1] uv_error
      @ ./libuv.jl:100 [inlined]
    [2] unlink(p::String)
      @ Base.Filesystem ./file.jl:972
    [3] rm(path::String; force::Bool, recursive::Bool)
      @ Base.Filesystem ./file.jl:283
    [4] macro expansion
      @ ~/.julia/dev/HTTP/test/websockets/autobahn.jl:81 [inlined]
    [5] macro expansion
      @ /data/Work/julia/binaries/julia-1.9.2/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
    [6] macro expansion
      @ ~/.julia/dev/HTTP/test/websockets/autobahn.jl:75 [inlined]
    [7] macro expansion
      @ /data/Work/julia/binaries/julia-1.9.2/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
  • Julia 1.9.2
  • HTTP.jl master
  • MbedTLS.jl 1.1.7