Diff of the two buildlogs:

--
--- b1/build.log	2025-01-23 12:18:52.843616414 +0000
+++ b2/build.log	2025-01-23 12:26:59.297612595 +0000
@@ -1,6 +1,6 @@
 I: pbuilder: network access will be disabled during build
-I: Current time: Thu Jan 23 00:13:13 -12 2025
-I: pbuilder-time-stamp: 1737634393
+I: Current time: Fri Jan 24 02:19:02 +14 2025
+I: pbuilder-time-stamp: 1737634742
 I: Building the build Environment
 I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz]
 I: copying local configuration
@@ -24,52 +24,84 @@
 dpkg-source: info: applying update-test.patch
 I: Not using root during the build.
 I: Installing the build-deps
-I: user script /srv/workspace/pbuilder/9147/tmp/hooks/D02_print_environment starting
+I: user script /srv/workspace/pbuilder/3738/tmp/hooks/D01_modify_environment starting
+debug: Running on virt64c.
+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 23 12:19 /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/3738/tmp/hooks/D01_modify_environment finished
+I: user script /srv/workspace/pbuilder/3738/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='trixie'
-  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=trixie
+  EUID=0
+  FUNCNAME=([0]="Echo" [1]="main")
+  GROUPS=()
+  HOME=/root
+  HOSTNAME=i-capture-the-hostname
+  HOSTTYPE=arm
+  HOST_ARCH=armhf
   IFS=' 	
   '
-  INVOCATION_ID='1264be715a5841c2807ed3071f4b4c1e'
-  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='9147'
-  PS1='# '
-  PS2='> '
+  INVOCATION_ID=1b921e1f26db457f96d30accdc4d8d29
+  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=3738
   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.Qg07mT9Z/pbuilderrc_5kQu --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Qg07mT9Z/b1 --logfile b1/build.log node-webpack-stats-plugin_1.1.3-1.dsc'
-  SUDO_GID='110'
-  SUDO_UID='103'
-  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.Qg07mT9Z/pbuilderrc_GONE --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Qg07mT9Z/b2 --logfile b2/build.log node-webpack-stats-plugin_1.1.3-1.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 virt32z 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux
+  Linux i-capture-the-hostname 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) 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/9147/tmp/hooks/D02_print_environment finished
+I: user script /srv/workspace/pbuilder/3738/tmp/hooks/D02_print_environment finished
  -> Attempting to satisfy build-dependencies
  -> Creating pbuilder-satisfydepends-dummy package
 Package: pbuilder-satisfydepends-dummy
@@ -514,7 +546,7 @@
 Get: 399 http://deb.debian.org/debian trixie/main armhf node-webpack-sources all 3.2.3+~3.2.0-2 [23.2 kB]
 Get: 400 http://deb.debian.org/debian trixie/main armhf terser all 5.31.3-1 [18.8 kB]
 Get: 401 http://deb.debian.org/debian trixie/main armhf webpack all 5.97.1+dfsg1+~cs11.18.27-1 [810 kB]
-Fetched 50.1 MB in 14s (3520 kB/s)
+Fetched 50.1 MB in 8s (6043 kB/s)
 Preconfiguring packages ...
 Selecting previously unselected package netbase.
 (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 ... 19569 files and directories currently installed.)
@@ -2146,7 +2178,11 @@
 Building tag database...
  -> Finished parsing the build-deps
 I: Building the package
-I: Running cd /build/reproducible-path/node-webpack-stats-plugin-1.1.3/ && 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-webpack-stats-plugin_1.1.3-1_source.changes
+I: user script /srv/workspace/pbuilder/3738/tmp/hooks/A99_set_merged_usr starting
+Not re-configuring usrmerge for trixie
+I: user script /srv/workspace/pbuilder/3738/tmp/hooks/A99_set_merged_usr finished
+hostname: Name or service not known
+I: Running cd /build/reproducible-path/node-webpack-stats-plugin-1.1.3/ && 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-webpack-stats-plugin_1.1.3-1_source.changes
 dpkg-buildpackage: info: source package node-webpack-stats-plugin
 dpkg-buildpackage: info: source version 1.1.3-1
 dpkg-buildpackage: info: source distribution unstable
