Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-gopkg-macaroon-bakery.v2/golang-gopkg-macaroon-bakery.v2_2.3.0-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-gopkg-macaroon-bakery.v2-2.3.0-2ug0xpsge/golang-gopkg-macaroon-bakery.v2_2.3.0-2_all.buildinfo Get source package info: golang-gopkg-macaroon-bakery.v2=2.3.0-2 Source URL: http://snapshot.notset.fr/mr/package/golang-gopkg-macaroon-bakery.v2/2.3.0-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-5 binutils=2.37-10 binutils-common=2.37-10 binutils-x86-64-linux-gnu=2.37-10 bsdextrautils=2.37.2-4 bsdutils=1:2.37.2-4 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-12 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.5.2 debianutils=5.5-1 dh-autoreconf=20 dh-golang=1.52 dh-strip-nondeterminism=1.12.1-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-12 gcc=4:11.2.0-2 gcc-11=11.2.0-12 gcc-11-base=11.2.0-12 gettext=0.21-4 gettext-base=0.21-4 golang-1.17-go=1.17.5-1 golang-1.17-src=1.17.5-1 golang-any=2:1.17~1 golang-github-creack-pty-dev=1.1.15-1 golang-github-frankban-quicktest-dev=1.14.0-1 golang-github-go-macaroon-bakery-macaroonpb-dev=1.0.0-2 golang-github-google-go-cmp-dev=0.5.6-1 golang-github-juju-qthttptest-dev=0.1.1-2 golang-github-juju-schema-dev=1.0.0-3 golang-github-juju-webbrowser-dev=1.0.0-2 golang-github-julienschmidt-httprouter-dev=1.3.0-1 golang-github-kr-pretty-dev=0.3.0-1 golang-github-kr-text-dev=0.2.0-1 golang-github-pkg-diff-dev=0.0~git20210226.20ebb0f-1 golang-github-rogpeppe-fastuuid-dev=0.0~git20150106.0.6724a57-2.1 golang-github-rogpeppe-go-internal-dev=1.8.0-3 golang-github-yuin-goldmark-dev=1.4.4-1 golang-go=2:1.17~1 golang-golang-x-crypto-dev=1:0.0~git20211202.5770296-1 golang-golang-x-mod-dev=0.5.1-1 golang-golang-x-net-dev=1:0.0+git20211209.491a49a+dfsg-1 golang-golang-x-sync-dev=0.0~git20210220.036812b-1 golang-golang-x-sys-dev=0.0~git20211117.dee7805-1 golang-golang-x-term-dev=0.0~git20210615.6886f2d-1 golang-golang-x-text-dev=0.3.7-1 golang-golang-x-tools-dev=1:0.1.7+ds-2 golang-golang-x-xerrors-dev=0.0~git20200804.5ec99f8-1 golang-google-protobuf-dev=1.27.1-1 golang-gopkg-check.v1-dev=0.0+git20200902.038fdea-1 golang-gopkg-errgo.v1-dev=1.0.1-1 golang-gopkg-errgo.v2-dev=2.1.0-2 golang-gopkg-httprequest.v1-dev=1.2.1-1 golang-gopkg-juju-environschema.v1-dev=1.0.0-2 golang-gopkg-macaroon.v2-dev=2.1.0-2 golang-gopkg-mgo.v2-dev=2016.08.01-7 golang-gopkg-tomb.v2-dev=0.0~git20161208.d5d1b58-3 golang-gopkg-yaml.v2-dev=2.4.0-1 golang-src=2:1.17~1 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-12 libatomic1=11.2.0-12 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37-10 libblkid1=2.37.2-4 libbz2-1.0=1.0.8-5 libc-bin=2.32-5 libc-dev-bin=2.32-5 libc6=2.32-5 libc6-dev=2.32-5 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-12 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.26-1 libcrypt1=1:4.4.26-1 libctf-nobfd0=2.37-10 libctf0=2.37-10 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.5.2 libdpkg-perl=1.21.1 libelf1=0.186-1 libfile-stripnondeterminism-perl=1.12.1-1 libgcc-11-dev=11.2.0-12 libgcc-s1=11.2.0-12 libgcrypt20=1.9.4-4 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-12 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libisl23=0.24-2 libitm1=11.2.0-12 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-12 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmount1=2.37.2-4 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.4-1 libquadmath0=11.2.0-12 libsasl2-2=2.1.27+dfsg2-2 libsasl2-dev=2.1.27+dfsg2-2 libsasl2-modules-db=2.1.27+dfsg2-2 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-4 libssl1.1=1.1.1l-1 libstdc++-11-dev=11.2.0-12 libstdc++6=11.2.0-12 libsub-override-perl=0.09-2 libsystemd0=249.7-1 libtinfo6=6.3-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-12 libubsan1=11.2.0-12 libuchardet0=0.0.7-1 libudev1=249.7-1 libunistring2=0.9.10-6 libuuid1=2.37.2-4 libxml2=2.9.12+dfsg-5+b1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.5-1 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.3-1 ncurses-bin=6.3-1 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.00-1 tar=1.34+dfsg-1 util-linux=2.37.2-4 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20211212T031254Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211212T031254Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211212T085436Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d golang-gopkg-macaroon-bakery.v2=2.3.0-2 && mkdir -p /build/golang-gopkg-macaroon-bakery.v2-Todfzt && dpkg-source --no-check -x /*.dsc /build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0 && chown -R builduser:builduser /build/golang-gopkg-macaroon-bakery.v2-Todfzt" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1639085864" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-gopkg-macaroon-bakery.v2-Todfzt /tmp/golang-gopkg-macaroon-bakery.v2-2.3.0-2ug0xpsge bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20211212T085436Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.HmD5xQtH8G as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.HmD5xQtH8G Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20211212T085436Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211212T085436Z unstable/main amd64 fakeroot amd64 1.26-1 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (873 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4679 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1_amd64.deb ... Unpacking fakeroot (1.26-1) ... Setting up libfakeroot:amd64 (1.26-1) ... Setting up fakeroot (1.26-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.32-5) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20211212T031254Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211212T031254Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211212T085436Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.HmD5xQtH8G Get:1 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm InRelease [129 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20211212T085436Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources [11.7 MB] Get:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages [11.2 MB] Fetched 23.0 MB in 29s (789 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.HmD5xQtH8G I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-gopkg-macaroon-bakery.v2=2.3.0-2 && mkdir -p /build/golang-gopkg-macaroon-bakery.v2-Todfzt && dpkg-source --no-check -x /*.dsc /build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0 && chown -R builduser:builduser /build/golang-gopkg-macaroon-bakery.v2-Todfzt"' exec /tmp/mmdebstrap.HmD5xQtH8G Reading package lists... NOTICE: 'golang-gopkg-macaroon-bakery.v2' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-gopkg-macaroon-bakery.v2.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-gopkg-macaroon-bakery.v2.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 147 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main golang-gopkg-macaroon-bakery.v2 2.3.0-2 (dsc) [2747 B] Get:2 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main golang-gopkg-macaroon-bakery.v2 2.3.0-2 (tar) [141 kB] Get:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main golang-gopkg-macaroon-bakery.v2 2.3.0-2 (diff) [3644 B] Fetched 147 kB in 0s (1047 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-gopkg-macaroon-bakery.v2_2.3.0-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-gopkg-macaroon-bakery.v2 in /build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0 dpkg-source: info: unpacking golang-gopkg-macaroon-bakery.v2_2.3.0.orig.tar.gz dpkg-source: info: unpacking golang-gopkg-macaroon-bakery.v2_2.3.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 000-disable-db-tests.patch dpkg-source: info: applying 001-fix-ipv4-test.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1639085864" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.HmD5xQtH8G dpkg-buildpackage: info: source package golang-gopkg-macaroon-bakery.v2 dpkg-buildpackage: info: source version 2.3.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Mathias Gibbens dpkg-source --before-build . debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary-indep dh binary-indep --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -i -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -i -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -i -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -i -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 4 gopkg.in/macaroon-bakery.v2/bakery gopkg.in/macaroon-bakery.v2/bakery/checkers gopkg.in/macaroon-bakery.v2/bakery/dbrootkeystore gopkg.in/macaroon-bakery.v2/bakery/identchecker gopkg.in/macaroon-bakery.v2/bakery/mgorootkeystore gopkg.in/macaroon-bakery.v2/bakery/postgresrootkeystore gopkg.in/macaroon-bakery.v2/bakerytest gopkg.in/macaroon-bakery.v2/httpbakery gopkg.in/macaroon-bakery.v2/httpbakery/agent gopkg.in/macaroon-bakery.v2/httpbakery/form gopkg.in/macaroon-bakery.v2/internal/httputil internal/unsafeheader internal/goexperiment internal/abi internal/cpu runtime/internal/atomic runtime/internal/sys internal/race internal/bytealg runtime/internal/math sync/atomic unicode unicode/utf8 runtime internal/itoa crypto/internal/subtle crypto/subtle math/bits encoding unicode/utf16 math google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set golang.org/x/crypto/internal/subtle golang.org/x/crypto/salsa20/salsa internal/nettrace container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle golang.org/x/net/html/atom golang.org/x/sys/internal/unsafeheader internal/reflectlite sync internal/testlog math/rand google.golang.org/protobuf/internal/pragma errors internal/singleflight sort runtime/cgo io internal/oserror strconv bytes syscall strings reflect bufio time internal/syscall/unix path internal/syscall/execenv hash context encoding/binary io/fs internal/fmtsort internal/poll crypto/cipher encoding/base64 hash/fnv os crypto/aes regexp/syntax hash/crc32 golang.org/x/crypto/curve25519/internal/field crypto fmt google.golang.org/protobuf/internal/detrand regexp io/ioutil golang.org/x/crypto/internal/poly1305 golang.org/x/sys/cpu math/big encoding/json google.golang.org/protobuf/internal/errors go/token google.golang.org/protobuf/encoding/protowire compress/flate google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/version compress/gzip crypto/rand golang.org/x/crypto/curve25519 google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/proto github.com/rogpeppe/fastuuid golang.org/x/crypto/blake2b golang.org/x/crypto/nacl/secretbox log google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/encoding/prototext golang.org/x/crypto/nacl/box gopkg.in/errgo.v1 google.golang.org/protobuf/internal/filedesc crypto/hmac crypto/sha256 encoding/hex crypto/md5 crypto/sha1 gopkg.in/macaroon.v2 gopkg.in/mgo.v2/internal/json net/url gopkg.in/macaroon-bakery.v2/bakery/checkers google.golang.org/protobuf/internal/encoding/tag gopkg.in/mgo.v2/internal/scram vendor/golang.org/x/net/dns/dnsmessage google.golang.org/protobuf/internal/impl gopkg.in/mgo.v2/bson database/sql/driver database/sql net path/filepath text/template/parse crypto/des crypto/elliptic/internal/fiat text/template crypto/elliptic crypto/internal/randutil crypto/sha512 google.golang.org/protobuf/internal/filetype encoding/asn1 crypto/ed25519/internal/edwards25519/field gopkg.in/mgo.v2 google.golang.org/protobuf/runtime/protoimpl vendor/golang.org/x/crypto/cryptobyte crypto/ed25519/internal/edwards25519 github.com/go-macaroon-bakery/macaroonpb crypto/ed25519 gopkg.in/macaroon-bakery.v2/bakery crypto/ecdsa crypto/rc4 crypto/rsa crypto/dsa crypto/x509/pkix gopkg.in/macaroon-bakery.v2/bakery/dbrootkeystore gopkg.in/macaroon-bakery.v2/bakery/identchecker encoding/pem vendor/golang.org/x/crypto/chacha20 gopkg.in/macaroon-bakery.v2/bakery/mgorootkeystore gopkg.in/macaroon-bakery.v2/bakery/postgresrootkeystore crypto/x509 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi net/textproto vendor/golang.org/x/text/unicode/norm crypto/tls vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/secure/bidirule mime vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal mime/multipart vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy net/http/internal/ascii golang.org/x/net/html os/exec gopkg.in/macaroon-bakery.v2/internal/httputil flag github.com/juju/webbrowser net/http/httptrace net/http/internal/testcert github.com/juju/schema net/http go/scanner internal/lazyregexp gopkg.in/yaml.v2 golang.org/x/sys/unix go/ast go/doc gopkg.in/juju/environschema.v1 golang.org/x/term golang.org/x/crypto/ssh/terminal gopkg.in/juju/environschema.v1/form github.com/julienschmidt/httprouter net/http/cookiejar net/http/httptest golang.org/x/net/publicsuffix gopkg.in/httprequest.v1 gopkg.in/macaroon-bakery.v2/httpbakery gopkg.in/macaroon-bakery.v2/bakerytest gopkg.in/macaroon-bakery.v2/httpbakery/form gopkg.in/macaroon-bakery.v2/httpbakery/agent dh_auto_test -i -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 4 gopkg.in/macaroon-bakery.v2/bakery gopkg.in/macaroon-bakery.v2/bakery/checkers gopkg.in/macaroon-bakery.v2/bakery/dbrootkeystore gopkg.in/macaroon-bakery.v2/bakery/identchecker gopkg.in/macaroon-bakery.v2/bakery/mgorootkeystore gopkg.in/macaroon-bakery.v2/bakery/postgresrootkeystore gopkg.in/macaroon-bakery.v2/bakerytest gopkg.in/macaroon-bakery.v2/httpbakery gopkg.in/macaroon-bakery.v2/httpbakery/agent gopkg.in/macaroon-bakery.v2/httpbakery/form gopkg.in/macaroon-bakery.v2/internal/httputil === RUN TestV1RoundTrip --- PASS: TestV1RoundTrip (0.00s) === RUN TestV2RoundTrip --- PASS: TestV2RoundTrip (0.00s) === RUN TestV3RoundTrip codec_test.go:64: cid 03ac181f8c23af0ec1c3c4e79ad1102093fc4799cd16dbade8aa41dcb9b96b5e8307a69f3f755a37e94ceacdf1a1d5dd9a8d09367090fedd001f59c3233f6a83c6428e7cca0cff5d88c7381762b9962277698816dd96d77430f457a77693815ed591583100b78ee87ccaa01400a6ef0284442de16bacbdb6bc2c66e2 --- PASS: TestV3RoundTrip (0.00s) === RUN TestEmptyCaveatId --- PASS: TestEmptyCaveatId (0.00s) === RUN TestCaveatIdBadVersion --- PASS: TestCaveatIdBadVersion (0.00s) === RUN TestV2TooShort --- PASS: TestV2TooShort (0.00s) === RUN TestV2BadKey --- PASS: TestV2BadKey (0.00s) === RUN TestV2DecryptionError --- PASS: TestV2DecryptionError (0.00s) === RUN TestV2EmptySecretPart --- PASS: TestV2EmptySecretPart (0.00s) === RUN TestV2BadSecretPartVersion --- PASS: TestV2BadSecretPartVersion (0.00s) === RUN TestV2EmptyRootKey --- PASS: TestV2EmptyRootKey (0.00s) === RUN TestV2LongRootKey --- PASS: TestV2LongRootKey (0.42s) === RUN TestCapability --- PASS: TestCapability (0.00s) === RUN TestCapabilityMultipleEntities --- PASS: TestCapabilityMultipleEntities (0.00s) === RUN TestMultipleCapabilities --- PASS: TestMultipleCapabilities (0.00s) === RUN TestCombineCapabilities --- PASS: TestCombineCapabilities (0.00s) === RUN TestCapabilityCombinesFirstPartyCaveats --- PASS: TestCapabilityCombinesFirstPartyCaveats (0.00s) === RUN TestFirstPartyCaveatSquashing checker_test.go:153: test 0: duplicates removed checker_test.go:153: test 1: earliest time before --- PASS: TestFirstPartyCaveatSquashing (0.00s) === RUN TestAllowDirect --- PASS: TestAllowDirect (0.00s) === RUN TestAllowAlwaysAllowsNoOp --- PASS: TestAllowAlwaysAllowsNoOp (0.00s) === RUN TestAllowWithInvalidMacaroon --- PASS: TestAllowWithInvalidMacaroon (0.00s) === RUN TestAllowed --- PASS: TestAllowed (0.00s) === RUN TestAllowWithOpsAuthorizer --- PASS: TestAllowWithOpsAuthorizer (0.00s) === RUN TestAllowWithOpsAuthorizerAndNoOp --- PASS: TestAllowWithOpsAuthorizerAndNoOp (0.00s) === RUN TestOpsAuthorizerError --- PASS: TestOpsAuthorizerError (0.00s) === RUN TestOpsAuthorizerWithCaveats --- PASS: TestOpsAuthorizerWithCaveats (0.00s) === RUN TestMacaroonVerifierFatalError --- PASS: TestMacaroonVerifierFatalError (0.00s) === RUN TestSingleServiceFirstParty --- PASS: TestSingleServiceFirstParty (0.00s) === RUN TestMacaroonPaperFig6 --- PASS: TestMacaroonPaperFig6 (0.00s) === RUN TestDischargeWithVersion1Macaroon --- PASS: TestDischargeWithVersion1Macaroon (0.00s) === RUN TestVersion1MacaroonId --- PASS: TestVersion1MacaroonId (0.00s) === RUN TestMacaroonPaperFig6FailsWithoutDischarges --- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.00s) === RUN TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature --- PASS: TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature (0.00s) === RUN TestNeedDeclared --- PASS: TestNeedDeclared (0.00s) === RUN TestDischargeTwoNeedDeclared --- PASS: TestDischargeTwoNeedDeclared (0.00s) === RUN TestDischargeMacaroonCannotBeUsedAsNormalMacaroon --- PASS: TestDischargeMacaroonCannotBeUsedAsNormalMacaroon (0.00s) === RUN TestThirdPartyDischargeMacaroonIdsAreSmall --- PASS: TestThirdPartyDischargeMacaroonIdsAreSmall (0.00s) === RUN TestDischargeAllNoDischarges --- PASS: TestDischargeAllNoDischarges (0.00s) === RUN TestDischargeAllManyDischarges --- PASS: TestDischargeAllManyDischarges (0.00s) === RUN TestDischargeAllManyDischargesWithRealThirdPartyCaveats --- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (0.03s) === RUN TestDischargeAllLocalDischarge --- PASS: TestDischargeAllLocalDischarge (0.00s) === RUN TestDischargeAllLocalDischargeVersion1 --- PASS: TestDischargeAllLocalDischargeVersion1 (0.00s) === RUN TestMarshalBinary --- PASS: TestMarshalBinary (0.00s) === RUN TestMarshalText --- PASS: TestMarshalText (0.00s) === RUN TestUnmarshalTextWrongKeyLength --- PASS: TestUnmarshalTextWrongKeyLength (0.00s) === RUN TestKeyPairMarshalJSON --- PASS: TestKeyPairMarshalJSON (0.00s) === RUN TestKeyPairMarshalYAML --- PASS: TestKeyPairMarshalYAML (0.00s) === RUN TestKeyPairUnmarshalJSONMissingPublicKey --- PASS: TestKeyPairUnmarshalJSONMissingPublicKey (0.00s) === RUN TestKeyPairUnmarshalJSONMissingPrivateKey --- PASS: TestKeyPairUnmarshalJSONMissingPrivateKey (0.00s) === RUN TestKeyPairUnmarshalJSONEmptyKeys --- PASS: TestKeyPairUnmarshalJSONEmptyKeys (0.00s) === RUN TestKeyPairUnmarshalJSONNoKeys --- PASS: TestKeyPairUnmarshalJSONNoKeys (0.00s) === RUN TestKeyPairUnmarshalYAMLMissingPublicKey --- PASS: TestKeyPairUnmarshalYAMLMissingPublicKey (0.00s) === RUN TestKeyPairUnmarshalYAMLMissingPrivateKey --- PASS: TestKeyPairUnmarshalYAMLMissingPrivateKey (0.00s) === RUN TestDerivePublicFromPrivate --- PASS: TestDerivePublicFromPrivate (0.00s) === RUN TestNewMacaroon --- PASS: TestNewMacaroon (0.00s) === RUN TestAddFirstPartyCaveat --- PASS: TestAddFirstPartyCaveat (0.00s) === RUN TestAddThirdPartyCaveat macaroon_test.go:84: test 0: no existing id macaroon_test.go:84: test 1: several existing ids macaroon_test.go:84: test 2: with base id macaroon_test.go:84: test 3: with base id and existing id --- PASS: TestAddThirdPartyCaveat (0.00s) === RUN TestMarshalJSONLatestVersion --- PASS: TestMarshalJSONLatestVersion (0.00s) === RUN TestMarshalJSONVersion1 --- PASS: TestMarshalJSONVersion1 (0.00s) === RUN TestMarshalJSONVersion2 --- PASS: TestMarshalJSONVersion2 (0.00s) === RUN TestUnmarshalJSONUnknownVersion --- PASS: TestUnmarshalJSONUnknownVersion (0.00s) === RUN TestUnmarshalJSONInconsistentVersion --- PASS: TestUnmarshalJSONInconsistentVersion (0.00s) === RUN TestClone --- PASS: TestClone (0.00s) === RUN TestUnmarshalBadData --- PASS: TestUnmarshalBadData (0.00s) === RUN TestCanonicalOps oven_test.go:43: test 0: empty slice oven_test.go:43: test 1: one element oven_test.go:43: test 2: all in order oven_test.go:43: test 3: out of order oven_test.go:43: test 4: with duplicates oven_test.go:43: test 5: make sure we've got the fields right --- PASS: TestCanonicalOps (0.00s) === RUN TestMultipleOps --- PASS: TestMultipleOps (0.00s) === RUN TestMultipleOpsInId --- PASS: TestMultipleOpsInId (0.00s) === RUN TestMultipleOpsInIdWithVersion1 --- PASS: TestMultipleOpsInIdWithVersion1 (0.00s) === RUN TestAddMoreCaveats --- PASS: TestAddMoreCaveats (0.00s) === RUN TestPurge --- PASS: TestPurge (0.00s) === RUN TestDischargeAllAcquiresManyMacaroonsAsPossible --- PASS: TestDischargeAllAcquiresManyMacaroonsAsPossible (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok gopkg.in/macaroon-bakery.v2/bakery 0.518s === RUN TestCheckers checkers_test.go:177: test 0: nothing in context, no extra checkers checkers_test.go:183: check 0 checkers_test.go:183: check 1 checkers_test.go:183: check 2 checkers_test.go:177: test 1: one failed caveat checkers_test.go:183: check 0 checkers_test.go:183: check 1 checkers_test.go:183: check 2 checkers_test.go:177: test 2: time from clock checkers_test.go:183: check 0 checkers_test.go:183: check 1 checkers_test.go:183: check 2 checkers_test.go:183: check 3 checkers_test.go:183: check 4 checkers_test.go:177: test 3: real time checkers_test.go:183: check 0 checkers_test.go:183: check 1 checkers_test.go:177: test 4: declared, no entries checkers_test.go:183: check 0 checkers_test.go:183: check 1 checkers_test.go:177: test 5: declared, some entries checkers_test.go:183: check 0 checkers_test.go:183: check 1 checkers_test.go:183: check 2 checkers_test.go:183: check 3 checkers_test.go:183: check 4 checkers_test.go:183: check 5 checkers_test.go:183: check 6 checkers_test.go:183: check 7 checkers_test.go:177: test 6: error caveat checkers_test.go:183: check 0 checkers_test.go:183: check 1 --- PASS: TestCheckers (0.02s) === RUN TestInferDeclared checkers_test.go:335: test 0: no macaroons checkers_test.go:335: test 1: single macaroon with one declaration checkers_test.go:335: test 2: only one argument to declared checkers_test.go:335: test 3: spaces in value checkers_test.go:335: test 4: attribute with declared prefix checkers_test.go:335: test 5: several macaroons with different declares checkers_test.go:335: test 6: duplicate values checkers_test.go:335: test 7: conflicting values checkers_test.go:335: test 8: third party caveats ignored checkers_test.go:335: test 9: unparseable caveats ignored checkers_test.go:335: test 10: infer with namespace --- PASS: TestInferDeclared (0.00s) === RUN TestRegisterNilFuncPanics --- PASS: TestRegisterNilFuncPanics (0.00s) === RUN TestRegisterNoRegisteredNamespace --- PASS: TestRegisterNoRegisteredNamespace (0.00s) === RUN TestRegisterEmptyPrefixConditionWithColon --- PASS: TestRegisterEmptyPrefixConditionWithColon (0.00s) === RUN TestRegisterTwiceSameNamespace --- PASS: TestRegisterTwiceSameNamespace (0.00s) === RUN TestRegisterTwiceDifferentNamespace --- PASS: TestRegisterTwiceDifferentNamespace (0.00s) === RUN TestCheckerInfo --- PASS: TestCheckerInfo (0.00s) === RUN TestResolve namespace_test.go:41: test 0: successful resolve namespace_test.go:41: test 1: unsuccessful resolve namespace_test.go:41: test 2: several of the same prefix namespace_test.go:41: test 3: resolve with nil Namespace --- PASS: TestResolve (0.00s) === RUN TestRegister --- PASS: TestRegister (0.00s) === RUN TestEqual namespace_test.go:103: test 0: both nil namespace_test.go:103: test 1: ns1 nil namespace_test.go:103: test 2: ns2 nil namespace_test.go:103: test 3: different lengths namespace_test.go:103: test 4: all same namespace_test.go:103: test 5: different contents --- PASS: TestEqual (0.00s) === RUN TestRegisterBadURI --- PASS: TestRegisterBadURI (0.00s) === RUN TestRegisterBadPrefix --- PASS: TestRegisterBadPrefix (0.00s) === RUN TestResolveCaveatWithNamespace namespace_test.go:175: test 0: no namespace namespace_test.go:175: test 1: with registered namespace namespace_test.go:175: test 2: with unregistered namespace namespace_test.go:175: test 3: with empty prefix --- PASS: TestResolveCaveatWithNamespace (0.00s) === RUN TestMarshal namespace_test.go:214: test 0: empty namespace namespace_test.go:214: test 1: standard namespace namespace_test.go:214: test 2: several elements namespace_test.go:214: test 3: sort by URI not by field --- PASS: TestMarshal (0.00s) === RUN TestUnmarshal namespace_test.go:268: test 0: empty text namespace_test.go:268: test 1: fields with extra space namespace_test.go:268: test 2: field without colon namespace_test.go:268: test 3: invalid URI namespace_test.go:268: test 4: empty URI namespace_test.go:268: test 5: invalid prefix namespace_test.go:268: test 6: duplicate URI --- PASS: TestUnmarshal (0.00s) === RUN TestMarshalNil --- PASS: TestMarshalNil (0.00s) === RUN TestValid --- PASS: TestValid (0.00s) === RUN TestExpireTime time_test.go:78: 0. nil caveats time_test.go:78: 1. empty caveats time_test.go:78: 2. single time-before caveat time_test.go:78: 3. multiple time-before caveat time_test.go:78: 4. mixed caveats time_test.go:78: 5. invalid time-before caveat --- PASS: TestExpireTime (0.00s) === RUN TestMacaroonsExpireTime time_test.go:144: 0. nil macaroons time_test.go:144: 1. empty macaroons time_test.go:144: 2. single macaroon without caveats time_test.go:144: 3. multiple macaroon without caveats time_test.go:144: 4. single macaroon with time-before caveat time_test.go:144: 5. single macaroon with multiple time-before caveats time_test.go:144: 6. multiple macaroons with multiple time-before caveats --- PASS: TestMacaroonsExpireTime (0.00s) PASS ok gopkg.in/macaroon-bakery.v2/bakery/checkers 0.037s === RUN TestIsValidWithPolicy rootkey_test.go:93: test 0: success rootkey_test.go:93: test 1: empty root key rootkey_test.go:93: test 2: created too early rootkey_test.go:93: test 3: expires too early rootkey_test.go:93: test 4: expires too late --- PASS: TestIsValidWithPolicy (0.00s) === RUN TestRootKeyUsesKeysValidWithPolicy rootkey_test.go:103: test 0: success rootkey_test.go:103: test 1: empty root key rootkey_test.go:106: skipping test with empty root key rootkey_test.go:103: test 2: created too early rootkey_test.go:103: test 3: expires too early rootkey_test.go:103: test 4: expires too late --- PASS: TestRootKeyUsesKeysValidWithPolicy (0.00s) === RUN TestRootKey --- PASS: TestRootKey (0.00s) === RUN TestRootKeyDefaultGenerateInterval --- PASS: TestRootKeyDefaultGenerateInterval (0.00s) === RUN TestPreferredRootKeyFromDatabase rootkey_test.go:258: 0: latest creation time is preferred rootkey_test.go:258: 1: ineligible keys are exluded --- PASS: TestPreferredRootKeyFromDatabase (0.00s) === RUN TestPreferredRootKeyFromCache rootkey_test.go:270: 0: latest creation time is preferred rootkey_test.go:270: 1: ineligible keys are exluded --- PASS: TestPreferredRootKeyFromCache (0.00s) === RUN TestGet rootkey_test.go:340: testing cache --- PASS: TestGet (0.00s) === RUN TestGetCachesMisses --- PASS: TestGetCachesMisses (0.00s) === RUN TestGetExpiredItemFromCache --- PASS: TestGetExpiredItemFromCache (0.00s) === RUN TestContextBackingTakesPrecedence --- PASS: TestContextBackingTakesPrecedence (0.00s) PASS ok gopkg.in/macaroon-bakery.v2/bakery/dbrootkeystore 0.025s === RUN TestAuthorizerFunc --- PASS: TestAuthorizerFunc (0.00s) === RUN TestACLAuthorizer authorizer_test.go:154: test 0: no ops, no problem authorizer_test.go:154: test 1: identity that does not implement ACLIdentity; user should be denied except for everyone group authorizer_test.go:154: test 2: identity that does not implement ACLIdentity with user == Id; user should be denied except for everyone group authorizer_test.go:154: test 3: permission denied for everyone without allow-public authorizer_test.go:154: test 4: permission granted to anyone with no identity with allow-public authorizer_test.go:154: test 5: error return causes all authorization to fail --- PASS: TestACLAuthorizer (0.00s) === RUN TestAuthorizeWithOpenAccessAndNoMacaroons --- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.00s) === RUN TestAuthorizationDenied --- PASS: TestAuthorizationDenied (0.00s) === RUN TestAuthorizeWithAuthenticationRequired --- PASS: TestAuthorizeWithAuthenticationRequired (0.00s) === RUN TestAuthorizeMultipleOps --- PASS: TestAuthorizeMultipleOps (0.00s) === RUN TestCapability --- PASS: TestCapability (0.00s) === RUN TestCapabilityMultipleEntities --- PASS: TestCapabilityMultipleEntities (0.00s) === RUN TestMultipleCapabilities --- PASS: TestMultipleCapabilities (0.00s) === RUN TestCombineCapabilities --- PASS: TestCombineCapabilities (0.00s) === RUN TestPartiallyAuthorizedRequest --- PASS: TestPartiallyAuthorizedRequest (0.00s) === RUN TestAuthWithThirdPartyCaveats --- PASS: TestAuthWithThirdPartyCaveats (0.00s) === RUN TestCapabilityCombinesFirstPartyCaveats --- PASS: TestCapabilityCombinesFirstPartyCaveats (0.00s) === RUN TestLoginOnly --- PASS: TestLoginOnly (0.00s) === RUN TestAuthWithIdentityFromContext --- PASS: TestAuthWithIdentityFromContext (0.00s) === RUN TestAuthLoginOpWithIdentityFromContext --- PASS: TestAuthLoginOpWithIdentityFromContext (0.00s) === RUN TestAllowWithOpsAuthorizer --- PASS: TestAllowWithOpsAuthorizer (0.00s) === RUN TestDuplicateLoginMacaroons --- PASS: TestDuplicateLoginMacaroons (0.00s) === RUN TestMacaroonOpsFatalError --- PASS: TestMacaroonOpsFatalError (0.00s) PASS ok gopkg.in/macaroon-bakery.v2/bakery/identchecker 0.040s testing: warning: no tests to run PASS ok gopkg.in/macaroon-bakery.v2/bakery/mgorootkeystore 0.016s [no tests to run] testing: warning: no tests to run PASS ok gopkg.in/macaroon-bakery.v2/bakery/postgresrootkeystore 0.013s [no tests to run] === RUN TestDischargerSimple --- PASS: TestDischargerSimple (0.01s) === RUN TestDischargerTwoLevels --- PASS: TestDischargerTwoLevels (0.02s) === RUN TestInsecureSkipVerifyRestoration --- PASS: TestInsecureSkipVerifyRestoration (0.00s) === RUN TestConcurrentDischargers --- PASS: TestConcurrentDischargers (0.00s) === RUN TestWithGlobalAllowInsecure --- PASS: TestWithGlobalAllowInsecure (0.00s) === RUN TestInteractiveDischarger --- PASS: TestInteractiveDischarger (0.01s) === RUN TestLoginDischargerError --- PASS: TestLoginDischargerError (0.01s) === RUN TestInteractiveDischargerRedirection --- PASS: TestInteractiveDischargerRedirection (0.01s) PASS ok gopkg.in/macaroon-bakery.v2/bakerytest 0.083s === RUN TestCheckers checkers_test.go:157: test 0: no host name declared checkers_test.go:160: check 0 checkers_test.go:160: check 1 checkers_test.go:160: check 2 checkers_test.go:157: test 1: IPv4 host name declared checkers_test.go:160: check 0 checkers_test.go:160: check 1 checkers_test.go:160: check 2 checkers_test.go:160: check 3 checkers_test.go:160: check 4 checkers_test.go:157: test 2: IPv6 host name declared checkers_test.go:160: check 0 checkers_test.go:160: check 1 checkers_test.go:160: check 2 checkers_test.go:160: check 3 checkers_test.go:157: test 3: same client address, ipv4 request address checkers_test.go:160: check 0 checkers_test.go:160: check 1 checkers_test.go:160: check 2 checkers_test.go:160: check 3 checkers_test.go:160: check 4 checkers_test.go:160: check 5 checkers_test.go:160: check 6 checkers_test.go:157: test 4: same client address, ipv6 request address checkers_test.go:160: check 0 checkers_test.go:160: check 1 checkers_test.go:157: test 5: request with no origin checkers_test.go:160: check 0 checkers_test.go:160: check 1 checkers_test.go:157: test 6: request with origin checkers_test.go:160: check 0 checkers_test.go:160: check 1 --- PASS: TestCheckers (0.00s) === RUN TestSingleServiceFirstParty --- PASS: TestSingleServiceFirstParty (0.00s) === RUN TestSingleServiceFirstPartyWithHeader --- PASS: TestSingleServiceFirstPartyWithHeader (0.00s) === RUN TestRepeatedRequestWithBody --- PASS: TestRepeatedRequestWithBody (0.01s) === RUN TestWithLargeBody --- PASS: TestWithLargeBody (6.79s) === RUN TestDischargeServerWithBinaryCaveatId --- PASS: TestDischargeServerWithBinaryCaveatId (0.01s) === RUN TestDischargeServerWithStringCaveatId --- PASS: TestDischargeServerWithStringCaveatId (0.01s) === RUN TestDoClosesBody --- PASS: TestDoClosesBody (30.03s) === RUN TestWithNonSeekableBody --- PASS: TestWithNonSeekableBody (0.00s) === RUN TestWithNonSeekableCloserBody --- PASS: TestWithNonSeekableCloserBody (0.00s) === RUN TestDischargeServerWithMacaraqOnDischarge client_test.go:334: returning discharge required error --- PASS: TestDischargeServerWithMacaraqOnDischarge (0.01s) === RUN TestTwoDischargesRequired --- PASS: TestTwoDischargesRequired (0.01s) === RUN TestTooManyDischargesRequired --- PASS: TestTooManyDischargesRequired (0.01s) === RUN TestVersion0Generates407Status --- PASS: TestVersion0Generates407Status (0.00s) === RUN TestVersion1Generates401Status --- PASS: TestVersion1Generates401Status (0.00s) === RUN TestMacaroonCookieName --- PASS: TestMacaroonCookieName (0.01s) === RUN TestMacaroonCookiePath client_test.go:622: - cookie path "" client_test.go:632: - cookie path "/foo/" client_test.go:641: - cookie path "/foo" client_test.go:651: - cookie path "../" client_test.go:661: - cookie path "../bar" client_test.go:674: - cookie path "/" --- PASS: TestMacaroonCookiePath (0.01s) === RUN TestThirdPartyDischargeRefused --- PASS: TestThirdPartyDischargeRefused (0.01s) === RUN TestDischargeWithInteractionRequiredError --- PASS: TestDischargeWithInteractionRequiredError (0.01s) === RUN TestInteractionRequiredMethods client_test.go:917: test 0: single method client_test.go:932: added interactor "test-interactor" client_test.go:917: test 1: two methods, first one not used client_test.go:932: added interactor "other-interactor" client_test.go:932: added interactor "test-interactor" client_test.go:917: test 2: two methods, first one takes precedence client_test.go:932: added interactor "other-interactor" client_test.go:932: added interactor "test-interactor" client_test.go:917: test 3: two methods, first one takes precedence client_test.go:932: added interactor "test-interactor" client_test.go:932: added interactor "other-interactor" client_test.go:917: test 4: two methods, first one returns ErrInteractionMethodNotFound client_test.go:932: added interactor "test-interactor" client_test.go:932: added interactor "other-interactor" client_test.go:917: test 5: interactor returns error client_test.go:932: added interactor "test-interactor" client_test.go:932: added interactor "other-interactor" client_test.go:917: test 6: no supported methods client_test.go:932: added interactor "c-interactor" client_test.go:932: added interactor "d-interactor" client_test.go:917: test 7: interactor returns nil token client_test.go:932: added interactor "test-interactor" client_test.go:917: test 8: no interaction methods --- PASS: TestInteractionRequiredMethods (0.03s) === RUN TestDischargeWithVisitURLError client_test.go:1012: test 0: error message client_test.go:1012: test 1: non-JSON error --- PASS: TestDischargeWithVisitURLError (0.01s) === RUN TestMacaroonsForURL --- PASS: TestMacaroonsForURL (0.00s) === RUN TestDoWithCustomError --- PASS: TestDoWithCustomError (0.01s) === RUN TestHandleError --- PASS: TestHandleError (0.01s) === RUN TestNewClientOldServer --- PASS: TestNewClientOldServer (0.01s) === RUN TestHandleErrorDifferentError --- PASS: TestHandleErrorDifferentError (0.00s) === RUN TestNewCookieExpiresLongExpiryTime --- PASS: TestNewCookieExpiresLongExpiryTime (0.00s) === RUN TestNewCookieExpiresAlreadyExpired --- PASS: TestNewCookieExpiresAlreadyExpired (0.00s) === RUN TestNewCookieExpiresNoTimeBeforeCaveat --- PASS: TestNewCookieExpiresNoTimeBeforeCaveat (0.00s) === RUN TestWriteDischargeRequiredError error_test.go:96: test 0: write discharge required with "an error" but no path error_test.go:96: test 1: write discharge required with "an error" but and set a path error_test.go:96: test 2: write discharge required with nil error but set a path error_test.go:96: test 3: empty cookie path error_test.go:96: test 4: specified cookie name suffix --- PASS: TestWriteDischargeRequiredError (0.00s) === RUN TestNewInteractionRequiredError --- PASS: TestNewInteractionRequiredError (0.00s) === RUN TestSetInteraction --- PASS: TestSetInteraction (0.00s) === RUN TestInteractionMethod error_test.go:258: test 0: no info error_test.go:258: test 1: not interaction-required code error_test.go:258: test 2: interaction method not found error_test.go:258: test 3: cannot unmarshal error_test.go:258: test 4: success --- PASS: TestInteractionMethod (0.00s) === RUN TestCachePrepopulated --- PASS: TestCachePrepopulated (0.00s) === RUN TestCachePrepopulatedInsecure --- PASS: TestCachePrepopulatedInsecure (0.00s) === RUN TestCacheMiss --- PASS: TestCacheMiss (0.00s) === RUN TestInsecureURL --- PASS: TestInsecureURL (0.01s) === RUN TestConcurrentThirdPartyInfo --- PASS: TestConcurrentThirdPartyInfo (0.00s) === RUN TestCustomHTTPClient --- PASS: TestCustomHTTPClient (0.00s) === RUN TestThirdPartyInfoForLocation --- PASS: TestThirdPartyInfoForLocation (0.01s) === RUN TestThirdPartyInfoForLocationWrongURL keyring_test.go:158: [{/build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0/_build/src/gopkg.in/macaroon-bakery.v2/httpbakery/keyring.go:102: } {/build/golang-gopkg-macaroon-bakery.v2-Todfzt/golang-gopkg-macaroon-bakery.v2-2.3.0/_build/src/gopkg.in/httprequest.v1/client.go:147: } {Get "http://localhost:0/discharge/info": dial tcp 127.0.0.1:0: connect: connection refused}] --- PASS: TestThirdPartyInfoForLocationWrongURL (0.00s) === RUN TestThirdPartyInfoForLocationReturnsInvalidJSON --- PASS: TestThirdPartyInfoForLocationReturnsInvalidJSON (0.00s) === RUN TestThirdPartyInfoForLocationReturnsStatusInternalServerError --- PASS: TestThirdPartyInfoForLocationReturnsStatusInternalServerError (0.00s) === RUN TestThirdPartyInfoForLocationFallbackToOldVersion --- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.01s) === RUN TestOvenWithAuthnMacaroon --- PASS: TestOvenWithAuthnMacaroon (0.01s) === RUN TestOvenWithAuthzMacaroon oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiTElDX2FheW16MU50dTJfV3hRdlNEVTdLbTlGZ0NVR1FNeTZxN0RncHJkTjJUYWl1RGNZUXVKRlRGLW9oUUxnal81R2x4LTNiY2lPTG9SWjkzbU5mTWJ3MkdvUGVmM2pqIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQ2MTU3In0seyJpIjoidGltZS1iZWZvcmUgMjAyMS0xMi0xNVQxMzowOToyOC40MjQ1NTkyMzNaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FkT19KcktvRVJFMHpZem4zVm5qbWFSSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6IjZoZGVGZXpJeTNjcUJjR2x3SXRQeDRkMGFsSVFZVmN3QVRaNFNZcGY3SzgifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6ImNxbWhjX2FYMDBMTVJDQy1JY2NrSTRWd3dqUkplUXQ1VmxGSHJRYlJtbGsifV0=" oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiUUVTZmpvREdhOEQycXpkc2thc19wd3RqZEhpZnlGTkdVVF83UEZtSml0cnlZX25JRGZNbmFVNlFhODlOaDJubTVIeHk3YzRZNjdxYzNCbDA5ZDg1WmQ5WFVndjIxZDVpIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM4ODE5In0seyJpIjoidGltZS1iZWZvcmUgMjAyMS0xMi0xNVQxNDowNDoyOC40MzAxOTg3NDdaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FkdV9KcktvRVJFMHpZem4zVm5qbWFSSUJNQm9SQ2dsemIyMWxkR2hwYm1jU0JISmxZV1EiLCJzNjQiOiJ3OWt5NTcyc0NtcDVFalgxc2VnMlQ4bU9BdTBOU1lZR3FvYWhIWk9rUzJ3In0seyJpNjQiOiJBd0EiLCJzNjQiOiJtUmpNNmxSeWkwLXNwclBKTTZYQlNXalh5c05GNlpGLUxFSGpyYWRseEhVIn1d" --- PASS: TestOvenWithAuthzMacaroon (0.02s) === RUN TestLegacyGetInteractionMethodsGetFailure --- PASS: TestLegacyGetInteractionMethodsGetFailure (0.00s) === RUN TestLegacyGetInteractionMethodsSuccess --- PASS: TestLegacyGetInteractionMethodsSuccess (0.00s) === RUN TestLegacyGetInteractionMethodsInvalidURL --- PASS: TestLegacyGetInteractionMethodsInvalidURL (0.00s) PASS ok gopkg.in/macaroon-bakery.v2/httpbakery 37.091s === RUN TestSetUpAuth agent_test.go:50: with token request: /discharge?caveat64=A2uiQ-O3P5FvTJYntt64PofNK-aPMeZUIERvkDGSD88imA7gJA3cA8R9ytvIJCsvOql0-dROtZplOUMpBbQbFhc9vB2yUmGjMOemIWe9VkzXBGeKGwVHiJV8bgQ0Cgt7GKW7rMOATjRdphB7jgejS4CCSfdA544joeVhWFOqHCgYABU&id64=AwA&token-kind=agent&token64=AgImAwoQDNwDxH3K28gkKy86qXT51BIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESD5oVjTN27S8Ld1fZnJ9-aa5TGPWA9AdnduPFaGmj1I2X5BfDr92JKAq_LHHBOnJqecr4o-PPhhTrqPXpKzDIt3n2ywe6xtoCgAABiAriPDxlH1VWpQ41Y80T0u4XFWWOgfhA2qNEIhQo2bl7wICAgMAAAAGIOsGII1Z1nEoQFWE05-6y_ukEnTkoa6GRb8xmWlH08LJ --- PASS: TestSetUpAuth (0.01s) === RUN TestAuthInfoFromEnvironment --- PASS: TestAuthInfoFromEnvironment (0.00s) === RUN TestAuthInfoFromEnvironmentNotSet --- PASS: TestAuthInfoFromEnvironmentNotSet (0.00s) === RUN TestLoginCookie cookie_test.go:71: test 0: success cookie_test.go:71: test 1: no cookie cookie_test.go:71: test 2: invalid base64 encoding cookie_test.go:71: test 3: invalid JSON cookie_test.go:71: test 4: no username cookie_test.go:71: test 5: no public key --- PASS: TestLoginCookie (0.00s) === RUN TestAgentLoginError === RUN TestAgentLoginError/error_response === RUN TestAgentLoginError/unexpected_response === RUN TestAgentLoginError/unexpected_error_response === RUN TestAgentLoginError/login_false_value --- PASS: TestAgentLoginError (0.04s) --- PASS: TestAgentLoginError/error_response (0.01s) --- PASS: TestAgentLoginError/unexpected_response (0.01s) --- PASS: TestAgentLoginError/unexpected_error_response (0.01s) --- PASS: TestAgentLoginError/login_false_value (0.01s) === RUN TestLegacySetUpAuth --- PASS: TestLegacySetUpAuth (0.01s) === RUN TestLegacyNoMatchingSite --- PASS: TestLegacyNoMatchingSite (0.01s) PASS ok gopkg.in/macaroon-bakery.v2/httpbakery/agent 0.091s === RUN TestFormLogin form_test.go:133: test 0: complete visit form_test.go:133: test 1: error getting schema form_test.go:133: test 2: form visit method not supported form_test.go:133: test 3: error submitting form form_test.go:133: test 4: no schema form_test.go:133: test 5: filler error form_test.go:133: test 6: invalid token returned from form submission --- PASS: TestFormLogin (0.03s) === RUN TestFormTitle form_test.go:209: test 0: xyz.com form_test.go:216: match xyz.com; replace with https://127.0.0.1:38813 form_test.go:209: test 1: abc.xyz.com form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:38813 form_test.go:209: test 2: com form_test.go:216: match com; replace with https://127.0.0.1:38813 --- PASS: TestFormTitle (0.02s) PASS ok gopkg.in/macaroon-bakery.v2/httpbakery/form 0.071s === RUN TestRelativeURL relativeurl_test.go:131: test 0: "" "" relativeurl_test.go:131: test 1: "/foo" "" relativeurl_test.go:131: test 2: "foo" "" relativeurl_test.go:131: test 3: "/foo" "foo" relativeurl_test.go:131: test 4: "/foo" "/bar" relativeurl_test.go:131: test 5: "/foo/" "/bar" relativeurl_test.go:131: test 6: "/bar" "/foo/" relativeurl_test.go:131: test 7: "/foo/" "/bar/" relativeurl_test.go:131: test 8: "/foo/bar" "/bar/" relativeurl_test.go:131: test 9: "/foo/bar/" "/bar/" relativeurl_test.go:131: test 10: "/foo/bar/baz" "/foo/targ" relativeurl_test.go:131: test 11: "/foo/bar/baz/frob" "/foo/bar/one/two/" relativeurl_test.go:131: test 12: "/foo/bar/baz/" "/foo/targ" relativeurl_test.go:131: test 13: "/foo/bar/baz/frob/" "/foo/bar/one/two/" relativeurl_test.go:131: test 14: "/foo/bar" "/foot/bar" relativeurl_test.go:131: test 15: "/foo/bar/baz/frob" "/foo/bar" relativeurl_test.go:131: test 16: "/foo/bar/baz/frob/" "/foo/bar" relativeurl_test.go:131: test 17: "/foo/bar/baz/frob/" "/foo/bar/" relativeurl_test.go:131: test 18: "/foo/bar/baz" "/foo/bar/other" relativeurl_test.go:131: test 19: "/foo/bar/" "/foo/bar/" relativeurl_test.go:131: test 20: "/foo/bar" "/foo/bar" relativeurl_test.go:131: test 21: "/foo/bar/" "/foo/bar/" relativeurl_test.go:131: test 22: "/foo/bar" "/foo/" relativeurl_test.go:131: test 23: "/foo" "/" relativeurl_test.go:131: test 24: "/foo/" "/" relativeurl_test.go:131: test 25: "/foo/bar" "/" relativeurl_test.go:131: test 26: "/foo/bar/" "/" --- PASS: TestRelativeURL (0.00s) PASS ok gopkg.in/macaroon-bakery.v2/internal/httputil 0.019s create-stamp debian/debhelper-build-stamp dh_testroot -i -O--builddirectory=_build -O--buildsystem=golang dh_prep -i -O--builddirectory=_build -O--buildsystem=golang dh_auto_install --destdir=debian/golang-gopkg-macaroon-bakery.v2-dev/ -i -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -i -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -i -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -i -O--builddirectory=_build -O--buildsystem=golang dh_perl -i -O--builddirectory=_build -O--buildsystem=golang dh_link -i -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -i -O--builddirectory=_build -O--buildsystem=golang dh_compress -i -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -i -O--builddirectory=_build -O--buildsystem=golang dh_missing -i -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -i -O--builddirectory=_build -O--buildsystem=golang dh_golang -i -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -i -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -i -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -i -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-gopkg-macaroon-bakery.v2-dev' in '../golang-gopkg-macaroon-bakery.v2-dev_2.3.0-2_all.deb'. dpkg-genbuildinfo --build=all -O../golang-gopkg-macaroon-bakery.v2_2.3.0-2_all.buildinfo dpkg-genchanges --build=all -O../golang-gopkg-macaroon-bakery.v2_2.3.0-2_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/golang-gopkg-macaroon-bakery.v2-Todfzt /tmp/golang-gopkg-macaroon-bakery.v2-2.3.0-2ug0xpsge I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.HmD5xQtH8G... I: success in 3190.7093 seconds md5: golang-gopkg-macaroon-bakery.v2-dev_2.3.0-2_all.deb: OK sha1: golang-gopkg-macaroon-bakery.v2-dev_2.3.0-2_all.deb: OK sha256: golang-gopkg-macaroon-bakery.v2-dev_2.3.0-2_all.deb: OK Checksums: OK