Diff of the two buildlogs: -- --- b1/build.log 2024-12-17 20:23:21.558241294 +0000 +++ b2/build.log 2024-12-17 20:26:02.974936759 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 17 08:19:36 -12 2024 -I: pbuilder-time-stamp: 1734466776 +I: Current time: Wed Dec 18 10:23:30 +14 2024 +I: pbuilder-time-stamp: 1734467010 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-veraison-go-cose_1.2.1-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/31735/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23786/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 Dec 17 20:23 /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/23786/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23786/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='54fcfe7abfe2452a884ee82d2817d230' - 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='31735' - PS1='# ' - PS2='> ' + INVOCATION_ID=8ac788183c954bd7a4c760337fa87104 + 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=23786 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.GKCSCcab/pbuilderrc_Aisf --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.GKCSCcab/b1 --logfile b1/build.log golang-github-veraison-go-cose_1.2.1-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.GKCSCcab/pbuilderrc_1Vup --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.GKCSCcab/b2 --logfile b2/build.log golang-github-veraison-go-cose_1.2.1-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 virt32c 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) 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/31735/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/23786/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -150,7 +182,7 @@ Get: 35 http://deb.debian.org/debian unstable/main armhf golang-any armhf 2:1.23~2 [5172 B] Get: 36 http://deb.debian.org/debian unstable/main armhf golang-github-x448-float16-dev all 0.8.4-3 [10.6 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf golang-github-fxamacker-cbor-dev all 2.7.0-1 [113 kB] -Fetched 62.1 MB in 1s (51.5 MB/s) +Fetched 62.1 MB in 1s (69.8 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 ... 19680 files and directories currently installed.) @@ -313,7 +345,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-veraison-go-cose-1.2.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-veraison-go-cose_1.2.1-2_source.changes +I: user script /srv/workspace/pbuilder/23786/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/23786/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-veraison-go-cose-1.2.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-veraison-go-cose_1.2.1-2_source.changes dpkg-buildpackage: info: source package golang-github-veraison-go-cose dpkg-buildpackage: info: source version 1.2.1-2 dpkg-buildpackage: info: source distribution unstable @@ -331,16 +367,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 github.com/veraison/go-cose + cd _build && go install -trimpath -v -p 4 github.com/veraison/go-cose internal/unsafeheader internal/goarch -internal/cpu internal/byteorder +internal/cpu +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs +internal/bytealg internal/goexperiment internal/goos internal/profilerecord @@ -349,76 +385,76 @@ internal/stringslite runtime/internal/math runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic unicode +internal/runtime/exithook unicode/utf8 -runtime math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp internal/itoa +math internal/asan internal/msan unicode/utf16 +runtime vendor/golang.org/x/crypto/cryptobyte/asn1 encoding -internal/reflectlite crypto/subtle -sync iter +internal/reflectlite +sync slices internal/bisect internal/testlog errors sort +internal/godebug io strconv -bytes -hash crypto/internal/edwards25519/field crypto/internal/nistec/fiat -crypto/cipher -crypto +bytes +hash crypto/internal/randutil -reflect -crypto/internal/boring -crypto/aes internal/oserror path -internal/godebug syscall +crypto +crypto/cipher +reflect +crypto/internal/boring +crypto/aes +math/rand +strings time -crypto/internal/nistec -internal/fmtsort internal/syscall/unix internal/syscall/execenv -math/rand -crypto/ecdh -io/fs -internal/poll -strings -internal/filepathlite crypto/sha512 crypto/internal/edwards25519 +crypto/internal/nistec encoding/base32 -os -encoding/binary +io/fs +internal/poll +internal/filepathlite github.com/x448/float16 +crypto/ecdh +internal/fmtsort +encoding/binary +os encoding/base64 fmt encoding/hex math/big -crypto/internal/boring/bbig crypto/elliptic crypto/internal/bigmod +crypto/internal/boring/bbig encoding/asn1 crypto/rand -crypto/ed25519 github.com/fxamacker/cbor +crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa @@ -427,7 +463,7 @@ make[1]: Entering directory '/build/reproducible-path/golang-github-veraison-go-cose-1.2.1' rm -f _build/src/github.com/veraison/go-cose/sign_test.go dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/veraison/go-cose + cd _build && go test -vet=off -v -p 4 github.com/veraison/go-cose === RUN TestAlgorithm_String === RUN TestAlgorithm_String/unknown_algorithm --- PASS: TestAlgorithm_String (0.00s) @@ -591,7 +627,7 @@ === RUN Test_ecdsaVerifier_Verify_HashFailure --- PASS: Test_ecdsaVerifier_Verify_HashFailure (0.00s) === RUN Test_ed25519Signer ---- PASS: Test_ed25519Signer (0.04s) +--- PASS: Test_ed25519Signer (0.05s) === RUN Test_ed25519Verifier_Verify_Success --- PASS: Test_ed25519Verifier_Verify_Success (0.00s) === RUN Test_ed25519Verifier_Verify_KeyMismatch @@ -842,10 +878,10 @@ === RUN Test_Key_ecdsa_signature_round_trip/P-256 === RUN Test_Key_ecdsa_signature_round_trip/P-384 === RUN Test_Key_ecdsa_signature_round_trip/P-521 ---- PASS: Test_Key_ecdsa_signature_round_trip (0.60s) +--- PASS: Test_Key_ecdsa_signature_round_trip (0.54s) --- PASS: Test_Key_ecdsa_signature_round_trip/P-256 (0.01s) --- PASS: Test_Key_ecdsa_signature_round_trip/P-384 (0.07s) - --- PASS: Test_Key_ecdsa_signature_round_trip/P-521 (0.52s) + --- PASS: Test_Key_ecdsa_signature_round_trip/P-521 (0.47s) === RUN Test_Key_derive_algorithm --- PASS: Test_Key_derive_algorithm (0.00s) === RUN Test_Key_signer_validation @@ -855,29 +891,29 @@ === RUN Test_Key_crypto_keys --- PASS: Test_Key_crypto_keys (0.00s) === RUN Test_rsaSigner ---- PASS: Test_rsaSigner (8.78s) +--- PASS: Test_rsaSigner (1.58s) === RUN Test_rsaSigner_SignHashFailure ---- PASS: Test_rsaSigner_SignHashFailure (1.49s) +--- PASS: Test_rsaSigner_SignHashFailure (2.58s) === RUN Test_rsaVerifier_Verify_Success ---- PASS: Test_rsaVerifier_Verify_Success (2.32s) +--- PASS: Test_rsaVerifier_Verify_Success (1.64s) === RUN Test_rsaVerifier_Verify_AlgorithmMismatch ---- PASS: Test_rsaVerifier_Verify_AlgorithmMismatch (2.53s) +--- PASS: Test_rsaVerifier_Verify_AlgorithmMismatch (1.59s) === RUN Test_rsaVerifier_Verify_KeyMismatch ---- PASS: Test_rsaVerifier_Verify_KeyMismatch (6.22s) +--- PASS: Test_rsaVerifier_Verify_KeyMismatch (1.68s) === RUN Test_rsaVerifier_Verify_InvalidSignature === RUN Test_rsaVerifier_Verify_InvalidSignature/nil_signature === RUN Test_rsaVerifier_Verify_InvalidSignature/empty_signature === RUN Test_rsaVerifier_Verify_InvalidSignature/incomplete_signature === RUN Test_rsaVerifier_Verify_InvalidSignature/tampered_signature === RUN Test_rsaVerifier_Verify_InvalidSignature/too_many_signature_bytes ---- PASS: Test_rsaVerifier_Verify_InvalidSignature (3.98s) +--- PASS: Test_rsaVerifier_Verify_InvalidSignature (1.20s) --- PASS: Test_rsaVerifier_Verify_InvalidSignature/nil_signature (0.00s) --- PASS: Test_rsaVerifier_Verify_InvalidSignature/empty_signature (0.00s) --- PASS: Test_rsaVerifier_Verify_InvalidSignature/incomplete_signature (0.00s) --- PASS: Test_rsaVerifier_Verify_InvalidSignature/tampered_signature (0.00s) --- PASS: Test_rsaVerifier_Verify_InvalidSignature/too_many_signature_bytes (0.00s) === RUN Test_rsaVerifier_Verify_HashFailure ---- PASS: Test_rsaVerifier_Verify_HashFailure (5.04s) +--- PASS: Test_rsaVerifier_Verify_HashFailure (1.20s) === RUN TestSign1Message_MarshalCBOR === RUN TestSign1Message_MarshalCBOR/valid_message === RUN TestSign1Message_MarshalCBOR/nil_message @@ -982,7 +1018,7 @@ === RUN TestSign1Message_Verify/tamper_payload === RUN TestSign1Message_Verify/tamper_signature === RUN TestSign1Message_Verify/nil_payload ---- PASS: TestSign1Message_Verify (0.05s) +--- PASS: TestSign1Message_Verify (0.06s) --- PASS: TestSign1Message_Verify/round_trip_on_valid_message (0.01s) --- PASS: TestSign1Message_Verify/external_mismatch (0.01s) --- PASS: TestSign1Message_Verify/mixed_nil_/_empty_external (0.01s) @@ -1028,7 +1064,7 @@ === RUN TestNewSigner/rsa_key_mismatch === RUN TestNewSigner/rsa_key_under_minimum_entropy === RUN TestNewSigner/unknown_algorithm ---- PASS: TestNewSigner (1.78s) +--- PASS: TestNewSigner (0.78s) --- PASS: TestNewSigner/ecdsa_key_signer (0.00s) --- PASS: TestNewSigner/ecdsa_crypto_signer (0.00s) --- PASS: TestNewSigner/ecdsa_key_mismatch (0.00s) @@ -1048,7 +1084,7 @@ === RUN TestNewVerifier/rsa_key_under_minimum_entropy === RUN TestNewVerifier/unknown_algorithm === RUN TestNewVerifier/bogus_ecdsa_public_key_(point_not_on_curve) ---- PASS: TestNewVerifier (1.38s) +--- PASS: TestNewVerifier (0.94s) --- PASS: TestNewVerifier/ecdsa_key_verifier (0.00s) --- PASS: TestNewVerifier/ecdsa_invalid_public_key (0.00s) --- PASS: TestNewVerifier/ed25519_verifier (0.00s) @@ -1077,18 +1113,18 @@ === RUN TestConformance/sign1-verify-negative-0001 === RUN TestConformance/sign1-verify-negative-0002 === RUN TestConformance/sign1-verify-negative-0003 ---- PASS: TestConformance (0.61s) +--- PASS: TestConformance (0.51s) --- PASS: TestConformance/sign1-sign-0000 (0.01s) --- PASS: TestConformance/sign1-sign-0001 (0.01s) --- PASS: TestConformance/sign1-sign-0002 (0.02s) - --- PASS: TestConformance/sign1-sign-0003 (0.15s) - --- PASS: TestConformance/sign1-sign-0004 (0.09s) - --- PASS: TestConformance/sign1-sign-0005 (0.09s) - --- PASS: TestConformance/sign1-sign-0006 (0.09s) + --- PASS: TestConformance/sign1-sign-0003 (0.14s) + --- PASS: TestConformance/sign1-sign-0004 (0.07s) + --- PASS: TestConformance/sign1-sign-0005 (0.07s) + --- PASS: TestConformance/sign1-sign-0006 (0.07s) --- PASS: TestConformance/sign1-verify-0000 (0.01s) --- PASS: TestConformance/sign1-verify-0001 (0.01s) --- PASS: TestConformance/sign1-verify-0002 (0.02s) - --- PASS: TestConformance/sign1-verify-0003 (0.12s) + --- PASS: TestConformance/sign1-verify-0003 (0.11s) --- PASS: TestConformance/sign1-verify-0004 (0.00s) --- PASS: TestConformance/sign1-verify-0005 (0.00s) --- PASS: TestConformance/sign1-verify-0006 (0.00s) @@ -1142,24 +1178,24 @@ === RUN FuzzSign1/seed#4 === RUN FuzzSign1/seed#5 === RUN FuzzSign1/seed#6 ---- PASS: FuzzSign1 (70.56s) +--- PASS: FuzzSign1 (21.03s) --- PASS: FuzzSign1/seed#0 (0.01s) --- PASS: FuzzSign1/seed#1 (0.01s) --- PASS: FuzzSign1/seed#2 (0.04s) - --- PASS: FuzzSign1/seed#3 (0.27s) - --- PASS: FuzzSign1/seed#4 (0.03s) - --- PASS: FuzzSign1/seed#5 (0.09s) - --- PASS: FuzzSign1/seed#6 (0.20s) + --- PASS: FuzzSign1/seed#3 (0.24s) + --- PASS: FuzzSign1/seed#4 (0.02s) + --- PASS: FuzzSign1/seed#5 (0.07s) + --- PASS: FuzzSign1/seed#6 (0.14s) === RUN ExampleSignMessage ---- PASS: ExampleSignMessage (0.30s) +--- PASS: ExampleSignMessage (0.27s) === RUN ExampleSign1Message ---- PASS: ExampleSign1Message (0.30s) +--- PASS: ExampleSign1Message (0.26s) === RUN ExampleSign1 ---- PASS: ExampleSign1 (0.06s) +--- PASS: ExampleSign1 (0.05s) === RUN ExampleSign1Untagged --- PASS: ExampleSign1Untagged (0.05s) PASS -ok github.com/veraison/go-cose 106.333s +ok github.com/veraison/go-cose 36.215s make[1]: Leaving directory '/build/reproducible-path/golang-github-veraison-go-cose-1.2.1' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -1187,12 +1223,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/23786/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23786/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/31735 and its subdirectories -I: Current time: Tue Dec 17 08:23:17 -12 2024 -I: pbuilder-time-stamp: 1734466997 +I: removing directory /srv/workspace/pbuilder/23786 and its subdirectories +I: Current time: Wed Dec 18 10:25:58 +14 2024 +I: pbuilder-time-stamp: 1734467158