Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support libgit2 1.2 #42209

Closed
wants to merge 1 commit into from
Closed

Conversation

antonio-rojas
Copy link
Contributor

libgit2 1.2 added a new remote_ready member to git_remote_callbacks, update RemoteCallbacks accordingly

libgit2 1.2 added a new remote_ready member to git_remote_callbacks, update RemoteCallbacks accordingly
@nalimilan
Copy link
Member

Thanks. While you're at it, it would make sense to also use libgit2 1.2. That way we will use the latest version, and ensure that the new code works.

@antonio-rojas
Copy link
Contributor Author

I always build against system packages and am not familiar with updating bundled packages, someone else will have to take care of that.

@nalimilan
Copy link
Member

See #42310.

What code did you run to detect this new field? It would be good to add a test to cover it, as apparently tests pass with libgit2 without this PR at #42310.

@antonio-rojas
Copy link
Contributor Author

antonio-rojas commented Sep 19, 2021

They don't for me without this patch (in 1.6.2)

LibGit2/libgit2                    (24) |         failed at 2021-09-19T18:23:19.318
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:807
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:813
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:822
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1254
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1312
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1330
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1372
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1397
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1400 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1399
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1404
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1405 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1405
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1476
  Test threw exception
  Expression: read(joinpath(test_repo, test_file), String) == read(joinpath(cache_repo, test_file), String)
  SystemError: opening file "/tmp/jl_77Xg8O/Example.Test/testdir/testfile": No such file or directory
  Stacktrace:
    [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
      @ Base ./error.jl:168
    [2] #systemerror#62
      @ ./error.jl:167 [inlined]
    [3] systemerror
      @ ./error.jl:167 [inlined]
    [4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
      @ Base ./iostream.jl:293
    [5] open
      @ ./iostream.jl:282 [inlined]
    [6] open(f::Base.var"#326#327"{String}, args::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ Base ./io.jl:328
    [7] open
      @ ./io.jl:328 [inlined]
    [8] read
      @ ./io.jl:434 [inlined]
    [9] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1476 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1476 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [13] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1475
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1479
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1480 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1480 [inlined]
    [6] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [7] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1475
    [8] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [9] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
   [10] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
   [11] include
      @ ./Base.jl:386 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [13] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [14] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [15] macro expansion
      @ ./timing.jl:368 [inlined]
   [16] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [17] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [18] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [19] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [20] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1498
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1499 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1499 [inlined]
    [6] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [7] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1475
    [8] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [9] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
   [10] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
   [11] include
      @ ./Base.jl:386 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [13] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [14] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [15] macro expansion
      @ ./timing.jl:368 [inlined]
   [16] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [17] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [18] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [19] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [20] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1539
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1540 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1540
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1613
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1615 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1614
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1658
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1659 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1659
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1715
  Got exception outside of a @test
  ReadOnlyMemoryError()
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1728
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1729 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1729
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411
Error During Test at /build/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1756
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:OS, failed to resolve path '/tmp/jl_77Xg8O/Example.Test': No such file or directory)
  Stacktrace:
    [1] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitRepo(path::String)
      @ LibGit2 ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/src/repository.jl:11
    [3] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1757 [inlined]
    [4] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
    [5] (::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143")(dir::String)
      @ Main.Test57Main_LibGit2_libgit2.LibGit2Tests ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:1757
    [6] mktempdir(fn::Main.Test57Main_LibGit2_libgit2.LibGit2Tests.var"#23#143", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:729
    [7] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:727
    [8] top-level scope
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/LibGit2/test/libgit2.jl:622
    [9] include
      @ ./Base.jl:386 [inlined]
   [10] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:24 [inlined]
   [11] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
   [12] macro expansion
      @ ~/julia/src/julia-1.6.2/test/testdefs.jl:23 [inlined]
   [13] macro expansion
      @ ./timing.jl:368 [inlined]
   [14] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/julia/src/julia-1.6.2/test/testdefs.jl:21
   [15] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278
   [16] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63
   [17] macro expansion
      @ ~/julia/src/julia-1.6.2/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:278 [inlined]
   [18] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:411

@nalimilan
Copy link
Member

Ah, thanks. Looks like #42310 used the old version from LibGit2_jll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants