Diff of the two buildlogs: -- --- b1/build.log 2025-01-29 15:37:31.704644621 +0000 +++ b2/build.log 2025-01-29 15:49:28.672388014 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 29 03:33:16 -12 2025 -I: pbuilder-time-stamp: 1738164796 +I: Current time: Thu Jan 30 05:37:46 +14 2025 +I: pbuilder-time-stamp: 1738165066 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking golang-github-google-go-tpm_0.9.3-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/745/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14611/tmp/hooks/D01_modify_environment starting +debug: Running on wbq0. +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 Jan 29 15: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/14611/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14611/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='80df8047f8b34b78ae44c744d695a250' - 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='745' - PS1='# ' - PS2='> ' + INVOCATION_ID=27a0473d6a46438a9caa191d0632f4cc + 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=14611 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.IjcFh6LU/pbuilderrc_f6cQ --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.IjcFh6LU/b1 --logfile b1/build.log golang-github-google-go-tpm_0.9.3-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.IjcFh6LU/pbuilderrc_fKxG --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.IjcFh6LU/b2 --logfile b2/build.log golang-github-google-go-tpm_0.9.3-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 virt64c 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 #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/745/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/14611/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -149,7 +181,7 @@ Get: 36 http://deb.debian.org/debian trixie/main armhf golang-any armhf 2:1.23~2 [5172 B] Get: 37 http://deb.debian.org/debian trixie/main armhf golang-github-google-go-cmp-dev all 0.6.0-1 [86.6 kB] Get: 38 http://deb.debian.org/debian trixie/main armhf golang-golang-x-sys-dev all 0.22.0-1 [431 kB] -Fetched 63.1 MB in 2s (40.4 MB/s) +Fetched 63.1 MB in 8s (7564 kB/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 ... 19575 files and directories currently installed.) @@ -316,7 +348,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-google-go-tpm-0.9.3/ && 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-google-go-tpm_0.9.3-1_source.changes +I: user script /srv/workspace/pbuilder/14611/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/14611/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-google-go-tpm-0.9.3/ && 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-google-go-tpm_0.9.3-1_source.changes dpkg-buildpackage: info: source package golang-github-google-go-tpm dpkg-buildpackage: info: source version 0.9.3-1 dpkg-buildpackage: info: source distribution unstable @@ -336,35 +372,34 @@ dh_auto_build -O--builddirectory=_build -O--buildsystem=golang dh_auto_build: warning: github.com/google/go-tpm/legacy/tpm2/test contains no non-test Go files, removing it from build dh_auto_build: warning: github.com/google/go-tpm/tpm2/test contains no non-test Go files, removing it from build - cd _build && go install -trimpath -v -p 3 github.com/google/go-tpm/legacy/tpm2 github.com/google/go-tpm/legacy/tpm2/credactivation github.com/google/go-tpm/tpm github.com/google/go-tpm/tpm2 github.com/google/go-tpm/tpm2/transport github.com/google/go-tpm/tpm2/transport/linuxtpm github.com/google/go-tpm/tpm2/transport/linuxudstpm github.com/google/go-tpm/tpm2/transport/test github.com/google/go-tpm/tpmutil github.com/google/go-tpm/tpmutil/mssim + cd _build && go install -trimpath -v -p 4 github.com/google/go-tpm/legacy/tpm2 github.com/google/go-tpm/legacy/tpm2/credactivation github.com/google/go-tpm/tpm github.com/google/go-tpm/tpm2 github.com/google/go-tpm/tpm2/transport github.com/google/go-tpm/tpm2/transport/linuxtpm github.com/google/go-tpm/tpm2/transport/linuxudstpm github.com/google/go-tpm/tpm2/transport/test github.com/google/go-tpm/tpmutil github.com/google/go-tpm/tpmutil/mssim internal/goarch +internal/byteorder internal/unsafeheader +internal/coverage/rtcov internal/cpu -internal/byteorder internal/abi -internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs +internal/chacha8rand internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall internal/stringslite runtime/internal/math -internal/runtime/exithook runtime/internal/sys internal/race sync/atomic unicode +internal/runtime/exithook unicode/utf8 -runtime math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp +math internal/itoa internal/asan internal/msan @@ -372,25 +407,27 @@ vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace encoding +runtime internal/reflectlite +iter crypto/subtle sync -iter slices internal/weak -internal/bisect internal/testlog internal/singleflight +internal/bisect errors sort +runtime/cgo io strconv bytes hash crypto/internal/edwards25519/field +crypto crypto/internal/nistec/fiat crypto/cipher -crypto crypto/internal/randutil reflect crypto/internal/boring @@ -399,58 +436,57 @@ path internal/godebug syscall -time +math/rand +strings crypto/internal/nistec +time internal/fmtsort internal/syscall/unix internal/syscall/execenv -math/rand -crypto/ecdh -io/fs -internal/poll -strings -internal/filepathlite crypto/sha512 crypto/hmac crypto/sha1 -os +crypto/ecdh crypto/sha256 encoding/binary -context vendor/golang.org/x/net/dns/dnsmessage -golang.org/x/sys/unix -fmt math/rand/v2 internal/concurrent +bufio unique net/netip -math/big -runtime/cgo +io/fs +internal/poll +golang.org/x/sys/unix +internal/filepathlite +context +os +internal/sysinfo +fmt +net +path/filepath flag -crypto/elliptic +math/big +runtime/debug +runtime/trace +testing crypto/internal/bigmod +crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/rsa -bufio vendor/golang.org/x/crypto/cryptobyte -internal/sysinfo -path/filepath -net -runtime/debug crypto/ecdsa -runtime/trace -testing -github.com/google/go-tpm/tpmutil github.com/google/go-tpm/tpmutil/mssim +github.com/google/go-tpm/tpmutil github.com/google/go-tpm/tpm github.com/google/go-tpm/legacy/tpm2 github.com/google/go-tpm/legacy/tpm2/credactivation github.com/google/go-tpm/tpm2/transport +github.com/google/go-tpm/tpm2/transport/linuxudstpm github.com/google/go-tpm/tpm2/transport/linuxtpm github.com/google/go-tpm/tpm2 -github.com/google/go-tpm/tpm2/transport/linuxudstpm github.com/google/go-tpm/tpm2/transport/test debian/rules execute_before_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-google-go-tpm-0.9.3' @@ -461,7 +497,7 @@ make[1]: Entering directory '/build/reproducible-path/golang-github-google-go-tpm-0.9.3' DH_GOLANG_EXCLUDES="examples tpm2/transport/simulator tpm2/test" \ dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/google/go-tpm/legacy/tpm2 github.com/google/go-tpm/legacy/tpm2/credactivation github.com/google/go-tpm/tpm github.com/google/go-tpm/tpm2 github.com/google/go-tpm/tpm2/transport github.com/google/go-tpm/tpm2/transport/linuxtpm github.com/google/go-tpm/tpm2/transport/linuxudstpm github.com/google/go-tpm/tpm2/transport/test github.com/google/go-tpm/tpmutil github.com/google/go-tpm/tpmutil/mssim + cd _build && go test -vet=off -v -p 4 github.com/google/go-tpm/legacy/tpm2 github.com/google/go-tpm/legacy/tpm2/credactivation github.com/google/go-tpm/tpm github.com/google/go-tpm/tpm2 github.com/google/go-tpm/tpm2/transport github.com/google/go-tpm/tpm2/transport/linuxtpm github.com/google/go-tpm/tpm2/transport/linuxudstpm github.com/google/go-tpm/tpm2/transport/test github.com/google/go-tpm/tpmutil github.com/google/go-tpm/tpmutil/mssim === RUN TestEncodeDecodeCreationData --- PASS: TestEncodeDecodeCreationData (0.00s) === RUN TestDecodeReadPCRs @@ -507,7 +543,7 @@ === RUN TestEncodeTPMLPCRSelection --- PASS: TestEncodeTPMLPCRSelection (0.00s) === RUN TestECCParamsEncodeDecode ---- PASS: TestECCParamsEncodeDecode (0.03s) +--- PASS: TestECCParamsEncodeDecode (0.07s) === RUN TestSignEncode === RUN TestSignEncode/AlgNull === RUN TestSignEncode/AlgSHA256 @@ -523,11 +559,11 @@ === RUN TestRunCommandErr --- PASS: TestRunCommandErr (0.00s) PASS -ok github.com/google/go-tpm/legacy/tpm2 0.076s +ok github.com/google/go-tpm/legacy/tpm2 0.123s === RUN TestCredentialActivation ---- PASS: TestCredentialActivation (0.04s) +--- PASS: TestCredentialActivation (0.07s) PASS -ok github.com/google/go-tpm/legacy/tpm2/credactivation 0.072s +ok github.com/google/go-tpm/legacy/tpm2/credactivation 0.147s === RUN TestPCRMask --- PASS: TestPCRMask (0.00s) === RUN TestNewPCRSelection @@ -538,7 +574,7 @@ --- PASS: TestWrongCreatePCRInfoLong (0.00s) === RUN TestWrongNewPCRInfoLong tpm_other_test.go:34: Skipping test, since we can't open /dev/tpm0 for read/write: stat /dev/tpm0: no such file or directory ---- SKIP: TestWrongNewPCRInfoLong (0.00s) +--- SKIP: TestWrongNewPCRInfoLong (0.01s) === RUN TestNewPCRInfoLongWithHashes --- PASS: TestNewPCRInfoLongWithHashes (0.00s) === RUN TestGetKeys @@ -581,7 +617,7 @@ tpm_other_test.go:34: Skipping test, since we can't open /dev/tpm0 for read/write: stat /dev/tpm0: no such file or directory --- SKIP: TestOSAP (0.00s) === RUN TestResizeableSlice ---- PASS: TestResizeableSlice (0.00s) +--- PASS: TestResizeableSlice (0.01s) === RUN TestSeal tpm_other_test.go:34: Skipping test, since we can't open /dev/tpm0 for read/write: stat /dev/tpm0: no such file or directory --- SKIP: TestSeal (0.00s) @@ -602,7 +638,7 @@ --- SKIP: TestQuote (0.00s) === RUN TestUnmarshalRSAPublicKey tpm_test.go:497: No aikblob file; skipping test ---- SKIP: TestUnmarshalRSAPublicKey (0.00s) +--- SKIP: TestUnmarshalRSAPublicKey (0.01s) === RUN TestMakeIdentity tpm_other_test.go:34: Skipping test, since we can't open /dev/tpm0 for read/write: stat /dev/tpm0: no such file or directory --- SKIP: TestMakeIdentity (0.00s) @@ -634,7 +670,7 @@ tpm_other_test.go:34: Skipping test, since we can't open /dev/tpm0 for read/write: stat /dev/tpm0: no such file or directory --- SKIP: TestKeyMigration (0.00s) PASS -ok github.com/google/go-tpm/tpm 0.028s +ok github.com/google/go-tpm/tpm 0.125s ? github.com/google/go-tpm/tpm2/transport [no test files] === RUN TestMarshal2B marshalling_test.go:43: &{<nil> [0 8 0 11 0 0 4 82 0 0 0 16 0 0]} @@ -647,7 +683,7 @@ marshalling_test.go:132: Unique: 00000000 --- PASS: TestMarshalT (0.01s) PASS -ok github.com/google/go-tpm/tpm2 0.046s +ok github.com/google/go-tpm/tpm2 0.085s === RUN TestLocalTPM helper.go:19: stat /dev/tpm0: no such file or directory --- SKIP: TestLocalTPM (0.00s) @@ -655,14 +691,14 @@ helper.go:19: stat /dev/tpmrm0: no such file or directory --- SKIP: TestLocalResourceManagedTPM (0.00s) PASS -ok github.com/google/go-tpm/tpm2/transport/linuxtpm 0.033s +ok github.com/google/go-tpm/tpm2/transport/linuxtpm 0.081s ? github.com/google/go-tpm/tpm2/transport/test [no test files] +? github.com/google/go-tpm/tpmutil/mssim [no test files] === RUN TestLocalUDSTPM helper.go:19: stat /dev/tpm0: no such file or directory --- SKIP: TestLocalUDSTPM (0.00s) PASS -ok github.com/google/go-tpm/tpm2/transport/linuxudstpm 0.022s -? github.com/google/go-tpm/tpmutil/mssim [no test files] +ok github.com/google/go-tpm/tpm2/transport/linuxudstpm 0.037s === RUN TestEmulatorReadWriteCloserMultipleReads --- PASS: TestEmulatorReadWriteCloserMultipleReads (0.00s) === RUN TestEmulatorReadWriteCloserClose @@ -706,7 +742,7 @@ === RUN TestPoll --- PASS: TestPoll (0.00s) PASS -ok github.com/google/go-tpm/tpmutil 0.038s +ok github.com/google/go-tpm/tpmutil 0.134s make[1]: Leaving directory '/build/reproducible-path/golang-github-google-go-tpm-0.9.3' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -734,12 +770,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/14611/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14611/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/745 and its subdirectories -I: Current time: Wed Jan 29 03:37:27 -12 2025 -I: pbuilder-time-stamp: 1738165047 +I: removing directory /srv/workspace/pbuilder/14611 and its subdirectories +I: Current time: Thu Jan 30 05:49:24 +14 2025 +I: pbuilder-time-stamp: 1738165764