Diff of the two buildlogs: -- --- b1/build.log 2024-01-07 13:29:19.982990074 +0000 +++ b2/build.log 2024-01-07 13:31:29.510004237 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 7 01:27:15 -12 2024 -I: pbuilder-time-stamp: 1704634035 +I: Current time: Mon Jan 8 03:29:28 +14 2024 +I: pbuilder-time-stamp: 1704634168 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./golang-github-elithrar-simple-scrypt_1.3.0-1.1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.lci0xXkl/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.ha7zG_z7/trustedkeys.kbx': General error gpgv: Signature made Fri Jan 8 15:34:30 2021 gpgv: using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C gpgv: Can't check signature: No public key @@ -27,49 +27,80 @@ dpkg-source: info: unpacking golang-github-elithrar-simple-scrypt_1.3.0-1.1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/26113/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20940/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1c. +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 7 13:29 /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/20940/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20940/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,-fixfilepath parallel=3 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(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,-fixfilepath parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='84b8f31c72d14cac86e4988bed406726' - 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='26113' - PS1='# ' - PS2='> ' + INVOCATION_ID=9e145292f20b44ff860a4fc8b121c438 + 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=20940 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.UtzHr4yA/pbuilderrc_Z3Hf --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UtzHr4yA/b1 --logfile b1/build.log golang-github-elithrar-simple-scrypt_1.3.0-1.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.UtzHr4yA/pbuilderrc_yj15 --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UtzHr4yA/b2 --logfile b2/build.log golang-github-elithrar-simple-scrypt_1.3.0-1.1.dsc' + SUDO_GID=114 + SUDO_UID=108 + 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-17-armmp-lpae #1 SMP Debian 6.1.69-1 (2023-12-30) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-26-arm64 #1 SMP Debian 5.10.197-1 (2023-09-29) aarch64 GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Mar 27 2022 bash @@ -129,7 +160,7 @@ -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jan 7 09:26 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 7 13:29 sh -> /bin/bash -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty -rwsr-xr-x 1 root root 46704 Jan 20 2022 su @@ -155,7 +186,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/26113/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/20940/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -239,7 +270,7 @@ Get: 40 http://deb.debian.org/debian bullseye/main armhf golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Get: 41 http://deb.debian.org/debian bullseye/main armhf golang-golang-x-term-dev all 0.0~git20201210.2321bbc-1 [14.5 kB] Get: 42 http://deb.debian.org/debian bullseye/main armhf golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] -Fetched 81.2 MB in 2s (49.1 MB/s) +Fetched 81.2 MB in 7s (11.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 17486 files and directories currently installed.) @@ -428,7 +459,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/golang-github-elithrar-simple-scrypt-1.3.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-elithrar-simple-scrypt_1.3.0-1.1_source.changes +I: user script /srv/workspace/pbuilder/20940/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/20940/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-elithrar-simple-scrypt-1.3.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-elithrar-simple-scrypt_1.3.0-1.1_source.changes dpkg-buildpackage: info: source package golang-github-elithrar-simple-scrypt dpkg-buildpackage: info: source version 1.3.0-1.1 dpkg-buildpackage: info: source distribution unstable @@ -446,80 +481,80 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/elithrar/simple-scrypt + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/elithrar/simple-scrypt internal/unsafeheader internal/cpu runtime/internal/sys internal/race -runtime/internal/math +unicode sync/atomic +runtime/internal/math +unicode/utf8 internal/bytealg runtime/internal/atomic -unicode -unicode/utf8 -runtime crypto/internal/subtle crypto/subtle math/bits -math internal/testlog +runtime +math internal/reflectlite sync math/rand errors sort io -strconv internal/oserror +strconv syscall -bytes strings +bytes reflect -bufio hash crypto -internal/syscall/unix -time -internal/syscall/execenv +bufio crypto/hmac golang.org/x/crypto/pbkdf2 +internal/syscall/execenv +internal/syscall/unix +time +internal/poll +os internal/fmtsort encoding/binary -internal/poll -crypto/cipher crypto/sha256 -os +crypto/cipher +fmt golang.org/x/crypto/scrypt crypto/aes -fmt encoding/hex math/big crypto/rand github.com/elithrar/simple-scrypt dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/elithrar/simple-scrypt + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/elithrar/simple-scrypt === RUN TestGenerateRandomBytes --- PASS: TestGenerateRandomBytes (0.00s) === RUN TestGenerateFromPassword ---- PASS: TestGenerateFromPassword (19.78s) +--- PASS: TestGenerateFromPassword (17.72s) === RUN TestCompareHashAndPassword ---- PASS: TestCompareHashAndPassword (0.43s) +--- PASS: TestCompareHashAndPassword (0.33s) === RUN TestCost ---- PASS: TestCost (0.14s) +--- PASS: TestCost (0.11s) === RUN TestDecodeHash --- PASS: TestDecodeHash (0.00s) === RUN TestCalibrate - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 303.374838ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 301.488395ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 289.038569ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 287.536571ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:16384, R:8, P:3, SaltLen:16, DKLen:32} took 426.5946ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:8192, R:8, P:7, SaltLen:16, DKLen:32} took 496.229195ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:4096, R:8, P:14, SaltLen:16, DKLen:32} took 490.963331ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:512, R:8, P:111, SaltLen:16, DKLen:32} took 499.108323ms () ---- PASS: TestCalibrate (22.41s) + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 610.832563ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:65536, R:8, P:1, SaltLen:16, DKLen:32} took 444.732544ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:65536, R:8, P:1, SaltLen:16, DKLen:32} took 444.289269ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:2, SaltLen:16, DKLen:32} took 439.754274ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:16384, R:8, P:4, SaltLen:16, DKLen:32} took 446.838561ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:8192, R:8, P:9, SaltLen:16, DKLen:32} took 499.316605ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:4096, R:8, P:18, SaltLen:16, DKLen:32} took 487.805916ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:512, R:8, P:151, SaltLen:16, DKLen:32} took 496.33555ms () +--- PASS: TestCalibrate (28.45s) PASS -ok github.com/elithrar/simple-scrypt 42.809s +ok github.com/elithrar/simple-scrypt 47.057s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -549,12 +584,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/20940/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20940/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/26113 and its subdirectories -I: Current time: Sun Jan 7 01:29:16 -12 2024 -I: pbuilder-time-stamp: 1704634156 +I: removing directory /srv/workspace/pbuilder/20940 and its subdirectories +I: Current time: Mon Jan 8 03:31:25 +14 2024 +I: pbuilder-time-stamp: 1704634285