Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 11:47:48.907773269 +0000 +++ b2/build.log 2024-01-08 11:53:14.657706431 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 7 23:43:25 -12 2024 -I: pbuilder-time-stamp: 1704714205 +I: Current time: Tue Jan 9 01:47:59 +14 2024 +I: pbuilder-time-stamp: 1704714479 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 [./node-miller-rabin_4.0.1-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.UtAZqERT/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Z_YXxf26/trustedkeys.kbx': General error gpgv: Signature made Sat Aug 3 17:07:58 2019 gpgv: using RSA key 00DFE58B8B555779D1005EC9F6D74CA7C999EEE9 gpgv: Can't check signature: No public key @@ -30,49 +30,80 @@ dpkg-source: info: applying fix-randomly-ftbfs.diff I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/14756/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25503/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 8 11:48 /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/25503/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25503/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='b0c42f6c4bf34e8da64b2a12b4b96496' - 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='14756' - PS1='# ' - PS2='> ' + INVOCATION_ID=85fc086feeb642078590c0b43aedbb44 + 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=25503 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.hsJgQ51A/pbuilderrc_ho3a --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.hsJgQ51A/b1 --logfile b1/build.log node-miller-rabin_4.0.1-6.dsc' - SUDO_GID='114' - SUDO_UID='108' - 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.hsJgQ51A/pbuilderrc_SgBe --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.hsJgQ51A/b2 --logfile b2/build.log node-miller-rabin_4.0.1-6.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 virt64a 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-armmp-lpae #1 SMP Debian 6.1.69-1 (2023-12-30) armv7l GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Mar 27 2022 bash @@ -132,7 +163,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:29 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 8 11:48 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 @@ -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/14756/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/25503/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -392,7 +423,7 @@ Get: 184 http://deb.debian.org/debian bullseye/main armhf node-bn.js all 5.1.3-1 [22.4 kB] Get: 185 http://deb.debian.org/debian bullseye/main armhf node-brorand all 1.1.0-3 [3668 B] Get: 186 http://deb.debian.org/debian bullseye/main armhf pkg-js-tools all 0.9.65 [38.0 kB] -Fetched 33.3 MB in 9s (3730 kB/s) +Fetched 33.3 MB in 7s (4991 kB/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.) @@ -1166,7 +1197,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/node-miller-rabin-4.0.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 > ../node-miller-rabin_4.0.1-6_source.changes +I: user script /srv/workspace/pbuilder/25503/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/25503/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-miller-rabin-4.0.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 > ../node-miller-rabin_4.0.1-6_source.changes dpkg-buildpackage: info: source package node-miller-rabin dpkg-buildpackage: info: source version 4.0.1-6 dpkg-buildpackage: info: source distribution unstable @@ -1193,56 +1228,44 @@ Miller-Rabin - ✓ should test number for primality (14022ms) + 1) should test number for primality - 1 passing (14s) + 0 passing (28s) + 1 failing -Removing node_modules/miller-rabin - create-stamp debian/debhelper-build-stamp - fakeroot debian/rules binary -dh binary --with nodejs - dh_testroot - dh_prep - dh_auto_install --buildsystem=nodejs -dh_auto_install: warning: ### Missing ./build/config.gypi, skipping + 1) Miller-Rabin + should test number for primality: + Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/build/reproducible-path/node-miller-rabin-4.0.1/test/api-test.js) + at Test.Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:432:10) + at done (/usr/share/nodejs/mocha/lib/runnable.js:306:18) + at callFn (/usr/share/nodejs/mocha/lib/runnable.js:387:7) + at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5) + at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10) + at /usr/share/nodejs/mocha/lib/runner.js:801:12 + at next (/usr/share/nodejs/mocha/lib/runner.js:594:14) + at /usr/share/nodejs/mocha/lib/runner.js:604:7 + at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) + at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5) + at processImmediate (internal/timers.js:461:21) -No "files" field in ./package.json, install all files - mkdir -p /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin/ - cp --reflink=auto -a ./package.json /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin// - mkdir -p /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin/lib - cp --reflink=auto -a ./lib/mr.js /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin/lib/ - mkdir -p /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin/bin - cp --reflink=auto -a ./bin/miller-rabin /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin/bin/ - cp --reflink=auto -a ./package.json /build/reproducible-path/node-miller-rabin-4.0.1/debian/node-miller-rabin//usr/share/nodejs/miller-rabin// -Set ${nodejs:Version} to 12.22.12~dfsg - dh_installdocs - dh_installchangelogs - dh_perl - dh_link - dh_strip_nondeterminism - dh_compress - dh_fixperms - dh_missing - dh_installdeb - dh_gencontrol -dpkg-gencontrol: warning: package node-miller-rabin: substitution variable ${nodejs:Version} unused, but is defined - dh_md5sums - dh_builddeb -dpkg-deb: building package 'node-miller-rabin' in '../node-miller-rabin_4.0.1-6_all.deb'. - dpkg-genbuildinfo --build=binary - dpkg-genchanges --build=binary >../node-miller-rabin_4.0.1-6_armhf.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 + + +dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 +make: *** [debian/rules:8: 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/25503/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Mon Jan 8 11:53:05 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 2.0G 0 2.0G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/25503/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/14756 and its subdirectories -I: Current time: Sun Jan 7 23:47:45 -12 2024 -I: pbuilder-time-stamp: 1704714465 +I: removing directory /srv/workspace/pbuilder/25503 and its subdirectories