The attempt to merge lp:~elopio/snappy/wait-boot-ok 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 gopkg.in/check.v1 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 gopkg.in/check.v1 now at 64131543e7896d5bcc6bd5a76287eb75ea96c673 update gopkg.in/tomb.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 gopkg.in/tomb.v2 now at 14b3d72120e8d10ea6e6b7f87f7175734b1faab8 update github.com/mvo5/uboot-go failed; trying to fetch newer version github.com/cheggaaa/pb now at e8c7cc515bfde3e267957a3b110080ceed51354e update golang.org/x/crypto failed; trying to fetch newer version github.com/mvo5/uboot-go now at 361f6ebcbb54f389d15dc9faefa000e996ba3e37 update github.com/gorilla/mux failed; trying to fetch newer version golang.org/x/crypto now at 60052bd85f2d91293457e8811b0cf26b773de469 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 github.com/peterh/liner failed; trying to fetch newer version github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8 update code.google.com/p/go.crypto failed; trying to fetch newer version github.com/peterh/liner now at 1bb0d1c1a25ed393d8feb09bab039b2b1b1fbced code.google.com/p/go.crypto now at 69e2a90ed92d03812364aeb947b7068dc42e561e Building Running tests from /tmp/tmp.IdgwDiOjba/src/launchpad.net/snappy === RUN Test OK: 18 passed --- PASS: Test (0.38 seconds) PASS coverage: 75.2% of statements ok launchpad.net/snappy/clickdeb 0.387s coverage: 75.2% of statements ? launchpad.net/snappy/cmd/snapd [no test files] === RUN Test 2015/10/01 15:12:12.007522 common.go:40: PANIC can not set option description for "package name" OK: 12 passed --- PASS: Test (0.07 seconds) PASS coverage: 20.9% of statements ok launchpad.net/snappy/cmd/snappy 0.102s coverage: 20.9% of statements === RUN Test OK: 41 passed --- PASS: Test (0.11 seconds) PASS coverage: 89.7% of statements ok launchpad.net/snappy/coreconfig 0.112s coverage: 89.7% of statements === RUN Test OK: 26 passed --- PASS: Test (0.10 seconds) PASS coverage: 68.1% of statements ok launchpad.net/snappy/daemon 0.103s coverage: 68.1% of statements ? launchpad.net/snappy/dirs [no test files] === RUN Test OK: 56 passed --- PASS: Test (0.37 seconds) PASS coverage: 78.5% of statements ok launchpad.net/snappy/helpers 0.376s coverage: 78.5% of statements === RUN Test OK: 0 passed, 2 skipped --- PASS: Test (0.01 seconds) PASS coverage: 33.3% of statements ok launchpad.net/snappy/i18n 0.023s 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.009s 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.46 seconds) PASS coverage: 74.7% of statements ok launchpad.net/snappy/partition 0.462s 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: 12 passed --- PASS: Test (0.14 seconds) PASS coverage: 94.3% of statements ok launchpad.net/snappy/policy 0.151s 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.208s 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.009s 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.010s 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: 291 passed --- PASS: Test (9.51 seconds) PASS coverage: 81.7% of statements ok launchpad.net/snappy/snappy 9.526s coverage: 81.7% 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 Building the integration tests Running the tests for the integration testutils ? launchpad.net/snappy/_integration-tests/testutils [no test files] === RUN Test Calling adt-run... Calling adt-run... Calling adt-run... Calling adt-run... Calling adt-run... Calling adt-run... OK: 8 passed --- PASS: Test (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/autopkgtest 0.010s coverage: 100.0% of statements === RUN Test Building snappy CLI... Building snapd... Building tests... Building snappy CLI... Building snapd... Building tests... Building tests... map[go test -c ./_integration-tests/tests:1] Building tests... Building tests... Building tests... Building tests... Building tests... Building tests... Building tests... Building tests... OK: 15 passed --- PASS: Test (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/build 0.005s coverage: 100.0% of statements === RUN Test OK: 3 passed --- PASS: Test (0.00 seconds) PASS coverage: 15.7% of statements ok launchpad.net/snappy/_integration-tests/testutils/common 0.004s coverage: 15.7% of statements === RUN Test OK: 3 passed --- PASS: Test (0.00 seconds) PASS coverage: 75.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/config 0.009s coverage: 75.0% of statements ? launchpad.net/snappy/_integration-tests/testutils/image [no test files] FAIL launchpad.net/snappy/_integration-tests/testutils/partition [build failed] === RUN Test OK: 12 passed --- PASS: Test (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/report 0.005s coverage: 100.0% of statements === RUN TestRunnerPipesOutput OOPS: 1 passed, 1 FAILED --- PASS: TestRunnerPipesOutput (0.00 seconds) === RUN TestRunnerAcceptsStreamFlag OOPS: 1 passed, 1 FAILED --- PASS: TestRunnerAcceptsStreamFlag (0.00 seconds) === RUN TestRunnerAcceptsFilterFlag OK: 1 passed --- PASS: TestRunnerAcceptsFilterFlag (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/runner 0.005s coverage: 100.0% of statements === RUN Test OK: 4 passed --- PASS: Test (0.00 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/tpl 0.007s coverage: 100.0% of statements === RUN Test OK: 11 passed --- PASS: Test (0.02 seconds) PASS coverage: 100.0% of statements ok launchpad.net/snappy/_integration-tests/testutils/wait 0.022s coverage: 100.0% of statements # 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 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/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 # 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)" ./update-pot "$TMPF" 0 translated messages, 97 untranslated messages. 62 translated messages, 35 untranslated messages. 95 translated messages, 2 untranslated messages. trap "rm -f $TMPF" 0 if ! diff -u --ignore-matching-lines=.*POT-Creation-Date.* po/snappy.pot $TMPF; then echo "You need to run ./update-pot" exit 1 fi if [ -z "$QUICK" ]; then # integration tests echo Building the integration tests go build _integration-tests/main.go # the rabbit hole echo Running the tests for the integration testutils $goctest -v -cover ./_integration-tests/testutils/... # integration suite in kvm if which adt-run >/dev/null 2>&1; then echo "Running integration tests on rolling edge" go run _integration-tests/main.go --snappy-from-branch # print the results. if which subunit2pyunit >/dev/null 2>&1; then subunit-1to2 /tmp/snappy-test/output/artifacts/results.subunit | subunit2pyunit fi fi fi # launchpad.net/snappy/_integration-tests/testutils/partition _integration-tests/testutils/partition/bootloader_test.go:247: undefined: mode