@@ -2175,7 +2211,7 @@
 + mkdir -p node_modules
 + cp -a test/packages/webpack test/packages/webpack-cli test/packages/webpack1 test/packages/webpack2 test/packages/webpack3 test/packages/webpack4 test/packages/webpack5 node_modules/
 + node /usr/share/nodejs/webpack-cli/bin/cli.js --config test/scenarios/webpack5/webpack.config.js
-(node:28089) [DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH] DeprecationWarning: [hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)
+(node:20922) [DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH] DeprecationWarning: [hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)
 (Use `node --trace-deprecation ...` to show where the warning was created)
 assets by path *.json 5.41 KiB
   asset stats-custom-stats-fields.json 4.7 KiB [emitted]
@@ -2193,21 +2229,21 @@
 asset ../build2/stats-custom2.json 89 bytes [emitted]
 asset stats-transform.md 62 bytes [emitted]
 ../../src/main.js 102 bytes [built] [code generated]
-webpack 5.97.1 compiled successfully in 1347 ms
+webpack 5.97.1 compiled successfully in 3421 ms
 + node /usr/share/nodejs/webpack-cli/bin/cli.js --config test/scenarios/webpack5/webpack.config.contenthash.js
 asset stats-contenthash.json 443 bytes [emitted]
 asset contenthash.6f28e0f3573e52402f15.main.js 51 bytes [emitted] [immutable] [minimized] (name: main)
 ../../src/main.js 102 bytes [built] [code generated]
-webpack 5.97.1 compiled successfully in 2343 ms
-+ mocha test/**/*.spec.js
+webpack 5.97.1 compiled successfully in 4472 ms
++ mocha 'test/**/*.spec.js'
 
 
   failures
-    undefined fails with synchronous error (2821ms)
-    undefined fails with promise rejection (2573ms)
+    1) fails with synchronous error
+    2) fails with promise rejection
 
   production
-    undefined works in production mode (3064ms)
+    3) works in production mode
 
   fixtures
     webpack5
@@ -2231,60 +2267,53 @@
       undefined matches expected file: build2/stats-custom2.json
 
 
-  18 passing (9s)
+  15 passing (15s)
+  3 failing
 
-Removing node_modules/json-stream-stringify
-Removing node_modules/webpack-stats-plugin
-   create-stamp debian/debhelper-build-stamp
-   dh_prep
-   dh_auto_install --buildsystem=nodejs --destdir=debian/node-webpack-stats-plugin/
-dh_auto_install: warning: ### Missing ./build/config.gypi, skipping
+  1) failures
+       fails with synchronous error:
+     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/build/reproducible-path/node-webpack-stats-plugin-1.1.3/test/func.spec.js)
+      at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15)
+      at Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:429:10)
+      at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:244:24)
+      at listOnTimeout (node:internal/timers:581:17)
+      at process.processTimers (node:internal/timers:519:7)
 
