Skip to content

Instantly share code, notes, and snippets.

@ararslan
Created May 15, 2018 17:25
Show Gist options
  • Save ararslan/cd45bec1aeefe63a9d2f6e30ace2c54d to your computer and use it in GitHub Desktop.
Save ararslan/cd45bec1aeefe63a9d2f6e30ace2c54d to your computer and use it in GitHub Desktop.
Julia 0.7.0-DEV.5107 LibGit2 test failure
$ JULIA_CPU_CORES=3 JULIA_TEST_MAXRSS_MB=700 ./julia test/runtests.jl LibGit2
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
The following 'Resetting the helper list...' warning is expected:
┌ Warning: Resetting the helper list is currently unsupported:
│ ignoring all git credential helpers
└ @ LibGit2 gitcredential.jl:227
SSH expand tilde: Error During Test at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2344
Got exception ErrorException("Could not locate challenge: \"Private key location for 'git@github.com' [/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid]:\". Process output found:\n\"\"\"\nERROR: ArgumentError: embedded NULs are not allowed in C strings: \"\\0\\0\\0\"\r\nStacktrace:\r\n [1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180\r\n [2] #credential_loop at ./<missing>:0 [inlined]\r\n [3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]\r\n [4] (::getfield(Main, Symbol(\"#kw##credential_loop\")))(::NamedTuple{(:shred,),Tuple{Bool}}, ::typeof(credential_loop), ::SSHCredential, ::String, ::String, ::CredentialPayload) at ./<missing>:0\r\n [5] top-level scope at none:13\r\n [6] eval(::Module, ::Any) at ./boot.jl:317\r\n\n\"\"\"") outside of a @test
Could not locate challenge: "Private key location for 'git@github.com' [/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid]:". Process output found:
"""
ERROR: ArgumentError: embedded NULs are not allowed in C strings: "\0\0\0"
Stacktrace:
[1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180
[2] #credential_loop at ./<missing>:0 [inlined]
[3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]
[4] (::getfield(Main, Symbol("#kw##credential_loop")))(::NamedTuple{(:shred,),Tuple{Bool}}, ::typeof(credential_loop), ::SSHCredential, ::String, ::String, ::CredentialPayload) at ./<missing>:0
[5] top-level scope at none:13
[6] eval(::Module, ::Any) at ./boot.jl:317
"""
Stacktrace:
[1] error(::String, ::String) at ./error.jl:42
[2] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Pair{String,String},1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}})(::RawFD, ::Base.TTY) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:79
[3] with_fake_pty(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Pair{String,String},1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}}) at /usr/home/alex/Projects/julia/usr/share/julia/test/TestHelpers.jl:37
[4] #challenge_prompt#4 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:45 [inlined]
[5] #challenge_prompt at ./<missing>:0 [inlined]
[6] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::Expr, ::Array{Pair{String,String},1}) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:27
[7] challenge_prompt at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:14 [inlined]
[8] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##108#215")))() at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2384
[9] withenv(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##108#215")), ::Pair{String,String}, ::Vararg{Pair{String,B} where B,N} where N) at ./env.jl:156
[10] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2374 [inlined]
[11] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
[12] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##17#117")))(::String) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2345
SSH explicit credentials: Error During Test at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2391
Got exception ErrorException("Failed process. Process output found:\n\"\"\"\nERROR: ArgumentError: embedded NULs are not allowed in C strings: \"\\0\\0\\0\"\r\nStacktrace:\r\n [1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180\r\n [2] #credential_loop at ./<missing>:0 [inlined]\r\n [3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]\r\n [4] credential_loop(::SSHCredential, ::String, ::String, ::CredentialPayload) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77\r\n [5] top-level scope at none:13\r\n [6] eval(::Module, ::Any) at ./boot.jl:317\r\n\n\"\"\"\nProcess(`/usr/home/alex/Projects/julia/usr/bin/julia -Cnative -J/usr/home/alex/Projects/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e 'import LibGit2; begin\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:16 =#\n using Serialization\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:17 =#\n result = let\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:18 =#\n begin\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2404 =#\n include(\"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl\")\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2405 =#\n payload = CredentialPayload(LibGit2.SSHCredential(\"\\0\\0\\0\", \"\\0\\0\\0\\0\\0\\0\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub\"), allow_prompt=true, allow_ssh_agent=true, allow_git_helpers=false)\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2408 =#\n credential_loop(LibGit2.SSHCredential(\"\\0\\0\\0\", \"\\0\\0\\0\\0\\0\\0\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub\"), \"git@github.com:test/package.jl\", \"\\0\\0\\0\", payload)\n end\n end\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:20 =#\n open(\"/tmp/juliagATxBF\", \"w\") do fp\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:21 =#\n serialize(fp, result)\n end\nend'`, ProcessExited(1))") outside of a @test
Failed process. Process output found:
"""
ERROR: ArgumentError: embedded NULs are not allowed in C strings: "\0\0\0"
Stacktrace:
[1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180
[2] #credential_loop at ./<missing>:0 [inlined]
[3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]
[4] credential_loop(::SSHCredential, ::String, ::String, ::CredentialPayload) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77
[5] top-level scope at none:13
[6] eval(::Module, ::Any) at ./boot.jl:317
"""
Process(`/usr/home/alex/Projects/julia/usr/bin/julia -Cnative -J/usr/home/alex/Projects/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e 'import LibGit2; begin
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:16 =#
using Serialization
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:17 =#
result = let
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:18 =#
begin
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2404 =#
include("/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl")
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2405 =#
payload = CredentialPayload(LibGit2.SSHCredential("\0\0\0", "\0\0\0\0\0\0", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub"), allow_prompt=true, allow_ssh_agent=true, allow_git_helpers=false)
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2408 =#
credential_loop(LibGit2.SSHCredential("\0\0\0", "\0\0\0\0\0\0", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub"), "git@github.com:test/package.jl", "\0\0\0", payload)
end
end
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:20 =#
open("/tmp/juliagATxBF", "w") do fp
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:21 =#
serialize(fp, result)
end
end'`, ProcessExited(1))
Stacktrace:
[1] error(::String, ::String, ::String, ::Base.Process) at ./error.jl:42
[2] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Any,1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}})(::RawFD, ::Base.TTY) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:96
[3] with_fake_pty(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Any,1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}}) at /usr/home/alex/Projects/julia/usr/share/julia/test/TestHelpers.jl:37
[4] #challenge_prompt#4 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:45 [inlined]
[5] #challenge_prompt at ./<missing>:0 [inlined]
[6] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::Expr, ::Array{Any,1}) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:27
[7] challenge_prompt at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:14 [inlined]
[8] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2415 [inlined]
[9] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
[10] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##17#117")))(::String) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2392
Worker 1 failed running test LibGit2/libgit2:
Some tests did not pass: 649 passed, 0 failed, 2 errored, 1 broken.LibGit2/libgit2: Error During Test at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2344
Got exception ErrorException("Could not locate challenge: \"Private key location for 'git@github.com' [/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid]:\". Process output found:\n\"\"\"\nERROR: ArgumentError: embedded NULs are not allowed in C strings: \"\\0\\0\\0\"\r\nStacktrace:\r\n [1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180\r\n [2] #credential_loop at ./<missing>:0 [inlined]\r\n [3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]\r\n [4] (::getfield(Main, Symbol(\"#kw##credential_loop\")))(::NamedTuple{(:shred,),Tuple{Bool}}, ::typeof(credential_loop), ::SSHCredential, ::String, ::String, ::CredentialPayload) at ./<missing>:0\r\n [5] top-level scope at none:13\r\n [6] eval(::Module, ::Any) at ./boot.jl:317\r\n\n\"\"\"") outside of a @test
Could not locate challenge: "Private key location for 'git@github.com' [/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid]:". Process output found:
"""
ERROR: ArgumentError: embedded NULs are not allowed in C strings: "\0\0\0"
Stacktrace:
[1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180
[2] #credential_loop at ./<missing>:0 [inlined]
[3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]
[4] (::getfield(Main, Symbol("#kw##credential_loop")))(::NamedTuple{(:shred,),Tuple{Bool}}, ::typeof(credential_loop), ::SSHCredential, ::String, ::String, ::CredentialPayload) at ./<missing>:0
[5] top-level scope at none:13
[6] eval(::Module, ::Any) at ./boot.jl:317
"""
Stacktrace:
[1] error(::String, ::String) at ./error.jl:42
[2] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Pair{String,String},1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}})(::RawFD, ::Base.TTY) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:79
[3] with_fake_pty(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Pair{String,String},1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}}) at /usr/home/alex/Projects/julia/usr/share/julia/test/TestHelpers.jl:37
[4] #challenge_prompt#4 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:45 [inlined]
[5] #challenge_prompt at ./<missing>:0 [inlined]
[6] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::Expr, ::Array{Pair{String,String},1}) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:27
[7] challenge_prompt at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:14 [inlined]
[8] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##108#215")))() at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2384
[9] withenv(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##108#215")), ::Pair{String,String}, ::Vararg{Pair{String,B} where B,N} where N) at ./env.jl:156
[10] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2374 [inlined]
[11] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
[12] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##17#117")))(::String) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2345
LibGit2/libgit2: Error During Test at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2391
Got exception ErrorException("Failed process. Process output found:\n\"\"\"\nERROR: ArgumentError: embedded NULs are not allowed in C strings: \"\\0\\0\\0\"\r\nStacktrace:\r\n [1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180\r\n [2] #credential_loop at ./<missing>:0 [inlined]\r\n [3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]\r\n [4] credential_loop(::SSHCredential, ::String, ::String, ::CredentialPayload) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77\r\n [5] top-level scope at none:13\r\n [6] eval(::Module, ::Any) at ./boot.jl:317\r\n\n\"\"\"\nProcess(`/usr/home/alex/Projects/julia/usr/bin/julia -Cnative -J/usr/home/alex/Projects/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e 'import LibGit2; begin\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:16 =#\n using Serialization\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:17 =#\n result = let\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:18 =#\n begin\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2404 =#\n include(\"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl\")\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2405 =#\n payload = CredentialPayload(LibGit2.SSHCredential(\"\\0\\0\\0\", \"\\0\\0\\0\\0\\0\\0\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub\"), allow_prompt=true, allow_ssh_agent=true, allow_git_helpers=false)\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2408 =#\n credential_loop(LibGit2.SSHCredential(\"\\0\\0\\0\", \"\\0\\0\\0\\0\\0\\0\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub\"), \"git@github.com:test/package.jl\", \"\\0\\0\\0\", payload)\n end\n end\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:20 =#\n open(\"/tmp/juliagATxBF\", \"w\") do fp\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:21 =#\n serialize(fp, result)\n end\nend'`, ProcessExited(1))") outside of a @test
Failed process. Process output found:
"""
ERROR: ArgumentError: embedded NULs are not allowed in C strings: "\0\0\0"
Stacktrace:
[1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180
[2] #credential_loop at ./<missing>:0 [inlined]
[3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]
[4] credential_loop(::SSHCredential, ::String, ::String, ::CredentialPayload) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77
[5] top-level scope at none:13
[6] eval(::Module, ::Any) at ./boot.jl:317
"""
Process(`/usr/home/alex/Projects/julia/usr/bin/julia -Cnative -J/usr/home/alex/Projects/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e 'import LibGit2; begin
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:16 =#
using Serialization
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:17 =#
result = let
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:18 =#
begin
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2404 =#
include("/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl")
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2405 =#
payload = CredentialPayload(LibGit2.SSHCredential("\0\0\0", "\0\0\0\0\0\0", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub"), allow_prompt=true, allow_ssh_agent=true, allow_git_helpers=false)
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2408 =#
credential_loop(LibGit2.SSHCredential("\0\0\0", "\0\0\0\0\0\0", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub"), "git@github.com:test/package.jl", "\0\0\0", payload)
end
end
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:20 =#
open("/tmp/juliagATxBF", "w") do fp
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:21 =#
serialize(fp, result)
end
end'`, ProcessExited(1))
Stacktrace:
[1] error(::String, ::String, ::String, ::Base.Process) at ./error.jl:42
[2] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Any,1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}})(::RawFD, ::Base.TTY) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:96
[3] with_fake_pty(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Any,1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}}) at /usr/home/alex/Projects/julia/usr/share/julia/test/TestHelpers.jl:37
[4] #challenge_prompt#4 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:45 [inlined]
[5] #challenge_prompt at ./<missing>:0 [inlined]
[6] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::Expr, ::Array{Any,1}) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:27
[7] challenge_prompt at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:14 [inlined]
[8] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2415 [inlined]
[9] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
[10] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##17#117")))(::String) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2392
Test Summary: | Pass Error Broken Total
Overall | 649 2 1 652
LibGit2/libgit2 | 649 2 1 652
FAILURE
The global RNG seed was 0xb1d4249a8c02d0f936f2315397e127d8.
Error in testset LibGit2/libgit2:
Error During Test at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2344
Got exception ErrorException("Could not locate challenge: \"Private key location for 'git@github.com' [/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid]:\". Process output found:\n\"\"\"\nERROR: ArgumentError: embedded NULs are not allowed in C strings: \"\\0\\0\\0\"\r\nStacktrace:\r\n [1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180\r\n [2] #credential_loop at ./<missing>:0 [inlined]\r\n [3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]\r\n [4] (::getfield(Main, Symbol(\"#kw##credential_loop\")))(::NamedTuple{(:shred,),Tuple{Bool}}, ::typeof(credential_loop), ::SSHCredential, ::String, ::String, ::CredentialPayload) at ./<missing>:0\r\n [5] top-level scope at none:13\r\n [6] eval(::Module, ::Any) at ./boot.jl:317\r\n\n\"\"\"") outside of a @test
Could not locate challenge: "Private key location for 'git@github.com' [/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid]:". Process output found:
"""
ERROR: ArgumentError: embedded NULs are not allowed in C strings: "\0\0\0"
Stacktrace:
[1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180
[2] #credential_loop at ./<missing>:0 [inlined]
[3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]
[4] (::getfield(Main, Symbol("#kw##credential_loop")))(::NamedTuple{(:shred,),Tuple{Bool}}, ::typeof(credential_loop), ::SSHCredential, ::String, ::String, ::CredentialPayload) at ./<missing>:0
[5] top-level scope at none:13
[6] eval(::Module, ::Any) at ./boot.jl:317
"""
Stacktrace:
[1] error(::String, ::String) at ./error.jl:42
[2] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Pair{String,String},1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}})(::RawFD, ::Base.TTY) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:79
[3] with_fake_pty(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Pair{String,String},1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}}) at /usr/home/alex/Projects/julia/usr/share/julia/test/TestHelpers.jl:37
[4] #challenge_prompt#4 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:45 [inlined]
[5] #challenge_prompt at ./<missing>:0 [inlined]
[6] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::Expr, ::Array{Pair{String,String},1}) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:27
[7] challenge_prompt at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:14 [inlined]
[8] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##108#215")))() at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2384
[9] withenv(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##108#215")), ::Pair{String,String}, ::Vararg{Pair{String,B} where B,N} where N) at ./env.jl:156
[10] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2374 [inlined]
[11] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
[12] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##17#117")))(::String) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2345
Error in testset LibGit2/libgit2:
Error During Test at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2391
Got exception ErrorException("Failed process. Process output found:\n\"\"\"\nERROR: ArgumentError: embedded NULs are not allowed in C strings: \"\\0\\0\\0\"\r\nStacktrace:\r\n [1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180\r\n [2] #credential_loop at ./<missing>:0 [inlined]\r\n [3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]\r\n [4] credential_loop(::SSHCredential, ::String, ::String, ::CredentialPayload) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77\r\n [5] top-level scope at none:13\r\n [6] eval(::Module, ::Any) at ./boot.jl:317\r\n\n\"\"\"\nProcess(`/usr/home/alex/Projects/julia/usr/bin/julia -Cnative -J/usr/home/alex/Projects/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e 'import LibGit2; begin\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:16 =#\n using Serialization\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:17 =#\n result = let\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:18 =#\n begin\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2404 =#\n include(\"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl\")\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2405 =#\n payload = CredentialPayload(LibGit2.SSHCredential(\"\\0\\0\\0\", \"\\0\\0\\0\\0\\0\\0\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub\"), allow_prompt=true, allow_ssh_agent=true, allow_git_helpers=false)\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2408 =#\n credential_loop(LibGit2.SSHCredential(\"\\0\\0\\0\", \"\\0\\0\\0\\0\\0\\0\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase\", \"/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub\"), \"git@github.com:test/package.jl\", \"\\0\\0\\0\", payload)\n end\n end\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:20 =#\n open(\"/tmp/juliagATxBF\", \"w\") do fp\n #= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:21 =#\n serialize(fp, result)\n end\nend'`, ProcessExited(1))") outside of a @test
Failed process. Process output found:
"""
ERROR: ArgumentError: embedded NULs are not allowed in C strings: "\0\0\0"
Stacktrace:
[1] #credential_loop#5(::Bool, ::Function, ::SSHCredential, ::String, ::String, ::UInt32, ::CredentialPayload) at ./c.jl:180
[2] #credential_loop at ./<missing>:0 [inlined]
[3] #credential_loop#7 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77 [inlined]
[4] credential_loop(::SSHCredential, ::String, ::String, ::CredentialPayload) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl:77
[5] top-level scope at none:13
[6] eval(::Module, ::Any) at ./boot.jl:317
"""
Process(`/usr/home/alex/Projects/julia/usr/bin/julia -Cnative -J/usr/home/alex/Projects/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e 'import LibGit2; begin
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:16 =#
using Serialization
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:17 =#
result = let
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:18 =#
begin
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2404 =#
include("/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2-helpers.jl")
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2405 =#
payload = CredentialPayload(LibGit2.SSHCredential("\0\0\0", "\0\0\0\0\0\0", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub"), allow_prompt=true, allow_ssh_agent=true, allow_git_helpers=false)
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2408 =#
credential_loop(LibGit2.SSHCredential("\0\0\0", "\0\0\0\0\0\0", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase", "/usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/keys/valid-passphrase.pub"), "git@github.com:test/package.jl", "\0\0\0", payload)
end
end
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:20 =#
open("/tmp/juliagATxBF", "w") do fp
#= /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:21 =#
serialize(fp, result)
end
end'`, ProcessExited(1))
Stacktrace:
[1] error(::String, ::String, ::String, ::Base.Process) at ./error.jl:42
[2] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Any,1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}})(::RawFD, ::Base.TTY) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:96
[3] with_fake_pty(::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##5#8")){Int64,Cmd,Array{Any,1},getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("#format_output#7")){Bool},Base.GenericIOBuffer{Array{UInt8,1}}}) at /usr/home/alex/Projects/julia/usr/share/julia/test/TestHelpers.jl:37
[4] #challenge_prompt#4 at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:45 [inlined]
[5] #challenge_prompt at ./<missing>:0 [inlined]
[6] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::Expr, ::Array{Any,1}) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:27
[7] challenge_prompt at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:14 [inlined]
[8] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2415 [inlined]
[9] macro expansion at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
[10] (::getfield(Main.Test17Main_LibGit2_libgit2.LibGit2Tests, Symbol("##17#117")))(::String) at /usr/home/alex/Projects/julia/usr/share/julia/stdlib/v0.7/LibGit2/test/libgit2.jl:2392
ERROR: LoadError: Test run finished with errors
in expression starting at /usr/home/alex/Projects/julia/test/runtests.jl:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment