Diff of the two buildlogs: -- --- b1/build.log 2024-05-09 11:04:28.409612848 +0000 +++ b2/build.log 2024-05-09 11:08:06.100350484 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 8 22:56:27 -12 2024 -I: pbuilder-time-stamp: 1715252187 +I: Current time: Fri May 10 01:04:38 +14 2024 +I: pbuilder-time-stamp: 1715252678 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 003-fixup-mgo-import.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11191/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 9 11:04 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='25eedddf2b874c1ea600bc6bb75a283d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='11191' - PS1='# ' - PS2='> ' + INVOCATION_ID=9c9b16d5b957479f97d86991d685d306 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1522 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.s7DjgnQQ/pbuilderrc_mZiE --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.s7DjgnQQ/b1 --logfile b1/build.log golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.s7DjgnQQ/pbuilderrc_ed5l --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.s7DjgnQQ/b2 --logfile b2/build.log golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 6 11:27 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11191/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 7 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -216,7 +248,7 @@ Get: 69 http://deb.debian.org/debian trixie/main armhf golang-gopkg-yaml.v2-dev all 2.4.0-4 [61.5 kB] Get: 70 http://deb.debian.org/debian trixie/main armhf golang-gopkg-juju-environschema.v1-dev all 1.0.2-1 [16.9 kB] Get: 71 http://deb.debian.org/debian trixie/main armhf golang-gopkg-macaroon.v2-dev all 2.1.0-3 [22.9 kB] -Fetched 71.7 MB in 2s (33.8 MB/s) +Fetched 71.7 MB in 2s (45.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19445 files and directories currently installed.) @@ -515,7 +547,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1_source.changes +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1_source.changes dpkg-buildpackage: info: source package golang-github-go-macaroon-bakery-macaroon-bakery dpkg-buildpackage: info: source version 3.0.1-1 dpkg-buildpackage: info: source distribution unstable @@ -533,36 +569,37 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 5 github.com/go-macaroon-bakery/macaroon-bakery/bakery github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakerytest github.com/go-macaroon-bakery/macaroon-bakery/httpbakery github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil -internal/coverage/rtcov -internal/godebugs + cd _build && go install -trimpath -v -p 4 github.com/go-macaroon-bakery/macaroon-bakery/bakery github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakerytest github.com/go-macaroon-bakery/macaroon-bakery/httpbakery github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil internal/goarch internal/unsafeheader +internal/coverage/rtcov internal/cpu -internal/goexperiment +internal/godebugs internal/abi internal/chacha8rand +internal/goexperiment internal/goos +internal/bytealg +runtime/internal/atomic runtime/internal/math runtime/internal/sys runtime/internal/syscall -internal/bytealg -runtime/internal/atomic internal/race sync/atomic unicode unicode/utf8 internal/itoa -crypto/internal/alias math/bits +crypto/internal/alias crypto/internal/boring/sig cmp +math +slices encoding unicode/utf16 +runtime log/internal golang.org/x/crypto/internal/alias -slices -math golang.org/x/crypto/salsa20/salsa google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set @@ -571,193 +608,192 @@ vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias golang.org/x/net/html/atom -runtime -crypto/subtle internal/reflectlite +crypto/subtle sync internal/testlog +internal/bisect google.golang.org/protobuf/internal/pragma internal/singleflight -internal/bisect runtime/cgo -internal/godebug errors +internal/godebug sort -internal/oserror io -strconv +internal/oserror syscall -internal/safefilepath -path bytes hash +strconv crypto/internal/randutil +internal/safefilepath +path math/rand -strings crypto reflect +strings hash/fnv -hash/crc32 -crypto/internal/nistec/fiat -bufio -vendor/golang.org/x/net/dns/dnsmessage time internal/syscall/unix internal/syscall/execenv -internal/intern -crypto/rc4 -net/netip -github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil -vendor/golang.org/x/text/transform -net/http/internal/ascii -net/http/internal/testcert -regexp/syntax +bufio +hash/crc32 +crypto/internal/nistec/fiat context internal/poll io/fs encoding/binary internal/fmtsort -embed -crypto/cipher -encoding/base64 os -golang.org/x/crypto/internal/poly1305 +embed google.golang.org/protobuf/internal/editiondefaults -crypto/internal/edwards25519/field -golang.org/x/crypto/nacl/secretbox -crypto/internal/nistec -golang.org/x/crypto/blake2b +vendor/golang.org/x/net/dns/dnsmessage +crypto/cipher crypto/internal/boring -crypto/md5 +encoding/base64 crypto/hmac crypto/sha256 -crypto/sha1 -crypto/aes -crypto/des -crypto/sha512 -encoding/pem -crypto/internal/edwards25519 -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/crypto/chacha20poly1305 -regexp fmt +golang.org/x/crypto/internal/poly1305 google.golang.org/protobuf/internal/detrand +golang.org/x/crypto/nacl/secretbox io/ioutil -crypto/ecdh -net +crypto/internal/edwards25519/field +golang.org/x/crypto/blake2b +crypto/internal/nistec +crypto/md5 +crypto/sha1 +internal/intern path/filepath -golang.org/x/crypto/curve25519 -golang.org/x/sys/unix -internal/lazyregexp -os/exec -encoding/json +net/netip math/big +encoding/json log -gopkg.in/errgo.v1 encoding/hex +gopkg.in/errgo.v1 google.golang.org/protobuf/internal/errors +go/token google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/reflect/protoreflect -go/token +compress/flate +google.golang.org/protobuf/internal/version +crypto/ecdh +compress/gzip +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 crypto/rand +google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt -gopkg.in/macaroon.v2 -google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descopts +gopkg.in/macaroon.v2 google.golang.org/protobuf/internal/encoding/text -github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers -compress/flate -google.golang.org/protobuf/internal/version -google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto github.com/rogpeppe/fastuuid golang.org/x/crypto/nacl/box -google.golang.org/protobuf/encoding/prototext gopkg.in/mgo.v2/internal/json -google.golang.org/protobuf/internal/filedesc -compress/gzip +google.golang.org/protobuf/internal/encoding/defval +github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers net/url gopkg.in/mgo.v2/internal/scram +google.golang.org/protobuf/internal/filedesc +net +google.golang.org/protobuf/encoding/prototext database/sql/driver -text/template/parse -database/sql gopkg.in/mgo.v2/bson +database/sql google.golang.org/protobuf/internal/encoding/tag -text/template google.golang.org/protobuf/internal/impl +text/template/parse +crypto/aes +crypto/des +text/template crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig +crypto/sha512 encoding/asn1 +crypto/internal/edwards25519 +vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 +crypto/rc4 crypto/rsa +crypto/ecdsa crypto/dsa -github.com/juju/webbrowser +crypto/x509/pkix +encoding/pem +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 +github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil +os/exec +vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi +github.com/juju/webbrowser vendor/golang.org/x/text/unicode/norm -gopkg.in/mgo.v2 -vendor/golang.org/x/crypto/cryptobyte -crypto/ecdsa -crypto/x509/pkix vendor/golang.org/x/text/secure/bidirule -net/textproto -crypto/x509 vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/net/idna +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl mime +github.com/go-macaroon-bakery/macaroonpb +github.com/go-macaroon-bakery/macaroon-bakery/bakery +vendor/golang.org/x/net/idna mime/quotedprintable -mime/multipart net/http/internal -golang.org/x/net/html -vendor/golang.org/x/net/http/httpguts +gopkg.in/mgo.v2 +crypto/x509 +github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore +github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker +github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore +net/textproto vendor/golang.org/x/net/http/httpproxy +net/http/internal/ascii +vendor/golang.org/x/net/http/httpguts +mime/multipart +golang.org/x/net/html flag crypto/tls -github.com/juju/schema +github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore +net/http/internal/testcert +regexp/syntax go/scanner -go/doc/comment -google.golang.org/protobuf/internal/filetype go/ast -google.golang.org/protobuf/runtime/protoimpl -github.com/go-macaroon-bakery/macaroonpb +go/doc/comment +regexp +golang.org/x/sys/unix +github.com/juju/schema +internal/lazyregexp +go/doc gopkg.in/yaml.v2 -github.com/go-macaroon-bakery/macaroon-bakery/bakery +net/http/httptrace +net/http +gopkg.in/juju/environschema.v1 golang.org/x/term golang.org/x/crypto/ssh/terminal -go/doc -github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore -github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker -github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore -github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore -gopkg.in/juju/environschema.v1 -net/http/httptrace gopkg.in/juju/environschema.v1/form -net/http -github.com/julienschmidt/httprouter net/http/cookiejar net/http/httptest +github.com/julienschmidt/httprouter golang.org/x/net/publicsuffix gopkg.in/httprequest.v1 github.com/go-macaroon-bakery/macaroon-bakery/httpbakery -github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent -github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form github.com/go-macaroon-bakery/macaroon-bakery/bakerytest +github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form +github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 5 github.com/go-macaroon-bakery/macaroon-bakery/bakery github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakerytest github.com/go-macaroon-bakery/macaroon-bakery/httpbakery github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil + cd _build && go test -vet=off -v -p 4 github.com/go-macaroon-bakery/macaroon-bakery/bakery github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakerytest github.com/go-macaroon-bakery/macaroon-bakery/httpbakery github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil === RUN TestV1RoundTrip ---- PASS: TestV1RoundTrip (0.03s) +--- PASS: TestV1RoundTrip (0.01s) === RUN TestV2RoundTrip ---- PASS: TestV2RoundTrip (0.02s) +--- PASS: TestV2RoundTrip (0.00s) === RUN TestV3RoundTrip - codec_test.go:64: cid 039d9f81925961f7717e4cbcda6c20c7c1cc7d9071fbfb9a3cf5e51016d2beddf1ce8fb5123ed6be040bc908ea3744c88adb0e111159143d911c50e412d8577b08c8bdb229178a6422f77a71ddd01152a1f5a018fdd493c602bad4b945af43497bb9d65d87ae0b5edff52e06dbe1ec0518417d4a25f176f2325908c4 ---- PASS: TestV3RoundTrip (0.02s) + codec_test.go:64: cid 03bab9b919114fa6146cf85a651251257536ddac3f10cede96b00d062828c5dfadec5bc2454200c3d9e17ad219c736c95d2469203c59f334f9be003c5b02c5a42965c713c7421c7ad86d2096a53677e1f04345aea796bd98b1a240f044bb25680ce987120a74da8648221c8088c90cfc14c495a9cce335e82d45828c +--- PASS: TestV3RoundTrip (0.00s) === RUN TestEmptyCaveatId --- PASS: TestEmptyCaveatId (0.00s) === RUN TestCaveatIdBadVersion @@ -765,79 +801,79 @@ === RUN TestV2TooShort --- PASS: TestV2TooShort (0.00s) === RUN TestV2BadKey ---- PASS: TestV2BadKey (0.01s) +--- PASS: TestV2BadKey (0.00s) === RUN TestV2DecryptionError ---- PASS: TestV2DecryptionError (0.03s) +--- PASS: TestV2DecryptionError (0.00s) === RUN TestV2EmptySecretPart ---- PASS: TestV2EmptySecretPart (0.03s) +--- PASS: TestV2EmptySecretPart (0.00s) === RUN TestV2BadSecretPartVersion ---- PASS: TestV2BadSecretPartVersion (0.04s) +--- PASS: TestV2BadSecretPartVersion (0.00s) === RUN TestV2EmptyRootKey ---- PASS: TestV2EmptyRootKey (0.02s) +--- PASS: TestV2EmptyRootKey (0.00s) === RUN TestV2LongRootKey ---- PASS: TestV2LongRootKey (3.66s) +--- PASS: TestV2LongRootKey (0.68s) === RUN TestCapability ---- PASS: TestCapability (0.01s) +--- PASS: TestCapability (0.00s) === RUN TestCapabilityMultipleEntities ---- PASS: TestCapabilityMultipleEntities (0.01s) +--- PASS: TestCapabilityMultipleEntities (0.00s) === RUN TestMultipleCapabilities ---- PASS: TestMultipleCapabilities (0.01s) +--- PASS: TestMultipleCapabilities (0.00s) === RUN TestCombineCapabilities ---- PASS: TestCombineCapabilities (0.01s) +--- PASS: TestCombineCapabilities (0.00s) === RUN TestCapabilityCombinesFirstPartyCaveats ---- PASS: TestCapabilityCombinesFirstPartyCaveats (0.01s) +--- 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.02s) +--- PASS: TestFirstPartyCaveatSquashing (0.01s) === RUN TestAllowDirect ---- PASS: TestAllowDirect (0.01s) +--- PASS: TestAllowDirect (0.00s) === RUN TestAllowAlwaysAllowsNoOp ---- PASS: TestAllowAlwaysAllowsNoOp (0.01s) +--- PASS: TestAllowAlwaysAllowsNoOp (0.00s) === RUN TestAllowWithInvalidMacaroon ---- PASS: TestAllowWithInvalidMacaroon (0.01s) +--- PASS: TestAllowWithInvalidMacaroon (0.00s) === RUN TestAllowed ---- PASS: TestAllowed (0.01s) +--- PASS: TestAllowed (0.00s) === RUN TestAllowWithOpsAuthorizer ---- PASS: TestAllowWithOpsAuthorizer (0.01s) +--- PASS: TestAllowWithOpsAuthorizer (0.00s) === RUN TestAllowWithOpsAuthorizerAndNoOp ---- PASS: TestAllowWithOpsAuthorizerAndNoOp (0.01s) +--- PASS: TestAllowWithOpsAuthorizerAndNoOp (0.00s) === RUN TestOpsAuthorizerError ---- PASS: TestOpsAuthorizerError (0.01s) +--- PASS: TestOpsAuthorizerError (0.00s) === RUN TestOpsAuthorizerWithCaveats ---- PASS: TestOpsAuthorizerWithCaveats (0.06s) +--- PASS: TestOpsAuthorizerWithCaveats (0.02s) === RUN TestMacaroonVerifierFatalError --- PASS: TestMacaroonVerifierFatalError (0.00s) === RUN TestSingleServiceFirstParty ---- PASS: TestSingleServiceFirstParty (0.01s) +--- PASS: TestSingleServiceFirstParty (0.00s) === RUN TestMacaroonPaperFig6 ---- PASS: TestMacaroonPaperFig6 (0.09s) +--- PASS: TestMacaroonPaperFig6 (0.01s) === RUN TestDischargeWithVersion1Macaroon ---- PASS: TestDischargeWithVersion1Macaroon (0.06s) +--- PASS: TestDischargeWithVersion1Macaroon (0.01s) === RUN TestVersion1MacaroonId --- PASS: TestVersion1MacaroonId (0.00s) === RUN TestMacaroonPaperFig6FailsWithoutDischarges ---- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.04s) +--- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.01s) === RUN TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature ---- PASS: TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature (0.06s) +--- PASS: TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature (0.01s) === RUN TestNeedDeclared ---- PASS: TestNeedDeclared (0.06s) +--- PASS: TestNeedDeclared (0.01s) === RUN TestDischargeTwoNeedDeclared ---- PASS: TestDischargeTwoNeedDeclared (0.08s) +--- PASS: TestDischargeTwoNeedDeclared (0.01s) === RUN TestDischargeMacaroonCannotBeUsedAsNormalMacaroon ---- PASS: TestDischargeMacaroonCannotBeUsedAsNormalMacaroon (0.04s) +--- PASS: TestDischargeMacaroonCannotBeUsedAsNormalMacaroon (0.01s) === RUN TestThirdPartyDischargeMacaroonIdsAreSmall ---- PASS: TestThirdPartyDischargeMacaroonIdsAreSmall (0.06s) +--- PASS: TestThirdPartyDischargeMacaroonIdsAreSmall (0.01s) === RUN TestDischargeAllNoDischarges --- PASS: TestDischargeAllNoDischarges (0.00s) === RUN TestDischargeAllManyDischarges ---- PASS: TestDischargeAllManyDischarges (0.05s) +--- PASS: TestDischargeAllManyDischarges (0.01s) === RUN TestDischargeAllManyDischargesWithRealThirdPartyCaveats ---- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (1.11s) +--- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (0.18s) === RUN TestDischargeAllLocalDischarge ---- PASS: TestDischargeAllLocalDischarge (0.05s) +--- PASS: TestDischargeAllLocalDischarge (0.01s) === RUN TestDischargeAllLocalDischargeVersion1 ---- PASS: TestDischargeAllLocalDischargeVersion1 (0.02s) +--- PASS: TestDischargeAllLocalDischargeVersion1 (0.01s) === RUN TestMarshalBinary --- PASS: TestMarshalBinary (0.00s) === RUN TestMarshalText @@ -861,7 +897,7 @@ === RUN TestKeyPairUnmarshalYAMLMissingPrivateKey --- PASS: TestKeyPairUnmarshalYAMLMissingPrivateKey (0.00s) === RUN TestDerivePublicFromPrivate ---- PASS: TestDerivePublicFromPrivate (0.01s) +--- PASS: TestDerivePublicFromPrivate (0.00s) === RUN TestNewMacaroon --- PASS: TestNewMacaroon (0.00s) === RUN TestAddFirstPartyCaveat @@ -871,19 +907,19 @@ 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.03s) +--- PASS: TestAddThirdPartyCaveat (0.01s) === RUN TestMarshalJSONLatestVersion ---- PASS: TestMarshalJSONLatestVersion (0.02s) +--- PASS: TestMarshalJSONLatestVersion (0.01s) === RUN TestMarshalJSONVersion1 ---- PASS: TestMarshalJSONVersion1 (0.03s) +--- PASS: TestMarshalJSONVersion1 (0.02s) === RUN TestMarshalJSONVersion2 ---- PASS: TestMarshalJSONVersion2 (0.03s) +--- PASS: TestMarshalJSONVersion2 (0.00s) === RUN TestUnmarshalJSONUnknownVersion --- PASS: TestUnmarshalJSONUnknownVersion (0.00s) === RUN TestUnmarshalJSONInconsistentVersion --- PASS: TestUnmarshalJSONInconsistentVersion (0.00s) === RUN TestClone ---- PASS: TestClone (0.04s) +--- PASS: TestClone (0.01s) === RUN TestUnmarshalBadData --- PASS: TestUnmarshalBadData (0.00s) === RUN TestCanonicalOps @@ -893,7 +929,7 @@ 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.01s) +--- PASS: TestCanonicalOps (0.00s) === RUN TestMultipleOps --- PASS: TestMultipleOps (0.00s) === RUN TestMultipleOpsInId @@ -901,15 +937,15 @@ === RUN TestMultipleOpsInIdWithVersion1 --- PASS: TestMultipleOpsInIdWithVersion1 (0.00s) === RUN TestAddMoreCaveats ---- PASS: TestAddMoreCaveats (0.01s) +--- PASS: TestAddMoreCaveats (0.00s) === RUN TestPurge ---- PASS: TestPurge (0.00s) +--- PASS: TestPurge (0.01s) === RUN TestDischargeAllAcquiresManyMacaroonsAsPossible --- PASS: TestDischargeAllAcquiresManyMacaroonsAsPossible (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 6.045s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 1.151s === RUN TestCheckers checkers_test.go:177: test 0: nothing in context, no extra checkers checkers_test.go:183: check 0 @@ -943,7 +979,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) +--- PASS: TestCheckers (0.00s) === RUN TestInferDeclared checkers_test.go:335: test 0: no macaroons checkers_test.go:335: test 1: single macaroon with one declaration @@ -956,7 +992,7 @@ 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.01s) +--- PASS: TestInferDeclared (0.00s) === RUN TestRegisterNilFuncPanics --- PASS: TestRegisterNilFuncPanics (0.00s) === RUN TestRegisterNoRegisteredNamespace @@ -1032,7 +1068,7 @@ time_test.go:144: 6. multiple macaroons with multiple time-before caveats --- PASS: TestMacaroonsExpireTime (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers 0.101s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers 0.027s === RUN TestIsValidWithPolicy rootkey_test.go:93: test 0: success rootkey_test.go:93: test 1: empty root key @@ -1049,7 +1085,7 @@ rootkey_test.go:103: test 4: expires too late --- PASS: TestRootKeyUsesKeysValidWithPolicy (0.00s) === RUN TestRootKey ---- PASS: TestRootKey (0.02s) +--- PASS: TestRootKey (0.01s) === RUN TestRootKeyDefaultGenerateInterval --- PASS: TestRootKeyDefaultGenerateInterval (0.00s) === RUN TestPreferredRootKeyFromDatabase @@ -1062,7 +1098,7 @@ --- PASS: TestPreferredRootKeyFromCache (0.00s) === RUN TestGet rootkey_test.go:340: testing cache ---- PASS: TestGet (0.03s) +--- PASS: TestGet (0.01s) === RUN TestGetCachesMisses --- PASS: TestGetCachesMisses (0.00s) === RUN TestGetExpiredItemFromCache @@ -1070,7 +1106,7 @@ === RUN TestContextBackingTakesPrecedence --- PASS: TestContextBackingTakesPrecedence (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.103s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.041s === RUN TestAuthorizerFunc --- PASS: TestAuthorizerFunc (0.00s) === RUN TestACLAuthorizer @@ -1082,65 +1118,65 @@ authorizer_test.go:154: test 5: error return causes all authorization to fail --- PASS: TestACLAuthorizer (0.00s) === RUN TestAuthorizeWithOpenAccessAndNoMacaroons ---- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.02s) +--- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.00s) === RUN TestAuthorizationDenied ---- PASS: TestAuthorizationDenied (0.03s) +--- PASS: TestAuthorizationDenied (0.01s) === RUN TestAuthorizeWithAuthenticationRequired ---- PASS: TestAuthorizeWithAuthenticationRequired (0.03s) +--- PASS: TestAuthorizeWithAuthenticationRequired (0.01s) === RUN TestAuthorizeMultipleOps ---- PASS: TestAuthorizeMultipleOps (0.03s) +--- PASS: TestAuthorizeMultipleOps (0.01s) === RUN TestCapability ---- PASS: TestCapability (0.03s) +--- PASS: TestCapability (0.01s) === RUN TestCapabilityMultipleEntities ---- PASS: TestCapabilityMultipleEntities (0.04s) +--- PASS: TestCapabilityMultipleEntities (0.01s) === RUN TestMultipleCapabilities ---- PASS: TestMultipleCapabilities (0.05s) +--- PASS: TestMultipleCapabilities (0.03s) === RUN TestCombineCapabilities ---- PASS: TestCombineCapabilities (0.04s) +--- PASS: TestCombineCapabilities (0.03s) === RUN TestPartiallyAuthorizedRequest ---- PASS: TestPartiallyAuthorizedRequest (0.04s) +--- PASS: TestPartiallyAuthorizedRequest (0.02s) === RUN TestAuthWithThirdPartyCaveats ---- PASS: TestAuthWithThirdPartyCaveats (0.05s) +--- PASS: TestAuthWithThirdPartyCaveats (0.02s) === RUN TestCapabilityCombinesFirstPartyCaveats ---- PASS: TestCapabilityCombinesFirstPartyCaveats (0.06s) +--- PASS: TestCapabilityCombinesFirstPartyCaveats (0.01s) === RUN TestLoginOnly ---- PASS: TestLoginOnly (0.03s) +--- PASS: TestLoginOnly (0.01s) === RUN TestAuthWithIdentityFromContext ---- PASS: TestAuthWithIdentityFromContext (0.01s) +--- PASS: TestAuthWithIdentityFromContext (0.00s) === RUN TestAuthLoginOpWithIdentityFromContext ---- PASS: TestAuthLoginOpWithIdentityFromContext (0.01s) +--- PASS: TestAuthLoginOpWithIdentityFromContext (0.00s) === RUN TestAllowWithOpsAuthorizer ---- PASS: TestAllowWithOpsAuthorizer (0.01s) +--- PASS: TestAllowWithOpsAuthorizer (0.00s) === RUN TestDuplicateLoginMacaroons ---- PASS: TestDuplicateLoginMacaroons (0.06s) +--- PASS: TestDuplicateLoginMacaroons (0.02s) === RUN TestMacaroonOpsFatalError --- PASS: TestMacaroonOpsFatalError (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.582s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.225s testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.038s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.047s [no tests to run] testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.042s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.036s [no tests to run] === RUN TestDischargerSimple ---- PASS: TestDischargerSimple (0.13s) +--- PASS: TestDischargerSimple (0.05s) === RUN TestDischargerTwoLevels ---- PASS: TestDischargerTwoLevels (0.31s) +--- PASS: TestDischargerTwoLevels (0.11s) === RUN TestInsecureSkipVerifyRestoration ---- PASS: TestInsecureSkipVerifyRestoration (0.04s) +--- PASS: TestInsecureSkipVerifyRestoration (0.01s) === RUN TestConcurrentDischargers ---- PASS: TestConcurrentDischargers (0.02s) +--- PASS: TestConcurrentDischargers (0.01s) === RUN TestWithGlobalAllowInsecure ---- PASS: TestWithGlobalAllowInsecure (0.03s) +--- PASS: TestWithGlobalAllowInsecure (0.01s) === RUN TestInteractiveDischarger ---- PASS: TestInteractiveDischarger (0.14s) +--- PASS: TestInteractiveDischarger (0.05s) === RUN TestLoginDischargerError ---- PASS: TestLoginDischargerError (0.14s) +--- PASS: TestLoginDischargerError (0.05s) === RUN TestInteractiveDischargerRedirection ---- PASS: TestInteractiveDischargerRedirection (0.17s) +--- PASS: TestInteractiveDischargerRedirection (0.05s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 1.011s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 0.365s === RUN TestCheckers checkers_test.go:157: test 0: no host name declared checkers_test.go:160: check 0 @@ -1174,19 +1210,19 @@ checkers_test.go:157: test 6: request with origin checkers_test.go:160: check 0 checkers_test.go:160: check 1 ---- PASS: TestCheckers (0.02s) +--- PASS: TestCheckers (0.00s) === RUN TestSingleServiceFirstParty ---- PASS: TestSingleServiceFirstParty (0.02s) +--- PASS: TestSingleServiceFirstParty (0.01s) === RUN TestSingleServiceFirstPartyWithHeader --- PASS: TestSingleServiceFirstPartyWithHeader (0.01s) === RUN TestRepeatedRequestWithBody ---- PASS: TestRepeatedRequestWithBody (0.13s) +--- PASS: TestRepeatedRequestWithBody (0.05s) === RUN TestWithLargeBody ---- PASS: TestWithLargeBody (29.01s) +--- PASS: TestWithLargeBody (8.88s) === RUN TestDischargeServerWithBinaryCaveatId ---- PASS: TestDischargeServerWithBinaryCaveatId (0.16s) +--- PASS: TestDischargeServerWithBinaryCaveatId (0.05s) === RUN TestDischargeServerWithStringCaveatId ---- PASS: TestDischargeServerWithStringCaveatId (0.17s) +--- PASS: TestDischargeServerWithStringCaveatId (0.05s) === RUN TestDoClosesBody --- PASS: TestDoClosesBody (0.00s) === RUN TestWithNonSeekableBody @@ -1197,17 +1233,17 @@ --- PASS: TestWithWriterToBody (0.00s) === RUN TestDischargeServerWithMacaraqOnDischarge client_test.go:352: returning discharge required error ---- PASS: TestDischargeServerWithMacaraqOnDischarge (0.09s) +--- PASS: TestDischargeServerWithMacaraqOnDischarge (0.02s) === RUN TestTwoDischargesRequired ---- PASS: TestTwoDischargesRequired (0.28s) +--- PASS: TestTwoDischargesRequired (0.06s) === RUN TestTooManyDischargesRequired ---- PASS: TestTooManyDischargesRequired (0.20s) +--- PASS: TestTooManyDischargesRequired (0.06s) === RUN TestVersion0Generates407Status --- PASS: TestVersion0Generates407Status (0.00s) === RUN TestVersion1Generates401Status --- PASS: TestVersion1Generates401Status (0.00s) === RUN TestMacaroonCookieName ---- PASS: TestMacaroonCookieName (0.04s) +--- PASS: TestMacaroonCookieName (0.01s) === RUN TestMacaroonCookiePath client_test.go:640: - cookie path "" client_test.go:650: - cookie path "/foo/" @@ -1215,11 +1251,11 @@ client_test.go:669: - cookie path "../" client_test.go:679: - cookie path "../bar" client_test.go:692: - cookie path "/" ---- PASS: TestMacaroonCookiePath (0.04s) +--- PASS: TestMacaroonCookiePath (0.01s) === RUN TestThirdPartyDischargeRefused ---- PASS: TestThirdPartyDischargeRefused (0.16s) +--- PASS: TestThirdPartyDischargeRefused (0.05s) === RUN TestDischargeWithInteractionRequiredError ---- PASS: TestDischargeWithInteractionRequiredError (0.17s) +--- PASS: TestDischargeWithInteractionRequiredError (0.05s) === RUN TestInteractionRequiredMethods client_test.go:935: test 0: single method @@ -1253,34 +1289,34 @@ client_test.go:950: added interactor "test-interactor" client_test.go:935: test 8: no interaction methods ---- PASS: TestInteractionRequiredMethods (0.43s) +--- PASS: TestInteractionRequiredMethods (0.11s) === RUN TestDischargeWithVisitURLError client_test.go:1030: test 0: error message client_test.go:1030: test 1: non-JSON error ---- PASS: TestDischargeWithVisitURLError (0.26s) +--- PASS: TestDischargeWithVisitURLError (0.06s) === RUN TestMacaroonsForURL ---- PASS: TestMacaroonsForURL (0.01s) +--- PASS: TestMacaroonsForURL (0.00s) === RUN TestDoWithCustomError ---- PASS: TestDoWithCustomError (0.16s) +--- PASS: TestDoWithCustomError (0.05s) === RUN TestHandleError ---- PASS: TestHandleError (0.17s) +--- PASS: TestHandleError (0.05s) === RUN TestNewClientOldServer ---- PASS: TestNewClientOldServer (0.17s) +--- PASS: TestNewClientOldServer (0.05s) === RUN TestHandleErrorDifferentError --- PASS: TestHandleErrorDifferentError (0.00s) === RUN TestNewCookieExpiresLongExpiryTime ---- PASS: TestNewCookieExpiresLongExpiryTime (0.01s) +--- PASS: TestNewCookieExpiresLongExpiryTime (0.00s) === RUN TestNewCookieExpiresAlreadyExpired ---- PASS: TestNewCookieExpiresAlreadyExpired (0.01s) +--- PASS: TestNewCookieExpiresAlreadyExpired (0.00s) === RUN TestNewCookieExpiresNoTimeBeforeCaveat ---- PASS: TestNewCookieExpiresNoTimeBeforeCaveat (0.01s) +--- 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.01s) +--- PASS: TestWriteDischargeRequiredError (0.00s) === RUN TestNewInteractionRequiredError --- PASS: TestNewInteractionRequiredError (0.00s) === RUN TestSetInteraction @@ -1293,35 +1329,34 @@ error_test.go:258: test 4: success --- PASS: TestInteractionMethod (0.00s) === RUN TestCachePrepopulated ---- PASS: TestCachePrepopulated (0.01s) +--- PASS: TestCachePrepopulated (0.00s) === RUN TestCachePrepopulatedInsecure ---- PASS: TestCachePrepopulatedInsecure (0.01s) +--- PASS: TestCachePrepopulatedInsecure (0.00s) === RUN TestCacheMiss ---- PASS: TestCacheMiss (0.12s) +--- PASS: TestCacheMiss (0.04s) === RUN TestInsecureURL ---- PASS: TestInsecureURL (0.14s) +--- PASS: TestInsecureURL (0.04s) === RUN TestConcurrentThirdPartyInfo -2024/05/09 11:03:39 http: TLS handshake error from 127.0.0.1:36208: write tcp 127.0.0.1:46469->127.0.0.1:36208: use of closed network connection ---- PASS: TestConcurrentThirdPartyInfo (0.13s) +--- PASS: TestConcurrentThirdPartyInfo (0.04s) === RUN TestCustomHTTPClient --- PASS: TestCustomHTTPClient (0.00s) === RUN TestThirdPartyInfoForLocation ---- PASS: TestThirdPartyInfoForLocation (0.12s) +--- PASS: TestThirdPartyInfoForLocation (0.04s) === RUN TestThirdPartyInfoForLocationWrongURL keyring_test.go:158: [{/build/reproducible-path/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.1/_build/src/github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/keyring.go:102: } {/build/reproducible-path/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.1/_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.01s) +--- PASS: TestThirdPartyInfoForLocationReturnsInvalidJSON (0.00s) === RUN TestThirdPartyInfoForLocationReturnsStatusInternalServerError --- PASS: TestThirdPartyInfoForLocationReturnsStatusInternalServerError (0.00s) === RUN TestThirdPartyInfoForLocationFallbackToOldVersion ---- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.13s) +--- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.04s) === RUN TestOvenWithAuthnMacaroon ---- PASS: TestOvenWithAuthnMacaroon (0.14s) +--- PASS: TestOvenWithAuthnMacaroon (0.05s) === RUN TestOvenWithAuthzMacaroon - oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0Ijoid0hNY1d1eFJQV3B0bXJ0cGtZbTMxTDNfUUd0djhXYlYtOWNqTXV3Ry1teXl6azBGc1dQQ1lYWUFhWnZQck5jRnYzb3RUWnZKWnhfYl84czdEY3N2Z01Cdk9UdHlacG5RIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM4Njk3In0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNS0wOVQxMTowODo0MC4yNjY5MTc0NDdaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1Fnd1hyMVFDRm8za3ZPT0VuT0tFN3RSSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6IkRHUjZCRFZUMWZwaVJGUGZhaHZKSmk3OVlleGhxVlB1eUdiVEJqMUpDQW8ifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6ImF1ZVliYWdiTHQtbTk0bXNqUmJwelVEVU5yTXp6aFZFb0hXM0YyR25wa0EifV0=" - oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiSnRlYlFSSUpEc2gySzBiVjl3X1JBYTVNYThyS25aZngxMEt4UjA4dm9BbFhJQkJaUmpRX3BRNkpmWngyOWEyLXV6OWhPcFJ4ZW1BR09veXJRZDRzSERfTldoak1SVmNIIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQ1MjQ3In0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNS0wOVQxMjowMzo0MC4zODIzNDQ5NDRaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FnUVhyMVFDRm8za3ZPT0VuT0tFN3RSSUJNQm9SQ2dsemIyMWxkR2hwYm1jU0JISmxZV1EiLCJzNjQiOiJ5czdFWllRMWx2R0xfMWtLa01KUXBwYWNGcWV0RUVSdW01ZmNzbGNqa2swIn0seyJpNjQiOiJBd0EiLCJzNjQiOiJnaFpHNFN3Z3dUalQ3RWNVOEhrcEJQaERiVjh6NW1CNW4ydWF1YlR3LW40In1d" ---- PASS: TestOvenWithAuthzMacaroon (0.27s) + oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiTThCVzVxV25OREY4YVVfSUowWVFnZGMtZDJvQ2cydFloZFBtSmZUMUdvU0Z5cENCWXoyYzNDOGhqVWtkRkU2aTFaUVRrZHNLejZmYlFmUVgxNF9wS1NwZlRzQ25LZHlsIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQ2MzUzIn0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNS0wOVQxMToxMjo0NS41NDc2ODMxODhaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1F1MUxwdjdZM0s3V2FTdGw2Y2tyU2JSSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6IlIxY200SkRNSWZmRGJMTWJ6OF9BaHNDSEowREY4ZWZtTkxOc2M2T1dUTkkifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6InlmWnljUVlZVzFyN3V5SDlCZmhSRDNnUlRPSHlhdG1xTEo4VG9udE9IVEEifV0=" + oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiTVhkXzFzbnV1OEs2MVpuYTJYdVl0NlZIQUFtN2QxTDJPNWQwSlhYQjZLTUxkNm4wc0NNeTl3NWhxTkozMk1lMHBKTEEtZXRLY0pkNzZRQ2NjdF9fRWRSTVlXNUJxbVZFIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM1NjcxIn0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNS0wOVQxMjowNzo0NS41OTEzMTg2M1oifV0sImwiOiJoZXJlIiwiaTY0IjoiQXdvUXVWTHB2N1kzSzdXYVN0bDZja3JTYlJJQk1Cb1JDZ2x6YjIxbGRHaHBibWNTQkhKbFlXUSIsInM2NCI6Im11N21rbEJKR2NIdHlBS3ptbWJUQktVWmUtYkF3aW1nUWtIekUxb1BudFkifSx7Imk2NCI6IkF3QSIsInM2NCI6ImtIbkktc0pUMnhCaHNJeVBVV3puUG9vRFE1NVc0a2VlbmtmQ2dqN1FDOTQifV0=" +--- PASS: TestOvenWithAuthzMacaroon (0.10s) === RUN TestLegacyGetInteractionMethodsGetFailure --- PASS: TestLegacyGetInteractionMethodsGetFailure (0.00s) === RUN TestLegacyGetInteractionMethodsSuccess @@ -1329,12 +1364,12 @@ === RUN TestLegacyGetInteractionMethodsInvalidURL --- PASS: TestLegacyGetInteractionMethodsInvalidURL (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 32.907s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 10.059s === RUN TestSetUpAuth - agent_test.go:50: with token request: /discharge?caveat64=A9BS40ASJelsxF05ORCL9FhuQj_PWMFRZqkC_16XTIXoSQEfD73Ko0dn4rLM72WSJ2nh_DzeymrCFPRr1tGytjcG5qLSWU5lfQd9P8Bc-ZP-iiPXc8giX7OaqWwBh6x7um-ViskMqodXbkRmPn6r3q33mKa9ETJP0T01h15Sv8Ipp9I&id64=AwA&token-kind=agent&token64=AgImAwoQvMqjR2fisszvZZInaeH8PBIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESN1Jw3IgPhvcWYQXK3OxBLP8NW4GvvOQjvzo8-nO94zHhshrF-GTBpTFfAY0IU76pnlY24RWNNh8xToQwwDWaF_MQrzu4i4UGwAABiD4mQdAiuTYbiZVsl4BLkF5edxJREgzbgnmC0hamsu-0QICAgMAAAAGIAFzDBn__smhYE-a8yOB6jc1VOEAoEnQZeittRiM3GGF ---- PASS: TestSetUpAuth (0.20s) + agent_test.go:50: with token request: /discharge?caveat64=AwA_MtvzyVzABEHVrcwIyjGTxNd7pIxgaI9KCSa8dJjLitoaShqBQTHxRDle_RCXiOPh5TO-yFrLaragOc94BbMRS3F6ILv6SRor_MeiluPP40gfnEfkTjZTTZhio0ESz4VgrSYj54SmAIu8HikE1h8v3m61Htr2_paNzgUOPJQaxZE&id64=AwA&token-kind=agent&token64=AgImAwoQG4FBMfFEOV79EJeI4-HlMxIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESMgaZTefC9WHVzqmtWYjDKG9jol1OhhRAQBj0OhYg4OkYLYFT0LULl1QtdoGqu5aqAFBoddfjLwuEzV0ARXkNWguOVMXPfH1uAAABiCQPIZebD_qFHMR-g4CP8gh3u1-5OMIYOD38oV6SyH2GQICAgMAAAAGINYbxW7bT2OvgCrJXyKLpczv49LlzRqOosBR9KP5Omm6 +--- PASS: TestSetUpAuth (0.06s) === RUN TestAuthInfoFromEnvironment ---- PASS: TestAuthInfoFromEnvironment (0.01s) +--- PASS: TestAuthInfoFromEnvironment (0.00s) === RUN TestAuthInfoFromEnvironmentNotSet --- PASS: TestAuthInfoFromEnvironmentNotSet (0.00s) === RUN TestLoginCookie @@ -1344,23 +1379,23 @@ 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.01s) +--- 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.76s) - --- PASS: TestAgentLoginError/error_response (0.16s) - --- PASS: TestAgentLoginError/unexpected_response (0.23s) - --- PASS: TestAgentLoginError/unexpected_error_response (0.17s) - --- PASS: TestAgentLoginError/login_false_value (0.19s) +--- PASS: TestAgentLoginError (0.21s) + --- PASS: TestAgentLoginError/error_response (0.05s) + --- PASS: TestAgentLoginError/unexpected_response (0.05s) + --- PASS: TestAgentLoginError/unexpected_error_response (0.05s) + --- PASS: TestAgentLoginError/login_false_value (0.06s) === RUN TestLegacySetUpAuth ---- PASS: TestLegacySetUpAuth (0.21s) +--- PASS: TestLegacySetUpAuth (0.11s) === RUN TestLegacyNoMatchingSite ---- PASS: TestLegacyNoMatchingSite (0.24s) +--- PASS: TestLegacyNoMatchingSite (0.07s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 1.487s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 0.501s === RUN TestFormLogin form_test.go:133: test 0: complete visit @@ -1376,17 +1411,17 @@ test 5: filler error form_test.go:133: test 6: invalid token returned from form submission ---- PASS: TestFormLogin (0.36s) +--- PASS: TestFormLogin (0.10s) === RUN TestFormTitle form_test.go:209: test 0: xyz.com - form_test.go:216: match xyz.com; replace with https://127.0.0.1:40645 + form_test.go:216: match xyz.com; replace with https://127.0.0.1:37545 form_test.go:209: test 1: abc.xyz.com - form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:40645 + form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:37545 form_test.go:209: test 2: com - form_test.go:216: match com; replace with https://127.0.0.1:40645 ---- PASS: TestFormTitle (0.31s) + form_test.go:216: match com; replace with https://127.0.0.1:37545 +--- PASS: TestFormTitle (0.07s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.752s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.201s === RUN TestRelativeURL relativeurl_test.go:131: test 0: "" "" relativeurl_test.go:131: test 1: "/foo" "" @@ -1415,9 +1450,9 @@ 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.01s) +--- PASS: TestRelativeURL (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.058s +ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.021s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1444,12 +1479,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1522/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/11191 and its subdirectories -I: Current time: Wed May 8 23:04:21 -12 2024 -I: pbuilder-time-stamp: 1715252661 +I: removing directory /srv/workspace/pbuilder/1522 and its subdirectories +I: Current time: Fri May 10 01:08:01 +14 2024 +I: pbuilder-time-stamp: 1715252881