Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 10:31:19.536985290 +0000 +++ b2/build.log 2024-01-08 10:37:11.329769546 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 7 22:25:45 -12 2024 -I: pbuilder-time-stamp: 1704709545 +I: Current time: Tue Jan 9 00:31:32 +14 2024 +I: pbuilder-time-stamp: 1704709892 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 [./uglify-js_3.12.8-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.6GEzx3go/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.pFE7Pm63/trustedkeys.kbx': General error gpgv: Signature made Fri Feb 19 00:49:10 2021 gpgv: using RSA key 9FE3E9C36691A69FF53CC6842C7C3146C1A00121 gpgv: Can't check signature: No public key @@ -27,49 +27,80 @@ dpkg-source: info: unpacking uglify-js_3.12.8-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24076/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3205/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 10:32 /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/3205/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3205/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='ece433c8a20d42f09298208069832609' - 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='24076' - PS1='# ' - PS2='> ' + INVOCATION_ID=24d23434d6a64e358509cf8c5023509d + 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=3205 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.dwnbe1Ix/pbuilderrc_z86c --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.dwnbe1Ix/b1 --logfile b1/build.log uglify-js_3.12.8-1.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.dwnbe1Ix/pbuilderrc_AlI9 --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.dwnbe1Ix/b2 --logfile b2/build.log uglify-js_3.12.8-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 jtx1a 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 @@ -129,7 +160,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:27 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 8 10:32 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 @@ -155,7 +186,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/24076/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/3205/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -254,7 +285,7 @@ Get: 49 http://deb.debian.org/debian bullseye/main armhf node-semver all 7.3.4-1 [42.1 kB] Get: 50 http://deb.debian.org/debian bullseye/main armhf pandoc-data all 2.9.2.1-1+deb11u1 [377 kB] Get: 51 http://deb.debian.org/debian bullseye/main armhf pandoc armhf 2.9.2.1-1+deb11u1 [18.8 MB] -Fetched 45.7 MB in 1s (39.6 MB/s) +Fetched 45.7 MB in 1s (33.9 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 ... 17486 files and directories currently installed.) @@ -475,7 +506,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/uglify-js-3.12.8/ && 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.12.8-1_source.changes +I: user script /srv/workspace/pbuilder/3205/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3205/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/uglify-js-3.12.8/ && 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.12.8-1_source.changes dpkg-buildpackage: info: source package uglify-js dpkg-buildpackage: info: source version 3.12.8-1 dpkg-buildpackage: info: source distribution unstable @@ -532,18 +567,18 @@ √ 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` √ Should work with --source-map names=true - √ Should work with --source-map names=false - √ Should give sensible error against invalid input source map + × Should work with --source-map names=false √ Should append source map to output when using --source-map url=inline + √ Should give sensible error against invalid input source map √ 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 work with --keep-fnames (mangle only) + √ Should not load source map before finish reading from STDIN √ Should work with --keep-fnames (mangle & compress) √ Should work with keep_fnames under mangler options √ Should work with --define (simple) @@ -555,14 +590,14 @@ √ 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 handle multiple input and inline source map √ Should fail with invalid syntax + √ Should fail with SpiderMonkey and inline source map √ Should fail with correct marking of tabs √ Should fail with correct marking at start of line - √ Should fail with a missing loop body √ Should throw syntax error (5--) + √ Should fail with a missing loop body √ Should throw syntax error (Math.random() /= 2) √ Should throw syntax error (++this) √ Should throw syntax error (++null) @@ -571,16 +606,16 @@ √ Should throw syntax error (a./();) √ Should throw syntax error ({%: 1}) √ Should throw syntax error (delete x) - √ Should throw syntax error (function g(arguments)) √ Should throw syntax error (function eval()) + √ Should throw syntax error (function g(arguments)) √ 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 (else) √ Should throw syntax error (for-in var) + √ Should throw syntax error (for-in init) √ Should throw syntax error (for-of init) √ Should throw syntax error (for-of var) √ Should throw syntax error (switch defaults) @@ -599,9 +634,8 @@ √ Should work with implicit --no-rename √ Should work with --enclose √ Should work with --enclose arg - √ Should work with --enclose arg:value √ Should work with --enclose & --wrap - √ Should compress swarm of unused variables with reasonable performance + √ Should work with --enclose arg:value comments √ Should recognize eol of single line comments √ Should update the position of a multiline comment correctly @@ -764,8 +798,9 @@ √ Should copy over original sourcesContent √ Should copy sourcesContent if sources are relative √ Should not have invalid mappings from inputSourceMap +bin/uglifyjs + × Should compress swarm of unused variables with reasonable performance spidermonkey export/import sanity test - √ Should produce a functional build when using --self with spidermonkey √ Should not add unnecessary escape slashes to regexps √ Should judge between directives and strings correctly on import String literals @@ -794,43 +829,59 @@ √ Should accept `yield` expression nested within computed key of function argument √ Should reject `yield*` without an expression -234 test(s) passed. -make[1]: Leaving directory '/build/reproducible-path/uglify-js-3.12.8' - 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.12.8' -dh_installdocs -- README.html README.txt +3 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.12.8/test/mocha.js:71:27) + at listOnTimeout (internal/timers.js:554:17) + at processTimers (internal/timers.js:497:7) + + 2) Should work with --source-map names=false +Error: Timed out: 33565ms > 30000ms + at done (/build/reproducible-path/uglify-js-3.12.8/test/mocha.js:60:23) + at /build/reproducible-path/uglify-js-3.12.8/test/mocha/cli.js:25:13 + at ChildProcess.exithandler (child_process.js:299:7) + at ChildProcess.emit (events.js:314:20) + at maybeClose (internal/child_process.js:1022:16) + at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) + + 3) Should compress swarm of unused variables with reasonable performance +Error: Timed out: exceeds 10000ms + at Timeout. (/build/reproducible-path/uglify-js-3.12.8/test/mocha.js:71:27) + at listOnTimeout (internal/timers.js:554:17) + at processTimers (internal/timers.js:497:7) +make[1]: *** [debian/rules:56: override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/reproducible-path/uglify-js-3.12.8' - 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.12.8-1_all.deb'. -dpkg-deb: building package 'uglifyjs' in '../uglifyjs_3.12.8-1_all.deb'. -dpkg-deb: building package 'libjs-uglify-js' in '../libjs-uglify-js_3.12.8-1_all.deb'. - dpkg-genbuildinfo --build=binary - dpkg-genchanges --build=binary >../uglify-js_3.12.8-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 +make: *** [debian/rules:18: 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/3205/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Mon Jan 8 10:37:03 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 6.3G 0 6.3G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/3205/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.12.8\x2d1-3205.slice - Slice /system/pbuilder/build/uglify-js_3.12.8-1/3205 + Loaded: loaded + Active: active since Tue 2024-01-09 00:32:11 +14; 4min 52s ago + Tasks: 15 + Memory: 385.5M + CPU: 4min 56.574s + CGroup: /system.slice/system-pbuilder.slice/system-pbuilder-build.slice/system-pbuilder-build-uglify\x2djs_3.12.8\x2d1.slice/system-pbuilder-build-uglify\x2djs_3.12.8\x2d1-3205.slice + `-run-r96969fb2c4f543abb61e0b297717fa67.scope + |-10827 /bin/sh -c "\"/usr/bin/node\" bin/uglifyjs --self -cm --wrap SpiderUglify -o spidermonkey | \"/usr/bin/node\" bin/uglifyjs -p spidermonkey -cm" + |-10828 /usr/bin/node bin/uglifyjs --self -cm --wrap SpiderUglify -o spidermonkey + `-10829 /usr/bin/node bin/uglifyjs -p spidermonkey -cm + +Jan 09 00:32:11 virt32a systemd[1]: Created slice system-pbuilder-build-uglify\x2djs_3.12.8\x2d1-3205.slice - Slice /system/pbuilder/build/uglify-js_3.12.8-1/3205. I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/24076 and its subdirectories -I: Current time: Sun Jan 7 22:31:15 -12 2024 -I: pbuilder-time-stamp: 1704709875 +I: removing directory /srv/workspace/pbuilder/3205 and its subdirectories