Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update gopkg.in/check.v1 failed; trying to fetch newer version
gopkg.in/check.v1 now at 64131543e7896d5bcc6bd5a76287eb75ea96c673
update github.com/gorilla/context failed; trying to fetch newer version
github.com/gorilla/context now at 50c25fb3b2b3b3cc724e9b6ac75fb44b3bccd0da
update golang.org/x/crypto 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/yaml.v2 now at 49c95bdc21843256fb6c4e0d370a05f24a0bf213
update github.com/cheggaaa/pb failed; trying to fetch newer version
github.com/cheggaaa/pb now at e8c7cc515bfde3e267957a3b110080ceed51354e
update github.com/davecheney/gmx failed; trying to fetch newer version
github.com/davecheney/gmx now at d765420e7fbaccecb2a38cf2a02701fe3e0888a3
update github.com/davecheney/mdns failed; trying to fetch newer version
github.com/davecheney/mdns now at de174d86a3d3e87bfad9cb66cedd0433380b67b0
update github.com/gorilla/mux failed; trying to fetch newer version
github.com/gorilla/mux now at e444e69cbd2e2e3e0749a2f3c717cec491552bbf
update github.com/gosexy/gettext failed; trying to fetch newer version
github.com/gosexy/gettext now at 98b7b91596d20b96909e6b60d57411547dd9959c
update github.com/ubuntu-core/snappy failed; trying to fetch newer version
github.com/ubuntu-core/snappy now at 5bcb20229bb884b85144eab0fe5db7aa05a27ebf
update github.com/mvo5/goconfigparser failed; trying to fetch newer version
github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8
update github.com/miekg/dns failed; trying to fetch newer version
github.com/miekg/dns now at 5a357a6fc5e85268b929350aa6423e2d56dcc4ff
update github.com/mvo5/uboot-go failed; trying to fetch newer version
github.com/mvo5/uboot-go now at 69978a3e4b05cca9d7cfee489b3453dfed45e72c
Building
Running tests from /tmp/tmp.QdyEV1gFim/src/launchpad.net/webdm
=== RUN Test
OK: 4 passed
--- PASS: Test (0.01s)
PASS
coverage: 60.0% of statements
ok launchpad.net/webdm/avahi 0.023s coverage: 60.0% of statements
? launchpad.net/webdm/cmd/snappyd [no test files]
=== RUN Test
WARNING: cannot create /tmp/check-38914096932556278/1/badDataPath/icons
OK: 17 passed
--- PASS: Test (0.01s)
PASS
coverage: 46.8% of statements
ok launchpad.net/webdm/snappy 0.022s coverage: 46.8% of statements
=== RUN Test
OOPS: 7 passed, 1 FAILED
--- FAIL: Test (0.51s)
FAIL
coverage: 100.0% of statements
FAIL launchpad.net/webdm/statustracker 0.518s
# 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/webdm
cp -a . $GOPATH/src/launchpad.net/webdm/
cd $GOPATH/src/launchpad.net/webdm
The attempt to merge lp:~stevenwilkin/webdm/add-remove-snaps-via-api into lp:webdm failed. Below is the output from the failed tests.
Checking formatting bcc6bd5a76287eb 75ea96c673 com/gorilla/ context failed; trying to fetch newer version com/gorilla/ context now at 50c25fb3b2b3b3c c724e9b6ac75fb4 4b3bccd0da 93457e8811b0cf2 6b773de469 6fb6c4e0d370a05 f24a0bf213 com/cheggaaa/ pb failed; trying to fetch newer version com/cheggaaa/ pb now at e8c7cc515bfde3e 267957a3b110080 ceed51354e com/davecheney/ gmx failed; trying to fetch newer version com/davecheney/ gmx now at d765420e7fbacce cb2a38cf2a02701 fe3e0888a3 com/davecheney/ mdns failed; trying to fetch newer version com/davecheney/ mdns now at de174d86a3d3e87 bfad9cb66cedd04 33380b67b0 com/gorilla/ mux failed; trying to fetch newer version com/gorilla/ mux now at e444e69cbd2e2e3 e0749a2f3c717ce c491552bbf com/gosexy/ gettext failed; trying to fetch newer version com/gosexy/ gettext now at 98b7b91596d20b9 6909e6b60d57411 547dd9959c com/ubuntu- core/snappy failed; trying to fetch newer version com/ubuntu- core/snappy now at 5bcb20229bb884b 85144eab0fe5db7 aa05a27ebf com/mvo5/ goconfigparser failed; trying to fetch newer version com/mvo5/ goconfigparser now at 26426272dda20cc 76aa1fa44286dc7 43d2972fe8 com/miekg/ dns failed; trying to fetch newer version com/miekg/ dns now at 5a357a6fc5e8526 8b929350aa6423e 2d56dcc4ff com/mvo5/ uboot-go failed; trying to fetch newer version com/mvo5/ uboot-go now at 69978a3e4b05cca 9d7cfee489b3453 dfed45e72c QdyEV1gFim/ src/launchpad. net/webdm net/webdm/ avahi 0.023s coverage: 60.0% of statements net/webdm/ cmd/snappyd [no test files] 389140969325562 78/1/badDataPat h/icons net/webdm/ snappy 0.022s coverage: 46.8% of statements
Installing godeps
Install golint
Obtaining dependencies
update gopkg.in/check.v1 failed; trying to fetch newer version
gopkg.in/check.v1 now at 64131543e7896d5
update github.
github.
update golang.org/x/crypto 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/yaml.v2 now at 49c95bdc2184325
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update github.
github.
update github.
github.
Building
Running tests from /tmp/tmp.
=== RUN Test
OK: 4 passed
--- PASS: Test (0.01s)
PASS
coverage: 60.0% of statements
ok launchpad.
? launchpad.
=== RUN Test
WARNING: cannot create /tmp/check-
OK: 17 passed
--- PASS: Test (0.01s)
PASS
coverage: 46.8% of statements
ok launchpad.
=== RUN Test
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 96: StatusTrackerSu ite.TestTrackIn stallExpiry
FAIL: statustracker_
statustracker_ test.go: 105: s.t.Status( snap), Equals, StatusUninstalled)
c.Assert(
... obtained string = "installing"
... expected string = "uninstalled"
OOPS: 7 passed, 1 FAILED net/webdm/ statustracker 0.518s
--- FAIL: Test (0.51s)
FAIL
coverage: 100.0% of statements
FAIL launchpad.
# 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/webdm src/launchpad. net/webdm/ src/launchpad. net/webdm
mkdir -p $GOPATH/
cp -a . $GOPATH/
cd $GOPATH/
./run-checks com/davecheney/ gmx com/miekg/ dns com/gorilla/ context com/gorilla/ mux com/ubuntu- core/snappy/ dirs com/ubuntu- core/snappy/ logger com/ubuntu- core/snappy/ helpers org/x/crypto/ cast5 org/x/crypto/ openpgp/ elgamal org/x/crypto/ openpgp/ errors org/x/crypto/ openpgp/ s2k org/x/crypto/ openpgp/ packet com/ubuntu- core/snappy/ asserts com/davecheney/ mdns net/webdm/ avahi com/ubuntu- core/snappy/ client com/ubuntu- core/snappy/ arch com/ubuntu- core/snappy/ systemd com/gosexy/ gettext com/ubuntu- core/snappy/ snap com/ubuntu- core/snappy/ coreconfig com/ubuntu- core/snappy/ i18n com/ubuntu- core/snappy/ oauth com/mvo5/ goconfigparser com/mvo5/ uboot-go/ uenv com/ubuntu- core/snappy/ policy com/ubuntu- core/snappy/ partition com/cheggaaa/ pb com/ubuntu- core/snappy/ provisioning com/ubuntu- core/snappy/ progress com/ubuntu- core/snappy/ release com/ubuntu- core/snappy/ snap/remote com/ubuntu- core/snappy/ snap/squashfs com/ubuntu- core/snappy/ timeout net/webdm/ statustracker com/ubuntu- core/snappy/ snappy net/webdm/ snappy net/webdm/ cmd/snappyd
github.
github.
github.
github.
github.
github.
github.
golang.
golang.
golang.
golang.
golang.
github.
github.
launchpad.
gopkg.in/yaml.v2
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
launchpad.
github.
launchpad.
launchpad.