Package evaluation of PkgAuthentication on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T06:13:15.403 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 5.31s ################################################################################ # Installation # Installing PkgAuthentication... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [4722fa14] + PkgAuthentication v2.1.1 Updating `~/.julia/environments/v1.10/Manifest.toml` [682c06a0] + JSON v0.21.4 [69de0a69] + Parsers v2.8.1 [4722fa14] + PkgAuthentication v2.1.1 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [b77e0a4c] + InteractiveUtils [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 [8f399da3] + Libdl [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.10.0 [de0858da] + Printf [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode [deac9b47] + LibCURL_jll v8.4.0+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [83775a58] + Zlib_jll v1.2.13+1 [8e850ede] + nghttp2_jll v1.52.0+1 [3f19e933] + p7zip_jll v17.4.0+2 Installation completed after 4.55s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 12.17s ################################################################################ # Testing # Testing PkgAuthentication Status `/tmp/jl_5GEQmv/Project.toml` [cd3eb016] HTTP v1.10.15 [682c06a0] JSON v0.21.4 [4722fa14] PkgAuthentication v2.1.1 [44cfe95a] Pkg v1.10.0 [9a3f8284] Random [fa267f1f] TOML v1.0.3 [8dfed614] Test Status `/tmp/jl_5GEQmv/Manifest.toml` [d1d4a3ce] BitFlags v0.1.9 [944b1d66] CodecZlib v0.7.8 [f0e56b4a] ConcurrentUtilities v2.5.0 [460bff9d] ExceptionUnwrapping v0.1.11 [cd3eb016] HTTP v1.10.15 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [e6f89c97] LoggingExtras v1.1.0 [739be429] MbedTLS v1.1.9 [4d8831e6] OpenSSL v1.4.3 [69de0a69] Parsers v2.8.1 [4722fa14] PkgAuthentication v2.1.1 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [777ac1f9] SimpleBufferStream v1.2.0 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.5.1 [458c3c95] OpenSSL_jll v3.0.16+0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [b77e0a4c] InteractiveUtils [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 [8f399da3] Libdl [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.10.0 [de0858da] Printf [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [6462fe0b] Sockets [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [deac9b47] LibCURL_jll v8.4.0+0 [e37daf67] LibGit2_jll v1.6.4+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [83775a58] Zlib_jll v1.2.13+1 [8e850ede] nghttp2_jll v1.52.0+1 [3f19e933] p7zip_jll v17.4.0+2 Testing Running tests... [ Info: The active depot is: /tmp/jl_z0Rp1w ┌ Info: └ token_path = "/tmp/jl_z0Rp1w/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_z0Rp1w/servers" [ Info: Starting the test server [ Info: registering open-browser hook ┌ Info: └ token_path = "/tmp/jl_z0Rp1w/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_z0Rp1w/servers" [ Info: testing inital auth auth with running server: Test Failed at /home/pkgeval/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:46 Expression: success isa PkgAuthentication.Success Evaluated: PkgAuthentication.ClientError{Downloads.Response}(Downloads.Response("http", "http://localhost:8888/auth/challenge", 400, "HTTP/1.1 400 Bad Request", ["transfer-encoding" => "chunked"])) isa PkgAuthentication.Success Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined] [2] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:46 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [4] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:47 Test threw exception Expression: success.token["expires_at"] > time() type ClientError has no field token Stacktrace: [1] getproperty(x::PkgAuthentication.ClientError{Downloads.Response}, f::Symbol) @ Base ./Base.jl:37 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [3] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:47 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [5] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:48 Test threw exception Expression: startswith(success.token["id_token"], "full-") type ClientError has no field token Stacktrace: [1] getproperty(x::PkgAuthentication.ClientError{Downloads.Response}, f::Symbol) @ Base ./Base.jl:37 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [3] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:48 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [5] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:40 Got exception outside of a @test type ClientError has no field token Stacktrace: [1] getproperty(x::PkgAuthentication.ClientError{Downloads.Response}, f::Symbol) @ Base ./Base.jl:37 [2] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:51 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [4] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 [5] include @ ./client.jl:494 [inlined] [6] #3 @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:14 [inlined] [7] with_depot(f::var"#3#4", depot_path::String) @ Main ~/.julia/packages/PkgAuthentication/bxhMJ/test/util.jl:10 [8] #1 @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/util.jl:19 [inlined] [9] mktempdir(fn::var"#1#2"{var"#3#4"}, parent::String; prefix::String) @ Base.Filesystem ./file.jl:766 [10] mktempdir (repeats 2 times) @ ./file.jl:762 [inlined] [11] with_temp_depot(f::var"#3#4") @ Main ~/.julia/packages/PkgAuthentication/bxhMJ/test/util.jl:18 [12] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:13 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [14] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:10 [15] include(fname::String) @ Base.MainInclude ./client.jl:494 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:385 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:557 ┌ Info: └ token_path = "/tmp/jl_z0Rp1w/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_z0Rp1w/servers" ┌ Info: └ token_path = "/tmp/jl_z0Rp1w/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_z0Rp1w/servers" Authentication failed. Retrying... Test Summary: | Pass Fail Error Total Time PkgAuthentication | 14 1 3 18 22.1s Utility functions | 9 9 2.4s auth without server | 1 1 0.9s auth with running server | 1 1 3 5 6.5s PkgAuthentication.install | 1 1 0.5s Testing the `auth_handler` generated by `generate_auth_handler` | 1 1 0.3s ERROR: LoadError: Some tests did not pass: 14 passed, 1 failed, 3 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:9 Testing failed after 27.98s ERROR: LoadError: Package PkgAuthentication errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [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 /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [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::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 57.7s: package tests unexpectedly errored