Diff of the two buildlogs: -- --- b1/build.log 2024-04-26 23:12:27.538945944 +0000 +++ b2/build.log 2024-04-26 23:21:03.912963018 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 26 11:07:43 -12 2024 -I: pbuilder-time-stamp: 1714172863 +I: Current time: Sat Apr 27 13:12:41 +14 2024 +I: pbuilder-time-stamp: 1714173161 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying libsofthsm2.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24005/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14759/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 Apr 26 23:13 /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/14759/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14759/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='d4d0073c8fb74c188cd1215bccae7135' - 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='24005' - PS1='# ' - PS2='> ' + INVOCATION_ID=73ca9bfde0a94e988aa2629ca157876d + 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=14759 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.FSoebVF9/pbuilderrc_NXdr --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.FSoebVF9/b1 --logfile b1/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-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.FSoebVF9/pbuilderrc_SCq1 --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.FSoebVF9/b2 --logfile b2/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-2.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-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-armmp #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 25 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/24005/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 25 07:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/14759/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: 47 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-1+b2 [26.2 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf pkg-config armhf 1.8.1-1+b2 [14.0 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf softhsm2 armhf 2.6.1-2.2+b1 [145 kB] -Fetched 61.6 MB in 2s (25.3 MB/s) +Fetched 61.6 MB in 7s (9118 kB/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 ... 19440 files and directories currently installed.) @@ -386,7 +418,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-miekg-pkcs11-1.0.3+dfsg1/ && 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-miekg-pkcs11_1.0.3+dfsg1-2_source.changes +I: user script /srv/workspace/pbuilder/14759/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/14759/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-miekg-pkcs11-1.0.3+dfsg1/ && 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-miekg-pkcs11_1.0.3+dfsg1-2_source.changes dpkg-buildpackage: info: source package golang-github-miekg-pkcs11 dpkg-buildpackage: info: source version 1.0.3+dfsg1-2 dpkg-buildpackage: info: source distribution unstable @@ -408,50 +444,50 @@ 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/miekg/pkcs11 github.com/miekg/pkcs11/p11 -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 +internal/coverage/rtcov internal/goarch +internal/unsafeheader internal/cpu -internal/coverage/rtcov -internal/abi internal/chacha8rand -internal/bytealg +internal/abi internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic +internal/bytealg runtime/internal/math +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/itoa math/bits unicode/utf8 -math internal/race +math sync/atomic -runtime unicode cmp slices -sync +runtime internal/reflectlite +sync internal/testlog runtime/cgo -sort errors +sort strconv io internal/oserror +internal/safefilepath syscall +path +strings reflect internal/syscall/unix time -internal/safefilepath internal/syscall/execenv -path -strings -internal/poll io/fs +internal/poll internal/fmtsort os fmt @@ -464,64 +500,64 @@ echo "log.level = INFO" >> debian/softhsm2.conf mkdir -p debian/tmp softhsm2-util --init-token --slot 0 --label test --pin 1234 --so-pin 1234 -The token has been initialized and is reassigned to slot 930094873 +The token has been initialized and is reassigned to slot 369213290 dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 + cd _build && go test -vet=off -v -p 4 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 ? github.com/miekg/pkcs11/p11 [no test files] === RUN TestPSSParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestPSSParams (0.86s) +--- PASS: TestPSSParams (1.80s) === RUN TestOAEPParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestOAEPParams (0.57s) +--- PASS: TestOAEPParams (2.69s) === RUN TestGCMParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestGCMParams (0.01s) +--- PASS: TestGCMParams (0.08s) === RUN TestSetenv ---- PASS: TestSetenv (0.00s) +--- PASS: TestSetenv (0.01s) === RUN TestInitialize pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestInitialize (0.00s) +--- PASS: TestInitialize (0.02s) === RUN TestNew ---- PASS: TestNew (0.00s) +--- PASS: TestNew (0.01s) === RUN TestGetInfo pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so pkcs11_test.go:107: {CryptokiVersion:{Major:2 Minor:40} ManufacturerID:SoftHSM Flags:0 LibraryDescription:Implementation of PKCS11 LibraryVersion:{Major:2 Minor:6}} ---- PASS: TestGetInfo (0.01s) +--- PASS: TestGetInfo (0.06s) === RUN TestFindObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestFindObject (0.96s) +--- PASS: TestFindObject (2.19s) === RUN TestGetAttributeValue pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so pkcs11_test.go:154: attr 0, type 290, valuelen 3 pkcs11_test.go:154: attr 1, type 289, valuelen 4 pkcs11_test.go:154: attr 2, type 288, valuelen 256 - pkcs11_test.go:158: modulus 21289505373405332686841133260324211878077126036234489566666594364140753638869074946573607384403658420348017424618304553493146725181101773919479990336602296399753011441437666490027466756051237855374326567795746082469551990648531739196520362460701941366541245358425217237639062803516703798892353491167120040673503073076115227332533301919923374444841806003923813340411324653050457562163221042389065787429655960739368755317341807871075404305309196309580634731086528876739298234039603988691668610186471869723231766074231147607936979623341339220333421335463087937375826843334953737981381810127757707359016985189841947793269 + pkcs11_test.go:158: modulus 22815498574776104906358319493863187229676623653218178339991375612791137042683193790558831506398846562864212238950870668459855514754751908896086875292443962988039056943408463074646021483813830074504092865035386647451225859624588971902271718470520091146786111004768167374173487096860791149696064579715332732013881879405589185734864780036666568898258224976763357634283434474983793926331850233287058203758563556188776933473232871347878535354900643627026292952880131396601213487902071473213180762011540421864088071736096728469689928228455898484749959069942904096746168404235271620156305716153827047769932366935871731729827 pkcs11_test.go:154: attr 3, type 3, valuelen 17 ---- PASS: TestGetAttributeValue (0.54s) +--- PASS: TestGetAttributeValue (4.60s) === RUN TestDigest pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestDigest/Simple === RUN TestDigest/Empty ---- PASS: TestDigest (0.01s) +--- PASS: TestDigest (0.08s) --- PASS: TestDigest/Simple (0.00s) --- PASS: TestDigest/Empty (0.00s) === RUN TestDigestUpdate pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestDigestUpdate/Simple === RUN TestDigestUpdate/Empty ---- PASS: TestDigestUpdate (0.01s) +--- PASS: TestDigestUpdate (0.07s) --- PASS: TestDigestUpdate/Simple (0.00s) --- PASS: TestDigestUpdate/Empty (0.00s) === RUN TestGenerateKeyPair pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestGenerateKeyPair (1.17s) +--- PASS: TestGenerateKeyPair (3.66s) === RUN TestSign pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestSign (1.91s) +--- PASS: TestSign (1.13s) === RUN TestDestroyObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestDestroyObject (0.90s) +--- PASS: TestDestroyObject (0.65s) === RUN TestSymmetricEncryption pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestSymmetricEncryption/Encrypt @@ -532,19 +568,19 @@ === RUN TestSymmetricEncryption/EncryptUpdate/ECB === RUN TestSymmetricEncryption/EncryptUpdate/CBC === RUN TestSymmetricEncryption/EncryptUpdate/CBC-PAD ---- PASS: TestSymmetricEncryption (0.02s) - --- PASS: TestSymmetricEncryption/Encrypt (0.00s) +--- PASS: TestSymmetricEncryption (0.06s) + --- PASS: TestSymmetricEncryption/Encrypt (0.01s) --- PASS: TestSymmetricEncryption/Encrypt/ECB (0.00s) - --- PASS: TestSymmetricEncryption/Encrypt/CBC (0.00s) + --- PASS: TestSymmetricEncryption/Encrypt/CBC (0.01s) --- PASS: TestSymmetricEncryption/Encrypt/CBC-PAD (0.00s) - --- PASS: TestSymmetricEncryption/EncryptUpdate (0.00s) + --- PASS: TestSymmetricEncryption/EncryptUpdate (0.02s) --- PASS: TestSymmetricEncryption/EncryptUpdate/ECB (0.00s) - --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC (0.00s) + --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC (0.01s) --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC-PAD (0.00s) === RUN ExampleCtx_Sign ---- PASS: ExampleCtx_Sign (0.82s) +--- PASS: ExampleCtx_Sign (1.64s) PASS -ok github.com/miekg/pkcs11 7.801s +ok github.com/miekg/pkcs11 18.800s rm -rf debian/tmp make[1]: Leaving directory '/build/reproducible-path/golang-github-miekg-pkcs11-1.0.3+dfsg1' create-stamp debian/debhelper-build-stamp @@ -579,12 +615,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/14759/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14759/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/24005 and its subdirectories -I: Current time: Fri Apr 26 11:12:23 -12 2024 -I: pbuilder-time-stamp: 1714173143 +I: removing directory /srv/workspace/pbuilder/14759 and its subdirectories +I: Current time: Sat Apr 27 13:20:59 +14 2024 +I: pbuilder-time-stamp: 1714173659