Diff of the two buildlogs: -- --- b1/build.log 2025-02-05 20:33:49.723164183 +0000 +++ b2/build.log 2025-02-05 20:40:34.396848307 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 5 08:25:14 -12 2025 -I: pbuilder-time-stamp: 1738787114 +I: Current time: Thu Feb 6 10:34:01 +14 2025 +I: pbuilder-time-stamp: 1738787641 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,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/28884/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23709/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 Feb 5 20:34 /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/23709/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23709/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]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(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='07921a50f20643d4bda6196b5f1b8d62' - 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='28884' - PS1='# ' - PS2='> ' + INVOCATION_ID=3510d5e8bf0644709d3b926e8607e52e + 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=23709 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.or6yLZju/pbuilderrc_oCbJ --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.or6yLZju/b1 --logfile b1/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+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.or6yLZju/pbuilderrc_rGm7 --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.or6yLZju/b2 --logfile b2/build.log golang-github-go-macaroon-bakery-macaroon-bakery_3.0.2-1.dsc' + SUDO_GID=112 + SUDO_UID=106 + 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-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28884/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/23709/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -212,7 +244,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 75.7 MB in 3s (22.6 MB/s) +Fetched 75.7 MB in 4s (20.4 MB/s) Preconfiguring packages ... 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 ... 19568 files and directories currently installed.) @@ -511,7 +543,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/23709/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/23709/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 @@ -529,41 +565,42 @@ 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 + 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/byteorder -internal/coverage/rtcov internal/unsafeheader +internal/byteorder internal/cpu -internal/godebugs +internal/coverage/rtcov internal/abi +internal/godebugs +internal/chacha8rand internal/goexperiment internal/goos -internal/chacha8rand internal/profilerecord -internal/runtime/syscall -runtime/internal/math internal/bytealg internal/runtime/atomic +internal/runtime/syscall +runtime/internal/math runtime/internal/sys -internal/race -sync/atomic -unicode internal/stringslite +internal/race internal/runtime/exithook +sync/atomic unicode/utf8 +unicode internal/asan internal/itoa internal/msan math/bits crypto/internal/alias crypto/internal/boring/sig +math cmp encoding +runtime unicode/utf16 log/internal golang.org/x/crypto/internal/alias -math golang.org/x/crypto/salsa20/salsa google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set @@ -572,94 +609,72 @@ 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 -iter -internal/weak sync +iter +crypto/subtle slices +internal/weak maps +internal/bisect internal/testlog google.golang.org/protobuf/internal/pragma -internal/bisect internal/singleflight runtime/cgo errors -internal/oserror +sort internal/godebug +internal/oserror io -sort syscall strconv bytes hash -crypto/internal/randutil -path crypto/cipher -math/rand +crypto/internal/randutil crypto reflect crypto/internal/boring +path +math/rand +time +internal/syscall/unix +internal/syscall/execenv strings crypto/hmac crypto/sha256 hash/fnv -hash/crc32 bufio -crypto/internal/edwards25519/field -time -internal/syscall/unix -internal/syscall/execenv -crypto/internal/nistec/fiat -crypto/md5 -crypto/sha1 -vendor/golang.org/x/net/dns/dnsmessage -math/rand/v2 -internal/concurrent -unique -crypto/aes -crypto/des -net/netip +hash/crc32 context io/fs internal/poll internal/filepathlite -internal/fmtsort -encoding/binary embed +crypto/internal/edwards25519/field google.golang.org/protobuf/internal/editiondefaults -crypto/sha512 +crypto/internal/nistec/fiat +crypto/md5 os -crypto/internal/edwards25519 -vendor/golang.org/x/crypto/hkdf -crypto/rc4 +crypto/sha1 +internal/fmtsort +encoding/binary +vendor/golang.org/x/net/dns/dnsmessage encoding/base64 golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/blake2b +fmt golang.org/x/crypto/nacl/secretbox -vendor/golang.org/x/crypto/chacha20 -crypto/internal/nistec -vendor/golang.org/x/crypto/internal/poly1305 -encoding/pem -github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/text/transform -net/http/internal/ascii -net/http/internal/testcert -regexp/syntax -golang.org/x/sys/unix google.golang.org/protobuf/internal/detrand -fmt io/ioutil -crypto/ecdh -net -golang.org/x/crypto/curve25519 +math/rand/v2 path/filepath -vendor/golang.org/x/sys/cpu -vendor/golang.org/x/crypto/sha3 -os/exec -regexp +internal/concurrent +unique +crypto/aes +crypto/des +net/netip +crypto/sha512 math/big encoding/json log @@ -667,16 +682,18 @@ encoding/hex google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/reflect/protoreflect go/token +google.golang.org/protobuf/reflect/protoreflect compress/flate -google.golang.org/protobuf/internal/version crypto/rand -gopkg.in/mgo.v2/internal/json +google.golang.org/protobuf/internal/version gopkg.in/macaroon.v2 +github.com/rogpeppe/fastuuid +crypto/internal/nistec +compress/gzip google.golang.org/protobuf/internal/encoding/messageset -github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers google.golang.org/protobuf/internal/genid +github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/reflect/protoregistry @@ -684,91 +701,110 @@ google.golang.org/protobuf/internal/descfmt 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 -github.com/rogpeppe/fastuuid golang.org/x/crypto/nacl/box +gopkg.in/mgo.v2/internal/json net/url -gopkg.in/mgo.v2/internal/scram google.golang.org/protobuf/internal/encoding/defval +gopkg.in/mgo.v2/internal/scram database/sql/driver -text/template/parse -gopkg.in/mgo.v2/bson +net google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext database/sql -text/template -crypto/elliptic +gopkg.in/mgo.v2/bson google.golang.org/protobuf/internal/encoding/tag -crypto/internal/bigmod +text/template/parse google.golang.org/protobuf/internal/impl +crypto/elliptic +text/template +crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 +crypto/internal/edwards25519 +vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 +vendor/golang.org/x/crypto/chacha20 +crypto/ecdsa +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/sys/cpu crypto/internal/hpke -crypto/internal/mlkem768 -gopkg.in/mgo.v2 +vendor/golang.org/x/crypto/sha3 +crypto/rc4 crypto/rsa crypto/dsa -github.com/juju/webbrowser +crypto/internal/mlkem768 +crypto/x509/pkix +encoding/pem +github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil +os/exec +vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi +google.golang.org/protobuf/internal/filetype +github.com/juju/webbrowser vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/crypto/cryptobyte -crypto/ecdsa -crypto/x509/pkix +google.golang.org/protobuf/runtime/protoimpl +github.com/go-macaroon-bakery/macaroonpb vendor/golang.org/x/text/secure/bidirule -net/textproto +github.com/go-macaroon-bakery/macaroon-bakery/bakery vendor/golang.org/x/net/http2/hpack +mime crypto/x509 +gopkg.in/mgo.v2 +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 vendor/golang.org/x/net/idna -mime +net/textproto mime/quotedprintable -net/http/internal -golang.org/x/net/html mime/multipart vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy +net/http/internal +net/http/internal/ascii +golang.org/x/net/html flag -github.com/juju/schema -go/scanner crypto/tls -go/doc/comment +net/http/internal/testcert +regexp/syntax +github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore +go/scanner go/ast +go/doc/comment +regexp +golang.org/x/sys/unix +github.com/juju/schema internal/lazyregexp -gopkg.in/yaml.v2 -golang.org/x/term -google.golang.org/protobuf/internal/filetype -golang.org/x/crypto/ssh/terminal -google.golang.org/protobuf/runtime/protoimpl -github.com/go-macaroon-bakery/macaroonpb go/doc -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 -gopkg.in/juju/environschema.v1 -github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore -github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore -gopkg.in/juju/environschema.v1/form +gopkg.in/yaml.v2 net/http/httptrace net/http +gopkg.in/juju/environschema.v1 +golang.org/x/term github.com/julienschmidt/httprouter -net/http/cookiejar net/http/httptest +net/http/cookiejar gopkg.in/httprequest.v1 +golang.org/x/crypto/ssh/terminal golang.org/x/net/publicsuffix +gopkg.in/juju/environschema.v1/form github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 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/agent +github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 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.01s) +--- PASS: TestV2RoundTrip (0.00s) === RUN TestV3RoundTrip - codec_test.go:64: cid 0392c3cd1bea8420b5a6401e230b523056a5c374793c59a24fa960f38c48be736ac818b23ebf1f37239a3d819afe9304c972ed57ebb18a8c15288b65338776928a89867fa6ad1ad889701f8b63f165f22bb61e295dc0be2b7704df9790ac71bef5591023abce14126535e542cf3b9a8d94784aa671b2b8b8dcc0d3b0 ---- PASS: TestV3RoundTrip (0.01s) + codec_test.go:64: cid 030948ba19ff3a392b9083057bdd6fbf2362c210d70e6ca42fe063c8374fdf90b3b5a05e79d65537e58b2ce9732f5794b88ec651d3c50efcdbf9ebd36177b8d0983a3498e632eb83553a96040b23766cad9b5a57582d99a8388cb0532f14c9f657ddbe5fe8eec9e6538d66931af970d90e7a805d19ffcd7f1c1ffd2f +--- PASS: TestV3RoundTrip (0.00s) === RUN TestEmptyCaveatId --- PASS: TestEmptyCaveatId (0.00s) === RUN TestCaveatIdBadVersion @@ -776,79 +812,79 @@ === RUN TestV2TooShort --- PASS: TestV2TooShort (0.00s) === RUN TestV2BadKey ---- PASS: TestV2BadKey (0.01s) +--- PASS: TestV2BadKey (0.00s) === RUN TestV2DecryptionError ---- PASS: TestV2DecryptionError (0.01s) +--- PASS: TestV2DecryptionError (0.00s) === RUN TestV2EmptySecretPart ---- PASS: TestV2EmptySecretPart (0.01s) +--- PASS: TestV2EmptySecretPart (0.00s) === RUN TestV2BadSecretPartVersion --- PASS: TestV2BadSecretPartVersion (0.01s) === RUN TestV2EmptyRootKey ---- PASS: TestV2EmptyRootKey (0.01s) +--- PASS: TestV2EmptyRootKey (0.00s) === RUN TestV2LongRootKey ---- PASS: TestV2LongRootKey (3.06s) +--- PASS: TestV2LongRootKey (0.76s) === 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.02s) +--- 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.00s) === RUN TestOpsAuthorizerError ---- PASS: TestOpsAuthorizerError (0.01s) +--- PASS: TestOpsAuthorizerError (0.00s) === RUN TestOpsAuthorizerWithCaveats ---- PASS: TestOpsAuthorizerWithCaveats (0.05s) +--- 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.02s) +--- PASS: TestMacaroonPaperFig6 (0.01s) === RUN TestDischargeWithVersion1Macaroon ---- PASS: TestDischargeWithVersion1Macaroon (0.02s) +--- PASS: TestDischargeWithVersion1Macaroon (0.01s) === RUN TestVersion1MacaroonId --- PASS: TestVersion1MacaroonId (0.00s) === RUN TestMacaroonPaperFig6FailsWithoutDischarges ---- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.02s) +--- PASS: TestMacaroonPaperFig6FailsWithoutDischarges (0.01s) === RUN TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature ---- PASS: TestMacaroonPaperFig6FailsWithBindingOnTamperedSignature (0.04s) +--- 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.04s) +--- PASS: TestThirdPartyDischargeMacaroonIdsAreSmall (0.01s) === RUN TestDischargeAllNoDischarges --- PASS: TestDischargeAllNoDischarges (0.00s) === RUN TestDischargeAllManyDischarges ---- PASS: TestDischargeAllManyDischarges (0.03s) +--- PASS: TestDischargeAllManyDischarges (0.01s) === RUN TestDischargeAllManyDischargesWithRealThirdPartyCaveats ---- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (1.12s) +--- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (0.21s) === RUN TestDischargeAllLocalDischarge ---- PASS: TestDischargeAllLocalDischarge (0.04s) +--- PASS: TestDischargeAllLocalDischarge (0.01s) === RUN TestDischargeAllLocalDischargeVersion1 ---- PASS: TestDischargeAllLocalDischargeVersion1 (0.04s) +--- PASS: TestDischargeAllLocalDischargeVersion1 (0.01s) === RUN TestMarshalBinary --- PASS: TestMarshalBinary (0.00s) === RUN TestMarshalText @@ -872,7 +908,7 @@ === RUN TestKeyPairUnmarshalYAMLMissingPrivateKey --- PASS: TestKeyPairUnmarshalYAMLMissingPrivateKey (0.00s) === RUN TestDerivePublicFromPrivate ---- PASS: TestDerivePublicFromPrivate (0.02s) +--- PASS: TestDerivePublicFromPrivate (0.00s) === RUN TestNewMacaroon --- PASS: TestNewMacaroon (0.00s) === RUN TestAddFirstPartyCaveat @@ -882,19 +918,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.05s) +--- PASS: TestAddThirdPartyCaveat (0.01s) === RUN TestMarshalJSONLatestVersion ---- PASS: TestMarshalJSONLatestVersion (0.02s) +--- PASS: TestMarshalJSONLatestVersion (0.00s) === RUN TestMarshalJSONVersion1 ---- PASS: TestMarshalJSONVersion1 (0.02s) +--- PASS: TestMarshalJSONVersion1 (0.00s) === RUN TestMarshalJSONVersion2 ---- PASS: TestMarshalJSONVersion2 (0.02s) +--- 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 @@ -912,15 +948,15 @@ === RUN TestMultipleOpsInIdWithVersion1 --- PASS: TestMultipleOpsInIdWithVersion1 (0.00s) === RUN TestAddMoreCaveats ---- PASS: TestAddMoreCaveats (0.01s) +--- PASS: TestAddMoreCaveats (0.00s) === RUN TestPurge ---- PASS: TestPurge (0.01s) +--- PASS: TestPurge (0.00s) === RUN TestDischargeAllAcquiresManyMacaroonsAsPossible ---- PASS: TestDischargeAllAcquiresManyMacaroonsAsPossible (0.01s) +--- PASS: TestDischargeAllAcquiresManyMacaroonsAsPossible (0.00s) === RUN TestMemStore ---- PASS: TestMemStore (0.01s) +--- PASS: TestMemStore (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 5.204s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 1.204s === RUN TestCheckers checkers_test.go:177: test 0: nothing in context, no extra checkers checkers_test.go:183: check 0 @@ -954,7 +990,7 @@ checkers_test.go:177: test 6: error caveat checkers_test.go:183: check 0 checkers_test.go:183: check 1 ---- PASS: TestCheckers (0.01s) +--- 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 @@ -1043,7 +1079,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.072s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers 0.030s === RUN TestIsValidWithPolicy rootkey_test.go:93: test 0: success rootkey_test.go:93: test 1: empty root key @@ -1060,7 +1096,7 @@ rootkey_test.go:103: test 4: expires too late --- PASS: TestRootKeyUsesKeysValidWithPolicy (0.00s) === RUN TestRootKey ---- PASS: TestRootKey (0.02s) +--- PASS: TestRootKey (0.00s) === RUN TestRootKeyDefaultGenerateInterval --- PASS: TestRootKeyDefaultGenerateInterval (0.00s) === RUN TestPreferredRootKeyFromDatabase @@ -1073,7 +1109,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 @@ -1083,7 +1119,7 @@ === RUN TestContextBackingStore --- PASS: TestContextBackingStore (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.091s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.042s === RUN TestAuthorizerFunc --- PASS: TestAuthorizerFunc (0.00s) === RUN TestACLAuthorizer @@ -1095,65 +1131,65 @@ authorizer_test.go:154: test 5: error return causes all authorization to fail --- PASS: TestACLAuthorizer (0.00s) === RUN TestAuthorizeWithOpenAccessAndNoMacaroons ---- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.03s) +--- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.01s) === RUN TestAuthorizationDenied ---- PASS: TestAuthorizationDenied (0.05s) +--- PASS: TestAuthorizationDenied (0.02s) === RUN TestAuthorizeWithAuthenticationRequired ---- PASS: TestAuthorizeWithAuthenticationRequired (0.05s) +--- PASS: TestAuthorizeWithAuthenticationRequired (0.02s) === RUN TestAuthorizeMultipleOps ---- PASS: TestAuthorizeMultipleOps (0.04s) +--- PASS: TestAuthorizeMultipleOps (0.01s) === RUN TestCapability ---- PASS: TestCapability (0.05s) +--- PASS: TestCapability (0.02s) === RUN TestCapabilityMultipleEntities ---- PASS: TestCapabilityMultipleEntities (0.05s) +--- PASS: TestCapabilityMultipleEntities (0.02s) === RUN TestMultipleCapabilities ---- PASS: TestMultipleCapabilities (0.08s) +--- PASS: TestMultipleCapabilities (0.01s) === RUN TestCombineCapabilities ---- PASS: TestCombineCapabilities (0.07s) +--- PASS: TestCombineCapabilities (0.01s) === RUN TestPartiallyAuthorizedRequest ---- PASS: TestPartiallyAuthorizedRequest (0.07s) +--- PASS: TestPartiallyAuthorizedRequest (0.01s) === RUN TestAuthWithThirdPartyCaveats ---- PASS: TestAuthWithThirdPartyCaveats (0.07s) +--- PASS: TestAuthWithThirdPartyCaveats (0.01s) === RUN TestCapabilityCombinesFirstPartyCaveats ---- PASS: TestCapabilityCombinesFirstPartyCaveats (0.08s) +--- PASS: TestCapabilityCombinesFirstPartyCaveats (0.01s) === RUN TestLoginOnly ---- PASS: TestLoginOnly (0.05s) +--- PASS: TestLoginOnly (0.01s) === RUN TestAuthWithIdentityFromContext ---- PASS: TestAuthWithIdentityFromContext (0.02s) +--- PASS: TestAuthWithIdentityFromContext (0.00s) === RUN TestAuthLoginOpWithIdentityFromContext ---- PASS: TestAuthLoginOpWithIdentityFromContext (0.02s) +--- PASS: TestAuthLoginOpWithIdentityFromContext (0.00s) === RUN TestAllowWithOpsAuthorizer ---- PASS: TestAllowWithOpsAuthorizer (0.01s) +--- PASS: TestAllowWithOpsAuthorizer (0.00s) === RUN TestDuplicateLoginMacaroons ---- PASS: TestDuplicateLoginMacaroons (0.09s) +--- PASS: TestDuplicateLoginMacaroons (0.01s) === RUN TestMacaroonOpsFatalError --- PASS: TestMacaroonOpsFatalError (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.876s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.246s testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.059s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.031s [no tests to run] testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.056s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.023s [no tests to run] === RUN TestDischargerSimple ---- PASS: TestDischargerSimple (0.23s) +--- PASS: TestDischargerSimple (0.07s) === RUN TestDischargerTwoLevels ---- PASS: TestDischargerTwoLevels (0.36s) +--- PASS: TestDischargerTwoLevels (0.13s) === RUN TestInsecureSkipVerifyRestoration ---- PASS: TestInsecureSkipVerifyRestoration (0.03s) +--- PASS: TestInsecureSkipVerifyRestoration (0.01s) === RUN TestConcurrentDischargers --- PASS: TestConcurrentDischargers (0.01s) === RUN TestWithGlobalAllowInsecure ---- PASS: TestWithGlobalAllowInsecure (0.04s) +--- PASS: TestWithGlobalAllowInsecure (0.01s) === RUN TestInteractiveDischarger ---- PASS: TestInteractiveDischarger (0.15s) +--- PASS: TestInteractiveDischarger (0.07s) === RUN TestLoginDischargerError ---- PASS: TestLoginDischargerError (0.22s) +--- PASS: TestLoginDischargerError (0.05s) === RUN TestInteractiveDischargerRedirection ---- PASS: TestInteractiveDischargerRedirection (0.23s) +--- PASS: TestInteractiveDischargerRedirection (0.05s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 1.323s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 0.438s === RUN TestCheckers checkers_test.go:157: test 0: no host name declared checkers_test.go:160: check 0 @@ -1187,19 +1223,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.01s) === RUN TestSingleServiceFirstParty ---- PASS: TestSingleServiceFirstParty (0.02s) +--- PASS: TestSingleServiceFirstParty (0.01s) === RUN TestSingleServiceFirstPartyWithHeader ---- PASS: TestSingleServiceFirstPartyWithHeader (0.01s) +--- PASS: TestSingleServiceFirstPartyWithHeader (0.00s) === RUN TestRepeatedRequestWithBody ---- PASS: TestRepeatedRequestWithBody (0.15s) +--- PASS: TestRepeatedRequestWithBody (0.06s) === RUN TestWithLargeBody ---- PASS: TestWithLargeBody (29.36s) +--- PASS: TestWithLargeBody (10.15s) === RUN TestDischargeServerWithBinaryCaveatId ---- PASS: TestDischargeServerWithBinaryCaveatId (0.13s) +--- PASS: TestDischargeServerWithBinaryCaveatId (0.05s) === RUN TestDischargeServerWithStringCaveatId ---- PASS: TestDischargeServerWithStringCaveatId (0.16s) +--- PASS: TestDischargeServerWithStringCaveatId (0.05s) === RUN TestDoClosesBody --- PASS: TestDoClosesBody (0.00s) === RUN TestWithNonSeekableBody @@ -1210,17 +1246,17 @@ --- PASS: TestWithWriterToBody (0.00s) === RUN TestDischargeServerWithMacaraqOnDischarge client_test.go:352: returning discharge required error ---- PASS: TestDischargeServerWithMacaraqOnDischarge (0.08s) +--- PASS: TestDischargeServerWithMacaraqOnDischarge (0.02s) === RUN TestTwoDischargesRequired ---- PASS: TestTwoDischargesRequired (0.21s) +--- PASS: TestTwoDischargesRequired (0.06s) === RUN TestTooManyDischargesRequired ---- PASS: TestTooManyDischargesRequired (0.23s) +--- PASS: TestTooManyDischargesRequired (0.07s) === 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/" @@ -1228,11 +1264,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.20s) +--- PASS: TestThirdPartyDischargeRefused (0.05s) === RUN TestDischargeWithInteractionRequiredError ---- PASS: TestDischargeWithInteractionRequiredError (0.17s) +--- PASS: TestDischargeWithInteractionRequiredError (0.05s) === RUN TestInteractionRequiredMethods client_test.go:935: test 0: single method @@ -1266,34 +1302,34 @@ client_test.go:950: added interactor "test-interactor" client_test.go:935: test 8: no interaction methods ---- PASS: TestInteractionRequiredMethods (0.40s) +--- PASS: TestInteractionRequiredMethods (0.12s) === RUN TestDischargeWithVisitURLError client_test.go:1030: test 0: error message client_test.go:1030: test 1: non-JSON error ---- PASS: TestDischargeWithVisitURLError (0.19s) +--- PASS: TestDischargeWithVisitURLError (0.06s) === RUN TestMacaroonsForURL ---- PASS: TestMacaroonsForURL (0.01s) +--- PASS: TestMacaroonsForURL (0.00s) === RUN TestDoWithCustomError ---- PASS: TestDoWithCustomError (0.18s) +--- PASS: TestDoWithCustomError (0.05s) === RUN TestHandleError ---- PASS: TestHandleError (0.16s) +--- PASS: TestHandleError (0.05s) === RUN TestNewClientOldServer ---- PASS: TestNewClientOldServer (0.13s) +--- 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 @@ -1310,16 +1346,16 @@ === RUN TestCachePrepopulatedInsecure --- PASS: TestCachePrepopulatedInsecure (0.00s) === RUN TestCacheMiss ---- PASS: TestCacheMiss (0.11s) +--- PASS: TestCacheMiss (0.04s) === RUN TestInsecureURL ---- PASS: TestInsecureURL (0.12s) +--- PASS: TestInsecureURL (0.05s) === RUN TestConcurrentThirdPartyInfo -2025/02/05 20:33:13 http: TLS handshake error from 127.0.0.1:49910: write tcp 127.0.0.1:40483->127.0.0.1:49910: use of closed network connection ---- PASS: TestConcurrentThirdPartyInfo (0.14s) +2025/02/05 20:39:56 http: TLS handshake error from 127.0.0.1:45166: read tcp 127.0.0.1:44693->127.0.0.1:45166: use of closed network connection +--- PASS: TestConcurrentThirdPartyInfo (0.05s) === 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.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) @@ -1328,13 +1364,13 @@ === RUN TestThirdPartyInfoForLocationReturnsStatusInternalServerError --- PASS: TestThirdPartyInfoForLocationReturnsStatusInternalServerError (0.00s) === RUN TestThirdPartyInfoForLocationFallbackToOldVersion ---- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.13s) +--- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.05s) === RUN TestOvenWithAuthnMacaroon ---- PASS: TestOvenWithAuthnMacaroon (0.15s) +--- PASS: TestOvenWithAuthnMacaroon (0.05s) === RUN TestOvenWithAuthzMacaroon - oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiNzNJa0VBQTI0TVlaYU1OMmM3bE5tazRxMzJLVWZKT1J6a2J0TkVxX0M3cUZjLXJXcjNvY2l2Sk1JSEJXUzZQUVJQWWtuQnZWSmpCemp6WTljQ1l6aHF2NkhrTXRZVGlrIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQ0NTQ5In0seyJpIjoidGltZS1iZWZvcmUgMjAyNS0wMi0wNVQyMDozODoxMy44NjQxNTIxNDZaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1F5M0U1aGZ5d2Q1RDFmMzl4MFhoQ1RCSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6IkwwdmV0NW1TZHdqNHUtQWJObURlS21DWW14ZzFhVjBkR0lfRGVQYUdMTE0ifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6IkZ1Z1I5RUJITGJtb2JudHBSeHpwbnVlaVRUblc0dUg0OWtYNUtXV2xiOUkifV0=" - oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoicnZWcTVHeHBUTnhuTV9zS2ZYUXNkdEVPUHJWYzd4Q0VQUmRUZWJXR1NraXhYY0YzRTZEWWs2YVpIa3lvNElnaHZDYTRsRmpKYnJBb1NsVURFV0FBSzRjd0prZ3daV1FxIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQxNjcxIn0seyJpIjoidGltZS1iZWZvcmUgMjAyNS0wMi0wNVQyMTozMzoxMy45OTQ4NDY5NFoifV0sImwiOiJoZXJlIiwiaTY0IjoiQXdvUXlYRTVoZnl3ZDVEMWYzOXgwWGhDVEJJQk1Cb1JDZ2x6YjIxbGRHaHBibWNTQkhKbFlXUSIsInM2NCI6Imp6SVMwRmQwQVVXMGpEN2EwZE42OE9jSDlkelRxTklsRnk3cVNtMFZ3TFkifSx7Imk2NCI6IkF3QSIsInM2NCI6IndMV05UZlF0VUZTWnl2eWtYU3dzMjhlT3EzNUNFOENzeFBEYkRnV0FyRU0ifV0=" ---- PASS: TestOvenWithAuthzMacaroon (0.30s) + oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoickVWR241MlFWTDVGTkNkMUdxWlFVNkt0T0RUTWp6ZHFrUmw3NkItV3NXWWVPbUZUOXM3bEJzX0k2bmo4NGRwVVhZcmVwbzJoMFB4bXNnWjlMZUFBLUx5UlF5UVJzUW9JIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQxNjQ5In0seyJpIjoidGltZS1iZWZvcmUgMjAyNS0wMi0wNVQyMDo0NDo1Ni43NzI5MjY2NDFaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FRUENEazAwQXZtNjF1ZVR4RmRQbENCSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6InBxTFRHcFlOZ2RJZnF2Z29FWnZoblZVQmJpcHNzbFZUc1dVRXc1Y0NGRE0ifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6ImVKalJPS3ZlLXBoSzczZzRGd0VtSVhpUUdtSTFFQkl4b1hkZWFlS25EWXcifV0=" + oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoidXltZGJjT0RWNmVITUNRSXk0SEJHbk9IbllNUXBpdDA5LVZCZXNrSFByM21rWXFjOWViTTljdWpOMWdJRFdQWGxsYVdRQUNQRlJCeGpXbmZxV1BXeWhoRlNiT0hhRTBaIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQxNTU3In0seyJpIjoidGltZS1iZWZvcmUgMjAyNS0wMi0wNVQyMTozOTo1Ni44MTYyNDk3OTFaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1FRdkNEazAwQXZtNjF1ZVR4RmRQbENCSUJNQm9SQ2dsemIyMWxkR2hwYm1jU0JISmxZV1EiLCJzNjQiOiJXanRNN2paSi05MlRtOExLSDQtaGYxY19SaGNpemZ3LWlDZUc0WVBUQ1U4In0seyJpNjQiOiJBd0EiLCJzNjQiOiJxeE5ycjZnZGVHY1UzQmRBSWhTM2VMZEZsZFFhMnJzX0FpaTUtM2VYbkhJIn1d" +--- PASS: TestOvenWithAuthzMacaroon (0.10s) === RUN TestLegacyGetInteractionMethodsGetFailure --- PASS: TestLegacyGetInteractionMethodsGetFailure (0.00s) === RUN TestLegacyGetInteractionMethodsSuccess @@ -1342,10 +1378,10 @@ === RUN TestLegacyGetInteractionMethodsInvalidURL --- PASS: TestLegacyGetInteractionMethodsInvalidURL (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 33.122s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 11.353s === RUN TestSetUpAuth - agent_test.go:50: with token request: /discharge?caveat64=A2JQJ8DafH-277BoDEAdL3UJ4rn4iFbCkZ1q07IwROHagq0iFAnN7SR--9xoeXGt3TAdATctWIgGdhxFvCnrSNlIgDyl-c9SrUKgGQbYgIGklt_kpcD0eayYttGILJ53z0N6Y-v9jzj59Byp-G-zq6HizjZqIX05Bil5JQwkk5-0QHQ&id64=AwA&token-kind=agent&token64=AgImAwoQCM3tJH773Gh5ca3dMB0BNxIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESFeh6r7mynsRdDztLFvkh1EcNohZs3HqIA1RfzwkCcIaVEx8mnRR6ib-f5BL3L7VjQtZUr9b4OVrH7JbHaG2sOYjfqRkVi3jFwAABiBOpLbWXIw72j8hzjp2dx35GhYLPoYAnb5XcL4ss4qfxAICAgMAAAAGIIpShP9KIeIZio-EV-bSgljDjSL5GhiXC8p5y3QEby14 ---- PASS: TestSetUpAuth (0.23s) + agent_test.go:50: with token request: /discharge?caveat64=A5GGpTmu8a6y7hzxbvXjbLkIKcWSDriNCdDoau4TtvUCa7xqOZMgEhnyOrDnduIH9nSgUZv1J7wN5SFr4EahqLjyqOXPHwOdLmLENjA7sLFM48UYlFZ7jKCCvowba9r87hIM5b2AeK__GXMPOpwpD5rQogAL6YBukC4lHFioZVLGEQc&id64=AwA&token-kind=agent&token64=AgImAwoQkiASGfI6sOd24gf2dKBRmxIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESM9gsXWSAbPJnhSZI36DI9JRonNJTAb6MEz1e7xcG-VVLezHuWQ7AS1rcHNeyx3HilgZVS0eC5VBA3Fudsx6K55eTYHfRIPLcQAABiAEINodqW-_9CcnjI7vU5H2nvYSDa4ZPJ6PpDpApWeyRAICAgMAAAAGIGtO8TMzgmMWG5cVmOaGVoUy9lSxHtsFSt8h1xTnM2a3 +--- PASS: TestSetUpAuth (0.08s) === RUN TestAuthInfoFromEnvironment --- PASS: TestAuthInfoFromEnvironment (0.01s) === RUN TestAuthInfoFromEnvironmentNotSet @@ -1357,23 +1393,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.80s) - --- PASS: TestAgentLoginError/error_response (0.14s) - --- PASS: TestAgentLoginError/unexpected_response (0.22s) - --- PASS: TestAgentLoginError/unexpected_error_response (0.23s) - --- PASS: TestAgentLoginError/login_false_value (0.20s) +--- PASS: TestAgentLoginError (0.22s) + --- PASS: TestAgentLoginError/error_response (0.05s) + --- PASS: TestAgentLoginError/unexpected_response (0.06s) + --- PASS: TestAgentLoginError/unexpected_error_response (0.05s) + --- PASS: TestAgentLoginError/login_false_value (0.06s) === RUN TestLegacySetUpAuth ---- PASS: TestLegacySetUpAuth (0.25s) +--- PASS: TestLegacySetUpAuth (0.11s) === RUN TestLegacyNoMatchingSite ---- PASS: TestLegacyNoMatchingSite (0.23s) +--- PASS: TestLegacyNoMatchingSite (0.18s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 1.594s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 0.641s === RUN TestFormLogin form_test.go:133: test 0: complete visit @@ -1389,17 +1425,17 @@ test 5: filler error form_test.go:133: test 6: invalid token returned from form submission ---- PASS: TestFormLogin (0.36s) +--- PASS: TestFormLogin (0.11s) === RUN TestFormTitle form_test.go:209: test 0: xyz.com - form_test.go:216: match xyz.com; replace with https://127.0.0.1:46149 + form_test.go:216: match xyz.com; replace with https://127.0.0.1:34599 form_test.go:209: test 1: abc.xyz.com - form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:46149 + form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:34599 form_test.go:209: test 2: com - form_test.go:216: match com; replace with https://127.0.0.1:46149 ---- PASS: TestFormTitle (0.21s) + form_test.go:216: match com; replace with https://127.0.0.1:34599 +--- PASS: TestFormTitle (0.07s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.666s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.215s === RUN TestRelativeURL relativeurl_test.go:131: test 0: "" "" relativeurl_test.go:131: test 1: "/foo" "" @@ -1428,9 +1464,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.067s +ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.014s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1457,12 +1493,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/23709/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23709/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/28884 and its subdirectories -I: Current time: Wed Feb 5 08:33:45 -12 2025 -I: pbuilder-time-stamp: 1738787625 +I: removing directory /srv/workspace/pbuilder/23709 and its subdirectories +I: Current time: Thu Feb 6 10:40:30 +14 2025 +I: pbuilder-time-stamp: 1738788030