Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 01:03:16.855610567 +0000 +++ b2/build.log 2024-01-08 01:10:14.913130588 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 8 19:22:06 -12 2025 -I: pbuilder-time-stamp: 1739085726 +I: Current time: Sun Feb 9 21:26:19 +14 2025 +I: pbuilder-time-stamp: 1739085979 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -25,49 +25,81 @@ dpkg-source: info: unpacking uglify-js_3.17.4-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1489215/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/712541/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 9 07:26 /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/712541/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/712541/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='c7efe9cb716c4729a55e36762df3acba' - 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='1489215' - PS1='# ' - PS2='> ' + INVOCATION_ID=fcc5a80e69f74e0abca82fc98109f517 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=712541 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.RK4wTKkS/pbuilderrc_Mx4D --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RK4wTKkS/b1 --logfile b1/build.log uglify-js_3.17.4-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.104: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.RK4wTKkS/pbuilderrc_qYzv --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RK4wTKkS/b2 --logfile b2/build.log uglify-js_3.17.4-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.104:3128 I: uname -a - Linux codethink01-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 7104 -rwxr-xr-x 1 root root 1346480 Apr 23 2023 bash @@ -127,7 +159,7 @@ -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Feb 9 07:26 sh -> /bin/bash -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty -rwsr-xr-x 1 root root 133312 Mar 23 2023 su @@ -153,7 +185,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/1489215/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/712541/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -252,7 +284,7 @@ Get: 49 http://deb.debian.org/debian bookworm/main arm64 node-yallist all 4.0.0+~4.0.1-1 [8172 B] Get: 50 http://deb.debian.org/debian bookworm/main arm64 node-lru-cache all 7.14.1-1 [26.3 kB] Get: 51 http://deb.debian.org/debian bookworm/main arm64 node-semver all 7.3.5+~7.3.9-2 [42.1 kB] -Fetched 29.9 MB in 0s (87.2 MB/s) +Fetched 29.9 MB in 1s (40.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (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 ... 18171 files and directories currently installed.) @@ -472,7 +504,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/uglify-js-3.17.4/ && 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 > ../uglify-js_3.17.4-2_source.changes +I: user script /srv/workspace/pbuilder/712541/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/712541/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/uglify-js-3.17.4/ && 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 > ../uglify-js_3.17.4-2_source.changes dpkg-buildpackage: info: source package uglify-js dpkg-buildpackage: info: source version 3.17.4-2 dpkg-buildpackage: info: source distribution unstable @@ -526,7 +562,7 @@ √ Should generate bug report via API √ Should generate bug report via CLI bin/uglifyjs - √ Should produce a functional build when using --self + × Should produce a functional build when using --self √ Should be able to filter comments correctly with `--comments all` √ Should be able to filter comments correctly with `--comment ` √ Should be able to filter comments correctly with just `--comment` @@ -537,10 +573,10 @@ √ Should append source map to output when using --source-map url=inline √ Should not append source map to output when not using --source-map url=inline √ Should not consider source map file content as source map file name (issue #2082) - √ Should not load source map before finish reading from STDIN + × Should not load source map before finish reading from STDIN √ Should work with --keep-fargs (mangle only) - √ Should work with --keep-fargs (mangle & compress) √ Should work with keep_fargs under mangler options + √ Should work with --keep-fargs (mangle & compress) √ Should work with --keep-fnames (mangle only) √ Should work with --keep-fnames (mangle & compress) √ Should work with keep_fnames under mangler options @@ -548,18 +584,18 @@ √ Should work with --define (nested) √ Should work with --define (AST_Node) √ Should work with `--beautify` - √ Should work with `--beautify braces` √ Should work with `--output-opts` + √ Should work with `--beautify braces` √ Should fail when both --beautify & --output-opts are specified √ Should process inline source map √ Should warn for missing inline source map √ Should handle multiple input and inline source map - √ Should fail with acorn and inline source map √ Should fail with SpiderMonkey and inline source map - √ Should fail with invalid syntax + √ Should fail with acorn and inline source map √ Should fail with correct marking of tabs - √ Should fail with correct marking at start of line + √ Should fail with invalid syntax √ Should fail with a missing loop body + √ Should fail with correct marking at start of line √ Should throw syntax error (5--) √ Should throw syntax error (Math.random() /= 2) √ Should throw syntax error (++this) @@ -575,8 +611,8 @@ √ Should throw syntax error (iife arguments()) √ Should throw syntax error (catch (eval)) √ Should throw syntax error (var eval) - √ Should throw syntax error (var { eval }) √ Should throw syntax error (else) + √ Should throw syntax error (var { eval }) √ Should throw syntax error (return) √ Should throw syntax error (for-in init) √ Should throw syntax error (for-in var) @@ -585,25 +621,24 @@ √ Should throw syntax error (for-await) √ Should throw syntax error (switch defaults) √ Should throw syntax error (console?.log``) - √ Should handle literal string as source map input √ Should include function calls in source map - √ Should dump AST as JSON + √ Should handle literal string as source map input √ Should print supported options on invalid option syntax - √ Should work with --mangle reserved=[] + √ Should dump AST as JSON √ Should work with --mangle reserved=false + √ Should work with --mangle reserved=[] √ Should fail with --mangle-props reserved=[in] √ Should work with mangle.properties.regex from --config-file √ Should fail with --define a-b - √ Should work with explicit --rename √ Should work with explicit --no-rename - √ Should work with implicit --rename + √ Should work with explicit --rename √ Should work with implicit --no-rename + √ Should work with implicit --rename √ Should work with --enclose √ Should work with --enclose arg √ Should work with --enclose arg:value √ Should work with --enclose & --wrap √ Should work with --module - √ Should compress swarm of unused variables with reasonable performance comments √ Should recognize eol of single line comments √ Should update the position of a multiline comment correctly @@ -662,9 +697,11 @@ √ bin/uglifyjs with one input file name glob. √ bin/uglifyjs with multiple input file globs. √ Should throw with non-matching glob string +bin/uglifyjs + × Should compress swarm of unused variables with reasonable performance +bin/uglifyjs with input file globs √ "?" in glob string should not match "/" √ Should handle special characters in glob string - √ Should handle array of glob strings - matching and otherwise import √ Should reject invalid `import` statement syntax √ Should compare `import` statements correctly @@ -789,8 +826,9 @@ √ Should copy over original sourcesContent √ Should copy sourcesContent if sources are relative √ Should not have invalid mappings from inputSourceMap +bin/uglifyjs with input file globs + × Should handle array of glob strings - matching and otherwise spidermonkey export/import sanity test - √ Should produce a functional build when using --self with spidermonkey √ Should not add unnecessary escape slashes to RegExp √ Should judge between directives and strings correctly on import String literals @@ -819,43 +857,66 @@ √ Should accept `yield` expression nested within computed key of function argument √ Should reject `yield*` without an expression -263 test(s) passed. -make[1]: Leaving directory '/build/reproducible-path/uglify-js-3.17.4' - create-stamp debian/debhelper-build-stamp - dh_prep - dh_install - debian/rules override_dh_installdocs -make[1]: Entering directory '/build/reproducible-path/uglify-js-3.17.4' -dh_installdocs -- README.html README.txt +4 test(s) failed! + +bin/uglifyjs + 1) Should produce a functional build when using --self +Error: Timed out: exceeds 30000ms + at Timeout. (/build/reproducible-path/uglify-js-3.17.4/test/mocha.js:74:27) + at listOnTimeout (node:internal/timers:564:17) + at process.processTimers (node:internal/timers:507:7) + + 2) Should not load source map before finish reading from STDIN +Error: Timed out: 44276ms > 30000ms + at done (/build/reproducible-path/uglify-js-3.17.4/test/mocha.js:62:23) + at /build/reproducible-path/uglify-js-3.17.4/test/mocha/cli.js:29:13 + at ChildProcess.exithandler (node:child_process:411:7) + at ChildProcess.emit (node:events:513:28) + at maybeClose (node:internal/child_process:1091:16) + at ChildProcess._handle.onexit (node:internal/child_process:302:5) + + 3) Should compress swarm of unused variables with reasonable performance +Error: Timed out: exceeds 10000ms + at Timeout. (/build/reproducible-path/uglify-js-3.17.4/test/mocha.js:74:27) + at listOnTimeout (node:internal/timers:564:17) + at process.processTimers (node:internal/timers:507:7) + +bin/uglifyjs with input file globs + 4) Should handle array of glob strings - matching and otherwise +Error: Timed out: exceeds 10000ms + at Timeout. (/build/reproducible-path/uglify-js-3.17.4/test/mocha.js:74:27) + at listOnTimeout (node:internal/timers:564:17) + at process.processTimers (node:internal/timers:507:7) +make[1]: *** [debian/rules:47: override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/reproducible-path/uglify-js-3.17.4' - dh_installchangelogs - dh_installman - dh_perl - dh_link - dh_strip_nondeterminism - dh_compress - dh_fixperms - dh_missing - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb -dpkg-deb: building package 'node-uglify-js' in '../node-uglify-js_3.17.4-2_all.deb'. -dpkg-deb: building package 'libjs-uglify-js' in '../libjs-uglify-js_3.17.4-2_all.deb'. -dpkg-deb: building package 'uglifyjs' in '../uglifyjs_3.17.4-2_all.deb'. - dpkg-genbuildinfo --build=binary -O../uglify-js_3.17.4-2_arm64.buildinfo - dpkg-genchanges --build=binary -O../uglify-js_3.17.4-2_arm64.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 +make: *** [debian/rules:61: binary] Error 2 +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/712541/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sun Feb 9 07:33:12 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 16G 0 16G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/712541/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 +W: Stray processes left from build: +* system-pbuilder-build-uglify\x2djs_3.17.4\x2d2-712541.slice - Slice /system/pbuilder/build/uglify-js_3.17.4-2/712541 + Loaded: loaded + Active: active since Sun 2025-02-09 21:26:25 +14; 6min ago + Tasks: 15 + Memory: 363.7M + CPU: 2min 25.501s + CGroup: /system.slice/system-pbuilder.slice/system-pbuilder-build.slice/system-pbuilder-build-uglify\x2djs_3.17.4\x2d2.slice/system-pbuilder-build-uglify\x2djs_3.17.4\x2d2-712541.slice + `-run-r1e4fc8f2474c42c7b05bbd65ed3d59bf.scope + |-740056 /bin/sh -c "\"/usr/bin/node\" bin/uglifyjs --self -mc --wrap SpiderUglify -o spidermonkey | \"/usr/bin/node\" bin/uglifyjs -p spidermonkey -mc" + |-740059 /usr/bin/node bin/uglifyjs --self -mc --wrap SpiderUglify -o spidermonkey + `-740060 /usr/bin/node bin/uglifyjs -p spidermonkey -mc + +Feb 09 21:26:25 codethink03-arm64 systemd[1]: Created slice system-pbuilder-build-uglify\x2djs_3.17.4\x2d2-712541.slice - Slice /system/pbuilder/build/uglify-js_3.17.4-2/712541. I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1489215 and its subdirectories -I: Current time: Sat Feb 8 19:26:15 -12 2025 -I: pbuilder-time-stamp: 1739085975 +I: removing directory /srv/workspace/pbuilder/712541 and its subdirectories