Checking docs
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update github.com/gorilla/mux failed; trying to fetch newer version
update github.com/gosexy/gettext failed; trying to fetch newer version
github.com/gorilla/mux now at ee1815431e497d3850809578c93ab6705f1a19f7
update github.com/mvo5/goconfigparser failed; trying to fetch newer version
github.com/gosexy/gettext now at 98b7b91596d20b96909e6b60d57411547dd9959c
update gopkg.in/tomb.v2 failed; trying to fetch newer version
github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8
update github.com/blakesmith/ar failed; trying to fetch newer version
gopkg.in/tomb.v2 now at 14b3d72120e8d10ea6e6b7f87f7175734b1faab8
update github.com/cheggaaa/pb failed; trying to fetch newer version
github.com/blakesmith/ar now at c9a977dd0cc1392b023382c7bfa5a22af8d3b730
update github.com/gorilla/context failed; trying to fetch newer version
github.com/cheggaaa/pb now at e8c7cc515bfde3e267957a3b110080ceed51354e
update github.com/jessevdk/go-flags failed; trying to fetch newer version
github.com/gorilla/context now at 1c83b3eabd45b6d76072b66b746c20815fb2872d
update github.com/mvo5/uboot-go failed; trying to fetch newer version
github.com/jessevdk/go-flags now at 1acbbaff2f347c412a0c7884873bd72cc9c1f5b4
update github.com/stgraber/lxd-go-systemd failed; trying to fetch newer version
github.com/mvo5/uboot-go now at 361f6ebcbb54f389d15dc9faefa000e996ba3e37
update golang.org/x/crypto failed; trying to fetch newer version
github.com/stgraber/lxd-go-systemd now at a3dcd1d0480ee0ae9ec354f1632202bfba715e03
update gopkg.in/check.v1 failed; trying to fetch newer version
golang.org/x/crypto now at 60052bd85f2d91293457e8811b0cf26b773de469
update gopkg.in/yaml.v2 failed; trying to fetch newer version
gopkg.in/check.v1 now at 64131543e7896d5bcc6bd5a76287eb75ea96c673
gopkg.in/yaml.v2 now at 49c95bdc21843256fb6c4e0d370a05f24a0bf213
Building
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly
mkdir -p $GOPATH/src/launchpad.net/snappy
cp -a . $GOPATH/src/launchpad.net/snappy/
cd $GOPATH/src/launchpad.net/snappy
./run-checks
if which goctest >/dev/null; then
goctest="goctest"
else
goctest="go test"
fi
echo Checking docs
./mdlint.py docs/*.md
echo Checking formatting
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Formatting wrong in following files"
echo "$fmt"
exit 1
fi
echo Installing godeps
go get launchpad.net/godeps
export PATH=$PATH:$GOPATH/bin
echo Install golint
go get github.com/golang/lint/golint
export PATH=$PATH:$GOPATH/bin
echo Building
go build -v launchpad.net/snappy/...
daemon/daemon.go:27:2: cannot find package "github.com/coreos/go-systemd/activation" in any of:
/usr/lib/go/src/pkg/github.com/coreos/go-systemd/activation (from $GOROOT)
/tmp/tmp.DqGQs5Bgjf/src/github.com/coreos/go-systemd/activation (from $GOPATH)
The attempt to merge lp:~chipaca/snappy/serve into lp:snappy failed. Below is the output from the failed tests.
Checking docs com/gorilla/ mux failed; trying to fetch newer version com/gosexy/ gettext failed; trying to fetch newer version com/gorilla/ mux now at ee1815431e497d3 850809578c93ab6 705f1a19f7 com/mvo5/ goconfigparser failed; trying to fetch newer version com/gosexy/ gettext now at 98b7b91596d20b9 6909e6b60d57411 547dd9959c com/mvo5/ goconfigparser now at 26426272dda20cc 76aa1fa44286dc7 43d2972fe8 com/blakesmith/ ar failed; trying to fetch newer version ea6e6b7f87f7175 734b1faab8 com/cheggaaa/ pb failed; trying to fetch newer version com/blakesmith/ ar now at c9a977dd0cc1392 b023382c7bfa5a2 2af8d3b730 com/gorilla/ context failed; trying to fetch newer version com/cheggaaa/ pb now at e8c7cc515bfde3e 267957a3b110080 ceed51354e com/jessevdk/ go-flags failed; trying to fetch newer version com/gorilla/ context now at 1c83b3eabd45b6d 76072b66b746c20 815fb2872d com/mvo5/ uboot-go failed; trying to fetch newer version com/jessevdk/ go-flags now at 1acbbaff2f347c4 12a0c7884873bd7 2cc9c1f5b4 com/stgraber/ lxd-go- systemd failed; trying to fetch newer version com/mvo5/ uboot-go now at 361f6ebcbb54f38 9d15dc9faefa000 e996ba3e37 com/stgraber/ lxd-go- systemd now at a3dcd1d0480ee0a e9ec354f1632202 bfba715e03 93457e8811b0cf2 6b773de469 bcc6bd5a76287eb 75ea96c673 6fb6c4e0d370a05 f24a0bf213
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update github.
update github.
github.
update github.
github.
update gopkg.in/tomb.v2 failed; trying to fetch newer version
github.
update github.
gopkg.in/tomb.v2 now at 14b3d72120e8d10
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update golang.org/x/crypto failed; trying to fetch newer version
github.
update gopkg.in/check.v1 failed; trying to fetch newer version
golang.org/x/crypto now at 60052bd85f2d912
update gopkg.in/yaml.v2 failed; trying to fetch newer version
gopkg.in/check.v1 now at 64131543e7896d5
gopkg.in/yaml.v2 now at 49c95bdc2184325
Building
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly src/launchpad. net/snappy src/launchpad. net/snappy/ src/launchpad. net/snappy
mkdir -p $GOPATH/
cp -a . $GOPATH/
cd $GOPATH/
./run-checks
if which goctest >/dev/null; then "goctest"
goctest=
else
goctest="go test"
fi
echo Checking docs
./mdlint.py docs/*.md
echo Checking formatting
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Formatting wrong in following files"
echo "$fmt"
exit 1
fi
echo Installing godeps net/godeps $GOPATH/ bin
go get launchpad.
export PATH=$PATH:
echo Install golint com/golang/ lint/golint $GOPATH/ bin
go get github.
export PATH=$PATH:
echo Obtaining dependencies
godeps -u dependencies.tsv
echo Building net/snappy/ ... daemon. go:27:2: cannot find package "github. com/coreos/ go-systemd/ activation" in any of: go/src/ pkg/github. com/coreos/ go-systemd/ activation (from $GOROOT) DqGQs5Bgjf/ src/github. com/coreos/ go-systemd/ activation (from $GOPATH)
go build -v launchpad.
daemon/
/usr/lib/
/tmp/tmp.