The attempt to merge lp:~chipaca/snappy/husk into lp:snappy failed. Below is the output from the failed tests. Checking docs Checking formatting Installing godeps Install golint Obtaining dependencies update github.com/cheggaaa/pb failed; trying to fetch newer version update github.com/mvo5/uboot-go failed; trying to fetch newer version github.com/cheggaaa/pb now at e8c7cc515bfde3e267957a3b110080ceed51354e update gopkg.in/check.v1 failed; trying to fetch newer version github.com/mvo5/uboot-go now at 361f6ebcbb54f389d15dc9faefa000e996ba3e37 update github.com/gosexy/gettext failed; trying to fetch newer version gopkg.in/check.v1 now at 64131543e7896d5bcc6bd5a76287eb75ea96c673 update github.com/peterh/liner 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/peterh/liner now at 1bb0d1c1a25ed393d8feb09bab039b2b1b1fbced update code.google.com/p/go.crypto failed; trying to fetch newer version gopkg.in/tomb.v2 now at 14b3d72120e8d10ea6e6b7f87f7175734b1faab8 update github.com/blakesmith/ar failed; trying to fetch newer version code.google.com/p/go.crypto now at 69e2a90ed92d03812364aeb947b7068dc42e561e update github.com/coreos/go-systemd 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/coreos/go-systemd now at f743bc15d6bddd23662280b4ad20f7c874cdd5ad update github.com/jessevdk/go-flags failed; trying to fetch newer version github.com/gorilla/context now at 1c83b3eabd45b6d76072b66b746c20815fb2872d update golang.org/x/crypto failed; trying to fetch newer version github.com/jessevdk/go-flags now at 1acbbaff2f347c412a0c7884873bd72cc9c1f5b4 update gopkg.in/yaml.v2 failed; trying to fetch newer version golang.org/x/crypto now at 60052bd85f2d91293457e8811b0cf26b773de469 update github.com/gorilla/mux failed; trying to fetch newer version gopkg.in/yaml.v2 now at 49c95bdc21843256fb6c4e0d370a05f24a0bf213 update github.com/mvo5/goconfigparser failed; trying to fetch newer version github.com/gorilla/mux now at ee1815431e497d3850809578c93ab6705f1a19f7 github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8 Building Running tests from /tmp/tmp.lCKEM9zmCk/src/launchpad.net/snappy === RUN Test OK: 18 passed --- PASS: Test (0.38 seconds) PASS coverage: 74.8% of statements ok launchpad.net/snappy/clickdeb 0.385s coverage: 74.8% of statements ? launchpad.net/snappy/cmd/snapd [no test files] === RUN Test 2015/10/08 11:12:16.125387 common.go:40: PANIC can not set option description for "package name" OK: 12 passed --- PASS: Test (0.01 seconds) PASS coverage: 21.3% of statements ok launchpad.net/snappy/cmd/snappy 0.023s coverage: 21.3% of statements === RUN Test OK: 41 passed --- PASS: Test (0.10 seconds) PASS coverage: 89.7% of statements ok launchpad.net/snappy/coreconfig 0.108s coverage: 89.7% of statements === RUN Test OK: 26 passed --- PASS: Test (0.08 seconds) PASS coverage: 67.5% of statements ok launchpad.net/snappy/daemon 0.092s coverage: 67.5% of statements ? launchpad.net/snappy/dirs [no test files] === RUN Test OK: 56 passed --- PASS: Test (0.46 seconds) PASS coverage: 78.5% of statements ok launchpad.net/snappy/helpers 0.466s coverage: 78.5% of statements === RUN Test OK: 0 passed, 2 skipped --- PASS: Test (0.03 seconds) PASS coverage: 33.3% of statements ok launchpad.net/snappy/i18n 0.032s coverage: 33.3% of statements === RUN Test OK: 16 passed --- PASS: Test (0.00 seconds) PASS coverage: 92.6% of statements ok launchpad.net/snappy/i18n/xgettext-go 0.007s coverage: 92.6% of statements === RUN Test OK: 6 passed --- PASS: Test (0.00 seconds) PASS coverage: 93.5% of statements ok launchpad.net/snappy/logger 0.007s coverage: 93.5% of statements === RUN Test OK: 4 passed --- PASS: Test (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/oauth 0.005s coverage: 100.0% of statements === RUN Test OK: 42 passed --- PASS: Test (0.35 seconds) PASS coverage: 74.7% of statements ok launchpad.net/snappy/partition 0.353s coverage: 74.7% of statements === RUN Test OK: 3 passed --- PASS: Test (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/pkg 0.006s coverage: 100.0% of statements === RUN Test ---------------------------------------------------------------------- FAIL: lightweight_test.go:174: lightweightSuite.TestMapAppNoPart lightweight_test.go:188: c.Check(m, check.DeepEquals, map[string]string{ "name": "foo", "origin": "bar", "status": "active", "version": "1.0", "icon": filepath.Join(s.d, "apps", "foo.bar", "1.0", "icon.png"), "type": "app", "vendor": "example.com", "installed_size": "208", // this'll change :-/ "download_size": "-1", "description": "", }) ... obtained map[string]string = map[string]string{"origin":"bar", "status":"active", "type":"app", "vendor":"example.com", "version":"1.0", "description":"", "installed_size":"8260", "download_size":"-1", "icon":"/tmp/check-7465553432451750380/7/apps/foo.bar/1.0/icon.png", "name":"foo"} ... expected map[string]string = map[string]string{"name":"foo", "icon":"/tmp/check-7465553432451750380/7/apps/foo.bar/1.0/icon.png", "origin":"bar", "status":"active", "version":"1.0", "type":"app", "vendor":"example.com", "installed_size":"208", "download_size":"-1", "description":""} ---------------------------------------------------------------------- FAIL: lightweight_test.go:191: lightweightSuite.TestMapAppWithPart lightweight_test.go:216: c.Check(m, check.DeepEquals, map[string]string{ "name": "foo", "origin": "bar", "status": "active", "version": "1.0", "icon": filepath.Join(s.d, "apps", "foo.bar", "1.0", "icon.png"), "type": "app", "vendor": "example.com", "installed_size": "208", // this'll change :-/ "download_size": "42", "description": "", "update_available": "2", }) ... obtained map[string]string = map[string]string{"icon":"/tmp/check-7465553432451750380/9/apps/foo.bar/1.0/icon.png", "name":"foo", "update_available":"2", "origin":"bar", "status":"active", "type":"app", "vendor":"example.com", "version":"1.0", "description":"", "installed_size":"8260", "download_size":"42"} ... expected map[string]string = map[string]string{"name":"foo", "update_available":"2", "icon":"/tmp/check-7465553432451750380/9/apps/foo.bar/1.0/icon.png", "origin":"bar", "status":"active", "version":"1.0", "type":"app", "vendor":"example.com", "installed_size":"208", "download_size":"42", "description":""} ---------------------------------------------------------------------- FAIL: lightweight_test.go:104: lightweightSuite.TestMapFmkNoPart lightweight_test.go:119: c.Check(m, check.DeepEquals, map[string]string{ "name": "fmk", "origin": "sideload", "status": "active", "version": "120", "icon": filepath.Join(s.d, "apps", "fmk", "120", "icon.png"), "type": "framework", "vendor": "example.com", "installed_size": "214", // this'll change :-/ "download_size": "-1", "description": "", "rollback_available": "119", }) ... obtained map[string]string = map[string]string{"icon":"/tmp/check-7465553432451750380/10/apps/fmk/120/icon.png", "name":"fmk", "origin":"sideload", "status":"active", "type":"framework", "vendor":"example.com", "version":"120", "description":"", "installed_size":"8266", "download_size":"-1", "rollback_available":"119"} ... expected map[string]string = map[string]string{"name":"fmk", "icon":"/tmp/check-7465553432451750380/10/apps/fmk/120/icon.png", "origin":"sideload", "status":"active", "version":"120", "type":"framework", "vendor":"example.com", "installed_size":"214", "download_size":"-1", "description":"", "rollback_available":"119"} ---------------------------------------------------------------------- FAIL: lightweight_test.go:264: lightweightSuite.TestMapInactiveOemNoPart lightweight_test.go:278: c.Check(m, check.DeepEquals, map[string]string{ "name": "oem", "origin": "sideload", // best guess "status": "installed", "version": "3", "icon": filepath.Join(s.d, "oem", "oem", "3", "icon.png"), "type": "oem", "vendor": "example.com", "installed_size": "206", "download_size": "-1", "description": "", }) ... obtained map[string]string = map[string]string{"origin":"sideload", "status":"installed", "type":"oem", "vendor":"example.com", "version":"3", "description":"", "installed_size":"8258", "download_size":"-1", "icon":"/tmp/check-7465553432451750380/11/oem/oem/3/icon.png", "name":"oem"} ... expected map[string]string = map[string]string{"origin":"sideload", "status":"installed", "version":"3", "type":"oem", "vendor":"example.com", "installed_size":"206", "download_size":"-1", "description":"", "name":"oem", "icon":"/tmp/check-7465553432451750380/11/oem/oem/3/icon.png"} OOPS: 15 passed, 4 FAILED --- FAIL: Test (0.09 seconds) === RUN: ExamplePartBag --- PASS: ExamplePartBag (23.134865ms) FAIL FAIL launchpad.net/snappy/pkg/lightweight 0.125s ? launchpad.net/snappy/pkg/remote [no test files] === RUN Test OK: 3 passed --- PASS: Test (0.00 seconds) PASS coverage: 94.4% of statements ok launchpad.net/snappy/pkg/removed 0.011s coverage: 94.4% of statements === RUN Test OK: 12 passed --- PASS: Test (0.12 seconds) PASS coverage: 94.3% of statements ok launchpad.net/snappy/policy 0.126s coverage: 94.3% of statements === RUN Test OK: 5 passed --- PASS: Test (0.20 seconds) PASS coverage: 91.1% of statements ok launchpad.net/snappy/priv 0.209s coverage: 91.1% of statements === RUN Test OK: 4 passed --- PASS: Test (0.00 seconds) PASS coverage: 50.0% of statements ok launchpad.net/snappy/progress 0.008s coverage: 50.0% of statements === RUN Test OK: 9 passed --- PASS: Test (0.01 seconds) PASS coverage: 96.4% of statements ok launchpad.net/snappy/provisioning 0.012s coverage: 96.4% of statements === RUN Test OK: 6 passed --- PASS: Test (0.00 seconds) PASS coverage: 95.0% of statements ok launchpad.net/snappy/release 0.007s coverage: 95.0% of statements === RUN Test OK: 299 passed --- PASS: Test (9.21 seconds) PASS coverage: 81.3% of statements ok launchpad.net/snappy/snappy 9.219s coverage: 81.3% of statements === RUN Test OK: 20 passed --- PASS: Test (0.53 seconds) PASS coverage: 74.0% of statements ok launchpad.net/snappy/systemd 0.542s coverage: 74.0% of statements Crushing failure and despair. # 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 sh -v ./run-checks #!/bin/sh set -eu if which goctest >/dev/null; then goctest="goctest" else goctest="go test" fi QUICK="" if [ "${1:-}" = "--quick" ]; then QUICK=yes fi endmsg() { if [ $? -eq 0 ]; then p="success.txt" m="All good, what could possibly go wrong." else p="failure.txt" m="Crushing failure and despair." fi echo if [ -t 1 -a -z "$QUICK" ]; then cat "data/$p" else echo "$m" fi } trap endmsg EXIT 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 if [ -z "$QUICK" ]; then 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 Obtaining dependencies godeps -u dependencies.tsv echo Building go build -v launchpad.net/snappy/... # tests echo Running tests from $(pwd) $goctest -v -cover ./... fi github.com/blakesmith/ar launchpad.net/snappy/logger github.com/coreos/go-systemd/activation launchpad.net/snappy/helpers github.com/gorilla/context github.com/gorilla/mux gopkg.in/tomb.v2 github.com/cheggaaa/pb launchpad.net/snappy/progress launchpad.net/snappy/clickdeb github.com/mvo5/goconfigparser launchpad.net/snappy/release gopkg.in/yaml.v2 launchpad.net/snappy/dirs github.com/gosexy/gettext launchpad.net/snappy/i18n launchpad.net/snappy/oauth github.com/mvo5/uboot-go/uenv launchpad.net/snappy/coreconfig launchpad.net/snappy/partition launchpad.net/snappy/pkg launchpad.net/snappy/pkg/remote launchpad.net/snappy/policy launchpad.net/snappy/provisioning launchpad.net/snappy/systemd code.google.com/p/go.crypto/ssh/terminal launchpad.net/snappy/snappy github.com/jessevdk/go-flags github.com/peterh/liner launchpad.net/snappy/priv launchpad.net/snappy/i18n/xgettext-go launchpad.net/snappy/daemon launchpad.net/snappy/cmd/snapd launchpad.net/snappy/cmd/snappy launchpad.net/snappy/pkg/removed launchpad.net/snappy/pkg/lightweight