Diff of the two buildlogs: -- --- b1/build.log 2024-05-19 17:32:00.871614624 +0000 +++ b2/build.log 2024-05-19 17:34:09.558137697 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 19 05:26:14 -12 2024 -I: pbuilder-time-stamp: 1716139574 +I: Current time: Mon May 20 07:32:09 +14 2024 +I: pbuilder-time-stamp: 1716139929 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-secure-systems-lab-go-securesystemslib_0.8.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32632/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12421/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 May 19 17:32 /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/12421/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12421/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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(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='dafbe5c8e6504c12afc506a0f2e15b7e' - 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='32632' - PS1='# ' - PS2='> ' + INVOCATION_ID=e67b0ba3c5a9469793841f7b62029082 + 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=12421 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.G28zXHDv/pbuilderrc_y0aA --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.G28zXHDv/b1 --logfile b1/build.log golang-github-secure-systems-lab-go-securesystemslib_0.8.0-2.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.G28zXHDv/pbuilderrc_GeSc --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.G28zXHDv/b2 --logfile b2/build.log golang-github-secure-systems-lab-go-securesystemslib_0.8.0-2.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt32a 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 18 07:45 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32632/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 17 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/12421/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -165,7 +197,7 @@ Get: 48 http://deb.debian.org/debian unstable/main armhf golang-golang-x-term-dev all 0.19.0-1 [14.7 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf golang-golang-x-text-dev all 0.14.0-2 [4001 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf golang-golang-x-crypto-dev all 1:0.22.0-1 [1672 kB] -Fetched 65.2 MB in 2s (36.5 MB/s) +Fetched 65.2 MB in 1s (84.9 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 ... 19463 files and directories currently installed.) @@ -380,7 +412,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-secure-systems-lab-go-securesystemslib-0.8.0/ && 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-secure-systems-lab-go-securesystemslib_0.8.0-2_source.changes +I: user script /srv/workspace/pbuilder/12421/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/12421/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-secure-systems-lab-go-securesystemslib-0.8.0/ && 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-secure-systems-lab-go-securesystemslib_0.8.0-2_source.changes dpkg-buildpackage: info: source package golang-github-secure-systems-lab-go-securesystemslib dpkg-buildpackage: info: source version 0.8.0-2 dpkg-buildpackage: info: source distribution unstable @@ -398,106 +434,115 @@ 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 github.com/secure-systems-lab/go-securesystemslib/cjson github.com/secure-systems-lab/go-securesystemslib/dsse github.com/secure-systems-lab/go-securesystemslib/encrypted github.com/secure-systems-lab/go-securesystemslib/signerverifier + cd _build && go install -trimpath -v -p 4 github.com/secure-systems-lab/go-securesystemslib/cjson github.com/secure-systems-lab/go-securesystemslib/dsse github.com/secure-systems-lab/go-securesystemslib/encrypted github.com/secure-systems-lab/go-securesystemslib/signerverifier +internal/coverage/rtcov +internal/unsafeheader internal/goarch internal/cpu -internal/unsafeheader +internal/godebugs internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov -internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race sync/atomic unicode unicode/utf8 -runtime encoding math/bits -math internal/itoa cmp -slices unicode/utf16 +math +slices crypto/internal/alias crypto/internal/boring/sig +runtime vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace golang.org/x/crypto/internal/alias log/internal golang.org/x/crypto/salsa20/salsa +internal/reflectlite crypto/subtle sync -internal/reflectlite internal/testlog internal/bisect internal/singleflight runtime/cgo errors io +internal/godebug sort -bytes strconv +bytes internal/oserror syscall +internal/safefilepath +path +strings reflect +hash +crypto +bufio +crypto/internal/randutil +math/rand +crypto/internal/nistec/fiat internal/syscall/unix time +internal/syscall/execenv +crypto/rc4 +vendor/golang.org/x/net/dns/dnsmessage +internal/intern +net/netip +internal/poll encoding/binary internal/fmtsort -internal/poll -internal/safefilepath encoding/base64 -internal/syscall/execenv -path -strings io/fs context -hash -os -bufio -crypto crypto/cipher crypto/internal/boring +os crypto/des crypto/aes -crypto/internal/randutil -internal/godebug crypto/internal/edwards25519/field -math/rand -crypto/internal/nistec/fiat crypto/sha512 -fmt -crypto/internal/edwards25519 crypto/hmac +crypto/internal/edwards25519 +crypto/internal/nistec crypto/md5 -encoding/json -math/big -github.com/secure-systems-lab/go-securesystemslib/cjson -crypto/rc4 crypto/sha1 crypto/sha256 -crypto/internal/nistec -encoding/hex encoding/pem -vendor/golang.org/x/net/dns/dnsmessage -crypto/ecdh -internal/intern -net/url -net/netip -path/filepath +fmt net +path/filepath +crypto/ecdh golang.org/x/crypto/chacha20 golang.org/x/crypto/curve25519 golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/blowfish +golang.org/x/crypto/nacl/secretbox +golang.org/x/crypto/pbkdf2 +golang.org/x/crypto/scrypt golang.org/x/crypto/ssh/internal/bcrypt_pbkdf +internal/sysinfo +encoding/json +math/big +encoding/hex +net/url +log +flag +github.com/secure-systems-lab/go-securesystemslib/cjson +runtime/debug +runtime/trace +testing crypto/dsa crypto/elliptic crypto/internal/bigmod @@ -506,19 +551,10 @@ crypto/rand crypto/ed25519 crypto/rsa +github.com/secure-systems-lab/go-securesystemslib/encrypted vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -log crypto/ecdsa -golang.org/x/crypto/nacl/secretbox -golang.org/x/crypto/pbkdf2 -golang.org/x/crypto/scrypt -github.com/secure-systems-lab/go-securesystemslib/encrypted -flag -internal/sysinfo -runtime/debug -runtime/trace -testing crypto/x509 github.com/secure-systems-lab/go-securesystemslib/signerverifier golang.org/x/crypto/ssh @@ -527,7 +563,7 @@ make[1]: Entering directory '/build/reproducible-path/golang-github-secure-systems-lab-go-securesystemslib-0.8.0' DH_GOLANG_EXCLUDES=dsse \ dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/secure-systems-lab/go-securesystemslib/cjson github.com/secure-systems-lab/go-securesystemslib/encrypted github.com/secure-systems-lab/go-securesystemslib/signerverifier + cd _build && go test -vet=off -v -p 4 github.com/secure-systems-lab/go-securesystemslib/cjson github.com/secure-systems-lab/go-securesystemslib/encrypted github.com/secure-systems-lab/go-securesystemslib/signerverifier === RUN TestEncodeCanonical --- PASS: TestEncodeCanonical (0.00s) === RUN TestEncodeCanonicalErr @@ -535,31 +571,31 @@ === RUN TestEncodeCanonicalHelper --- PASS: TestEncodeCanonicalHelper (0.00s) PASS -ok github.com/secure-systems-lab/go-securesystemslib/cjson 0.017s +ok github.com/secure-systems-lab/go-securesystemslib/cjson 0.009s === RUN TestRoundtrip ---- PASS: TestRoundtrip (1.87s) +--- PASS: TestRoundtrip (1.37s) === RUN TestTamperedRoundtrip ---- PASS: TestTamperedRoundtrip (1.19s) +--- PASS: TestTamperedRoundtrip (0.90s) === RUN TestDecrypt ---- PASS: TestDecrypt (0.30s) +--- PASS: TestDecrypt (0.23s) === RUN TestMarshalUnmarshal ---- PASS: TestMarshalUnmarshal (1.20s) +--- PASS: TestMarshalUnmarshal (0.91s) === RUN TestInvalidKDFSettings ---- PASS: TestInvalidKDFSettings (1.19s) +--- PASS: TestInvalidKDFSettings (0.91s) === RUN TestLegacyKDFSettings ---- PASS: TestLegacyKDFSettings (0.59s) +--- PASS: TestLegacyKDFSettings (0.45s) === RUN TestStandardKDFSettings ---- PASS: TestStandardKDFSettings (1.18s) +--- PASS: TestStandardKDFSettings (0.90s) === RUN TestOWASPKDFSettings ---- PASS: TestOWASPKDFSettings (2.48s) +--- PASS: TestOWASPKDFSettings (1.86s) === RUN TestKDFSettingVectors ---- PASS: TestKDFSettingVectors (2.12s) +--- PASS: TestKDFSettingVectors (1.60s) === RUN TestUnsupportedKDFParameters --- PASS: TestUnsupportedKDFParameters (0.00s) PASS -ok github.com/secure-systems-lab/go-securesystemslib/encrypted 12.146s +ok github.com/secure-systems-lab/go-securesystemslib/encrypted 9.147s === RUN TestNewECDSASignerVerifierFromSSLibKey ---- PASS: TestNewECDSASignerVerifierFromSSLibKey (1.42s) +--- PASS: TestNewECDSASignerVerifierFromSSLibKey (0.00s) === RUN TestLoadECDSAKeyFromFile === RUN TestLoadECDSAKeyFromFile/ecdsa_public_key === RUN TestLoadECDSAKeyFromFile/ecdsa_private_key @@ -577,7 +613,7 @@ === RUN TestECDSASignerVerifierWithDSSEEnvelope --- PASS: TestECDSASignerVerifierWithDSSEEnvelope (0.01s) === RUN TestECDSASignerVerifierWithMetablockFile ---- PASS: TestECDSASignerVerifierWithMetablockFile (0.01s) +--- PASS: TestECDSASignerVerifierWithMetablockFile (0.00s) === RUN TestNewED25519SignerVerifierFromSSLibKey --- PASS: TestNewED25519SignerVerifierFromSSLibKey (0.00s) === RUN TestLoadED25519KeyFromFile @@ -595,27 +631,27 @@ === RUN TestED25519SignerVerifierWithDSSEEnvelope --- PASS: TestED25519SignerVerifierWithDSSEEnvelope (0.00s) === RUN TestED25519SignerVerifierWithMetablockFile ---- PASS: TestED25519SignerVerifierWithMetablockFile (0.05s) +--- PASS: TestED25519SignerVerifierWithMetablockFile (0.00s) === RUN TestNewRSAPSSSignerVerifierFromSSLibKey ---- PASS: TestNewRSAPSSSignerVerifierFromSSLibKey (0.13s) +--- PASS: TestNewRSAPSSSignerVerifierFromSSLibKey (0.00s) === RUN TestLoadRSAPSSKeyFromFile === RUN TestLoadRSAPSSKeyFromFile/RSA_public_key === RUN TestLoadRSAPSSKeyFromFile/RSA_private_key === RUN TestLoadRSAPSSKeyFromFile/invalid_path ---- PASS: TestLoadRSAPSSKeyFromFile (0.21s) +--- PASS: TestLoadRSAPSSKeyFromFile (0.00s) --- PASS: TestLoadRSAPSSKeyFromFile/RSA_public_key (0.00s) - --- PASS: TestLoadRSAPSSKeyFromFile/RSA_private_key (0.21s) + --- PASS: TestLoadRSAPSSKeyFromFile/RSA_private_key (0.00s) --- PASS: TestLoadRSAPSSKeyFromFile/invalid_path (0.00s) === RUN TestRSAPSSSignerVerifierSignAndVerify === RUN TestRSAPSSSignerVerifierSignAndVerify/using_valid_key === RUN TestRSAPSSSignerVerifierSignAndVerify/using_invalid_key ---- PASS: TestRSAPSSSignerVerifierSignAndVerify (0.11s) - --- PASS: TestRSAPSSSignerVerifierSignAndVerify/using_valid_key (0.11s) +--- PASS: TestRSAPSSSignerVerifierSignAndVerify (0.07s) + --- PASS: TestRSAPSSSignerVerifierSignAndVerify/using_valid_key (0.07s) --- PASS: TestRSAPSSSignerVerifierSignAndVerify/using_invalid_key (0.00s) === RUN TestRSAPSSSignerVerifierWithDSSEEnvelope ---- PASS: TestRSAPSSSignerVerifierWithDSSEEnvelope (0.10s) +--- PASS: TestRSAPSSSignerVerifierWithDSSEEnvelope (0.07s) === RUN TestRSAPSSSignerVerifierWithMetablockFile ---- PASS: TestRSAPSSSignerVerifierWithMetablockFile (0.05s) +--- PASS: TestRSAPSSSignerVerifierWithMetablockFile (0.00s) === RUN TestLoadKeyFromSSLibBytes === RUN TestLoadKeyFromSSLibBytes/RSA_public_key === RUN TestLoadKeyFromSSLibBytes/RSA_private_key @@ -623,7 +659,7 @@ --- PASS: TestLoadKeyFromSSLibBytes/RSA_public_key (0.00s) --- PASS: TestLoadKeyFromSSLibBytes/RSA_private_key (0.00s) PASS -ok github.com/secure-systems-lab/go-securesystemslib/signerverifier 2.185s +ok github.com/secure-systems-lab/go-securesystemslib/signerverifier 0.232s make[1]: Leaving directory '/build/reproducible-path/golang-github-secure-systems-lab-go-securesystemslib-0.8.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -651,12 +687,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/12421/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12421/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/32632 and its subdirectories -I: Current time: Sun May 19 05:31:56 -12 2024 -I: pbuilder-time-stamp: 1716139916 +I: removing directory /srv/workspace/pbuilder/12421 and its subdirectories +I: Current time: Mon May 20 07:34:05 +14 2024 +I: pbuilder-time-stamp: 1716140045