-Found "files" field in ./package.json, using it
-	mkdir -p /build/reproducible-path/node-webpack-stats-plugin-1.1.3/debian/node-webpack-stats-plugin//usr/share/nodejs/webpack-stats-plugin/lib
-	install -m 644 ./lib/stats-writer-plugin.js /build/reproducible-path/node-webpack-stats-plugin-1.1.3/debian/node-webpack-stats-plugin//usr/share/nodejs/webpack-stats-plugin/lib/
-	install -m 644 ./index.js /build/reproducible-path/node-webpack-stats-plugin-1.1.3/debian/node-webpack-stats-plugin//usr/share/nodejs/webpack-stats-plugin//
-	install -m 644 ./package.json /build/reproducible-path/node-webpack-stats-plugin-1.1.3/debian/node-webpack-stats-plugin//usr/share/nodejs/webpack-stats-plugin//
-	install -m 644 ./package.json /build/reproducible-path/node-webpack-stats-plugin-1.1.3/debian/node-webpack-stats-plugin//usr/share/nodejs/webpack-stats-plugin//
-Package looks like a bundle, generating pkgjs-lock.json file
-Add webpack (= 5.97.1+dfsg1+~cs11.18.27-1) in ${nodejs:BuiltUsing}
-Add mocha (= 10.7.2+ds1+~cs33.1.11-2) in ${nodejs:BuiltUsing}
-Add chai (= 4.3.7~ds1+~cs9.7.21-1) in ${nodejs:BuiltUsing}
-Add eslint (= 6.4.0~dfsg+~6.1.9-12) in ${nodejs:BuiltUsing}
-Add node-pify (= 5.0.0+~cs5.0.1-1) in ${nodejs:BuiltUsing}
-Set ${nodejs:Version} to 20.18.1+dfsg
-   dh_installdocs
-   debian/rules override_dh_installchangelogs
-make[1]: Entering directory '/build/reproducible-path/node-webpack-stats-plugin-1.1.3'
-dh_installchangelogs -k HISTORY.md
-make[1]: Leaving directory '/build/reproducible-path/node-webpack-stats-plugin-1.1.3'
-   dh_perl
-   dh_link
-   dh_strip_nondeterminism
-   dh_compress
-   dh_fixperms
-   dh_missing
-   dh_installdeb
-   dh_nodejs_substvars
-   dh_gencontrol
-dpkg-gencontrol: warning: package node-webpack-stats-plugin: substitution variable ${nodejs:BuiltUsing} unused, but is defined
-dpkg-gencontrol: warning: package node-webpack-stats-plugin: substitution variable ${nodejs:Version} unused, but is defined
-   dh_md5sums
-   dh_builddeb
-dpkg-deb: building package 'node-webpack-stats-plugin' in '../node-webpack-stats-plugin_1.1.3-1_all.deb'.
- dpkg-genbuildinfo --build=binary -O../node-webpack-stats-plugin_1.1.3-1_armhf.buildinfo
- dpkg-genchanges --build=binary -O../node-webpack-stats-plugin_1.1.3-1_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: including full source code in upload
+  2) failures
+       fails with promise rejection:
+     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/build/reproducible-path/node-webpack-stats-plugin-1.1.3/test/func.spec.js)
+      at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15)
+      at Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:429:10)
+      at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:244:24)
+      at listOnTimeout (node:internal/timers:581:17)
+      at process.processTimers (node:internal/timers:519:7)
+
+  3) production
+       works in production mode:
+     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/build/reproducible-path/node-webpack-stats-plugin-1.1.3/test/func.spec.js)
+      at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15)
+      at Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:429:10)
+      at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:244:24)
+      at listOnTimeout (node:internal/timers:581:17)
+      at process.processTimers (node:internal/timers:519:7)
+
+
+
+dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 3
+make: *** [debian/rules:8: binary] Error 25
+dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
 I: copying local configuration
+E: Failed autobuilding of package
+I: user script /srv/workspace/pbuilder/3738/tmp/hooks/C01_cleanup starting
+debug output: disk usage on i-capture-the-hostname at Thu Jan 23 12:26:42 UTC 2025
+Filesystem      Size  Used Avail Use% Mounted on
+tmpfs           3.4G     0  3.4G   0% /dev/shm
+
+I: user script /srv/workspace/pbuilder/3738/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/9147 and its subdirectories
-I: Current time: Thu Jan 23 00:18:48 -12 2025
-I: pbuilder-time-stamp: 1737634728
+I: removing directory /srv/workspace/pbuilder/3738 and its subdirectories