Diff of the two buildlogs: -- --- b1/build.log 2024-01-12 19:52:33.535370834 +0000 +++ b2/build.log 2024-01-12 19:54:09.080078736 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Feb 13 14:14:14 -12 2025 -I: pbuilder-time-stamp: 1739499254 +I: Current time: Sat Jan 13 09:52:35 +14 2024 +I: pbuilder-time-stamp: 1705089155 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,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.84XnGSoV/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.hZINUF9B/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 @@ -28,51 +28,82 @@ 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/14848/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20891/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 12 19:52 /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/20891/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20891/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=7 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7a2570dab2354b67936bff9d9ea66348' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='14848' - PS1='# ' - PS2='> ' + INVOCATION_ID=5066395dc9fa481288ab6271a2d0570e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=20891 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.nZcaiIlE/pbuilderrc_FPTs --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.nZcaiIlE/b1 --logfile b1/build.log golang-github-elithrar-simple-scrypt_1.3.0-1.1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + 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.nZcaiIlE/pbuilderrc_YNhe --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.nZcaiIlE/b2 --logfile b2/build.log golang-github-elithrar-simple-scrypt_1.3.0-1.1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) i686 GNU/Linux I: ls -l /bin total 5776 -rwxr-xr-x 1 root root 1367848 Mar 27 2022 bash @@ -132,7 +163,7 @@ -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 8 15:47 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 12 19:52 sh -> /bin/bash -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty -rwsr-xr-x 1 root root 79396 Jan 20 2022 su @@ -158,7 +189,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/14848/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/20891/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -242,7 +273,7 @@ Get: 40 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Get: 41 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-term-dev all 0.0~git20201210.2321bbc-1 [14.5 kB] Get: 42 http://deb.debian.org/debian bullseye/main i386 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] -Fetched 85.1 MB in 2s (36.0 MB/s) +Fetched 85.1 MB in 3s (31.1 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 ... 17763 files and directories currently installed.) @@ -431,7 +462,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/20891/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/20891/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 @@ -449,22 +484,22 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-i686-linux-gnu && go install -trimpath -v -p 16 github.com/elithrar/simple-scrypt -internal/race + cd obj-i686-linux-gnu && go install -trimpath -v -p 7 github.com/elithrar/simple-scrypt internal/unsafeheader -crypto/internal/subtle -unicode/utf8 -math/bits +internal/race runtime/internal/atomic -sync/atomic -crypto/subtle +runtime/internal/sys unicode internal/cpu -runtime/internal/sys +unicode/utf8 +sync/atomic +crypto/internal/subtle +crypto/subtle +math/bits internal/testlog +internal/bytealg runtime/internal/math math -internal/bytealg runtime internal/reflectlite sync @@ -475,89 +510,71 @@ strconv internal/oserror syscall +bytes hash strings -bytes crypto/hmac golang.org/x/crypto/pbkdf2 -crypto reflect +crypto bufio -internal/syscall/execenv internal/syscall/unix time -internal/fmtsort +internal/syscall/execenv encoding/binary -crypto/sha256 +internal/fmtsort +internal/poll crypto/cipher +crypto/sha256 +os crypto/aes -internal/poll golang.org/x/crypto/scrypt -os fmt encoding/hex math/big crypto/rand github.com/elithrar/simple-scrypt dh_auto_test -O--buildsystem=golang - cd obj-i686-linux-gnu && go test -vet=off -v -p 16 github.com/elithrar/simple-scrypt + cd obj-i686-linux-gnu && go test -vet=off -v -p 7 github.com/elithrar/simple-scrypt === RUN TestGenerateRandomBytes --- PASS: TestGenerateRandomBytes (0.00s) === RUN TestGenerateFromPassword ---- PASS: TestGenerateFromPassword (14.21s) +--- PASS: TestGenerateFromPassword (18.42s) === RUN TestCompareHashAndPassword ---- PASS: TestCompareHashAndPassword (0.21s) +--- PASS: TestCompareHashAndPassword (0.62s) === RUN TestCost ---- PASS: TestCost (0.07s) +--- PASS: TestCost (0.18s) === RUN TestDecodeHash --- PASS: TestDecodeHash (0.00s) === RUN TestCalibrate - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:2, SaltLen:16, DKLen:32} took 329.112569ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:3, SaltLen:16, DKLen:32} took 497.073068ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:65536, R:8, P:1, SaltLen:16, DKLen:32} took 326.447863ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:3, SaltLen:16, DKLen:32} took 430.568645ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:16384, R:8, P:7, SaltLen:16, DKLen:32} took 479.458549ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:8192, R:8, P:15, SaltLen:16, DKLen:32} took 497.157669ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:4096, R:8, P:30, SaltLen:16, DKLen:32} took 491.045916ms () - scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:512, R:8, P:238, SaltLen:16, DKLen:32} took 489.546586ms () ---- PASS: TestCalibrate (25.20s) -PASS -ok github.com/elithrar/simple-scrypt 39.805s - create-stamp debian/debhelper-build-stamp - fakeroot debian/rules binary -dh binary --buildsystem=golang --with=golang - dh_testroot -O--buildsystem=golang - dh_prep -O--buildsystem=golang - dh_auto_install -O--buildsystem=golang - dh_installdocs -O--buildsystem=golang - dh_installchangelogs -O--buildsystem=golang - dh_installinit -O--buildsystem=golang - dh_perl -O--buildsystem=golang - dh_link -O--buildsystem=golang - dh_strip_nondeterminism -O--buildsystem=golang - dh_compress -O--buildsystem=golang - dh_fixperms -O--buildsystem=golang - dh_missing -O--buildsystem=golang - dh_installdeb -O--buildsystem=golang - dh_golang -O--buildsystem=golang - dh_gencontrol -O--buildsystem=golang -dpkg-gencontrol: warning: Depends field of package golang-github-elithrar-simple-scrypt-dev: substitution variable ${shlibs:Depends} used, but is not defined - dh_md5sums -O--buildsystem=golang - dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'golang-github-elithrar-simple-scrypt-dev' in '../golang-github-elithrar-simple-scrypt-dev_1.3.0-1.1_all.deb'. - dpkg-genbuildinfo --build=binary - dpkg-genchanges --build=binary >../golang-github-elithrar-simple-scrypt_1.3.0-1.1_i386.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: not including original source code in upload + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 331.109328ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 340.133037ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 319.215123ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32} took 217.315662ms () + scrypt_test.go:145: 3. GenerateFromPassword was too fast (expected between 250ms and 750ms, got 217.315662ms) with scrypt.Params{N:32768, R:8, P:1, SaltLen:16, DKLen:32}. + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:16384, R:8, P:4, SaltLen:16, DKLen:32} took 409.34415ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:8192, R:8, P:9, SaltLen:16, DKLen:32} took 485.955194ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:4096, R:8, P:16, SaltLen:16, DKLen:32} took 411.501479ms () + scrypt_test.go:140: GenerateFromPassword with scrypt.Params{N:512, R:8, P:138, SaltLen:16, DKLen:32} took 507.396655ms () +--- FAIL: TestCalibrate (22.73s) +FAIL +FAIL github.com/elithrar/simple-scrypt 42.075s +FAIL +dh_auto_test: error: cd obj-i686-linux-gnu && go test -vet=off -v -p 7 github.com/elithrar/simple-scrypt returned exit code 1 +make: *** [debian/rules:4: build] Error 25 +dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/20891/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Fri Jan 12 19:54:06 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 4.0G 0 4.0G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/20891/tmp/hooks/C01_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/14848 and its subdirectories -I: Current time: Thu Feb 13 14:15:31 -12 2025 -I: pbuilder-time-stamp: 1739499331 +I: removing directory /srv/workspace/pbuilder/20891 and its subdirectories