Skip to content

Unable to run tests. "make test" process keeps getting sig-killed #373

@kidonchu

Description

@kidonchu

Environment

os: MacOS Sierra 10.12.4 
go: 1.7.1
commit: 5d0a4c7

After I checked out the next branch, I am trying to run test with make test command but it keeps getting sig-killed with an error code 137 (this also happens on master branch). What would be causing this issue? Here is what I'm doing.

$> go get -d github.com/libgit2/git2go
$> cd $GOPATH/src/github.com/libgit2/git2go
$> git checkout next
$> git submodule update --init
$> make test
./script/build-libgit2-static.sh
+ VENDORED_PATH=vendor/libgit2
+ cd vendor/libgit2
+ mkdir -p install/lib
+ mkdir -p build
+ cd build
+ cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=../install ..
-- Found Security /System/Library/Frameworks/Security.framework
-- Found CoreFoundation /System/Library/Frameworks/CoreFoundation.framework
-- Found Iconv: -L/usr/lib -liconv
-- Performing Test IS_WSTRICT-ALIASING=2_SUPPORTED
-- Performing Test IS_WSTRICT-ALIASING=2_SUPPORTED - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kchu/projects/go/src/github.com/libgit2/git2go/vendor/libgit2/build
+ cmake --build .
[100%] Built target git2
go run script/check-MakeGitError-thread-lock.go
go test ./...
signal: killed
FAIL    github.com/libgit2/git2go       0.003s
make: *** [test] Error 1

I also created a simple program that imports git2go but still getting the process killed.

package main
import (
	"fmt"
	git "github.com/libgit2/git2go"
)
func main() {
	fmt.Println("Hello World")
}
func anotherFunc(cert *git.Certificate) {}

What could be causing this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions