Package evaluation of PkgAuthentication on Julia 1.12.0-DEV.1805 (a080deafdd*) started at 2025-03-24T13:37:32.293 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.27s ################################################################################ # Installation # Installing PkgAuthentication... Resolving package versions... Updating `~/.julia/environments/v1.12/Project.toml` [4722fa14] + PkgAuthentication v2.1.1 Updating `~/.julia/environments/v1.12/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.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [dc6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.12.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [f489334b] + StyledStrings v1.11.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [deac9b47] + LibCURL_jll v8.6.0+0 [e37daf67] + LibGit2_jll v1.8.0+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+1 [14a3606d] + MozillaCACerts_jll v2024.11.26 [83775a58] + Zlib_jll v1.3.1+1 [8e850ede] + nghttp2_jll v1.63.0+1 [3f19e933] + p7zip_jll v17.5.0+1 Installation completed after 1.14s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 25.02s ################################################################################ # Testing # Testing PkgAuthentication Status `/tmp/jl_ijhomF/Project.toml` [cd3eb016] HTTP v1.10.15 [682c06a0] JSON v0.21.4 [4722fa14] PkgAuthentication v2.1.1 [44cfe95a] Pkg v1.12.0 [9a3f8284] Random v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 Status `/tmp/jl_ijhomF/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.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [dc6e5ff7] JuliaSyntaxHighlighting v1.12.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.12.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [deac9b47] LibCURL_jll v8.6.0+0 [e37daf67] LibGit2_jll v1.8.0+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+1 [14a3606d] MozillaCACerts_jll v2024.11.26 [83775a58] Zlib_jll v1.3.1+1 [8e850ede] nghttp2_jll v1.63.0+1 [3f19e933] p7zip_jll v17.5.0+1 Testing Running tests... [ Info: The active depot is: /tmp/jl_ql8YKz ┌ Info: └ token_path = "/tmp/jl_ql8YKz/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_ql8YKz/servers" [ Info: Starting the test server [ Info: registering open-browser hook ┌ Info: └ token_path = "/tmp/jl_ql8YKz/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_ql8YKz/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] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [3] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:46 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:679 [inlined] 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() FieldError: type ClientError has no field `token`, available fields: `reason` Stacktrace: [1] getproperty(x::PkgAuthentication.ClientError{Downloads.Response}, f::Symbol) @ Base ./Base_compiler.jl:54 [2] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [4] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:47 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] 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-") FieldError: type ClientError has no field `token`, available fields: `reason` Stacktrace: [1] getproperty(x::PkgAuthentication.ClientError{Downloads.Response}, f::Symbol) @ Base ./Base_compiler.jl:54 [2] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [4] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:48 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:40 Got exception outside of a @test FieldError: type ClientError has no field `token`, available fields: `reason` Stacktrace: [1] getproperty(x::PkgAuthentication.ClientError{Downloads.Response}, f::Symbol) @ Base ./Base_compiler.jl:54 [2] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:41 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [4] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/tests.jl:51 [inlined] [5] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [6] IncludeInto @ ./Base.jl:302 [inlined] [7] #3 @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:14 [inlined] [8] with_depot(f::var"#3#4", depot_path::String) @ Main ~/.julia/packages/PkgAuthentication/bxhMJ/test/util.jl:10 [9] #with_temp_depot##0 @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/util.jl:19 [inlined] [10] mktempdir(fn::var"#with_temp_depot##0#with_temp_depot##1"{var"#3#4"}, parent::String; prefix::String) @ Base.Filesystem ./file.jl:899 [11] mktempdir (repeats 2 times) @ ./file.jl:895 [inlined] [12] with_temp_depot(f::var"#3#4") @ Main ~/.julia/packages/PkgAuthentication/bxhMJ/test/util.jl:18 [13] top-level scope @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:10 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1724 [inlined] [15] macro expansion @ ~/.julia/packages/PkgAuthentication/bxhMJ/test/runtests.jl:13 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:301 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:485 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:295 [20] _start() @ Base ./client.jl:558 ┌ Info: └ token_path = "/tmp/jl_ql8YKz/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_ql8YKz/servers" ┌ Info: └ token_path = "/tmp/jl_ql8YKz/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_ql8YKz/servers" Authentication failed. Retrying... Test Summary: | Pass Fail Error Total Time PkgAuthentication | 14 1 3 18 40.6s Utility functions | 9 9 2.1s auth without server | 1 1 3.4s auth with running server | 1 1 3 5 21.2s PkgAuthentication.install | 1 1 0.7s Testing the `auth_handler` generated by `generate_auth_handler` | 1 1 0.5s 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 55.81s ERROR: LoadError: Package PkgAuthentication errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/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 /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2359 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2214 [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 /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:481 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:159 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:147 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:147 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:146 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:300 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:329 [12] _start() @ Base ./client.jl:558 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 106.19s: package tests unexpectedly errored