Diff of the two buildlogs: -- --- b1/build.log 2024-07-30 10:24:34.741251814 +0000 +++ b2/build.log 2024-07-30 10:34:55.878868630 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 29 22:21:11 -12 2024 -I: pbuilder-time-stamp: 1722334871 +I: Current time: Wed Jul 31 00:24:46 +14 2024 +I: pbuilder-time-stamp: 1722335086 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/22013/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/779/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 Jul 30 10:25 /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/779/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/779/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=3 ' - DISTRIBUTION='unstable' - 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=6 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e8075afd95404b6ab712cc744e9c24e7' - 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='22013' - PS1='# ' - PS2='> ' + INVOCATION_ID=569a118f4bad497c9d8a5cf9948b7ef8 + 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=779 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.gwGzPn4N/pbuilderrc_ac9v --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gwGzPn4N/b1 --logfile b1/build.log golang-github-go-macaroon-bakery-macaroon-bakery_3.0.2-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.gwGzPn4N/pbuilderrc_ANhB --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gwGzPn4N/b2 --logfile b2/build.log golang-github-go-macaroon-bakery-macaroon-bakery_3.0.2-1.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 virt32z 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/22013/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/779/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -215,7 +247,7 @@ Get: 68 http://deb.debian.org/debian unstable/main armhf golang-gopkg-yaml.v2-dev all 2.4.0-4 [61.5 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf golang-gopkg-juju-environschema.v1-dev all 1.0.2-1 [16.9 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf golang-gopkg-macaroon.v2-dev all 2.1.0-3 [22.9 kB] -Fetched 72.3 MB in 1s (54.8 MB/s) +Fetched 72.3 MB in 2s (32.8 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 ... 19508 files and directories currently installed.) @@ -510,7 +542,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.2/ && 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.2-1_source.changes +I: user script /srv/workspace/pbuilder/779/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/779/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.2/ && 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.2-1_source.changes dpkg-buildpackage: info: source package golang-github-go-macaroon-bakery-macaroon-bakery dpkg-buildpackage: info: source version 3.0.2-1 dpkg-buildpackage: info: source distribution unstable @@ -528,231 +564,231 @@ 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 3 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/unsafeheader -internal/goarch + cd _build && go install -trimpath -v -p 6 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/godebugs internal/coverage/rtcov +internal/goarch +internal/unsafeheader internal/cpu -internal/abi -internal/chacha8rand -internal/bytealg -internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic -runtime/internal/math -runtime/internal/sys runtime/internal/syscall internal/race +internal/abi +runtime/internal/math +internal/chacha8rand +runtime/internal/sys sync/atomic unicode unicode/utf8 +internal/bytealg +runtime/internal/atomic internal/itoa -runtime math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp -slices encoding unicode/utf16 log/internal golang.org/x/crypto/internal/alias -golang.org/x/crypto/salsa20/salsa google.golang.org/protobuf/internal/flags +math +slices +golang.org/x/crypto/salsa20/salsa google.golang.org/protobuf/internal/set internal/nettrace container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias golang.org/x/net/html/atom -internal/reflectlite +runtime crypto/subtle +internal/reflectlite sync internal/testlog internal/bisect google.golang.org/protobuf/internal/pragma internal/singleflight -internal/godebug -errors runtime/cgo +errors +sort +internal/godebug io -bytes internal/oserror +strconv +internal/safefilepath +path syscall +math/rand +bytes hash -strconv +crypto/internal/randutil +strings +hash/fnv +hash/crc32 +crypto/internal/nistec/fiat +vendor/golang.org/x/net/dns/dnsmessage crypto reflect +bufio +internal/intern +net/netip +crypto/rc4 +github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil +vendor/golang.org/x/text/transform time -crypto/internal/randutil internal/syscall/unix +internal/syscall/execenv +net/http/internal/ascii +net/http/internal/testcert +regexp/syntax +regexp context -sort internal/poll -internal/safefilepath -internal/syscall/execenv +io/fs +embed +crypto/internal/nistec encoding/binary internal/fmtsort -path -io/fs -math/rand -crypto/cipher +google.golang.org/protobuf/internal/editiondefaults os -strings -crypto/internal/boring encoding/base64 -crypto/hmac -crypto/sha256 golang.org/x/crypto/internal/poly1305 -hash/fnv -golang.org/x/crypto/nacl/secretbox -embed -bufio -google.golang.org/protobuf/internal/editiondefaults -google.golang.org/protobuf/internal/detrand -fmt -hash/crc32 -io/ioutil crypto/internal/edwards25519/field -crypto/internal/nistec/fiat +crypto/cipher +golang.org/x/crypto/nacl/secretbox golang.org/x/crypto/blake2b crypto/md5 +crypto/internal/edwards25519 +encoding/pem +crypto/internal/boring +crypto/hmac +crypto/sha256 +crypto/ecdh crypto/sha1 -math/big -encoding/json +crypto/aes +crypto/des +golang.org/x/crypto/curve25519 +crypto/sha512 +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/hkdf +golang.org/x/sys/unix +vendor/golang.org/x/crypto/chacha20poly1305 +google.golang.org/protobuf/internal/detrand +io/ioutil +fmt +net +path/filepath +internal/lazyregexp +os/exec log -gopkg.in/errgo.v1 encoding/hex +encoding/json +math/big google.golang.org/protobuf/internal/errors -crypto/rand google.golang.org/protobuf/encoding/protowire -gopkg.in/macaroon.v2 +gopkg.in/errgo.v1 google.golang.org/protobuf/reflect/protoreflect go/token compress/flate -github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers -google.golang.org/protobuf/internal/version -github.com/rogpeppe/fastuuid -crypto/internal/nistec -compress/gzip google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/order 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/proto google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/text -crypto/ecdh -golang.org/x/crypto/curve25519 +google.golang.org/protobuf/proto +compress/gzip +crypto/rand +google.golang.org/protobuf/internal/version +gopkg.in/mgo.v2/internal/json +gopkg.in/macaroon.v2 google.golang.org/protobuf/internal/encoding/defval +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 net/url gopkg.in/mgo.v2/internal/scram -vendor/golang.org/x/net/dns/dnsmessage -gopkg.in/mgo.v2/bson -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl -internal/intern -net/netip -net +github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext database/sql/driver -database/sql -path/filepath text/template/parse -text/template -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -github.com/go-macaroon-bakery/macaroonpb -crypto/aes -crypto/des -github.com/go-macaroon-bakery/macaroon-bakery/bakery +database/sql crypto/elliptic +gopkg.in/mgo.v2/bson crypto/internal/bigmod +text/template crypto/internal/boring/bbig -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 -crypto/sha512 encoding/asn1 -crypto/internal/edwards25519 crypto/ed25519 -vendor/golang.org/x/crypto/cryptobyte -crypto/rc4 +google.golang.org/protobuf/internal/encoding/tag crypto/rsa +vendor/golang.org/x/crypto/cryptobyte +google.golang.org/protobuf/internal/impl crypto/dsa crypto/x509/pkix +github.com/juju/webbrowser crypto/ecdsa -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 -gopkg.in/mgo.v2 -crypto/x509 -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm -crypto/tls -github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore -vendor/golang.org/x/net/idna -net/textproto vendor/golang.org/x/net/http2/hpack mime -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy mime/quotedprintable +vendor/golang.org/x/text/secure/bidirule net/http/internal -mime/multipart -net/http/internal/ascii golang.org/x/net/html flag -net/http/internal/testcert -regexp/syntax -go/scanner -regexp -go/ast -net/http/httptrace -net/http github.com/juju/schema +gopkg.in/mgo.v2 +crypto/x509 +vendor/golang.org/x/net/idna +net/textproto +mime/multipart +go/scanner go/doc/comment -internal/lazyregexp +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy +go/ast gopkg.in/yaml.v2 -go/doc -golang.org/x/sys/unix -gopkg.in/juju/environschema.v1 golang.org/x/term +crypto/tls golang.org/x/crypto/ssh/terminal +go/doc +google.golang.org/protobuf/internal/filetype +gopkg.in/juju/environschema.v1 gopkg.in/juju/environschema.v1/form +google.golang.org/protobuf/runtime/protoimpl +github.com/go-macaroon-bakery/macaroonpb +github.com/go-macaroon-bakery/macaroon-bakery/bakery +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 +net/http/httptrace +net/http github.com/julienschmidt/httprouter net/http/cookiejar net/http/httptest 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/form github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent github.com/go-macaroon-bakery/macaroon-bakery/bakerytest -github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 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 6 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.01s) +--- PASS: TestV1RoundTrip (0.06s) === RUN TestV2RoundTrip ---- PASS: TestV2RoundTrip (0.00s) +--- PASS: TestV2RoundTrip (0.02s) === RUN TestV3RoundTrip - codec_test.go:64: cid 03a45de935b0aa113b199a905c1e3dc910e111021933c02aae3cb041c97a99eba6b522a609324a8dd5210372414189aff2b74dfd0e063ccb0f3812d78fc7ce7954f9f7cbd616a8dfedc4efa583f40d94a8c96fb97fbea993a9a243233c5510d48a7c3a2ae8e8c67d7f890382c992747b54bc00614d0de8a38a2d7117 ---- PASS: TestV3RoundTrip (0.00s) + codec_test.go:64: cid 03b4371779724231e3bf4e5bff70786d2c2f721d93d1ef7b33ecd6909efa93869ad55d1a6c6406417ce1e2e2cfcc9b9c081676460b143bf563261164071e5f1fda5b339b4a0027bd84a1fa2f2bf3c5ffbddb784d414dca57c83b374bb81130ee02209d2a3ed86286ab9630521771216bbbedf0b4bb74893ee80fefc1 +--- PASS: TestV3RoundTrip (0.02s) === RUN TestEmptyCaveatId --- PASS: TestEmptyCaveatId (0.00s) === RUN TestCaveatIdBadVersion @@ -760,79 +796,79 @@ === RUN TestV2TooShort --- PASS: TestV2TooShort (0.00s) === RUN TestV2BadKey ---- PASS: TestV2BadKey (0.00s) +--- PASS: TestV2BadKey (0.01s) === RUN TestV2DecryptionError ---- PASS: TestV2DecryptionError (0.00s) +--- PASS: TestV2DecryptionError (0.02s) === RUN TestV2EmptySecretPart ---- PASS: TestV2EmptySecretPart (0.00s) +--- PASS: TestV2EmptySecretPart (0.03s) === RUN TestV2BadSecretPartVersion ---- PASS: TestV2BadSecretPartVersion (0.00s) +--- PASS: TestV2BadSecretPartVersion (0.03s) === RUN TestV2EmptyRootKey ---- PASS: TestV2EmptyRootKey (0.00s) +--- PASS: TestV2EmptyRootKey (0.04s) === RUN TestV2LongRootKey ---- PASS: TestV2LongRootKey (0.86s) +--- PASS: TestV2LongRootKey (4.58s) === RUN TestCapability ---- PASS: TestCapability (0.00s) +--- PASS: TestCapability (0.01s) === RUN TestCapabilityMultipleEntities ---- PASS: TestCapabilityMultipleEntities (0.00s) +--- PASS: TestCapabilityMultipleEntities (0.01s) === RUN TestMultipleCapabilities ---- PASS: TestMultipleCapabilities (0.00s) +--- PASS: TestMultipleCapabilities (0.01s) === RUN TestCombineCapabilities ---- PASS: TestCombineCapabilities (0.00s) +--- PASS: TestCombineCapabilities (0.01s) === RUN TestCapabilityCombinesFirstPartyCaveats --- PASS: TestCapabilityCombinesFirstPartyCaveats (0.01s) === RUN TestFirstPartyCaveatSquashing checker_test.go:153: test 0: duplicates removed checker_test.go:153: test 1: earliest time before ---- PASS: TestFirstPartyCaveatSquashing (0.01s) +--- PASS: TestFirstPartyCaveatSquashing (0.05s) === RUN TestAllowDirect ---- PASS: TestAllowDirect (0.01s) +--- PASS: TestAllowDirect (0.02s) === RUN TestAllowAlwaysAllowsNoOp --- PASS: TestAllowAlwaysAllowsNoOp (0.01s) === RUN TestAllowWithInvalidMacaroon --- PASS: TestAllowWithInvalidMacaroon (0.01s) === RUN TestAllowed ---- PASS: TestAllowed (0.00s) +--- PASS: TestAllowed (0.01s) === RUN TestAllowWithOpsAuthorizer --- PASS: TestAllowWithOpsAuthorizer (0.01s) === RUN TestAllowWithOpsAuthorizerAndNoOp --- PASS: TestAllowWithOpsAuthorizerAndNoOp (0.00s) === RUN TestOpsAuthorizerError ---- PASS: TestOpsAuthorizerError (0.00s) +--- PASS: TestOpsAuthorizerError (0.01s) === RUN TestOpsAuthorizerWithCaveats ---- PASS: TestOpsAuthorizerWithCaveats (0.03s) +--- PASS: TestOpsAuthorizerWithCaveats (0.05s) === RUN TestMacaroonVerifierFatalError --- PASS: TestMacaroonVerifierFatalError (0.00s) === RUN TestSingleServiceFirstParty --- PASS: TestSingleServiceFirstParty (0.01s) === RUN TestMacaroonPaperFig6 ---- PASS: TestMacaroonPaperFig6 (0.01s) +--- PASS: TestMacaroonPaperFig6 (0.02s) === RUN TestDischargeWithVersion1Macaroon ---- PASS: TestDischargeWithVersion1Macaroon (0.01s) +--- PASS: TestDischargeWithVersion1Macaroon (0.05s) === RUN TestVersion1MacaroonId --- PASS: TestVersion1MacaroonId (0.00s) === RUN TestMacaroonPaperFig6FailsWithoutDischarges ---- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.01s) +--- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.04s) === RUN TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature ---- PASS: TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature (0.01s) +--- PASS: TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature (0.06s) === RUN TestNeedDeclared ---- PASS: TestNeedDeclared (0.02s) +--- PASS: TestNeedDeclared (0.07s) === RUN TestDischargeTwoNeedDeclared ---- PASS: TestDischargeTwoNeedDeclared (0.02s) +--- PASS: TestDischargeTwoNeedDeclared (0.09s) === RUN TestDischargeMacaroonCannotBeUsedAsNormalMacaroon ---- PASS: TestDischargeMacaroonCannotBeUsedAsNormalMacaroon (0.01s) +--- PASS: TestDischargeMacaroonCannotBeUsedAsNormalMacaroon (0.04s) === RUN TestThirdPartyDischargeMacaroonIdsAreSmall ---- PASS: TestThirdPartyDischargeMacaroonIdsAreSmall (0.02s) +--- PASS: TestThirdPartyDischargeMacaroonIdsAreSmall (0.03s) === RUN TestDischargeAllNoDischarges --- PASS: TestDischargeAllNoDischarges (0.00s) === RUN TestDischargeAllManyDischarges ---- PASS: TestDischargeAllManyDischarges (0.01s) +--- PASS: TestDischargeAllManyDischarges (0.02s) === RUN TestDischargeAllManyDischargesWithRealThirdPartyCaveats ---- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (0.27s) +--- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (1.44s) === RUN TestDischargeAllLocalDischarge ---- PASS: TestDischargeAllLocalDischarge (0.01s) +--- PASS: TestDischargeAllLocalDischarge (0.04s) === RUN TestDischargeAllLocalDischargeVersion1 ---- PASS: TestDischargeAllLocalDischargeVersion1 (0.01s) +--- PASS: TestDischargeAllLocalDischargeVersion1 (0.04s) === RUN TestMarshalBinary --- PASS: TestMarshalBinary (0.00s) === RUN TestMarshalText @@ -856,7 +892,7 @@ === RUN TestKeyPairUnmarshalYAMLMissingPrivateKey --- PASS: TestKeyPairUnmarshalYAMLMissingPrivateKey (0.00s) === RUN TestDerivePublicFromPrivate ---- PASS: TestDerivePublicFromPrivate (0.01s) +--- PASS: TestDerivePublicFromPrivate (0.02s) === RUN TestNewMacaroon --- PASS: TestNewMacaroon (0.00s) === RUN TestAddFirstPartyCaveat @@ -866,19 +902,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.01s) +--- PASS: TestAddThirdPartyCaveat (0.09s) === RUN TestMarshalJSONLatestVersion ---- PASS: TestMarshalJSONLatestVersion (0.01s) +--- PASS: TestMarshalJSONLatestVersion (0.06s) === RUN TestMarshalJSONVersion1 ---- PASS: TestMarshalJSONVersion1 (0.00s) +--- PASS: TestMarshalJSONVersion1 (0.06s) === RUN TestMarshalJSONVersion2 ---- PASS: TestMarshalJSONVersion2 (0.00s) +--- PASS: TestMarshalJSONVersion2 (0.03s) === RUN TestUnmarshalJSONUnknownVersion --- PASS: TestUnmarshalJSONUnknownVersion (0.00s) === RUN TestUnmarshalJSONInconsistentVersion --- PASS: TestUnmarshalJSONInconsistentVersion (0.00s) === RUN TestClone ---- PASS: TestClone (0.01s) +--- PASS: TestClone (0.04s) === RUN TestUnmarshalBadData --- PASS: TestUnmarshalBadData (0.00s) === RUN TestCanonicalOps @@ -896,15 +932,15 @@ === RUN TestMultipleOpsInIdWithVersion1 --- PASS: TestMultipleOpsInIdWithVersion1 (0.00s) === RUN TestAddMoreCaveats ---- PASS: TestAddMoreCaveats (0.00s) +--- PASS: TestAddMoreCaveats (0.01s) === RUN TestPurge ---- PASS: TestPurge (0.00s) +--- PASS: TestPurge (0.01s) === RUN TestDischargeAllAcquiresManyMacaroonsAsPossible ---- PASS: TestDischargeAllAcquiresManyMacaroonsAsPossible (0.00s) +--- PASS: TestDischargeAllAcquiresManyMacaroonsAsPossible (0.01s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 1.501s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 7.492s === RUN TestCheckers checkers_test.go:177: test 0: nothing in context, no extra checkers checkers_test.go:183: check 0 @@ -938,7 +974,7 @@ checkers_test.go:177: test 6: error caveat checkers_test.go:183: check 0 checkers_test.go:183: check 1 ---- PASS: TestCheckers (0.00s) +--- PASS: TestCheckers (0.06s) === RUN TestInferDeclared checkers_test.go:335: test 0: no macaroons checkers_test.go:335: test 1: single macaroon with one declaration @@ -951,7 +987,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.00s) +--- PASS: TestInferDeclared (0.01s) === RUN TestRegisterNilFuncPanics --- PASS: TestRegisterNilFuncPanics (0.00s) === RUN TestRegisterNoRegisteredNamespace @@ -963,7 +999,7 @@ === RUN TestRegisterTwiceDifferentNamespace --- PASS: TestRegisterTwiceDifferentNamespace (0.00s) === RUN TestCheckerInfo ---- PASS: TestCheckerInfo (0.00s) +--- PASS: TestCheckerInfo (0.01s) === RUN TestResolve namespace_test.go:41: test 0: successful resolve namespace_test.go:41: test 1: unsuccessful resolve @@ -995,7 +1031,7 @@ 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) +--- PASS: TestMarshal (0.01s) === RUN TestUnmarshal namespace_test.go:268: test 0: empty text namespace_test.go:268: test 1: fields with extra space @@ -1027,7 +1063,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.025s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers 0.223s === RUN TestIsValidWithPolicy rootkey_test.go:93: test 0: success rootkey_test.go:93: test 1: empty root key @@ -1044,9 +1080,9 @@ rootkey_test.go:103: test 4: expires too late --- PASS: TestRootKeyUsesKeysValidWithPolicy (0.00s) === RUN TestRootKey ---- PASS: TestRootKey (0.00s) +--- PASS: TestRootKey (0.04s) === RUN TestRootKeyDefaultGenerateInterval ---- PASS: TestRootKeyDefaultGenerateInterval (0.00s) +--- PASS: TestRootKeyDefaultGenerateInterval (0.01s) === RUN TestPreferredRootKeyFromDatabase rootkey_test.go:258: 0: latest creation time is preferred rootkey_test.go:258: 1: ineligible keys are exluded @@ -1054,10 +1090,10 @@ === 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) +--- PASS: TestPreferredRootKeyFromCache (0.01s) === RUN TestGet rootkey_test.go:340: testing cache ---- PASS: TestGet (0.01s) +--- PASS: TestGet (0.09s) === RUN TestGetCachesMisses --- PASS: TestGetCachesMisses (0.00s) === RUN TestGetExpiredItemFromCache @@ -1067,7 +1103,7 @@ === RUN TestContextBackingStore --- PASS: TestContextBackingStore (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.032s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.266s === RUN TestAuthorizerFunc --- PASS: TestAuthorizerFunc (0.00s) === RUN TestACLAuthorizer @@ -1079,65 +1115,65 @@ authorizer_test.go:154: test 5: error return causes all authorization to fail --- PASS: TestACLAuthorizer (0.00s) === RUN TestAuthorizeWithOpenAccessAndNoMacaroons ---- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.01s) +--- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.03s) === RUN TestAuthorizationDenied ---- PASS: TestAuthorizationDenied (0.02s) +--- PASS: TestAuthorizationDenied (0.06s) === RUN TestAuthorizeWithAuthenticationRequired ---- PASS: TestAuthorizeWithAuthenticationRequired (0.02s) +--- PASS: TestAuthorizeWithAuthenticationRequired (0.05s) === RUN TestAuthorizeMultipleOps ---- PASS: TestAuthorizeMultipleOps (0.02s) +--- PASS: TestAuthorizeMultipleOps (0.05s) === RUN TestCapability ---- PASS: TestCapability (0.02s) +--- PASS: TestCapability (0.09s) === RUN TestCapabilityMultipleEntities ---- PASS: TestCapabilityMultipleEntities (0.02s) +--- PASS: TestCapabilityMultipleEntities (0.05s) === RUN TestMultipleCapabilities ---- PASS: TestMultipleCapabilities (0.02s) +--- PASS: TestMultipleCapabilities (0.09s) === RUN TestCombineCapabilities ---- PASS: TestCombineCapabilities (0.02s) +--- PASS: TestCombineCapabilities (0.11s) === RUN TestPartiallyAuthorizedRequest ---- PASS: TestPartiallyAuthorizedRequest (0.02s) +--- PASS: TestPartiallyAuthorizedRequest (0.08s) === RUN TestAuthWithThirdPartyCaveats ---- PASS: TestAuthWithThirdPartyCaveats (0.02s) +--- PASS: TestAuthWithThirdPartyCaveats (0.09s) === RUN TestCapabilityCombinesFirstPartyCaveats ---- PASS: TestCapabilityCombinesFirstPartyCaveats (0.03s) +--- PASS: TestCapabilityCombinesFirstPartyCaveats (0.08s) === RUN TestLoginOnly ---- PASS: TestLoginOnly (0.02s) +--- PASS: TestLoginOnly (0.05s) === RUN TestAuthWithIdentityFromContext ---- PASS: TestAuthWithIdentityFromContext (0.01s) +--- PASS: TestAuthWithIdentityFromContext (0.02s) === RUN TestAuthLoginOpWithIdentityFromContext ---- PASS: TestAuthLoginOpWithIdentityFromContext (0.01s) +--- PASS: TestAuthLoginOpWithIdentityFromContext (0.02s) === RUN TestAllowWithOpsAuthorizer ---- PASS: TestAllowWithOpsAuthorizer (0.00s) +--- PASS: TestAllowWithOpsAuthorizer (0.01s) === RUN TestDuplicateLoginMacaroons ---- PASS: TestDuplicateLoginMacaroons (0.03s) +--- PASS: TestDuplicateLoginMacaroons (0.16s) === RUN TestMacaroonOpsFatalError --- PASS: TestMacaroonOpsFatalError (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.319s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 1.128s testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.057s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.025s [no tests to run] testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.013s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.019s [no tests to run] === RUN TestDischargerSimple ---- PASS: TestDischargerSimple (0.04s) +--- PASS: TestDischargerSimple (0.22s) === RUN TestDischargerTwoLevels ---- PASS: TestDischargerTwoLevels (0.14s) +--- PASS: TestDischargerTwoLevels (0.39s) === RUN TestInsecureSkipVerifyRestoration ---- PASS: TestInsecureSkipVerifyRestoration (0.01s) +--- PASS: TestInsecureSkipVerifyRestoration (0.03s) === RUN TestConcurrentDischargers ---- PASS: TestConcurrentDischargers (0.01s) +--- PASS: TestConcurrentDischargers (0.04s) === RUN TestWithGlobalAllowInsecure ---- PASS: TestWithGlobalAllowInsecure (0.01s) +--- PASS: TestWithGlobalAllowInsecure (0.05s) === RUN TestInteractiveDischarger ---- PASS: TestInteractiveDischarger (0.08s) +--- PASS: TestInteractiveDischarger (0.30s) === RUN TestLoginDischargerError ---- PASS: TestLoginDischargerError (0.06s) +--- PASS: TestLoginDischargerError (0.36s) === RUN TestInteractiveDischargerRedirection ---- PASS: TestInteractiveDischargerRedirection (0.05s) +--- PASS: TestInteractiveDischargerRedirection (0.52s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 0.447s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 2.036s === RUN TestCheckers checkers_test.go:157: test 0: no host name declared checkers_test.go:160: check 0 @@ -1171,19 +1207,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.00s) +--- PASS: TestCheckers (0.03s) === RUN TestSingleServiceFirstParty ---- PASS: TestSingleServiceFirstParty (0.01s) +--- PASS: TestSingleServiceFirstParty (0.02s) === RUN TestSingleServiceFirstPartyWithHeader ---- PASS: TestSingleServiceFirstPartyWithHeader (0.00s) +--- PASS: TestSingleServiceFirstPartyWithHeader (0.02s) === RUN TestRepeatedRequestWithBody ---- PASS: TestRepeatedRequestWithBody (0.04s) +--- PASS: TestRepeatedRequestWithBody (0.26s) === RUN TestWithLargeBody ---- PASS: TestWithLargeBody (9.91s) +--- PASS: TestWithLargeBody (37.03s) === RUN TestDischargeServerWithBinaryCaveatId ---- PASS: TestDischargeServerWithBinaryCaveatId (0.05s) +--- PASS: TestDischargeServerWithBinaryCaveatId (0.22s) === RUN TestDischargeServerWithStringCaveatId ---- PASS: TestDischargeServerWithStringCaveatId (0.07s) +--- PASS: TestDischargeServerWithStringCaveatId (0.18s) === RUN TestDoClosesBody --- PASS: TestDoClosesBody (0.00s) === RUN TestWithNonSeekableBody @@ -1191,20 +1227,20 @@ === RUN TestWithNonSeekableCloserBody --- PASS: TestWithNonSeekableCloserBody (0.00s) === RUN TestWithWriterToBody ---- PASS: TestWithWriterToBody (0.01s) +--- PASS: TestWithWriterToBody (0.00s) === RUN TestDischargeServerWithMacaraqOnDischarge client_test.go:352: returning discharge required error ---- PASS: TestDischargeServerWithMacaraqOnDischarge (0.03s) +--- PASS: TestDischargeServerWithMacaraqOnDischarge (0.06s) === RUN TestTwoDischargesRequired ---- PASS: TestTwoDischargesRequired (0.08s) +--- PASS: TestTwoDischargesRequired (0.16s) === RUN TestTooManyDischargesRequired ---- PASS: TestTooManyDischargesRequired (0.13s) +--- PASS: TestTooManyDischargesRequired (0.33s) === RUN TestVersion0Generates407Status --- PASS: TestVersion0Generates407Status (0.00s) === RUN TestVersion1Generates401Status --- PASS: TestVersion1Generates401Status (0.00s) === RUN TestMacaroonCookieName ---- PASS: TestMacaroonCookieName (0.01s) +--- PASS: TestMacaroonCookieName (0.06s) === RUN TestMacaroonCookiePath client_test.go:640: - cookie path "" client_test.go:650: - cookie path "/foo/" @@ -1212,11 +1248,11 @@ client_test.go:669: - cookie path "../" client_test.go:679: - cookie path "../bar" client_test.go:692: - cookie path "/" ---- PASS: TestMacaroonCookiePath (0.02s) +--- PASS: TestMacaroonCookiePath (0.06s) === RUN TestThirdPartyDischargeRefused ---- PASS: TestThirdPartyDischargeRefused (0.05s) +--- PASS: TestThirdPartyDischargeRefused (0.24s) === RUN TestDischargeWithInteractionRequiredError ---- PASS: TestDischargeWithInteractionRequiredError (0.07s) +--- PASS: TestDischargeWithInteractionRequiredError (0.23s) === RUN TestInteractionRequiredMethods client_test.go:935: test 0: single method @@ -1250,34 +1286,34 @@ client_test.go:950: added interactor "test-interactor" client_test.go:935: test 8: no interaction methods ---- PASS: TestInteractionRequiredMethods (0.15s) +--- PASS: TestInteractionRequiredMethods (0.55s) === RUN TestDischargeWithVisitURLError client_test.go:1030: test 0: error message client_test.go:1030: test 1: non-JSON error ---- PASS: TestDischargeWithVisitURLError (0.06s) +--- PASS: TestDischargeWithVisitURLError (0.29s) === RUN TestMacaroonsForURL --- PASS: TestMacaroonsForURL (0.01s) === RUN TestDoWithCustomError ---- PASS: TestDoWithCustomError (0.05s) +--- PASS: TestDoWithCustomError (0.28s) === RUN TestHandleError ---- PASS: TestHandleError (0.05s) +--- PASS: TestHandleError (0.24s) === RUN TestNewClientOldServer ---- PASS: TestNewClientOldServer (0.07s) +--- PASS: TestNewClientOldServer (0.25s) === RUN TestHandleErrorDifferentError --- PASS: TestHandleErrorDifferentError (0.00s) === RUN TestNewCookieExpiresLongExpiryTime ---- PASS: TestNewCookieExpiresLongExpiryTime (0.00s) +--- PASS: TestNewCookieExpiresLongExpiryTime (0.01s) === RUN TestNewCookieExpiresAlreadyExpired ---- PASS: TestNewCookieExpiresAlreadyExpired (0.00s) +--- PASS: TestNewCookieExpiresAlreadyExpired (0.02s) === RUN TestNewCookieExpiresNoTimeBeforeCaveat ---- PASS: TestNewCookieExpiresNoTimeBeforeCaveat (0.00s) +--- PASS: TestNewCookieExpiresNoTimeBeforeCaveat (0.01s) === 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) +--- PASS: TestWriteDischargeRequiredError (0.01s) === RUN TestNewInteractionRequiredError --- PASS: TestNewInteractionRequiredError (0.00s) === RUN TestSetInteraction @@ -1288,49 +1324,50 @@ 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) +--- PASS: TestInteractionMethod (0.01s) === RUN TestCachePrepopulated ---- PASS: TestCachePrepopulated (0.00s) +--- PASS: TestCachePrepopulated (0.01s) === RUN TestCachePrepopulatedInsecure ---- PASS: TestCachePrepopulatedInsecure (0.00s) +--- PASS: TestCachePrepopulatedInsecure (0.02s) === RUN TestCacheMiss ---- PASS: TestCacheMiss (0.04s) +--- PASS: TestCacheMiss (0.19s) === RUN TestInsecureURL ---- PASS: TestInsecureURL (0.06s) +--- PASS: TestInsecureURL (0.22s) === RUN TestConcurrentThirdPartyInfo ---- PASS: TestConcurrentThirdPartyInfo (0.04s) +2024/07/30 10:33:57 http: TLS handshake error from 127.0.0.1:40452: read tcp 127.0.0.1:37543->127.0.0.1:40452: use of closed network connection +--- PASS: TestConcurrentThirdPartyInfo (0.27s) === RUN TestCustomHTTPClient --- PASS: TestCustomHTTPClient (0.00s) === RUN TestThirdPartyInfoForLocation ---- PASS: TestThirdPartyInfoForLocation (0.05s) +--- PASS: TestThirdPartyInfoForLocation (0.21s) === RUN TestThirdPartyInfoForLocationWrongURL keyring_test.go:158: [{/build/reproducible-path/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.2/_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.2/_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) +--- PASS: TestThirdPartyInfoForLocationReturnsInvalidJSON (0.01s) === RUN TestThirdPartyInfoForLocationReturnsStatusInternalServerError ---- PASS: TestThirdPartyInfoForLocationReturnsStatusInternalServerError (0.00s) +--- PASS: TestThirdPartyInfoForLocationReturnsStatusInternalServerError (0.02s) === RUN TestThirdPartyInfoForLocationFallbackToOldVersion ---- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.05s) +--- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.18s) === RUN TestOvenWithAuthnMacaroon ---- PASS: TestOvenWithAuthnMacaroon (0.06s) +--- PASS: TestOvenWithAuthnMacaroon (0.25s) === RUN TestOvenWithAuthzMacaroon - oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiWHZnNk92MDY2cVF2Y2R6S2c0UUJJQVc5NThGZWFIXzBUZkJPZU1VQVpfRWl0dGpxMF9MUFhJaENGdFBQVXl6dlNIeUQtb3huQzBPUFk4Z1RTRjlBeWxLYlVYY3l6QnFoIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjMyODU3In0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNy0zMFQxMDoyOToxNC40NDcwMjU5ODdaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1E4ZmtlMGdDQ3FDYWRnaVA0NGFneHJoSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6IlBFc2U3N2Itc1JmMDR6R2ZEYk8wcXIyaTJpV1RYb1JURzVCRFVnRFdtZDQifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6InFzaXhZUXZCMXBMMTdKdFNmLTMxb3pBdWc3MHk0aGkteVNWdklaRkd3WlEifV0=" - oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiZm1hR01JSFRVRTZXRHZFQl91UlVnYTRDc3RkMlhlZnJVZnBFaHNXS2pDa1hKbUtNNlg0SmFvUWczamVpVW1TZXNfek80TjdoSXI0X0dhYmhVdEhoY2pveUh4b090VkNYIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM0NDYxIn0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNy0zMFQxMToyNDoxNC41MDE3ODI4MjhaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1E4X2tlMGdDQ3FDYWRnaVA0NGFneHJoSUJNQm9SQ2dsemIyMWxkR2hwYm1jU0JISmxZV1EiLCJzNjQiOiI5Mk1NUXp5MDFCYXFLNnNDcUM0eGJlUHQtajRFQnh4X1JZYzY4bEhadk9jIn0seyJpNjQiOiJBd0EiLCJzNjQiOiJJV1EwdHRFQThTN1BiZDgzNU5KeW5wRUR0aUNlOERiQ2FHdGFuT2ZBTGwwIn1d" ---- PASS: TestOvenWithAuthzMacaroon (0.11s) + oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiQ3JzWFlJNWE3SXg4Y0MybDEwU3BXMkdVQ3dpY0piY3hDNDNDaFBKRFhLZzY1bHozZGtrNTYtdXg3TE04Q3hFQi02TUZfWF9iWXdnUlBodVBJUTZxT2ZhNUxpM0FsM2JJIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM2Nzc1In0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNy0zMFQxMDozODo1OC4yNDc3MDg4NDVaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FiSnhyQ29mREJJWXZGYnNUcUdOSzl4SUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6Il8zMjhEUDVJNC14aTdCRXM5Tm5oSUt0VjhUak9XOUN3OEg1R0hvMHVIXzQifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6IlJGQkNZX052TlIxQmdGWDcwdmhRUTFLRk5Fcm5WVHlQcGNQdTloMnRZbW8ifV0=" + oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiQzdJLXVHU1FfSzk0aWVod1lyWHpMN0d1RkpIT3JRa3ZSTnA5ODVqU0RZTDZVenZjMVhtdnZpZ3d0SC1zb0gzNjhoZUZ0Y0dCTGdwWFJqNWpoTDVNMTZzajd4QXVXUmM4IiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM4OTI5In0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNy0zMFQxMTozMzo1OC40NjUwOTI0ODZaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FicHhyQ29mREJJWXZGYnNUcUdOSzl4SUJNQm9SQ2dsemIyMWxkR2hwYm1jU0JISmxZV1EiLCJzNjQiOiJ5NTJ6Q2JmdG9EQlNFc3YwQ3paeXZHbUdRd3F5ckhPNXFORlExQTJDV1EwIn0seyJpNjQiOiJBd0EiLCJzNjQiOiJpSEFINDlIZXdMMVd1bWo1VjF5bjAwdEdBaHFFZVlRcHZmTFBNeTNkamtzIn1d" +--- PASS: TestOvenWithAuthzMacaroon (0.50s) === RUN TestLegacyGetInteractionMethodsGetFailure ---- PASS: TestLegacyGetInteractionMethodsGetFailure (0.00s) +--- PASS: TestLegacyGetInteractionMethodsGetFailure (0.01s) === RUN TestLegacyGetInteractionMethodsSuccess --- PASS: TestLegacyGetInteractionMethodsSuccess (0.01s) === RUN TestLegacyGetInteractionMethodsInvalidURL --- PASS: TestLegacyGetInteractionMethodsInvalidURL (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 11.349s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 42.620s === RUN TestSetUpAuth - agent_test.go:50: with token request: /discharge?caveat64=A8dt-YPQET4CPtLoHAFCr6zmD0QIDAt8128Z9X01dY9p0xJ4fahEgR3ALKQ9egwjhfC2GCv-t2OQ50EvOpDpJkfhgcGfF0JSLaggKHZacXEzX-MUF8_Np6dj5hcGRQMIucWrDiF935va7mqgGZoAD5ae7xfCe17PhEy8gEDj5RDgnak&id64=AwA&token-kind=agent&token64=AgImAwoQqUSBHcAspD16DCOF8LYYKxIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESKqqF18KUhbLg1G0ovFVmPXakh6xejvEtt2UtuD-OPtBuQe-1ILrOnbkGPsqZrQ7ZPtiSVmuKf5QpI2IqG68LcVUFVzDJ-tXPQAABiA-Q6lSgeF4g_RPTa5BIA7K6kZGdDPGX1poimpuTatF2AICAgMAAAAGILMgAFF8VQ2HgfC_bCEPco60_Znf8WyJ41A8CfjVvIPo ---- PASS: TestSetUpAuth (0.09s) + agent_test.go:50: with token request: /discharge?caveat64=A3kDmGcpE3Y1sl5ewqjz3ktbWc8SeJccst-ufy9BFbD_EAnBSeEdLR3w-HlHOy1hCfC2u1VYX7AKikFRicDl7AP3knxm0GEFAuqfHenIHpk5snx8blXs57Tj_Yau-kL5aBRqVQtMXtV-HnNqjswSzC1euJCLbA9H4zR05ygpZSweA5M&id64=AwA&token-kind=agent&token64=AgImAwoQ4B0tHfD4eUc7LWEJ8La7VRIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESBcOmUGJXrgdtuW81grxAiFv-OELAjxQzqIoAJMrgZnzYhief6xepIRZp0RAmer-hd5pc7lvRZ3uIternMgCc9KYD2SKgLn-wgAABiDmv1kfViX9u9I8R4n3vihE07dr2omMIeFk3fJUVeKJkQICAgMAAAAGILm1ciQU7ccVZtQHGp3mmYhdr5wfZxDZgEPtRLHsUJYK +--- PASS: TestSetUpAuth (0.59s) === RUN TestAuthInfoFromEnvironment ---- PASS: TestAuthInfoFromEnvironment (0.00s) +--- PASS: TestAuthInfoFromEnvironment (0.03s) === RUN TestAuthInfoFromEnvironmentNotSet --- PASS: TestAuthInfoFromEnvironmentNotSet (0.00s) === RUN TestLoginCookie @@ -1340,23 +1377,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.00s) +--- PASS: TestLoginCookie (0.03s) === RUN TestAgentLoginError === RUN TestAgentLoginError/error_response === RUN TestAgentLoginError/unexpected_response === RUN TestAgentLoginError/unexpected_error_response === RUN TestAgentLoginError/login_false_value ---- PASS: TestAgentLoginError (0.27s) - --- PASS: TestAgentLoginError/error_response (0.06s) - --- PASS: TestAgentLoginError/unexpected_response (0.07s) - --- PASS: TestAgentLoginError/unexpected_error_response (0.08s) - --- PASS: TestAgentLoginError/login_false_value (0.07s) +--- PASS: TestAgentLoginError (1.23s) + --- PASS: TestAgentLoginError/error_response (0.32s) + --- PASS: TestAgentLoginError/unexpected_response (0.28s) + --- PASS: TestAgentLoginError/unexpected_error_response (0.28s) + --- PASS: TestAgentLoginError/login_false_value (0.35s) === RUN TestLegacySetUpAuth ---- PASS: TestLegacySetUpAuth (0.09s) +--- PASS: TestLegacySetUpAuth (0.42s) === RUN TestLegacyNoMatchingSite ---- PASS: TestLegacyNoMatchingSite (0.08s) +--- PASS: TestLegacyNoMatchingSite (0.28s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 0.580s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 2.708s === RUN TestFormLogin form_test.go:133: test 0: complete visit @@ -1372,17 +1409,17 @@ test 5: filler error form_test.go:133: test 6: invalid token returned from form submission ---- PASS: TestFormLogin (0.12s) +--- PASS: TestFormLogin (0.57s) === RUN TestFormTitle form_test.go:209: test 0: xyz.com - form_test.go:216: match xyz.com; replace with https://127.0.0.1:37927 + form_test.go:216: match xyz.com; replace with https://127.0.0.1:45197 form_test.go:209: test 1: abc.xyz.com - form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:37927 + form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:45197 form_test.go:209: test 2: com - form_test.go:216: match com; replace with https://127.0.0.1:37927 ---- PASS: TestFormTitle (0.08s) + form_test.go:216: match com; replace with https://127.0.0.1:45197 +--- PASS: TestFormTitle (0.74s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.229s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 1.444s === RUN TestRelativeURL relativeurl_test.go:131: test 0: "" "" relativeurl_test.go:131: test 1: "/foo" "" @@ -1411,9 +1448,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.00s) +--- PASS: TestRelativeURL (0.01s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.039s +ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.132s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1440,12 +1477,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/779/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/779/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/22013 and its subdirectories -I: Current time: Mon Jul 29 22:24:30 -12 2024 -I: pbuilder-time-stamp: 1722335070 +I: removing directory /srv/workspace/pbuilder/779 and its subdirectories +I: Current time: Wed Jul 31 00:34:51 +14 2024 +I: pbuilder-time-stamp: 1722335691