The attempt to merge lp:~mvo/snappy/snappy-lp1488114-msg 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/blakesmith/ar failed; trying to fetch newer version 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 update github.com/cheggaaa/pb failed; trying to fetch newer version github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8 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 code.google.com/p/go.crypto now at 69e2a90ed92d03812364aeb947b7068dc42e561e Building Running tests from /tmp/tmp.Q0yBcM1M2E/src/launchpad.net/snappy ? launchpad.net/snappy/cmd/snapd [no test files] === RUN Test OK: 12 passed --- PASS: Test (0.02 seconds) PASS coverage: 20.5% of statements ok launchpad.net/snappy/cmd/snappy 0.028s coverage: 20.5% of statements === RUN Test OK: 53 passed --- PASS: Test (0.31 seconds) PASS coverage: 91.7% of statements ok launchpad.net/snappy/coreconfig 0.315s coverage: 91.7% of statements === RUN Test OK: 39 passed --- PASS: Test (0.17 seconds) PASS coverage: 69.8% of statements ok launchpad.net/snappy/daemon 0.176s coverage: 69.8% of statements ? launchpad.net/snappy/dirs [no test files] === RUN Test OK: 65 passed --- PASS: Test (0.32 seconds) PASS coverage: 79.2% of statements ok launchpad.net/snappy/helpers 0.330s coverage: 79.2% of statements === RUN Test OK: 0 passed, 2 skipped --- PASS: Test (0.02 seconds) PASS coverage: 33.3% of statements ok launchpad.net/snappy/i18n 0.027s 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.006s 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.006s coverage: 100.0% of statements === RUN Test OK: 42 passed --- PASS: Test (0.38 seconds) PASS coverage: 74.7% of statements ok launchpad.net/snappy/partition 0.398s 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.004s coverage: 100.0% of statements === RUN Test OK: 18 passed --- PASS: Test (0.35 seconds) PASS coverage: 74.4% of statements ok launchpad.net/snappy/pkg/clickdeb 0.352s coverage: 74.4% of statements === RUN Test OK: 20 passed --- PASS: Test (0.07 seconds) === RUN: ExamplePartBag --- PASS: ExamplePartBag (19.462256ms) PASS coverage: 93.5% of statements ok launchpad.net/snappy/pkg/lightweight 0.096s coverage: 93.5% of statements ? 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.023s coverage: 94.4% of statements === RUN Test OK: 10 passed --- PASS: Test (0.08 seconds) PASS coverage: 70.0% of statements ok launchpad.net/snappy/pkg/snapfs 0.081s coverage: 70.0% of statements === RUN Test OK: 12 passed --- PASS: Test (0.13 seconds) PASS coverage: 94.3% of statements ok launchpad.net/snappy/policy 0.139s 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.212s coverage: 91.1% of statements === RUN Test OK: 4 passed --- PASS: Test (0.01 seconds) PASS coverage: 50.0% of statements ok launchpad.net/snappy/progress 0.014s 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.021s 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 bin/foo meta/package.yaml .click/info/hello-app.origin.manifest OK: 306 passed --- PASS: Test (11.14 seconds) PASS coverage: 81.3% of statements ok launchpad.net/snappy/snappy 11.159s coverage: 81.3% of statements === RUN Test OK: 20 passed --- PASS: Test (0.52 seconds) PASS coverage: 74.0% of statements ok launchpad.net/snappy/systemd 0.530s coverage: 74.0% of statements Running vet Running lint --- po/snappy.pot 2015-10-27 04:41:22.376840000 +0000 +++ /tmp/tmp.dTE1BVj0Y1 2015-10-27 04:43:17.966526981 +0000 @@ -71,7 +71,8 @@ msgstr "" #, c-format -msgid "Another snappy is running in the background, will try again in %d seconds...\nPress ctrl-c to cancel.\n" +msgid "Another snappy is running in the background, will try again in %d seconds...\n" + "Press ctrl-c to cancel.\n" msgstr "" msgid "Assign a hardware device to a package" @@ -298,7 +299,9 @@ msgstr "" #, c-format -msgid "The snappy autopilot is updating your system in the background. This may\ntake some minutes. Will try again in %d seconds...\nPress ctrl-c to cancel.\n" +msgid "The snappy autopilot is updating your system in the background. This may\n" + "take some minutes. Will try again in %d seconds...\n" + "Press ctrl-c to cancel.\n" msgstr "" msgid "The version to rollback to" You need to run ./update-pot 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/coreos/go-systemd/activation github.com/gorilla/context gopkg.in/tomb.v2 github.com/gorilla/mux launchpad.net/snappy/dirs launchpad.net/snappy/logger launchpad.net/snappy/helpers launchpad.net/snappy/pkg gopkg.in/yaml.v2 launchpad.net/snappy/pkg/remote github.com/cheggaaa/pb launchpad.net/snappy/progress github.com/mvo5/goconfigparser launchpad.net/snappy/coreconfig github.com/gosexy/gettext launchpad.net/snappy/oauth github.com/mvo5/uboot-go/uenv launchpad.net/snappy/partition launchpad.net/snappy/i18n github.com/blakesmith/ar launchpad.net/snappy/pkg/snapfs launchpad.net/snappy/pkg/clickdeb launchpad.net/snappy/policy launchpad.net/snappy/provisioning launchpad.net/snappy/release launchpad.net/snappy/systemd code.google.com/p/go.crypto/ssh/terminal github.com/jessevdk/go-flags launchpad.net/snappy/snappy github.com/peterh/liner launchpad.net/snappy/priv launchpad.net/snappy/i18n/xgettext-go launchpad.net/snappy/pkg/removed launchpad.net/snappy/pkg/lightweight launchpad.net/snappy/daemon launchpad.net/snappy/cmd/snapd launchpad.net/snappy/cmd/snappy # go vet echo Running vet go vet ./... go vet ./_integration-tests/tests/... go vet ./_integration-tests/testutils/... # golint echo Running lint lint=$(golint ./... && golint ./_integration-tests/testutils/... && golint ./_integration-tests/tests/...) if [ -n "$lint" ]; then echo "Lint complains:" echo "$lint" exit 1 fi ( # pot file TMPF="$(mktemp)" trap "rm -f $TMPF" 0 ./update-pot "$TMPF" if ! diff -u --ignore-matching-lines=.*POT-Creation-Date.* po/snappy.pot $TMPF; then echo "You need to run ./update-pot" exit 1 fi # This is a subshell so we don't overwrite the all-important outer trap. ) 0 translated messages, 102 untranslated messages. 62 translated messages, 40 untranslated messages. 102 translated messages. 6 translated messages, 96 untranslated messages.