Diff of the two buildlogs: -- --- b1/build.log 2025-01-24 12:02:06.668778181 +0000 +++ b2/build.log 2025-01-24 12:04:47.145557607 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 23 23:59:49 -12 2025 -I: pbuilder-time-stamp: 1737719989 +I: Current time: Sat Jan 25 02:02:15 +14 2025 +I: pbuilder-time-stamp: 1737720135 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/15096/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21451/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 24 12:02 /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/21451/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21451/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='72c29be4e64346f788f105a8c7f1a68b' - 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='15096' - PS1='# ' - PS2='> ' + INVOCATION_ID=479ed3b39c834252893531d3cbacfeac + 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=21451 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.cT3liWk9/pbuilderrc_8p6v --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cT3liWk9/b1 --logfile b1/build.log golang-github-google-go-tpm_0.9.3-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cT3liWk9/pbuilderrc_Lx1i --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cT3liWk9/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 virt32z 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15096/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/21451/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 unstable/main armhf golang-any armhf 2:1.23~2 [5172 B] Get: 37 http://deb.debian.org/debian unstable/main armhf golang-github-google-go-cmp-dev all 0.6.0-1 [86.6 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf golang-golang-x-sys-dev all 0.22.0-1 [431 kB] -Fetched 63.1 MB in 6s (9968 kB/s) +Fetched 63.1 MB in 3s (23.0 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 ... 19557 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/21451/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/21451/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,121 +372,121 @@ 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 -internal/unsafeheader + 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/byteorder internal/goarch +internal/unsafeheader internal/cpu -internal/byteorder +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs 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 -runtime +internal/runtime/exithook unicode/utf8 math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp internal/itoa +math internal/asan internal/msan unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 +runtime internal/nettrace encoding +crypto/subtle internal/reflectlite sync -crypto/subtle iter slices internal/weak internal/bisect internal/testlog internal/singleflight -internal/godebug -errors runtime/cgo +errors +sort +internal/godebug io strconv -bytes hash -crypto/cipher -crypto +bytes crypto/internal/edwards25519/field -crypto/internal/boring crypto/internal/nistec/fiat -crypto/aes +crypto/cipher +crypto crypto/internal/randutil reflect +crypto/internal/boring +crypto/aes internal/oserror path syscall -crypto/internal/nistec -internal/fmtsort math/rand time -crypto/ecdh internal/syscall/unix internal/syscall/execenv strings +crypto/internal/nistec crypto/sha512 crypto/hmac crypto/sha1 +internal/fmtsort crypto/sha256 encoding/binary -sort +vendor/golang.org/x/net/dns/dnsmessage +crypto/ecdh io/fs internal/poll -golang.org/x/sys/unix internal/filepathlite +golang.org/x/sys/unix context -vendor/golang.org/x/net/dns/dnsmessage -os math/rand/v2 +os +bufio internal/concurrent -fmt unique net/netip -math/big -net -flag -bufio +fmt internal/sysinfo path/filepath +net +math/big +flag runtime/debug +runtime/trace +testing crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig -encoding/asn1 crypto/rand +encoding/asn1 crypto/rsa -runtime/trace vendor/golang.org/x/crypto/cryptobyte -testing crypto/ecdsa 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/legacy/tpm2/credactivation 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 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 @@ -523,11 +559,11 @@ === RUN TestRunCommandErr --- PASS: TestRunCommandErr (0.00s) PASS -ok github.com/google/go-tpm/legacy/tpm2 0.036s +ok github.com/google/go-tpm/legacy/tpm2 0.042s === RUN TestCredentialActivation --- PASS: TestCredentialActivation (0.02s) PASS -ok github.com/google/go-tpm/legacy/tpm2/credactivation 0.033s +ok github.com/google/go-tpm/legacy/tpm2/credactivation 0.028s === RUN TestPCRMask --- PASS: TestPCRMask (0.00s) === RUN TestNewPCRSelection @@ -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.021s +ok github.com/google/go-tpm/tpm 0.011s ? github.com/google/go-tpm/tpm2/transport [no test files] === RUN TestMarshal2B marshalling_test.go:43: &{ [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.00s) PASS -ok github.com/google/go-tpm/tpm2 0.017s +ok github.com/google/go-tpm/tpm2 0.010s === 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.016s +ok github.com/google/go-tpm/tpm2/transport/linuxtpm 0.008s ? 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.015s -? github.com/google/go-tpm/tpmutil/mssim [no test files] +ok github.com/google/go-tpm/tpm2/transport/linuxudstpm 0.008s === 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.013s +ok github.com/google/go-tpm/tpmutil 0.012s 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/21451/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21451/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/15096 and its subdirectories -I: Current time: Fri Jan 24 00:02:03 -12 2025 -I: pbuilder-time-stamp: 1737720123 +I: removing directory /srv/workspace/pbuilder/21451 and its subdirectories +I: Current time: Sat Jan 25 02:04:43 +14 2025 +I: pbuilder-time-stamp: 1737720283