:: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra] (x86_64)... ==> Creating clean working copy [tredaelli-mkpkg-12115]...done loading packages... resolving dependencies... looking for conflicting packages... Packages (2) libseccomp-2.3.1-1 snap-confine-git-1.0.39.r9.g1381840-1 Total Installed Size: 0.48 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libseccomp... installing snap-confine-git... ==> Making package: snapd-git 2.11.r273.gda7adb9-1 (Wed Aug 10 10:15:36 UTC 2016) ==> Retrieving sources... -> Updating snapd git repo... Fetching origin -> Found snapd.sh ==> Validating source files with md5sums... snapd ... Skipped snapd.sh ... Passed ==> Making package: snapd-git 2.11.r273.gda7adb9-1 (Wed Aug 10 10:15:37 UTC 2016) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) squashfs-tools-4.3-4 Total Installed Size: 0.26 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing squashfs-tools... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (7) perl-error-0.17024-1 python2-2.7.12-1 bzr-2.7.0-1 git-2.9.2-1 go-2:1.6.3-2 go-tools-2:1.6.3-2 python-3.5.2-1 Total Installed Size: 547.08 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn perl-mime-tools: git send-email perl-net-smtp-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support python2: various helper scripts [pending] subversion: git svn cvsps2: git cvsimport gnome-keyring: GNOME keyring credential helper installing go... The "liteide" package provides an IDE for editing and building Go projects. Example use of the "go" tool: mkdir ~/go export GOPATH=~/go export PATH=$PATH:~/go/bin go get golang.org/x/tour/gotour Optional dependencies for go mercurial: for fetching sources from mercurial repositories git: for fetching sources from git repositories [installed] bzr: for fetching sources from bazaar repositories [pending] subversion: for fetching sources from subversion repositories go-tools: doc, goimports, gorename, and other tools. [pending] installing go-tools... installing python2... Optional dependencies for python2 tk: for IDLE python2-setuptools python2-pip installing bzr... Optional dependencies for bzr python2-paramiko: SFTP support installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter ==> Retrieving sources... -> Found snapd.sh ==> Validating source files with md5sums... snapd ... Skipped snapd.sh ... Passed ==> Extracting sources... -> Creating working copy of snapd git repo... Cloning into 'snapd'... done. ==> Starting prepare()... ==> Starting pkgver()... ==> Updated version: snapd-git 2.11.r326.g344ff25-1 ==> Starting build()... Installing godeps Obtaining dependencies update github.com/jessevdk/go-flags failed; trying to fetch newer version github.com/jessevdk/go-flags now at 6b9493b3cb60367edd942144879646604089e3f7 update github.com/gorilla/websocket failed; trying to fetch newer version github.com/gorilla/websocket now at 234959944d9cf05229b02e8b386e5cffe1e4e04a update github.com/mvo5/uboot-go failed; trying to fetch newer version github.com/mvo5/uboot-go now at 361f6ebcbb54f389d15dc9faefa000e996ba3e37 update github.com/testing-cabal/subunit-go failed; trying to fetch newer version github.com/testing-cabal/subunit-go now at 00b258565a5cf3adaa24b68d31c9e6ec3d2cdbe7 update gopkg.in/tylerb/graceful.v1 failed; trying to fetch newer version gopkg.in/tylerb/graceful.v1 now at 48afeb21e2fcbcff0f30bd5ad6b97747b0fae38e update gopkg.in/yaml.v2 failed; trying to fetch newer version gopkg.in/yaml.v2 now at 49c95bdc21843256fb6c4e0d370a05f24a0bf213 update github.com/gorilla/context failed; trying to fetch newer version github.com/gorilla/context now at 1c83b3eabd45b6d76072b66b746c20815fb2872d update github.com/gorilla/mux failed; trying to fetch newer version github.com/gorilla/mux now at ee1815431e497d3850809578c93ab6705f1a19f7 update gopkg.in/tomb.v2 failed; trying to fetch newer version update golang.org/x/net failed; trying to fetch newer version gopkg.in/tomb.v2 now at 14b3d72120e8d10ea6e6b7f87f7175734b1faab8 golang.org/x/net now at 3b90a77d2885fb0429e8a21ab72fc73ca6f8b401 update github.com/gosexy/gettext failed; trying to fetch newer version github.com/gosexy/gettext now at 98b7b91596d20b96909e6b60d57411547dd9959c update github.com/coreos/go-systemd failed; trying to fetch newer version github.com/coreos/go-systemd now at f743bc15d6bddd23662280b4ad20f7c874cdd5ad update gopkg.in/macaroon.v1 failed; trying to fetch newer version gopkg.in/macaroon.v1 now at ab3940c6c16510a850e1c2dd628b919f0f3f1464 update github.com/mvo5/goconfigparser failed; trying to fetch newer version github.com/mvo5/goconfigparser now at 26426272dda20cc76aa1fa44286dc743d2972fe8 update github.com/kr/pty failed; trying to fetch newer version github.com/kr/pty now at 05017fcccf23c823bfdea560dcc958a136e54fb7 update golang.org/x/crypto failed; trying to fetch newer version golang.org/x/crypto now at 60052bd85f2d91293457e8811b0cf26b773de469 update gopkg.in/check.v1 failed; trying to fetch newer version gopkg.in/check.v1 now at 64131543e7896d5bcc6bd5a76287eb75ea96c673 update github.com/cheggaaa/pb failed; trying to fetch newer version github.com/cheggaaa/pb now at e8c7cc515bfde3e267957a3b110080ceed51354e update github.com/peterh/liner failed; trying to fetch newer version github.com/peterh/liner now at 1bb0d1c1a25ed393d8feb09bab039b2b1b1fbced ==> Starting check()... which: no goctest in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) Installing godeps Obtaining dependencies Building warning: "github.com/snapcore/snapd/..." matched no packages warning: "github.com/snapcore/snapd/..." matched no packages Running tests from /build/snapd-git/src/go/src/github.com/snapcore/snapd === RUN Test OK: 3 passed --- PASS: Test (0.00s) PASS coverage: 90.9% of statements ok github.com/snapcore/snapd/arch 0.011s === RUN Test OK: 141 passed --- PASS: Test (8.65s) PASS coverage: 92.8% of statements ok github.com/snapcore/snapd/asserts 8.710s === RUN TestAssertsTest OK: 3 passed --- PASS: TestAssertsTest (0.10s) PASS coverage: 77.4% of statements ok github.com/snapcore/snapd/asserts/assertstest 0.108s === RUN TestSysDB OK: 5 passed --- PASS: TestSysDB (0.11s) PASS coverage: 92.0% of statements ok github.com/snapcore/snapd/asserts/sysdb 0.127s ? github.com/snapcore/snapd/asserts/systestkeys [no test files] === RUN TestBoot OK: 7 passed --- PASS: TestBoot (0.15s) PASS coverage: 76.0% of statements ok github.com/snapcore/snapd/boot 0.166s ? github.com/snapcore/snapd/boot/boottest [no test files] === RUN Test ---------------------------------------------------------------------- FAIL: login_test.go:34: clientSuite.TestClientLogin login_test.go:47: c.Check(err, check.IsNil) ... value *errors.errorString = &errors.errorString{s:"cannot persist login information: chown /tmp/check-4418653127036620726/75/json.sMq2s14G310h: operation not permitted"} ("cannot persist login information: chown /tmp/check-4418653127036620726/75/json.sMq2s14G310h: operation not permitted") login_test.go:50: c.Check(user, check.DeepEquals, &client.User{ Macaroon: "the-root-macaroon", Discharges: []string{"discharge-macaroon"}}) ... obtained *client.User = (*client.User)(nil) ... expected *client.User = &client.User{Macaroon:"the-root-macaroon", Discharges:[]string{"discharge-macaroon"}} login_test.go:52: c.Assert(cs.cli.LoggedIn(), check.Equals, true) ... obtained bool = false ... expected bool = true ---------------------------------------------------------------------- FAIL: client_test.go:127: clientSuite.TestClientSetsAuthorization client_test.go:136: c.Assert(err, check.IsNil) ... value *os.PathError = &os.PathError{Op:"chown", Path:"/tmp/check-4418653127036620726/114/json.brHMWlC0CxSL", Err:0x1} ("chown /tmp/check-4418653127036620726/114/json.brHMWlC0CxSL: operation not permitted") ---------------------------------------------------------------------- FAIL: login_test.go:116: clientSuite.TestReadAuthData login_test.go:126: c.Assert(err, check.IsNil) ... value *os.PathError = &os.PathError{Op:"chown", Path:"/tmp/check-4418653127036620726/135/json.sDv14wdVF5Q6", Err:0x1} ("chown /tmp/check-4418653127036620726/135/json.sDv14wdVF5Q6: operation not permitted") ---------------------------------------------------------------------- FAIL: login_test.go:98: clientSuite.TestWriteAuthData login_test.go:108: c.Assert(err, check.IsNil) ... value *os.PathError = &os.PathError{Op:"chown", Path:"/tmp/check-4418653127036620726/140/json.Gpp1MV1QkgYd", Err:0x1} ("chown /tmp/check-4418653127036620726/140/json.Gpp1MV1QkgYd: operation not permitted") OOPS: 62 passed, 4 FAILED --- FAIL: Test (0.16s) FAIL coverage: 83.0% of statements exit status 1 FAIL github.com/snapcore/snapd/client 0.176s Crushing failure and despair. ==> ERROR: A failure occurred in check(). Aborting... ==> Removing temporary copy [tredaelli-mkpkg-12115]...done ==> ERROR: Build failed