Diff of the two buildlogs: -- --- b1/build.log 2025-04-22 18:50:22.266706980 +0000 +++ b2/build.log 2025-04-22 18:54:50.860931879 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 22 06:45:20 -12 2025 -I: pbuilder-time-stamp: 1745347520 +I: Current time: Wed Apr 23 08:51:09 +14 2025 +I: pbuilder-time-stamp: 1745347869 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying fix-manpages.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29096/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1865/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Apr 22 18:51 /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/1865/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1865/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='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='e213b1e7710a4234a6b5c0951577c148' - 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='29096' - PS1='# ' - PS2='> ' + INVOCATION_ID=9633d8b1bec94e83b034af8df583486e + 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=1865 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.irNAuDnr/pbuilderrc_MTv2 --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.irNAuDnr/b1 --logfile b1/build.log sigsum-go_0.11.2-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.irNAuDnr/pbuilderrc_HEB4 --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.irNAuDnr/b2 --logfile b2/build.log sigsum-go_0.11.2-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-33-armmp-lpae #1 SMP Debian 6.1.133-1 (2025-04-10) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/29096/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1865/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -172,7 +204,7 @@ Get: 49 http://deb.debian.org/debian trixie/main armhf libyaml-0-2 armhf 0.2.5-2 [45.4 kB] Get: 50 http://deb.debian.org/debian trixie/main armhf pandoc-data all 3.1.11.1-3 [459 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf pandoc armhf 3.1.11.1+ds-2 [32.7 MB] -Fetched 97.7 MB in 6s (17.0 MB/s) +Fetched 97.7 MB in 2s (40.2 MB/s) Preconfiguring packages ... Selecting previously unselected package liblocale-gettext-perl. (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 ... 19566 files and directories currently installed.) @@ -391,7 +423,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/sigsum-go-0.11.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 > ../sigsum-go_0.11.2-1_source.changes +I: user script /srv/workspace/pbuilder/1865/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1865/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sigsum-go-0.11.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 > ../sigsum-go_0.11.2-1_source.changes dpkg-buildpackage: info: source package sigsum-go dpkg-buildpackage: info: source version 0.11.2-1 dpkg-buildpackage: info: source distribution unstable @@ -409,16 +445,16 @@ 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 sigsum.org/sigsum-go/cmd/sigsum-key sigsum.org/sigsum-go/cmd/sigsum-monitor sigsum.org/sigsum-go/cmd/sigsum-submit sigsum.org/sigsum-go/cmd/sigsum-token sigsum.org/sigsum-go/cmd/sigsum-verify sigsum.org/sigsum-go/cmd/sigsum-witness sigsum.org/sigsum-go/internal/mocks/signer sigsum.org/sigsum-go/internal/ssh sigsum.org/sigsum-go/internal/version sigsum.org/sigsum-go/pkg/api sigsum.org/sigsum-go/pkg/ascii sigsum.org/sigsum-go/pkg/checkpoint sigsum.org/sigsum-go/pkg/client sigsum.org/sigsum-go/pkg/crypto sigsum.org/sigsum-go/pkg/key sigsum.org/sigsum-go/pkg/log sigsum.org/sigsum-go/pkg/merkle sigsum.org/sigsum-go/pkg/mocks sigsum.org/sigsum-go/pkg/monitor sigsum.org/sigsum-go/pkg/policy sigsum.org/sigsum-go/pkg/proof sigsum.org/sigsum-go/pkg/requests sigsum.org/sigsum-go/pkg/server sigsum.org/sigsum-go/pkg/submit sigsum.org/sigsum-go/pkg/submit-token sigsum.org/sigsum-go/pkg/types sigsum.org/sigsum-go/tests/mk-add-checkpoint-request sigsum.org/sigsum-go/tests/sha256-n sigsum.org/sigsum-go/tests/use-agent + cd _build && go install -trimpath -v -p 4 sigsum.org/sigsum-go/cmd/sigsum-key sigsum.org/sigsum-go/cmd/sigsum-monitor sigsum.org/sigsum-go/cmd/sigsum-submit sigsum.org/sigsum-go/cmd/sigsum-token sigsum.org/sigsum-go/cmd/sigsum-verify sigsum.org/sigsum-go/cmd/sigsum-witness sigsum.org/sigsum-go/internal/mocks/signer sigsum.org/sigsum-go/internal/ssh sigsum.org/sigsum-go/internal/version sigsum.org/sigsum-go/pkg/api sigsum.org/sigsum-go/pkg/ascii sigsum.org/sigsum-go/pkg/checkpoint sigsum.org/sigsum-go/pkg/client sigsum.org/sigsum-go/pkg/crypto sigsum.org/sigsum-go/pkg/key sigsum.org/sigsum-go/pkg/log sigsum.org/sigsum-go/pkg/merkle sigsum.org/sigsum-go/pkg/mocks sigsum.org/sigsum-go/pkg/monitor sigsum.org/sigsum-go/pkg/policy sigsum.org/sigsum-go/pkg/proof sigsum.org/sigsum-go/pkg/requests sigsum.org/sigsum-go/pkg/server sigsum.org/sigsum-go/pkg/submit sigsum.org/sigsum-go/pkg/submit-token sigsum.org/sigsum-go/pkg/types sigsum.org/sigsum-go/tests/mk-add-checkpoint-request sigsum.org/sigsum-go/tests/sha256-n sigsum.org/sigsum-go/tests/use-agent +internal/byteorder internal/goarch internal/unsafeheader internal/cpu -internal/byteorder +internal/coverage/rtcov internal/abi +internal/godebugs internal/chacha8rand internal/bytealg -internal/coverage/rtcov -internal/godebugs internal/goexperiment internal/goos internal/profilerecord @@ -429,80 +465,89 @@ internal/runtime/sys internal/runtime/syscall internal/stringslite -internal/runtime/exithook sync/atomic math/bits +internal/runtime/exithook unicode unicode/utf8 cmp -internal/race internal/itoa -internal/runtime/maps -internal/sync -math log/internal +math crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu crypto/internal/boring/sig internal/nettrace container/list -runtime +internal/race unicode/utf16 +internal/runtime/maps +internal/sync vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias -iter +runtime internal/reflectlite +iter sync -slices crypto/internal/fips140/subtle +slices crypto/subtle weak maps errors sort +internal/testlog internal/bisect +internal/singleflight io -strconv -bytes internal/oserror +strconv path internal/godebug +bytes syscall -internal/testlog reflect strings hash crypto crypto/internal/fips140deps/godebug +math/rand/v2 crypto/internal/fips140 +crypto/internal/randutil +math/rand crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 +crypto/internal/fips140/sha512 time internal/syscall/unix internal/syscall/execenv -crypto/internal/fips140/sha512 crypto/internal/fips140/hmac +vendor/golang.org/x/net/dns/dnsmessage crypto/internal/fips140/check crypto/internal/fips140/aes -math/rand/v2 -crypto/internal/randutil -math/rand +unique +runtime/cgo +net/netip io/fs -internal/poll internal/filepathlite -context +internal/poll internal/fmtsort -os encoding/binary -vendor/golang.org/x/net/dns/dnsmessage +context +crypto/internal/fips140/edwards25519/field +os +crypto/internal/fips140/edwards25519 encoding/base64 encoding/pem -internal/singleflight -unique -runtime/cgo -crypto/internal/sysrand +bufio +hash/crc32 +crypto/internal/fips140/nistec/fiat +crypto/internal/impl +crypto/internal/fips140/bigmod fmt +crypto/internal/sysrand +net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm @@ -512,102 +557,93 @@ github.com/pborman/getopt/v2 log math/big -net/netip -crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/edwards25519 -net -crypto/rand -crypto/sha256 crypto/internal/fips140/ed25519 +crypto/sha256 encoding/hex runtime/debug -crypto/ed25519 -sigsum.org/sigsum-go/pkg/crypto -bufio sigsum.org/sigsum-go/internal/version -sigsum.org/sigsum-go/pkg/merkle -sigsum.org/sigsum-go/pkg/ascii os/signal sigsum.org/sigsum-go/pkg/log compress/flate -hash/crc32 crypto/aes crypto/des -crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/nistec +crypto/rand +crypto/ed25519 compress/gzip +sigsum.org/sigsum-go/pkg/crypto +sigsum.org/sigsum-go/pkg/ascii +sigsum.org/sigsum-go/pkg/merkle crypto/internal/boring/bbig -crypto/internal/impl -crypto/internal/fips140/bigmod crypto/sha3 -crypto/internal/fips140hash crypto/sha512 encoding/asn1 -vendor/golang.org/x/crypto/cryptobyte +crypto/internal/fips140hash crypto/hmac crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem crypto/internal/fips140/tls12 -crypto/internal/fips140/nistec crypto/internal/fips140/tls13 +vendor/golang.org/x/crypto/cryptobyte vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/chacha20poly1305 crypto/md5 crypto/rc4 crypto/internal/fips140/rsa -sigsum.org/sigsum-go/internal/ssh -crypto/rsa -sigsum.org/sigsum-go/pkg/types -sigsum.org/sigsum-go/pkg/checkpoint -sigsum.org/sigsum-go/pkg/key -crypto/sha1 -sigsum.org/sigsum-go/cmd/sigsum-key -crypto/tls/internal/fips140tls crypto/internal/fips140/ecdh crypto/elliptic crypto/ecdh crypto/internal/fips140/ecdsa crypto/internal/hpke +crypto/rsa +crypto/sha1 +crypto/ecdsa +crypto/tls/internal/fips140tls crypto/dsa crypto/x509/pkix net/url -crypto/ecdsa path/filepath vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm +sigsum.org/sigsum-go/internal/ssh crypto/x509 +vendor/golang.org/x/text/unicode/norm +sigsum.org/sigsum-go/pkg/types +sigsum.org/sigsum-go/pkg/checkpoint +sigsum.org/sigsum-go/pkg/key vendor/golang.org/x/text/secure/bidirule +sigsum.org/sigsum-go/cmd/sigsum-key net/textproto vendor/golang.org/x/net/http2/hpack mime vendor/golang.org/x/net/idna mime/quotedprintable -mime/multipart vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy -crypto/tls net/http/internal +mime/multipart +crypto/tls net/http/internal/ascii sigsum.org/sigsum-go/pkg/requests golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm -golang.org/x/text/secure/bidirule sigsum.org/sigsum-go/pkg/policy encoding/base32 github.com/dchest/safefile +golang.org/x/text/secure/bidirule sigsum.org/sigsum-go/pkg/proof -sigsum.org/sigsum-go/cmd/sigsum-verify -golang.org/x/net/idna -sigsum.org/sigsum-go/pkg/submit-token sigsum.org/sigsum-go/internal/mocks/signer github.com/golang/mock/gomock -sigsum.org/sigsum-go/cmd/sigsum-token -sigsum.org/sigsum-go/pkg/mocks +sigsum.org/sigsum-go/cmd/sigsum-verify sigsum.org/sigsum-go/tests/mk-add-checkpoint-request +golang.org/x/net/idna sigsum.org/sigsum-go/tests/sha256-n +sigsum.org/sigsum-go/pkg/submit-token sigsum.org/sigsum-go/tests/use-agent +sigsum.org/sigsum-go/cmd/sigsum-token +sigsum.org/sigsum-go/pkg/mocks net/http/httptrace net/http sigsum.org/sigsum-go/pkg/api @@ -621,7 +657,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/sigsum-go-0.11.2' env DH_GOLANG_EXCLUDES=sigsum.org/sigsum-go/pkg/server dh_auto_test - cd _build && go test -vet=off -v -p 3 sigsum.org/sigsum-go/cmd/sigsum-key sigsum.org/sigsum-go/cmd/sigsum-monitor sigsum.org/sigsum-go/cmd/sigsum-submit sigsum.org/sigsum-go/cmd/sigsum-token sigsum.org/sigsum-go/cmd/sigsum-verify sigsum.org/sigsum-go/cmd/sigsum-witness sigsum.org/sigsum-go/internal/mocks/signer sigsum.org/sigsum-go/internal/ssh sigsum.org/sigsum-go/internal/version sigsum.org/sigsum-go/pkg/api sigsum.org/sigsum-go/pkg/ascii sigsum.org/sigsum-go/pkg/checkpoint sigsum.org/sigsum-go/pkg/client sigsum.org/sigsum-go/pkg/crypto sigsum.org/sigsum-go/pkg/key sigsum.org/sigsum-go/pkg/log sigsum.org/sigsum-go/pkg/merkle sigsum.org/sigsum-go/pkg/mocks sigsum.org/sigsum-go/pkg/monitor sigsum.org/sigsum-go/pkg/policy sigsum.org/sigsum-go/pkg/proof sigsum.org/sigsum-go/pkg/requests sigsum.org/sigsum-go/pkg/submit sigsum.org/sigsum-go/pkg/submit-token sigsum.org/sigsum-go/pkg/types sigsum.org/sigsum-go/tests/mk-add-checkpoint-request sigsum.org/sigsum-go/tests/sha256-n sigsum.org/sigsum-go/tests/use-agent + cd _build && go test -vet=off -v -p 4 sigsum.org/sigsum-go/cmd/sigsum-key sigsum.org/sigsum-go/cmd/sigsum-monitor sigsum.org/sigsum-go/cmd/sigsum-submit sigsum.org/sigsum-go/cmd/sigsum-token sigsum.org/sigsum-go/cmd/sigsum-verify sigsum.org/sigsum-go/cmd/sigsum-witness sigsum.org/sigsum-go/internal/mocks/signer sigsum.org/sigsum-go/internal/ssh sigsum.org/sigsum-go/internal/version sigsum.org/sigsum-go/pkg/api sigsum.org/sigsum-go/pkg/ascii sigsum.org/sigsum-go/pkg/checkpoint sigsum.org/sigsum-go/pkg/client sigsum.org/sigsum-go/pkg/crypto sigsum.org/sigsum-go/pkg/key sigsum.org/sigsum-go/pkg/log sigsum.org/sigsum-go/pkg/merkle sigsum.org/sigsum-go/pkg/mocks sigsum.org/sigsum-go/pkg/monitor sigsum.org/sigsum-go/pkg/policy sigsum.org/sigsum-go/pkg/proof sigsum.org/sigsum-go/pkg/requests sigsum.org/sigsum-go/pkg/submit sigsum.org/sigsum-go/pkg/submit-token sigsum.org/sigsum-go/pkg/types sigsum.org/sigsum-go/tests/mk-add-checkpoint-request sigsum.org/sigsum-go/tests/sha256-n sigsum.org/sigsum-go/tests/use-agent ? sigsum.org/sigsum-go/cmd/sigsum-key [no test files] ? sigsum.org/sigsum-go/cmd/sigsum-monitor [no test files] ? sigsum.org/sigsum-go/cmd/sigsum-submit [no test files] @@ -632,7 +668,7 @@ === RUN TestRequest --- PASS: TestRequest (0.00s) === RUN TestSignEd25519 ---- PASS: TestSignEd25519 (0.05s) +--- PASS: TestSignEd25519 (0.03s) === RUN TestSignEd25519Fail --- PASS: TestSignEd25519Fail (0.00s) === RUN TestParsePrivateKeyFile @@ -646,7 +682,7 @@ === RUN TestSignedData --- PASS: TestSignedData (0.00s) PASS -ok sigsum.org/sigsum-go/internal/ssh 0.069s +ok sigsum.org/sigsum-go/internal/ssh 0.040s ? sigsum.org/sigsum-go/internal/version [no test files] ? sigsum.org/sigsum-go/pkg/api [no test files] === RUN TestLineReaderGetLine @@ -670,15 +706,15 @@ === RUN TestParserEOFGarbage --- PASS: TestParserEOFGarbage (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/ascii 0.007s +ok sigsum.org/sigsum-go/pkg/ascii 0.015s === RUN TestCheckpointToASCII --- PASS: TestCheckpointToASCII (0.00s) === RUN TestCheckpointFromASCII --- PASS: TestCheckpointFromASCII (0.00s) === RUN TestCheckpointSigned ---- PASS: TestCheckpointSigned (0.05s) +--- PASS: TestCheckpointSigned (0.03s) === RUN TestCheckpointVerify ---- PASS: TestCheckpointVerify (0.02s) +--- PASS: TestCheckpointVerify (0.01s) === RUN TestCheckpointVerifyIgnoreExtraSignature --- PASS: TestCheckpointVerifyIgnoreExtraSignature (0.01s) === RUN TestCheckpointCosignVerify @@ -686,7 +722,7 @@ --- PASS: TestCheckpointCosignVerify (0.00s) === RUN TestCheckpointVerifyCosignatureByKey ---- PASS: TestCheckpointVerifyCosignatureByKey (0.01s) +--- PASS: TestCheckpointVerifyCosignatureByKey (0.00s) === RUN TestGoSumDBCheckpoint --- PASS: TestGoSumDBCheckpoint (0.00s) === RUN TestCosignatureLineToASCII @@ -708,11 +744,11 @@ === RUN TestGoSumDBVerifier --- PASS: TestGoSumDBVerifier (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/checkpoint 0.117s +ok sigsum.org/sigsum-go/pkg/checkpoint 0.069s === RUN TestProcessConflictResponse --- PASS: TestProcessConflictResponse (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/client 0.014s +ok sigsum.org/sigsum-go/pkg/client 0.013s === RUN TestValidHashFromHex --- PASS: TestValidHashFromHex (0.00s) === RUN TestInvalidHashFromHex @@ -728,15 +764,15 @@ === RUN TestHash --- PASS: TestHash (0.00s) === RUN TestSign ---- PASS: TestSign (0.07s) +--- PASS: TestSign (0.04s) === RUN TestVerify --- PASS: TestVerify (0.01s) PASS -ok sigsum.org/sigsum-go/pkg/crypto 0.085s +ok sigsum.org/sigsum-go/pkg/crypto 0.051s === RUN TestParsePublicKeysFile --- PASS: TestParsePublicKeysFile (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/key 0.016s +ok sigsum.org/sigsum-go/pkg/key 0.008s === RUN Example --- PASS: Example (0.00s) PASS @@ -752,27 +788,27 @@ === RUN TestInclusion --- PASS: TestInclusion (0.00s) === RUN TestInclusionValid ---- PASS: TestInclusionValid (1.94s) +--- PASS: TestInclusionValid (1.29s) === RUN TestInclusionBatchValid ---- PASS: TestInclusionBatchValid (4.36s) +--- PASS: TestInclusionBatchValid (2.85s) === RUN TestInclusionTailValid ---- PASS: TestInclusionTailValid (3.96s) +--- PASS: TestInclusionTailValid (2.26s) === RUN TestConsistency --- PASS: TestConsistency (0.00s) === RUN TestConsistencyValid ---- PASS: TestConsistencyValid (1.92s) +--- PASS: TestConsistencyValid (1.24s) PASS -ok sigsum.org/sigsum-go/pkg/merkle 12.188s +ok sigsum.org/sigsum-go/pkg/merkle 7.672s ? sigsum.org/sigsum-go/pkg/mocks [no test files] === RUN TestGetTreeHead ---- PASS: TestGetTreeHead (8.96s) +--- PASS: TestGetTreeHead (4.67s) === RUN TestGetTreeHeadErrors client_test.go:171: bad signature: (expected) failure: monitoring alert: Invalid log signature: log signature invalid client_test.go:171: bad signature (hash): (expected) failure: monitoring alert: Invalid log signature: log signature invalid client_test.go:171: bad consistency: (expected) failure: monitoring alert: Log tree head not consistent: consistency proof not valid: invalid proof: old root mismatch ---- PASS: TestGetTreeHeadErrors (0.17s) +--- PASS: TestGetTreeHeadErrors (0.09s) PASS -ok sigsum.org/sigsum-go/pkg/monitor 9.146s +ok sigsum.org/sigsum-go/pkg/monitor 4.775s === RUN TestValidConfig --- PASS: TestValidConfig (0.00s) === RUN TestNumericThreshold @@ -780,21 +816,21 @@ === RUN TestInvalidConfig --- PASS: TestInvalidConfig (0.00s) === RUN TestLogPolicy ---- PASS: TestLogPolicy (0.07s) +--- PASS: TestLogPolicy (0.05s) === RUN TestWitnessPolicy ---- PASS: TestWitnessPolicy (0.08s) +--- PASS: TestWitnessPolicy (0.05s) PASS -ok sigsum.org/sigsum-go/pkg/policy 0.169s +ok sigsum.org/sigsum-go/pkg/policy 0.107s === RUN TestASCII --- PASS: TestASCII (0.00s) === RUN TestASCIIV1 --- PASS: TestASCIIV1 (0.00s) === RUN TestVerifyNoCosignatures ---- PASS: TestVerifyNoCosignatures (0.02s) +--- PASS: TestVerifyNoCosignatures (0.01s) === RUN TestVerify ---- PASS: TestVerify (0.01s) +--- PASS: TestVerify (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/proof 0.046s +ok sigsum.org/sigsum-go/pkg/proof 0.024s === RUN TestLeafToASCII --- PASS: TestLeafToASCII (0.00s) === RUN TestLeavesToURL @@ -816,64 +852,64 @@ === RUN TestAddCheckpointFromASCII --- PASS: TestAddCheckpointFromASCII (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/requests 0.014s +ok sigsum.org/sigsum-go/pkg/requests 0.009s === RUN TestSubmitSuccess === RUN TestSubmitSuccess/leaf_1 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_2 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_3 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_4 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_5 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_6 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_7 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_8 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 === RUN TestSubmitSuccess/leaf_9 -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 ---- PASS: TestSubmitSuccess (0.24s) - --- PASS: TestSubmitSuccess/leaf_1 (0.03s) - --- PASS: TestSubmitSuccess/leaf_2 (0.02s) - --- PASS: TestSubmitSuccess/leaf_3 (0.02s) - --- PASS: TestSubmitSuccess/leaf_4 (0.02s) - --- PASS: TestSubmitSuccess/leaf_5 (0.02s) - --- PASS: TestSubmitSuccess/leaf_6 (0.02s) - --- PASS: TestSubmitSuccess/leaf_7 (0.02s) - --- PASS: TestSubmitSuccess/leaf_8 (0.02s) - --- PASS: TestSubmitSuccess/leaf_9 (0.02s) +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +--- PASS: TestSubmitSuccess (0.12s) + --- PASS: TestSubmitSuccess/leaf_1 (0.02s) + --- PASS: TestSubmitSuccess/leaf_2 (0.01s) + --- PASS: TestSubmitSuccess/leaf_3 (0.01s) + --- PASS: TestSubmitSuccess/leaf_4 (0.01s) + --- PASS: TestSubmitSuccess/leaf_5 (0.01s) + --- PASS: TestSubmitSuccess/leaf_6 (0.01s) + --- PASS: TestSubmitSuccess/leaf_7 (0.01s) + --- PASS: TestSubmitSuccess/leaf_8 (0.01s) + --- PASS: TestSubmitSuccess/leaf_9 (0.01s) === RUN TestSubmitWithFailure -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://always-fail.example.org -2025/04/22 18:49:14 [ERRO] Submitting to log "http://always-fail.example.org" failed: mock error -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [ERRO] Submitting to log "http://example.org" failed: mock error -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://always-fail.example.org -2025/04/22 18:49:14 [ERRO] Submitting to log "http://always-fail.example.org" failed: mock error -2025/04/22 18:49:14 [INFO] Attempting to submit checksum#1 to log: http://example.org -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 -2025/04/22 18:49:14 [INFO] Verifying latest tree head: invalid log signature -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 -2025/04/22 18:49:14 [INFO] Attempting to retrieve proof for checksum#1 ---- PASS: TestSubmitWithFailure (0.08s) +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://always-fail.example.org +2025/04/22 18:53:51 [ERRO] Submitting to log "http://always-fail.example.org" failed: mock error +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [ERRO] Submitting to log "http://example.org" failed: mock error +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://always-fail.example.org +2025/04/22 18:53:51 [ERRO] Submitting to log "http://always-fail.example.org" failed: mock error +2025/04/22 18:53:51 [INFO] Attempting to submit checksum#1 to log: http://example.org +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Verifying latest tree head: invalid log signature +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +2025/04/22 18:53:51 [INFO] Attempting to retrieve proof for checksum#1 +--- PASS: TestSubmitWithFailure (0.04s) PASS -ok sigsum.org/sigsum-go/pkg/submit 0.334s +ok sigsum.org/sigsum-go/pkg/submit 0.170s === RUN TestNormalize --- PASS: TestNormalize (0.00s) === RUN TestNormalizeReject @@ -888,15 +924,15 @@ === RUN TestSubmitHeaderToHeader --- PASS: TestSubmitHeaderToHeader (0.00s) === RUN TestVerify ---- PASS: TestVerify (0.09s) +--- PASS: TestVerify (0.05s) PASS -ok sigsum.org/sigsum-go/pkg/submit-token 0.111s +ok sigsum.org/sigsum-go/pkg/submit-token 0.067s === RUN TestLeafSignedData --- PASS: TestLeafSignedData (0.00s) === RUN TestSignLeaf --- PASS: TestSignLeaf (0.00s) === RUN TestLeafVerify ---- PASS: TestLeafVerify (0.07s) +--- PASS: TestLeafVerify (0.04s) === RUN TestLeafToBinary --- PASS: TestLeafToBinary (0.00s) === RUN TestLeafFromBinary @@ -918,7 +954,7 @@ === RUN TestConsistencyProofToBase64 --- PASS: TestConsistencyProofToBase64 (0.00s) === RUN TestConsistencyProofParseBase64 ---- PASS: TestConsistencyProofParseBase64 (0.01s) +--- PASS: TestConsistencyProofParseBase64 (0.00s) === RUN TestTreeHeadFormatCheckpoint --- PASS: TestTreeHeadFormatCheckpoint (0.00s) === RUN TestTreeHeadToCosignedData @@ -930,9 +966,9 @@ === RUN TestSignedTreeHeadFromASCII --- PASS: TestSignedTreeHeadFromASCII (0.00s) === RUN TestTreeHeadSignAndVerify ---- PASS: TestTreeHeadSignAndVerify (0.01s) +--- PASS: TestTreeHeadSignAndVerify (0.00s) === RUN TestSignedTreeHeadVerify ---- PASS: TestSignedTreeHeadVerify (0.01s) +--- PASS: TestSignedTreeHeadVerify (0.00s) === RUN TestSignedTreeHeadVerifyVersion0 --- PASS: TestSignedTreeHeadVerifyVersion0 (0.01s) === RUN TestCosignatureToASCII @@ -940,18 +976,18 @@ === RUN TestCosignatureFromASCII --- PASS: TestCosignatureFromASCII (0.00s) === RUN TestCosignAndVerify ---- PASS: TestCosignAndVerify (0.02s) +--- PASS: TestCosignAndVerify (0.01s) === RUN TestCosignedTreeHeadToASCII --- PASS: TestCosignedTreeHeadToASCII (0.00s) === RUN TestCosignedTreeHeadFromASCII --- PASS: TestCosignedTreeHeadFromASCII (0.00s) PASS -ok sigsum.org/sigsum-go/pkg/types 0.132s +ok sigsum.org/sigsum-go/pkg/types 0.077s ? sigsum.org/sigsum-go/tests/mk-add-checkpoint-request [no test files] ? sigsum.org/sigsum-go/tests/sha256-n [no test files] ? sigsum.org/sigsum-go/tests/use-agent [no test files] env DH_GOLANG_BUILDPKG=sigsum.org/sigsum-go/pkg/server dh_auto_test - cd _build && go test -vet=off -v -p 3 sigsum.org/sigsum-go/pkg/server + cd _build && go test -vet=off -v -p 4 sigsum.org/sigsum-go/pkg/server === RUN TestGetTreeHead log_test.go:48: Unexpected status code, got 404, want 200 controller.go:269: missing call(s) to *mocks.MockLog.GetTreeHead(is anything) /build/reproducible-path/sigsum-go-0.11.2/_build/src/sigsum.org/sigsum-go/pkg/server/log_test.go:44 @@ -1019,8 +1055,8 @@ === RUN TestMetrics server_test.go:233: Unexpected status code for "/foo/get-x", got 404, want 301 server_test.go:233: Unexpected status code for "/foo/get-x/ok", got 404, want 200 - controller.go:269: missing call(s) to *mocks.MockMetrics.OnRequest(is equal to get-x/ (string)) /build/reproducible-path/sigsum-go-0.11.2/_build/src/sigsum.org/sigsum-go/pkg/server/server_test.go:217 controller.go:269: missing call(s) to *mocks.MockMetrics.OnResponse(is equal to get-x/ (string), is equal to 200 (int), is anything) /build/reproducible-path/sigsum-go-0.11.2/_build/src/sigsum.org/sigsum-go/pkg/server/server_test.go:218 + controller.go:269: missing call(s) to *mocks.MockMetrics.OnRequest(is equal to get-x/ (string)) /build/reproducible-path/sigsum-go-0.11.2/_build/src/sigsum.org/sigsum-go/pkg/server/server_test.go:217 controller.go:269: aborting test due to missing call(s) --- FAIL: TestMetrics (0.00s) === RUN TestAddCheckpoint @@ -1030,9 +1066,9 @@ controller.go:269: aborting test due to missing call(s) --- FAIL: TestAddCheckpoint (0.00s) FAIL -FAIL sigsum.org/sigsum-go/pkg/server 0.030s +FAIL sigsum.org/sigsum-go/pkg/server 0.017s FAIL -dh_auto_test: error: cd _build && go test -vet=off -v -p 3 sigsum.org/sigsum-go/pkg/server returned exit code 1 +dh_auto_test: error: cd _build && go test -vet=off -v -p 4 sigsum.org/sigsum-go/pkg/server returned exit code 1 make[1]: [debian/rules:10: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/sigsum-go-0.11.2' create-stamp debian/debhelper-build-stamp @@ -1133,12 +1169,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/1865/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1865/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/29096 and its subdirectories -I: Current time: Tue Apr 22 06:50:18 -12 2025 -I: pbuilder-time-stamp: 1745347818 +I: removing directory /srv/workspace/pbuilder/1865 and its subdirectories +I: Current time: Wed Apr 23 08:54:47 +14 2025 +I: pbuilder-time-stamp: 1745348087