Diff of the two buildlogs: -- --- b1/build.log 2025-02-27 09:43:16.019572962 +0000 +++ b2/build.log 2025-02-27 09:53:51.447149533 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 1 04:04:53 -12 2026 -I: pbuilder-time-stamp: 1775059493 +I: Current time: Thu Feb 27 23:43:19 +14 2025 +I: pbuilder-time-stamp: 1740649399 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 increase-test-timeout.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/227257/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2078500/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 Feb 27 09:43 /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/2078500/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2078500/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2cd0e4d1829047c6afa513eb0484b79d' - 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='227257' - PS1='# ' - PS2='> ' + INVOCATION_ID=7f208be25ea94252887bcf47f54ea4c7 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2078500 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.Li71VWQI/pbuilderrc_mrlm --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.Li71VWQI/b1 --logfile b1/build.log node-html-loader_4.2.0-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.Li71VWQI/pbuilderrc_N875 --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.Li71VWQI/b2 --logfile b2/build.log node-html-loader_4.2.0-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/227257/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2078500/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -580,7 +612,7 @@ Get: 449 http://deb.debian.org/debian trixie/main amd64 rollup all 3.29.5-1 [504 kB] Get: 450 http://deb.debian.org/debian trixie/main amd64 terser all 5.38.0-1 [19.4 kB] Get: 451 http://deb.debian.org/debian trixie/main amd64 webpack all 5.97.1+dfsg1+~cs11.18.27-1 [810 kB] -Fetched 54.8 MB in 5s (11.5 MB/s) +Fetched 54.8 MB in 4s (12.4 MB/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 ... 19802 files and directories currently installed.) @@ -2411,7 +2443,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/node-html-loader-4.2.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 > ../node-html-loader_4.2.0-2_source.changes +I: user script /srv/workspace/pbuilder/2078500/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2078500/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-html-loader-4.2.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 > ../node-html-loader_4.2.0-2_source.changes dpkg-buildpackage: info: source package node-html-loader dpkg-buildpackage: info: source version 4.2.0-2 dpkg-buildpackage: info: source distribution unstable @@ -2457,94 +2493,146 @@ dh_auto_build --buildsystem=nodejs Found debian/nodejs/./build cd ./. && sh -ex debian/nodejs/./build -+ NODE_ENV=production babeljs src -d dist --copy-files -Successfully compiled 8 files with Babel (636ms). ++ NODE_ENV=production ++ babeljs src -d dist --copy-files +Successfully compiled 8 files with Babel (5187ms). dh_auto_test --buildsystem=nodejs ln -s ../. node_modules/html-loader /bin/sh -ex debian/tests/pkg-js/test + jest -u --ci --testPathIgnorePatterns test/preprocessor-option.test.js PASS test/runtime/getUrl.test.js -PASS test/cjs.test.js -PASS test/esModule-option.test.js (14.445 s) -PASS test/loader.test.js (14.809 s) -PASS test/sources-option.test.js (15.834 s) -PASS test/validate-options.test.js (15.922 s) -PASS test/minimize-option.test.js (16.273 s) +PASS test/cjs.test.js (35.431 s) +FAIL test/esModule-option.test.js (112.481 s) + ● 'esModule' option › should use a CommonJS export by default -Test Suites: 7 passed, 7 total -Tests: 81 passed, 81 total -Snapshots: 235 passed, 235 total -Time: 18.053 s -Ran all test suites. -Removing node_modules/html-loader - create-stamp debian/debhelper-build-stamp - dh_prep - dh_auto_install --buildsystem=nodejs --destdir=debian/node-html-loader/ -dh_auto_install: warning: ### Missing ./build/config.gypi, skipping + thrown: "Exceeded timeout of 100000 ms for a test. + Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." + + 10 | + 11 | describe("'esModule' option", () => { + > 12 | it("should use a CommonJS export by default", async () => { + | ^ + 13 | const compiler = getCompiler("simple.js"); + 14 | const stats = await compile(compiler); + 15 | + + at test/esModule-option.test.js:12:3 + at Object. (test/esModule-option.test.js:11:1) + + › 4 snapshots written. + › 2 snapshots updated. + › 4 snapshots removed. + • 'esModule' option should use a CommonJS export by default: errors 1 + • 'esModule' option should use a CommonJS export by default: module 1 + • 'esModule' option should use a CommonJS export by default: result 1 + • 'esModule' option should use a CommonJS export by default: warnings 1 +PASS test/loader.test.js (119.587 s) +FAIL test/minimize-option.test.js (129.71 s) + ● "minimize" option › should be turned off by default + + thrown: "Exceeded timeout of 100000 ms for a test. + Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." + + 14 | + 15 | describe('"minimize" option', () => { + > 16 | it("should be turned off by default", async () => { + | ^ + 17 | const compiler = getCompiler("simple.js"); + 18 | const stats = await compile(compiler); + 19 | + + at test/minimize-option.test.js:16:3 + at Object. (test/minimize-option.test.js:15:1) + + › 4 snapshots written. + › 4 snapshots removed. + • "minimize" option should be turned off by default: errors 1 + • "minimize" option should be turned off by default: module 1 + • "minimize" option should be turned off by default: result 1 + • "minimize" option should be turned off by default: warnings 1 +FAIL test/sources-option.test.js (133.956 s) + ● 'sources' option › should work by default + + thrown: "Exceeded timeout of 100000 ms for a test. + Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." -Found "files" field in ./package.json, using it - mkdir -p /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist - install -m 644 ./dist/utils.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/ - install -m 644 ./dist/options.json /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/ - install -m 644 ./dist/index.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/ - install -m 644 ./dist/cjs.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/ - install -m 644 ./dist/HtmlSourceError.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/ - mkdir -p /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/runtime - install -m 644 ./dist/runtime/getUrl.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/runtime/ - mkdir -p /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/plugins - install -m 644 ./dist/plugins/index.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/plugins/ - install -m 644 ./dist/plugins/sources-plugin.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/plugins/ - install -m 644 ./dist/plugins/minimizer-plugin.js /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader/dist/plugins/ - install -m 644 ./package.json /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader// - install -m 644 ./package.json /build/reproducible-path/node-html-loader-4.2.0/debian/node-html-loader//usr/share/nodejs/html-loader// -Package looks like a bundle, generating pkgjs-lock.json file -Add node-babel7 (= 7.20.15+ds1+~cs214.269.168-8) in ${nodejs:BuiltUsing} -Add node-html-webpack-plugin (= 5.5.3+repack2-1) in ${nodejs:BuiltUsing} -Add jest (= 29.6.2~ds1+~cs73.45.28-5) in ${nodejs:BuiltUsing} -Add node-memfs (= 3.4.12+~cs1.0.3-1) in ${nodejs:BuiltUsing} -Add node-parse5 (= 7.1.2+dfsg-3) in ${nodejs:BuiltUsing} -Add webpack (= 5.97.1+dfsg1+~cs11.18.27-1) in ${nodejs:BuiltUsing} -Add eslint (= 6.4.0~dfsg+~6.1.9-12) in ${nodejs:BuiltUsing} -Add node-html-minifier-terser (= 7.2.0~5.5.3+repack2-1) in ${nodejs:BuiltUsing} -Add node-del (= 7.1.0-1) in ${nodejs:BuiltUsing} -Add handlebars (= 3:4.7.7+~4.1.0-1) in ${nodejs:BuiltUsing} -Set ${nodejs:Version} to 20.18.3+dfsg - debian/rules override_dh_installdocs -make[1]: Entering directory '/build/reproducible-path/node-html-loader-4.2.0' -dh_installdocs -dh_nodejs_autodocs - install -m 644 ./README.md debian/node-html-loader/usr/share/doc//node-html-loader/ - install -m 644 ./CONTRIBUTING.md debian/node-html-loader/usr/share/doc//node-html-loader/ - install -m 644 ./CHANGELOG.md debian/node-html-loader/usr/share/doc//node-html-loader/changelog -make[1]: Leaving directory '/build/reproducible-path/node-html-loader-4.2.0' - dh_installchangelogs - 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-html-loader: substitution variable ${nodejs:BuiltUsing} unused, but is defined -dpkg-gencontrol: warning: package node-html-loader: substitution variable ${nodejs:Version} unused, but is defined - dh_md5sums - dh_builddeb -dpkg-deb: building package 'node-html-loader' in '../node-html-loader_4.2.0-2_all.deb'. - dpkg-genbuildinfo --build=binary -O../node-html-loader_4.2.0-2_amd64.buildinfo - dpkg-genchanges --build=binary -O../node-html-loader_4.2.0-2_amd64.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 + 12 | + 13 | describe("'sources' option", () => { + > 14 | it("should work by default", async () => { + | ^ + 15 | const compiler = getCompiler("simple.js"); + 16 | const stats = await compile(compiler); + 17 | + + at test/sources-option.test.js:14:3 + at Object. (test/sources-option.test.js:13:1) + + › 4 snapshots written. + › 3 snapshots updated. + › 4 snapshots removed. + • 'sources' option should work by default: errors 1 + • 'sources' option should work by default: module 1 + • 'sources' option should work by default: result 1 + • 'sources' option should work by default: warnings 1 +FAIL test/validate-options.test.js (134.164 s) + ● validate options › should successfully validate the "sources" option with "true" value + + thrown: "Exceeded timeout of 100000 ms for a test. + Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." + + 159 | + 160 | async function createTestCase(key, value, type) { + > 161 | it(`should ${ + | ^ + 162 | type === "success" ? "successfully validate" : "throw an error on" + 163 | } the "${key}" option with "${stringifyValue(value)}" value`, async () => { + 164 | // For loaders + + at createTestCase (test/validate-options.test.js:161:5) + at test/validate-options.test.js:191:9 + at Object. (test/validate-options.test.js:3:1) + +A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. +Snapshot Summary + › 12 snapshots written from 3 test suites. + › 5 snapshots updated from 2 test suites. + › 12 snapshots removed from 3 test suites. + ↳ test/esModule-option.test.js + • 'esModule' option should use a CommonJS export by default: errors 1 + • 'esModule' option should use a CommonJS export by default: module 1 + • 'esModule' option should use a CommonJS export by default: result 1 + • 'esModule' option should use a CommonJS export by default: warnings 1 + ↳ test/minimize-option.test.js + • "minimize" option should be turned off by default: errors 1 + • "minimize" option should be turned off by default: module 1 + • "minimize" option should be turned off by default: result 1 + • "minimize" option should be turned off by default: warnings 1 + ↳ test/sources-option.test.js + • 'sources' option should work by default: errors 1 + • 'sources' option should work by default: module 1 + • 'sources' option should work by default: result 1 + • 'sources' option should work by default: warnings 1 + +Test Suites: 4 failed, 3 passed, 7 total +Tests: 4 failed, 77 passed, 81 total +Snapshots: 12 removed, 5 updated, 12 written, 218 passed, 235 total +Time: 144.543 s +Ran all test suites. +dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 +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/2078500/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Thu Feb 27 09:53:44 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 40G 0 40G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/2078500/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/227257 and its subdirectories -I: Current time: Wed Apr 1 04:06:15 -12 2026 -I: pbuilder-time-stamp: 1775059575 +I: removing directory /srv/workspace/pbuilder/2078500 and its subdirectories