Diff of the two buildlogs: -- --- b1/build.log 2023-06-10 03:38:18.093260546 +0000 +++ b2/build.log 2023-06-10 03:42:26.926364814 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jul 11 21:58:03 -12 2024 -I: pbuilder-time-stamp: 1720778283 +I: Current time: Sat Jun 10 17:38:21 +14 2023 +I: pbuilder-time-stamp: 1686368301 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1.orig.tar.gz] I: copying [./golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Aug 29 09:43:09 2022 -12 +gpgv: Signature made Tue Aug 30 11:43:09 2022 +14 gpgv: using RSA key D41A7AD07DF6C5FCA7489F1C29EEE2D6ECF442F9 gpgv: issuer "mathias@calenhad.com" gpgv: Can't check signature: No public key @@ -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/22329/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13552/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +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 Jun 10 17:38 /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/13552/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13552/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='22329' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=13552 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.yFQtftUs/pbuilderrc_YqfN --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yFQtftUs/b1 --logfile b1/build.log golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + 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.yFQtftUs/pbuilderrc_NH2t --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yFQtftUs/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink9-arm64 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 11 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/22329/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 10 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/13552/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 bookworm/main arm64 golang-gopkg-yaml.v2-dev all 2.4.0-4 [61.5 kB] Get: 69 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-juju-environschema.v1-dev all 1.0.2-1 [16.9 kB] Get: 70 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-macaroon.v2-dev all 2.1.0-3 [22.9 kB] -Fetched 103 MB in 2s (41.3 MB/s) +Fetched 103 MB in 5s (22.0 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 ... 19611 files and directories currently installed.) @@ -509,8 +541,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1_source.changes +I: user script /srv/workspace/pbuilder/13552/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/13552/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-go-macaroon-bakery-macaroon-bakery-3.0.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-go-macaroon-bakery-macaroon-bakery_3.0.1-1_source.changes dpkg-buildpackage: info: source package golang-github-go-macaroon-bakery-macaroon-bakery dpkg-buildpackage: info: source version 3.0.1-1 dpkg-buildpackage: info: source distribution unstable @@ -530,53 +571,53 @@ dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 8 github.com/go-macaroon-bakery/macaroon-bakery/bakery github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore github.com/go-macaroon-bakery/macaroon-bakery/bakerytest github.com/go-macaroon-bakery/macaroon-bakery/httpbakery github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil internal/goarch -internal/unsafeheader +internal/race internal/goos internal/goexperiment -internal/race -internal/cpu runtime/internal/syscall -unicode -sync/atomic -unicode/utf8 +internal/unsafeheader +internal/cpu internal/abi +sync/atomic runtime/internal/math +unicode/utf8 +unicode runtime/internal/sys internal/itoa math/bits crypto/internal/subtle crypto/subtle -crypto/internal/boring/sig -encoding internal/bytealg runtime/internal/atomic +crypto/internal/boring/sig +encoding unicode/utf16 golang.org/x/crypto/internal/alias google.golang.org/protobuf/internal/flags -internal/nettrace -math golang.org/x/crypto/salsa20/salsa google.golang.org/protobuf/internal/set +internal/nettrace container/list +math vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle golang.org/x/net/html/atom runtime -sync internal/reflectlite +sync internal/testlog -math/rand google.golang.org/protobuf/internal/pragma internal/singleflight +math/rand runtime/cgo errors sort internal/oserror -io internal/safefilepath path -vendor/golang.org/x/net/dns/dnsmessage strconv +io +vendor/golang.org/x/net/dns/dnsmessage syscall crypto/internal/nistec/fiat bytes @@ -590,75 +631,75 @@ reflect crypto/rc4 bufio -github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil net/http/internal/ascii +github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil net/http/internal/testcert regexp/syntax internal/syscall/unix internal/syscall/execenv time regexp -context io/fs +context internal/poll embed os -internal/fmtsort encoding/binary +internal/fmtsort crypto/cipher -encoding/base64 +crypto/internal/nistec golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/curve25519/internal/field golang.org/x/crypto/blake2b -crypto/internal/nistec crypto/md5 +encoding/base64 +crypto/internal/edwards25519/field +encoding/pem +golang.org/x/crypto/nacl/secretbox +vendor/golang.org/x/crypto/internal/poly1305 +golang.org/x/crypto/curve25519 fmt google.golang.org/protobuf/internal/detrand -golang.org/x/crypto/nacl/secretbox +crypto/internal/boring io/ioutil internal/godebug -golang.org/x/crypto/curve25519 -internal/intern path/filepath -crypto/internal/edwards25519/field -encoding/pem -crypto/internal/boring -net/netip crypto/des +internal/intern crypto/hmac crypto/sha256 crypto/sha1 crypto/aes +net/netip crypto/sha512 crypto/internal/edwards25519 vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field vendor/golang.org/x/crypto/hkdf os/exec internal/lazyregexp -vendor/golang.org/x/crypto/chacha20poly1305 golang.org/x/sys/unix +vendor/golang.org/x/crypto/chacha20poly1305 net encoding/json +log encoding/hex google.golang.org/protobuf/internal/errors -log +go/token math/big google.golang.org/protobuf/encoding/protowire -go/token compress/flate -google.golang.org/protobuf/reflect/protoreflect gopkg.in/errgo.v1 +google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/version gopkg.in/mgo.v2/internal/json net/url -compress/gzip database/sql/driver +compress/gzip text/template/parse 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 @@ -668,27 +709,28 @@ database/sql google.golang.org/protobuf/proto vendor/golang.org/x/crypto/curve25519 +google.golang.org/protobuf/internal/encoding/defval github.com/juju/webbrowser +text/template +vendor/golang.org/x/text/unicode/bidi crypto/rand crypto/elliptic -google.golang.org/protobuf/internal/encoding/defval +crypto/internal/boring/bbig +encoding/asn1 gopkg.in/macaroon.v2 +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext +github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers github.com/rogpeppe/fastuuid golang.org/x/crypto/nacl/box gopkg.in/mgo.v2/bson gopkg.in/mgo.v2/internal/scram -text/template -crypto/internal/boring/bbig -encoding/asn1 +vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 -github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers crypto/rsa -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext crypto/dsa -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime @@ -696,25 +738,24 @@ mime/quotedprintable net/http/internal golang.org/x/net/html -vendor/golang.org/x/text/secure/bidirule flag github.com/juju/schema go/scanner go/doc/comment +go/ast google.golang.org/protobuf/internal/encoding/tag gopkg.in/yaml.v2 -go/ast google.golang.org/protobuf/internal/impl golang.org/x/term vendor/golang.org/x/net/idna golang.org/x/crypto/ssh/terminal go/doc +gopkg.in/juju/environschema.v1 +gopkg.in/juju/environschema.v1/form vendor/golang.org/x/net/http/httpproxy -net/textproto crypto/x509 +net/textproto gopkg.in/mgo.v2 -gopkg.in/juju/environschema.v1 -gopkg.in/juju/environschema.v1/form vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -729,14 +770,14 @@ net/http/httptrace net/http net/http/cookiejar -net/http/httptest github.com/julienschmidt/httprouter +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/bakerytest github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent +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 8 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 @@ -744,8 +785,8 @@ === RUN TestV2RoundTrip --- PASS: TestV2RoundTrip (0.00s) === RUN TestV3RoundTrip - codec_test.go:64: cid 032646eed76b7c8f78852ec66c4af15302c4ca090e7c51ee18dd85b20413994aa1b76f615475b19a21b651b9435e729037e15c9552d0f25c23319de040b29fe702e30a755cdcdf63d328377b3157748eff7f87b542676c767d9b812c470bef2fd5f5b651f8a764199cbd24dff2ae10163144540e12c4dd504cab11a2 ---- PASS: TestV3RoundTrip (0.01s) + codec_test.go:64: cid 03623b266fd87275911fb2f0383248136c174c71d1d5c3793a807af0ad7a5b5dcbb6f5ed6d50eb33f8b89c50c835fcc1aa16347e90f970b3b160702ac81f0cef26bdfa582f0ea9de6365944f52eac4836942c8123f155a7443dd903d9e17642e0a3cb0b5df1cf46c44eecd57556a46f5a22495369f820513dba59be2 +--- PASS: TestV3RoundTrip (0.00s) === RUN TestEmptyCaveatId --- PASS: TestEmptyCaveatId (0.00s) === RUN TestCaveatIdBadVersion @@ -763,9 +804,9 @@ === RUN TestV2EmptyRootKey --- PASS: TestV2EmptyRootKey (0.00s) === RUN TestV2LongRootKey ---- PASS: TestV2LongRootKey (0.61s) +--- PASS: TestV2LongRootKey (0.65s) === RUN TestCapability ---- PASS: TestCapability (0.00s) +--- PASS: TestCapability (0.01s) === RUN TestCapabilityMultipleEntities --- PASS: TestCapabilityMultipleEntities (0.00s) === RUN TestMultipleCapabilities @@ -821,11 +862,11 @@ === RUN TestDischargeAllManyDischarges --- PASS: TestDischargeAllManyDischarges (0.01s) === RUN TestDischargeAllManyDischargesWithRealThirdPartyCaveats ---- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (0.05s) +--- PASS: TestDischargeAllManyDischargesWithRealThirdPartyCaveats (0.04s) === RUN TestDischargeAllLocalDischarge --- PASS: TestDischargeAllLocalDischarge (0.00s) === RUN TestDischargeAllLocalDischargeVersion1 ---- PASS: TestDischargeAllLocalDischargeVersion1 (0.00s) +--- PASS: TestDischargeAllLocalDischargeVersion1 (0.01s) === RUN TestMarshalBinary --- PASS: TestMarshalBinary (0.00s) === RUN TestMarshalText @@ -861,7 +902,7 @@ macaroon_test.go:84: test 3: with base id and existing id --- PASS: TestAddThirdPartyCaveat (0.00s) === RUN TestMarshalJSONLatestVersion ---- PASS: TestMarshalJSONLatestVersion (0.01s) +--- PASS: TestMarshalJSONLatestVersion (0.00s) === RUN TestMarshalJSONVersion1 --- PASS: TestMarshalJSONVersion1 (0.00s) === RUN TestMarshalJSONVersion2 @@ -897,7 +938,7 @@ === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 0.818s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery 0.813s === RUN TestCheckers checkers_test.go:177: test 0: nothing in context, no extra checkers checkers_test.go:183: check 0 @@ -931,7 +972,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.02s) === RUN TestInferDeclared checkers_test.go:335: test 0: no macaroons checkers_test.go:335: test 1: single macaroon with one declaration @@ -944,7 +985,7 @@ checkers_test.go:335: test 8: third party caveats ignored checkers_test.go:335: test 9: unparseable caveats ignored checkers_test.go:335: test 10: infer with namespace ---- PASS: TestInferDeclared (0.01s) +--- PASS: TestInferDeclared (0.00s) === RUN TestRegisterNilFuncPanics --- PASS: TestRegisterNilFuncPanics (0.00s) === RUN TestRegisterNoRegisteredNamespace @@ -952,7 +993,7 @@ === RUN TestRegisterEmptyPrefixConditionWithColon --- PASS: TestRegisterEmptyPrefixConditionWithColon (0.00s) === RUN TestRegisterTwiceSameNamespace ---- PASS: TestRegisterTwiceSameNamespace (0.00s) +--- PASS: TestRegisterTwiceSameNamespace (0.01s) === RUN TestRegisterTwiceDifferentNamespace --- PASS: TestRegisterTwiceDifferentNamespace (0.00s) === RUN TestCheckerInfo @@ -1009,7 +1050,7 @@ time_test.go:78: 3. multiple time-before caveat time_test.go:78: 4. mixed caveats time_test.go:78: 5. invalid time-before caveat ---- PASS: TestExpireTime (0.00s) +--- PASS: TestExpireTime (0.01s) === RUN TestMacaroonsExpireTime time_test.go:144: 0. nil macaroons time_test.go:144: 1. empty macaroons @@ -1020,7 +1061,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.039s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/checkers 0.084s === RUN TestIsValidWithPolicy rootkey_test.go:93: test 0: success rootkey_test.go:93: test 1: empty root key @@ -1035,7 +1076,7 @@ rootkey_test.go:103: test 2: created too early rootkey_test.go:103: test 3: expires too early rootkey_test.go:103: test 4: expires too late ---- PASS: TestRootKeyUsesKeysValidWithPolicy (0.00s) +--- PASS: TestRootKeyUsesKeysValidWithPolicy (0.01s) === RUN TestRootKey --- PASS: TestRootKey (0.00s) === RUN TestRootKeyDefaultGenerateInterval @@ -1058,7 +1099,7 @@ === RUN TestContextBackingTakesPrecedence --- PASS: TestContextBackingTakesPrecedence (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.078s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/dbrootkeystore 0.066s === RUN TestAuthorizerFunc --- PASS: TestAuthorizerFunc (0.00s) === RUN TestACLAuthorizer @@ -1068,29 +1109,29 @@ authorizer_test.go:154: test 3: permission denied for everyone without allow-public authorizer_test.go:154: test 4: permission granted to anyone with no identity with allow-public authorizer_test.go:154: test 5: error return causes all authorization to fail ---- PASS: TestACLAuthorizer (0.01s) +--- PASS: TestACLAuthorizer (0.00s) === RUN TestAuthorizeWithOpenAccessAndNoMacaroons --- PASS: TestAuthorizeWithOpenAccessAndNoMacaroons (0.00s) === RUN TestAuthorizationDenied ---- PASS: TestAuthorizationDenied (0.00s) +--- PASS: TestAuthorizationDenied (0.01s) === RUN TestAuthorizeWithAuthenticationRequired ---- PASS: TestAuthorizeWithAuthenticationRequired (0.01s) +--- PASS: TestAuthorizeWithAuthenticationRequired (0.00s) === RUN TestAuthorizeMultipleOps --- PASS: TestAuthorizeMultipleOps (0.00s) === 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.00s) === RUN TestCombineCapabilities ---- PASS: TestCombineCapabilities (0.01s) +--- PASS: TestCombineCapabilities (0.00s) === RUN TestPartiallyAuthorizedRequest --- PASS: TestPartiallyAuthorizedRequest (0.01s) === RUN TestAuthWithThirdPartyCaveats ---- PASS: TestAuthWithThirdPartyCaveats (0.02s) +--- PASS: TestAuthWithThirdPartyCaveats (0.00s) === RUN TestCapabilityCombinesFirstPartyCaveats ---- PASS: TestCapabilityCombinesFirstPartyCaveats (0.01s) +--- PASS: TestCapabilityCombinesFirstPartyCaveats (0.00s) === RUN TestLoginOnly --- PASS: TestLoginOnly (0.00s) === RUN TestAuthWithIdentityFromContext @@ -1104,31 +1145,31 @@ === RUN TestMacaroonOpsFatalError --- PASS: TestMacaroonOpsFatalError (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.138s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/identchecker 0.054s testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.023s [no tests to run] +ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/mgorootkeystore 0.038s [no tests to run] testing: warning: no tests to run PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakery/postgresrootkeystore 0.031s [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.03s) === RUN TestDischargerTwoLevels ---- PASS: TestDischargerTwoLevels (0.04s) +--- PASS: TestDischargerTwoLevels (0.10s) === RUN TestInsecureSkipVerifyRestoration --- PASS: TestInsecureSkipVerifyRestoration (0.00s) === RUN TestConcurrentDischargers --- PASS: TestConcurrentDischargers (0.01s) === RUN TestWithGlobalAllowInsecure ---- PASS: TestWithGlobalAllowInsecure (0.01s) +--- PASS: TestWithGlobalAllowInsecure (0.00s) === RUN TestInteractiveDischarger ---- PASS: TestInteractiveDischarger (0.02s) +--- PASS: TestInteractiveDischarger (0.03s) === RUN TestLoginDischargerError ---- PASS: TestLoginDischargerError (0.02s) +--- PASS: TestLoginDischargerError (0.07s) === RUN TestInteractiveDischargerRedirection --- PASS: TestInteractiveDischargerRedirection (0.03s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 0.207s +ok github.com/go-macaroon-bakery/macaroon-bakery/bakerytest 0.349s === RUN TestCheckers checkers_test.go:157: test 0: no host name declared checkers_test.go:160: check 0 @@ -1164,13 +1205,13 @@ checkers_test.go:160: check 1 --- PASS: TestCheckers (0.00s) === RUN TestSingleServiceFirstParty ---- PASS: TestSingleServiceFirstParty (0.00s) +--- PASS: TestSingleServiceFirstParty (0.01s) === RUN TestSingleServiceFirstPartyWithHeader --- PASS: TestSingleServiceFirstPartyWithHeader (0.00s) === RUN TestRepeatedRequestWithBody ---- PASS: TestRepeatedRequestWithBody (0.02s) +--- PASS: TestRepeatedRequestWithBody (0.03s) === RUN TestWithLargeBody ---- PASS: TestWithLargeBody (8.34s) +--- PASS: TestWithLargeBody (8.62s) === RUN TestDischargeServerWithBinaryCaveatId --- PASS: TestDischargeServerWithBinaryCaveatId (0.01s) === RUN TestDischargeServerWithStringCaveatId @@ -1187,9 +1228,9 @@ client_test.go:352: returning discharge required error --- PASS: TestDischargeServerWithMacaraqOnDischarge (0.01s) === RUN TestTwoDischargesRequired ---- PASS: TestTwoDischargesRequired (0.02s) +--- PASS: TestTwoDischargesRequired (0.03s) === RUN TestTooManyDischargesRequired ---- PASS: TestTooManyDischargesRequired (0.02s) +--- PASS: TestTooManyDischargesRequired (0.03s) === RUN TestVersion0Generates407Status --- PASS: TestVersion0Generates407Status (0.00s) === RUN TestVersion1Generates401Status @@ -1205,7 +1246,7 @@ client_test.go:692: - cookie path "/" --- PASS: TestMacaroonCookiePath (0.02s) === RUN TestThirdPartyDischargeRefused ---- PASS: TestThirdPartyDischargeRefused (0.01s) +--- PASS: TestThirdPartyDischargeRefused (0.02s) === RUN TestDischargeWithInteractionRequiredError --- PASS: TestDischargeWithInteractionRequiredError (0.02s) === RUN TestInteractionRequiredMethods @@ -1241,17 +1282,17 @@ client_test.go:950: added interactor "test-interactor" client_test.go:935: test 8: no interaction methods ---- PASS: TestInteractionRequiredMethods (0.05s) +--- PASS: TestInteractionRequiredMethods (0.06s) === RUN TestDischargeWithVisitURLError client_test.go:1030: test 0: error message client_test.go:1030: test 1: non-JSON error ---- PASS: TestDischargeWithVisitURLError (0.02s) +--- PASS: TestDischargeWithVisitURLError (0.03s) === RUN TestMacaroonsForURL --- PASS: TestMacaroonsForURL (0.00s) === RUN TestDoWithCustomError --- PASS: TestDoWithCustomError (0.02s) === RUN TestHandleError ---- PASS: TestHandleError (0.02s) +--- PASS: TestHandleError (0.01s) === RUN TestNewClientOldServer --- PASS: TestNewClientOldServer (0.02s) === RUN TestHandleErrorDifferentError @@ -1287,7 +1328,7 @@ === RUN TestCacheMiss --- PASS: TestCacheMiss (0.02s) === RUN TestInsecureURL ---- PASS: TestInsecureURL (0.03s) +--- PASS: TestInsecureURL (0.01s) === RUN TestConcurrentThirdPartyInfo --- PASS: TestConcurrentThirdPartyInfo (0.02s) === RUN TestCustomHTTPClient @@ -1302,13 +1343,13 @@ === RUN TestThirdPartyInfoForLocationReturnsStatusInternalServerError --- PASS: TestThirdPartyInfoForLocationReturnsStatusInternalServerError (0.00s) === RUN TestThirdPartyInfoForLocationFallbackToOldVersion ---- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.02s) +--- PASS: TestThirdPartyInfoForLocationFallbackToOldVersion (0.01s) === RUN TestOvenWithAuthnMacaroon ---- PASS: TestOvenWithAuthnMacaroon (0.03s) +--- PASS: TestOvenWithAuthnMacaroon (0.02s) === RUN TestOvenWithAuthzMacaroon - oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoiT2ZVM3VLc2Z2c1RKalFFZWJRdFlFVWFjX0tQOXBqUk9aTXhONmc4MW5CLXNMUDJPUEQ4c3BQQVpkR0hQYUNmcnJoclNhd0NtU3F6ME4zc1dhYl9QdHl4Ukt2MTVCTHIwIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM5MzY1In0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNy0xMlQxMDowNjowMi42MzMwNDA3OFoifV0sImwiOiJoZXJlIiwiaTY0IjoiQXdvUS1jLXVYdzFWTnk1LVlsZ0w1N0ZYOHhJQk1Cb09DZ1ZzYjJkcGJoSUZiRzluYVc0IiwiczY0IjoiVEh6NHNIOUN0aXZSeXZBY19mUnVxVk9jeTVESmxmWWdsZlVNM2lrNkFZdyJ9LHsiYyI6W3siaSI6ImRlY2xhcmVkIHVzZXJuYW1lIGJvYiJ9XSwiaTY0IjoiQXdBIiwiczY0IjoiRUZ2bzFBX2xlekxxMHJSSVJ3VWN1aUZPV0xsT1VIR2U5QU9WV192Y2l0cyJ9XQ==" - oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0Ijoib0wtVllmMXdpb3BrWnU4aWpvM0hqOXdzVDNIbzR3M3VJcTNicEJ4dHpkcTJST1pMRzIwcmNnbXp5b09HUmtLdkNyTmV2Y3lXMXdCdllVR3pFOHRJTmtuVE1wY01OeVUyIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM5ODQzIn0seyJpIjoidGltZS1iZWZvcmUgMjAyNC0wNy0xMlQxMTowMTowMi42NTQ5MzA3OFoifV0sImwiOiJoZXJlIiwiaTY0IjoiQXdvUS04LXVYdzFWTnk1LVlsZ0w1N0ZYOHhJQk1Cb1JDZ2x6YjIxbGRHaHBibWNTQkhKbFlXUSIsInM2NCI6IlI0ZVpOOUwtbmpmRDJSdXBlNGw0MjhEcUpfdUppdmtCeHUzMndORno4SW8ifSx7Imk2NCI6IkF3QSIsInM2NCI6IjhOTjJ0cXdBWmw2VzZQMzNRazJOMHdVT0tMeTdRLVdvc0J6XzgzZ09JNWcifV0=" ---- PASS: TestOvenWithAuthzMacaroon (0.04s) + oven_test.go:139: cookie 0: macaroon-authn "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0IjoibGswVkcwSFJELWw3OW1jLWlOck5YTmdGcGZmX3IzSFJXQWZlUkE1LXVjYV9mY0dtZlRpeGliRGNOcVhIOEx2UDFuNDhld1hpcFJ2WXpCX3gySy1SeXVBVlptT3NqTGtMIiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjQ1MTY3In0seyJpIjoidGltZS1iZWZvcmUgMjAyMy0wNi0xMFQwMzo0NzoxMS42Mzk2MTk0OTlaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1F4SjkzamtDX3U2OEVIY2hFTUNDT3poSUJNQm9PQ2dWc2IyZHBiaElGYkc5bmFXNCIsInM2NCI6InpDZFlET3c1eElTZnRjbmZIQzZYSGVSQXRhR0h5dkNrb2V5TmhvVXdXdWsifSx7ImMiOlt7ImkiOiJkZWNsYXJlZCB1c2VybmFtZSBib2IifV0sImk2NCI6IkF3QSIsInM2NCI6IjNuUGxJVjBxQllrZDYzLTZ5TFcxeVpCX2x4ZGJROFZMaWxHSmhNdUJJakkifV0=" + oven_test.go:139: cookie 1: macaroon-authz "W3siYyI6W3siaTY0IjoiQXdBIiwidjY0Ijoib1Vyc05OQXRaRXhmcFNOUnAxcG91VGNOQkY1ck9XOEplTkxUaUl4clZ2SEdReDU1ZUhRZnk1eExMd2xNRjQxYWtCYlNPZllXNHI2MGpCUTNRZVdUNlFEWTdoVHdTY0R3IiwibCI6Imh0dHBzOi8vMTI3LjAuMC4xOjM5NzQxIn0seyJpIjoidGltZS1iZWZvcmUgMjAyMy0wNi0xMFQwNDo0MjoxMS42NTUxNTE4NjNaIn1dLCJsIjoiaGVyZSIsImk2NCI6IkF3b1F4cDkzamtDX3U2OEVIY2hFTUNDT3poSUJNQm9SQ2dsemIyMWxkR2hwYm1jU0JISmxZV1EiLCJzNjQiOiIycGJXeHNBVDAwQWVRZHNWakg2QnowdXlyWm5IdW1mZHgwV1hKcUMtODE4In0seyJpNjQiOiJBd0EiLCJzNjQiOiJhdW5ieEtTZ1UwMlJ1QktzV1RxNk5ackpILXI0OThzNDBfaFZWanBMWjN3In1d" +--- PASS: TestOvenWithAuthzMacaroon (0.03s) === RUN TestLegacyGetInteractionMethodsGetFailure --- PASS: TestLegacyGetInteractionMethodsGetFailure (0.00s) === RUN TestLegacyGetInteractionMethodsSuccess @@ -1316,12 +1357,12 @@ === RUN TestLegacyGetInteractionMethodsInvalidURL --- PASS: TestLegacyGetInteractionMethodsInvalidURL (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 8.875s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery 9.201s === RUN TestSetUpAuth - agent_test.go:50: with token request: /discharge?caveat64=A4xQdX16ZsTu7cwhdloP7GhAcYo-cRtAEw1hBuq-cy9Xtbx-AIK_ni3BZl5mDneno7L72Qw7sNsJKq-92jfxTS4M662tGE2JI5e0wd_RCm5ULLuvpTM2CWPlaMi66-YnCaqYVY41ZYt0dchrQ25GDireCZWA2HK2e2hkuna_ZIQ718Q&id64=AwA&token-kind=agent&token64=AgImAwoQg7-eLcFmXmYOd6ejsvvZDBIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESBMGUnI-1kPi59ArO17EnpUTb6-hE82CRJHMvZ8OYYgUN_R8T2zcnfFebaB2qJ5KKor07fBrOhLpOY0K8qRJl_XTGYhkKhKRVgAABiBFDZcoBxF6OuO0TlPML0MiEHWwRBXbcR8E1lLQp6qNaAICAgMAAAAGIIHD_tmFr9Ycf_xNKY9Lu-27Yx0MAqWUuWmTWlOXBw2Y + agent_test.go:50: with token request: /discharge?caveat64=A5axouDJ9INvd5SsQs0KdT-wsVXU6E3AOcYC1kbW8NybB36iaI8aIf4pTVG_18rRlXXKAZWtB3x1RRbCZ5s_5YCurSIpJPJjQj72S7wzeFHx3SUfHfwg3f94v8VPHmDQYCMc9frTIqTNsXDZEUzXsUr2MNjQQfZGUAyb5nLCagbI0-c&id64=AwA&token-kind=agent&token64=AgImAwoQjhoh_ilNUb_XytGVdcoBlRIBMBoOCgVhZ2VudBIFbG9naW4AAQVsb2NhbAICAwAESP6VaZJKYnmMIOuuDS-JX1GbCwet-K5tA0qacq8AMlOhQhJEpNWeOO5DACUSbAulOU7VCR3f00OYrVVVXsDc_QTfyVPJUrtCwwAABiBV9_Pw098LedPs6sXyGEmJ6-ddV0g29fuPslA8sKtptwICAgMAAAAGIHVIf3nHQdltJxmI7fQrQ-VD9R-adA0nGjzyqB5ytGX1 --- PASS: TestSetUpAuth (0.04s) === RUN TestAuthInfoFromEnvironment ---- PASS: TestAuthInfoFromEnvironment (0.00s) +--- PASS: TestAuthInfoFromEnvironment (0.01s) === RUN TestAuthInfoFromEnvironmentNotSet --- PASS: TestAuthInfoFromEnvironmentNotSet (0.00s) === RUN TestLoginCookie @@ -1337,17 +1378,17 @@ === RUN TestAgentLoginError/unexpected_response === RUN TestAgentLoginError/unexpected_error_response === RUN TestAgentLoginError/login_false_value ---- PASS: TestAgentLoginError (0.09s) - --- PASS: TestAgentLoginError/error_response (0.02s) - --- PASS: TestAgentLoginError/unexpected_response (0.02s) - --- PASS: TestAgentLoginError/unexpected_error_response (0.02s) - --- PASS: TestAgentLoginError/login_false_value (0.02s) +--- PASS: TestAgentLoginError (0.18s) + --- PASS: TestAgentLoginError/error_response (0.04s) + --- PASS: TestAgentLoginError/unexpected_response (0.03s) + --- PASS: TestAgentLoginError/unexpected_error_response (0.04s) + --- PASS: TestAgentLoginError/login_false_value (0.07s) === RUN TestLegacySetUpAuth --- PASS: TestLegacySetUpAuth (0.04s) === RUN TestLegacyNoMatchingSite ---- PASS: TestLegacyNoMatchingSite (0.02s) +--- PASS: TestLegacyNoMatchingSite (0.06s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 0.227s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/agent 0.454s === RUN TestFormLogin form_test.go:133: test 0: complete visit @@ -1363,17 +1404,17 @@ test 5: filler error form_test.go:133: test 6: invalid token returned from form submission ---- PASS: TestFormLogin (0.11s) +--- PASS: TestFormLogin (0.10s) === RUN TestFormTitle form_test.go:209: test 0: xyz.com - form_test.go:216: match xyz.com; replace with https://127.0.0.1:36757 + form_test.go:216: match xyz.com; replace with https://127.0.0.1:44591 form_test.go:209: test 1: abc.xyz.com - form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:36757 + form_test.go:216: match abc.xyz.com; replace with https://127.0.0.1:44591 form_test.go:209: test 2: com - form_test.go:216: match com; replace with https://127.0.0.1:36757 ---- PASS: TestFormTitle (0.04s) + form_test.go:216: match com; replace with https://127.0.0.1:44591 +--- PASS: TestFormTitle (0.10s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.200s +ok github.com/go-macaroon-bakery/macaroon-bakery/httpbakery/form 0.260s === RUN TestRelativeURL relativeurl_test.go:131: test 0: "" "" relativeurl_test.go:131: test 1: "/foo" "" @@ -1404,7 +1445,7 @@ relativeurl_test.go:131: test 26: "/foo/bar/" "/" --- PASS: TestRelativeURL (0.00s) PASS -ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.061s +ok github.com/go-macaroon-bakery/macaroon-bakery/internal/httputil 0.034s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1431,12 +1472,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/13552/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13552/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/22329 and its subdirectories -I: Current time: Thu Jul 11 22:01:17 -12 2024 -I: pbuilder-time-stamp: 1720778477 +I: removing directory /srv/workspace/pbuilder/13552 and its subdirectories +I: Current time: Sat Jun 10 17:42:25 +14 2023 +I: pbuilder-time-stamp: 1686368545