Package evaluation of PkgAuthentication on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T09:59:28.523 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 7.6s ################################################################################ # Installation # Installing PkgAuthentication... Resolving package versions... Installed PkgAuthentication ─ v2.1.2 Updating `~/.julia/environments/v1.11/Project.toml` [4722fa14] + PkgAuthentication v2.1.2 Updating `~/.julia/environments/v1.11/Manifest.toml` [682c06a0] + JSON v0.21.4 [69de0a69] + Parsers v2.8.1 [4722fa14] + PkgAuthentication v2.1.2 ⌅ [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 [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.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization 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.7.2+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.6+0 [14a3606d] + MozillaCACerts_jll v2023.12.12 [83775a58] + Zlib_jll v1.2.13+1 [8e850ede] + nghttp2_jll v1.59.0+0 [3f19e933] + p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 3.88s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 18.05s ################################################################################ # Testing # Testing PkgAuthentication Status `/tmp/jl_MYwRJT/Project.toml` [cd3eb016] HTTP v1.10.15 [682c06a0] JSON v0.21.4 [4722fa14] PkgAuthentication v2.1.2 [44cfe95a] Pkg v1.11.0 [9a3f8284] Random v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 Status `/tmp/jl_MYwRJT/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.2 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [777ac1f9] SimpleBufferStream v1.2.0 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.5.2 [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 [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.11.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 [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.7.2+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.6+0 [14a3606d] MozillaCACerts_jll v2023.12.12 [83775a58] Zlib_jll v1.2.13+1 [8e850ede] nghttp2_jll v1.59.0+0 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... [ Info: The active depot is: /tmp/jl_UYUAvv ┌ Info: └ token_path = "/tmp/jl_UYUAvv/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_UYUAvv/servers" [ Info: Starting the test server [ Info: registering open-browser hook ┌ Info: └ token_path = "/tmp/jl_UYUAvv/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_UYUAvv/servers" [ Info: testing inital auth auth with running server: Test Failed at /home/pkgeval/.julia/packages/PkgAuthentication/9Jhte/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.11/Test/src/Test.jl:679 [inlined] [2] macro expansion @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:46 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [4] top-level scope @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:41 auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/9Jhte/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:49 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] [3] macro expansion @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:47 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] top-level scope @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:41 auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/9Jhte/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:49 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined] [3] macro expansion @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:48 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [5] top-level scope @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:41 auth with running server: Error During Test at /home/pkgeval/.julia/packages/PkgAuthentication/9Jhte/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:49 [2] macro expansion @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:51 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [4] top-level scope @ ~/.julia/packages/PkgAuthentication/9Jhte/test/tests.jl:41 [5] include @ ./sysimg.jl:38 [inlined] [6] #3 @ ~/.julia/packages/PkgAuthentication/9Jhte/test/runtests.jl:14 [inlined] [7] with_depot(f::var"#3#4", depot_path::String) @ Main ~/.julia/packages/PkgAuthentication/9Jhte/test/util.jl:10 [8] #1 @ ~/.julia/packages/PkgAuthentication/9Jhte/test/util.jl:19 [inlined] [9] mktempdir(fn::var"#1#2"{var"#3#4"}, parent::String; prefix::String) @ Base.Filesystem ./file.jl:819 [10] mktempdir (repeats 2 times) @ ./file.jl:815 [inlined] [11] with_temp_depot(f::var"#3#4") @ Main ~/.julia/packages/PkgAuthentication/9Jhte/test/util.jl:18 [12] macro expansion @ ~/.julia/packages/PkgAuthentication/9Jhte/test/runtests.jl:13 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.11/Test/src/Test.jl:1704 [inlined] [14] top-level scope @ ~/.julia/packages/PkgAuthentication/9Jhte/test/runtests.jl:10 [15] include(fname::String) @ Main ./sysimg.jl:38 [16] top-level scope @ none:6 [17] eval @ ./boot.jl:430 [inlined] [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [19] _start() @ Base ./client.jl:531 ┌ Info: └ token_path = "/tmp/jl_UYUAvv/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_UYUAvv/servers" ┌ Info: └ token_path = "/tmp/jl_UYUAvv/servers/localhost_8888/auth.toml" ┌ Info: └ servers_dir = "/tmp/jl_UYUAvv/servers" Authentication failed. Retrying... Test Summary: | Pass Fail Error Total Time PkgAuthentication | 14 1 3 18 29.7s Utility functions | 9 9 0.7s auth without server | 1 1 2.5s auth with running server | 1 1 3 5 11.3s PkgAuthentication.install | 1 1 1.0s Testing the `auth_handler` generated by `generate_auth_handler` | 1 1 0.4s ERROR: LoadError: Some tests did not pass: 14 passed, 1 failed, 3 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/PkgAuthentication/9Jhte/test/runtests.jl:9 Testing failed after 42.24s ERROR: LoadError: Package PkgAuthentication errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.11/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.11/Pkg/src/Operations.jl:2124 [3] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:2007 [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.11/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.11/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.11/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.11/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 81.89s: package tests unexpectedly errored