Diff of the two buildlogs: -- --- b1/build.log 2024-07-03 21:23:48.433474287 +0000 +++ b2/build.log 2024-07-03 21:28:22.481843074 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 3 09:21:11 -12 2024 -I: pbuilder-time-stamp: 1720041671 +I: Current time: Thu Jul 4 11:23:58 +14 2024 +I: pbuilder-time-stamp: 1720041838 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying update-unicode.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20572/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22972/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 Jul 3 21:24 /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/22972/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22972/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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(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='9020ca96a9ce45c8bc02f3d92ae529b9' - 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='20572' - PS1='# ' - PS2='> ' + INVOCATION_ID=c7b803fc69ac41b2b837084638d660a3 + 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=22972 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.mC5n5hvm/pbuilderrc_0Z0B --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.mC5n5hvm/b1 --logfile b1/build.log node-json5_2.2.3+dfsg-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.mC5n5hvm/pbuilderrc_P3ZX --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.mC5n5hvm/b2 --logfile b2/build.log node-json5_2.2.3+dfsg-1.dsc' + SUDO_GID=114 + SUDO_UID=108 + 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-22-armmp-lpae #1 SMP Debian 6.1.94-1 (2024-06-21) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/20572/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/22972/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -225,7 +257,7 @@ Get: 103 http://deb.debian.org/debian trixie/main armhf help2man armhf 1.49.3 [198 kB] Get: 104 http://deb.debian.org/debian trixie/main armhf libdeflate0 armhf 1.20-1 [35.9 kB] Get: 105 http://deb.debian.org/debian trixie/main armhf libgdk-pixbuf2.0-common all 2.42.12+dfsg-1 [311 kB] -Get: 106 http://deb.debian.org/debian trixie/main armhf libglib2.0-0t64 armhf 2.80.3-1 [1313 kB] +Get: 106 http://deb.debian.org/debian trixie/main armhf libglib2.0-0t64 armhf 2.80.2-2 [1314 kB] Get: 107 http://deb.debian.org/debian trixie/main armhf shared-mime-info armhf 2.4-5 [754 kB] Get: 108 http://deb.debian.org/debian trixie/main armhf libjpeg62-turbo armhf 1:2.1.5-3 [143 kB] Get: 109 http://deb.debian.org/debian trixie/main armhf libpng16-16t64 armhf 1.6.43-5 [262 kB] @@ -506,7 +538,7 @@ Get: 384 http://deb.debian.org/debian trixie/main armhf node-ws all 8.11.0+~cs13.7.3-2 [51.1 kB] Get: 385 http://deb.debian.org/debian trixie/main armhf node-tap all 16.3.7+ds1+~cs50.9.19-4 [103 kB] Get: 386 http://deb.debian.org/debian trixie/main armhf node-unicode-15.0.0 all 0~20220914+gitb601441-2 [340 kB] -Fetched 47.0 MB in 1s (39.1 MB/s) +Fetched 47.0 MB in 2s (21.2 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 ... 19412 files and directories currently installed.) @@ -825,8 +857,8 @@ Preparing to unpack .../104-libgdk-pixbuf2.0-common_2.42.12+dfsg-1_all.deb ... Unpacking libgdk-pixbuf2.0-common (2.42.12+dfsg-1) ... Selecting previously unselected package libglib2.0-0t64:armhf. -Preparing to unpack .../105-libglib2.0-0t64_2.80.3-1_armhf.deb ... -Unpacking libglib2.0-0t64:armhf (2.80.3-1) ... +Preparing to unpack .../105-libglib2.0-0t64_2.80.2-2_armhf.deb ... +Unpacking libglib2.0-0t64:armhf (2.80.2-2) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../106-shared-mime-info_2.4-5_armhf.deb ... Unpacking shared-mime-info (2.4-5) ... @@ -1760,7 +1792,7 @@ Setting up node-locate-path (7.1.1-2) ... Setting up autotools-dev (20220109.1) ... Setting up node-is-descriptor (3.0.0-2) ... -Setting up libglib2.0-0t64:armhf (2.80.3-1) ... +Setting up libglib2.0-0t64:armhf (2.80.2-2) ... No schema files found: doing nothing. Setting up node-safe-buffer (5.2.1+~cs2.1.2-3) ... Setting up libset-object-perl (1.42-1+b4) ... @@ -2080,7 +2112,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/node-json5-2.2.3+dfsg/ && 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-json5_2.2.3+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/22972/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/22972/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-json5-2.2.3+dfsg/ && 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-json5_2.2.3+dfsg-1_source.changes dpkg-buildpackage: info: source package node-json5 dpkg-buildpackage: info: source version 2.2.3+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -2112,230 +2148,244 @@ /bin/sh -ex debian/tests/pkg-js/test + tap -Rspec --100 test -(node:28501) DeprecationWarning: tearDown() is deprecated, use teardown() instead +(node:31458) DeprecationWarning: tearDown() is deprecated, use teardown() instead (Use `node --trace-deprecation ...` to show where the warning was created) test/cli.js CLI - ✓ converts JSON5 to JSON from stdin to stdout (5268.019ms) - ✓ reads from the specified file (1361.875ms) - ✓ indents output with the number of spaces specified with -s (1340.563ms) - ✓ indents output with the number of spaces specified with --space (1034.105ms) - ✓ indents output with tabs when specified with -s (1038.556ms) - ✓ outputs to the specified file with -o (1021.89ms) - ✓ outputs to the specified file with --out-file (1017.845ms) - ✓ validates valid JSON5 files with -v (1003.818ms) - ✓ validates valid JSON5 files with --validate (1037.976ms) - ✓ validates invalid JSON5 files with -v (1062.981ms) - ✓ outputs the version number when specified with -V (1021.391ms) - ✓ outputs the version number when specified with --version (1036.147ms) - ✓ outputs usage information when specified with -h (1040.942ms) - ✓ outputs usage information when specified with --help (1056.295ms) - ✓ is backward compatible with v0.5.1 with -c (1039.994ms) - ✓ is backward compatible with v0.5.1 with --convert (1074.921ms) + ✓ converts JSON5 to JSON from stdin to stdout (8135.191ms) + ✓ reads from the specified file (3372.05ms) + ✓ indents output with the number of spaces specified with -s (1969.915ms) + ✓ indents output with the number of spaces specified with --space (1423.266ms) + ✓ indents output with tabs when specified with -s (1299.454ms) + ✓ outputs to the specified file with -o (1253.339ms) + ✓ outputs to the specified file with --out-file (1431.226ms) + ✓ validates valid JSON5 files with -v (1438.191ms) + ✓ validates valid JSON5 files with --validate (1192.636ms) + ✓ validates invalid JSON5 files with -v (1212.518ms) + ✓ outputs the version number when specified with -V (1168.749ms) + ✓ outputs the version number when specified with --version (1505.413ms) + 1..0 # no tests found + 1..0 # no tests found + ✓ outputs usage information when specified with -h (1247.088ms) + 1) test count !== plan -test/errors.js - JSON5 - \#parse() - errors - ✓ throws on empty documents - ✓ throws on documents with only comments - ✓ throws on incomplete single line comments - ✓ throws on unterminated multiline comments - ✓ throws on unterminated multiline comment closings - ✓ throws on invalid characters in values - ✓ throws on invalid characters in identifier start escapes - ✓ throws on invalid identifier start characters - ✓ throws on invalid characters in identifier continue escapes - ✓ throws on invalid identifier continue characters - ✓ throws on invalid characters following a sign - ✓ throws on invalid characters following a leading decimal point - ✓ throws on invalid characters following an exponent indicator - ✓ throws on invalid characters following an exponent sign - ✓ throws on invalid characters following a hexadecimal indicator - ✓ throws on invalid new lines in strings - ✓ throws on unterminated strings - ✓ throws on invalid identifier start characters in property names - ✓ throws on invalid characters following a property name - ✓ throws on invalid characters following a property value - ✓ throws on invalid characters following an array value - ✓ throws on invalid characters in literals - ✓ throws on unterminated escapes - ✓ throws on invalid first digits in hexadecimal escapes - ✓ throws on invalid second digits in hexadecimal escapes - ✓ throws on invalid unicode escapes - ✓ throws on escaped digit 1 - ✓ throws on escaped digit 2 - ✓ throws on escaped digit 3 - ✓ throws on escaped digit 4 - ✓ throws on escaped digit 5 - ✓ throws on escaped digit 6 - ✓ throws on escaped digit 7 - ✓ throws on escaped digit 8 - ✓ throws on escaped digit 9 - ✓ throws on octal escapes - ✓ throws on multiple values - ✓ throws with control characters escaped in the message - ✓ throws on unclosed objects before property names - ✓ throws on unclosed objects after property names - ✓ throws on unclosed objects before property values - ✓ throws on unclosed objects after property values - ✓ throws on unclosed arrays before values - ✓ throws on unclosed arrays after values + test/errors.js + JSON5 + \#parse() + errors + ✓ throws on empty documents + ✓ throws on documents with only comments + ✓ throws on incomplete single line comments + ✓ throws on unterminated multiline comments + ✓ throws on unterminated multiline comment closings + ✓ throws on invalid characters in values + ✓ throws on invalid characters in identifier start escapes + ✓ throws on invalid identifier start characters + ✓ throws on invalid characters in identifier continue escapes + ✓ throws on invalid identifier continue characters + ✓ throws on invalid characters following a sign + ✓ throws on invalid characters following a leading decimal point + ✓ throws on invalid characters following an exponent indicator + ✓ throws on invalid characters following an exponent sign + ✓ throws on invalid characters following a hexadecimal indicator + ✓ throws on invalid new lines in strings + ✓ throws on unterminated strings + ✓ throws on invalid identifier start characters in property names + ✓ throws on invalid characters following a property name + ✓ throws on invalid characters following a property value + ✓ throws on invalid characters following an array value + ✓ throws on invalid characters in literals + ✓ throws on unterminated escapes + ✓ throws on invalid first digits in hexadecimal escapes + ✓ throws on invalid second digits in hexadecimal escapes + ✓ throws on invalid unicode escapes + ✓ throws on escaped digit 1 + ✓ throws on escaped digit 2 + ✓ throws on escaped digit 3 + ✓ throws on escaped digit 4 + ✓ throws on escaped digit 5 + ✓ throws on escaped digit 6 + ✓ throws on escaped digit 7 + ✓ throws on escaped digit 8 + ✓ throws on escaped digit 9 + ✓ throws on octal escapes + ✓ throws on multiple values + ✓ throws with control characters escaped in the message + ✓ throws on unclosed objects before property names + ✓ throws on unclosed objects after property names + ✓ throws on unclosed objects before property values + ✓ throws on unclosed objects after property values + ✓ throws on unclosed arrays before values + ✓ throws on unclosed arrays after values -test/parse.js - parse(text) - objects - ✓ parses empty objects - ✓ parses double string property names - ✓ parses single string property names - ✓ parses unquoted property names - ✓ parses special character property names - ✓ parses unicode property names - ✓ parses escaped property names - ✓ preserves __proto__ property names - ✓ parses multiple properties - ✓ parses nested objects - arrays - ✓ parses empty arrays - ✓ parses array values - ✓ parses multiple array values - ✓ parses nested arrays - nulls - ✓ parses nulls - Booleans - ✓ parses true - ✓ parses false - numbers - ✓ parses leading zeroes - ✓ parses integers - ✓ parses signed numbers - ✓ parses leading decimal points - ✓ parses fractional numbers - ✓ parses exponents - ✓ parses hexadecimal numbers - ✓ parses signed and unsigned Infinity - ✓ parses NaN - ✓ parses signed NaN - ✓ parses 1 - ✓ parses +1.23e100 - ✓ parses bare hexadecimal number - ✓ parses bare long hexadecimal number - strings - ✓ parses double quoted strings - ✓ parses single quoted strings - ✓ parses quotes in strings - ✓ parses escaped characters - ✓ parses line and paragraph separators with a warning - comments - ✓ parses single-line comments - ✓ parses single-line comments at end of input - ✓ parses multi-line comments - whitespace - ✓ parses whitespace - - parse(text, reviver) - ✓ modifies property values - ✓ modifies nested object property values - ✓ deletes property values - ✓ modifies array values - ✓ modifies nested array values - ✓ deletes array values - ✓ modifies the root value - ✓ sets `this` to the parent value - -test/require.js - require(*.json5) - ✓ parses a JSON5 document (4825.209ms) - ✓ is backward compatible with v0.5.1, but gives a deprecation warning (93.411ms) - ✓ throws on invalid JSON5 - -test/stringify.js - JSON5 - \#stringify + test/parse.js + parse(text) objects - ✓ stringifies empty objects - ✓ stringifies unquoted property names - ✓ stringifies single quoted string property names - ✓ stringifies double quoted string property names - ✓ stringifies empty string property names - ✓ stringifies special character property names - ✓ stringifies unicode property names - ✓ stringifies escaped property names - ✓ stringifies escaped null character property names - ✓ stringifies multiple properties - ✓ stringifies nested objects + ✓ parses empty objects + ✓ parses double string property names + ✓ parses single string property names + ✓ parses unquoted property names + ✓ parses special character property names + ✓ parses unicode property names + ✓ parses escaped property names + ✓ preserves __proto__ property names + ✓ parses multiple properties + ✓ parses nested objects arrays - ✓ stringifies empty arrays - ✓ stringifies array values - ✓ stringifies multiple array values - ✓ stringifies nested arrays - ✓ stringifies nulls - ✓ returns undefined for functions - ✓ ignores function properties - ✓ returns null for functions in arrays + ✓ parses empty arrays + ✓ parses array values + ✓ parses multiple array values + ✓ parses nested arrays + nulls + ✓ parses nulls Booleans - ✓ stringifies true - ✓ stringifies false - ✓ stringifies true Boolean objects - ✓ stringifies false Boolean objects + ✓ parses true + ✓ parses false numbers - ✓ stringifies numbers - ✓ stringifies non-finite numbers - ✓ stringifies Number objects + ✓ parses leading zeroes + ✓ parses integers + ✓ parses signed numbers + ✓ parses leading decimal points + ✓ parses fractional numbers + ✓ parses exponents + ✓ parses hexadecimal numbers + ✓ parses signed and unsigned Infinity + ✓ parses NaN + ✓ parses signed NaN + ✓ parses 1 + ✓ parses +1.23e100 + ✓ parses bare hexadecimal number + ✓ parses bare long hexadecimal number strings - ✓ stringifies single quoted strings - ✓ stringifies double quoted strings - ✓ stringifies escaped characters - ✓ stringifies escaped null characters - ✓ stringifies escaped single quotes - ✓ stringifies escaped double quotes - ✓ stringifies escaped line and paragraph separators - ✓ stringifies String objects - ✓ stringifies using built-in toJSON methods - ✓ stringifies using user defined toJSON methods - ✓ stringifies using user defined toJSON(key) methods - ✓ stringifies using toJSON5 methods - ✓ stringifies using toJSON5(key) methods - ✓ calls toJSON5 instead of toJSON if both are defined - ✓ throws on circular objects - ✓ throws on circular arrays - \#stringify(value, null, space) - ✓ does not indent when no value is provided - ✓ does not indent when 0 is provided - ✓ does not indent when an empty string is provided - ✓ indents n spaces when a number is provided - ✓ does not indent more than 10 spaces when a number is provided - ✓ indents with the string provided - ✓ does not indent more than 10 characters of the string provided - ✓ indents in arrays - ✓ indents in nested arrays - ✓ indents in objects - ✓ indents in nested objects - ✓ accepts Number objects - ✓ accepts String objects - \#stringify(value, replacer) - ✓ filters keys when an array is provided - ✓ only filters string and number keys when an array is provided - ✓ accepts String and Number objects when an array is provided - ✓ replaces values when a function is provided + ✓ parses double quoted strings + ✓ parses single quoted strings + ✓ parses quotes in strings + ✓ parses escaped characters + ✓ parses line and paragraph separators with a warning (86.748ms) + comments + ✓ parses single-line comments + ✓ parses single-line comments at end of input + ✓ parses multi-line comments + whitespace + ✓ parses whitespace + parse(text, reviver) + ✓ modifies property values + ✓ modifies nested object property values + ✓ deletes property values + ✓ modifies array values + ✓ modifies nested array values + ✓ deletes array values + ✓ modifies the root value ✓ sets `this` to the parent value - ✓ is called after toJSON - ✓ is called after toJSON5 - ✓ does not affect space when calls are nested - \#stringify(value, options) - ✓ accepts replacer as an option - ✓ accepts space as an option - \#stringify(value, {quote}) - ✓ uses double quotes if provided - ✓ uses single quotes if provided + test/require.js + require(*.json5) + ✓ parses a JSON5 document (7584.548ms) + ✓ is backward compatible with v0.5.1, but gives a deprecation warning (169.942ms) + ✓ throws on invalid JSON5 + + test/stringify.js + JSON5 + \#stringify + objects + ✓ stringifies empty objects + ✓ stringifies unquoted property names + ✓ stringifies single quoted string property names + ✓ stringifies double quoted string property names + ✓ stringifies empty string property names + ✓ stringifies special character property names + ✓ stringifies unicode property names + ✓ stringifies escaped property names + ✓ stringifies escaped null character property names + ✓ stringifies multiple properties + ✓ stringifies nested objects + arrays + ✓ stringifies empty arrays + ✓ stringifies array values + ✓ stringifies multiple array values + ✓ stringifies nested arrays + ✓ stringifies nulls + ✓ returns undefined for functions + ✓ ignores function properties + ✓ returns null for functions in arrays + Booleans + ✓ stringifies true + ✓ stringifies false + ✓ stringifies true Boolean objects + ✓ stringifies false Boolean objects + numbers + ✓ stringifies numbers + ✓ stringifies non-finite numbers + ✓ stringifies Number objects + strings + ✓ stringifies single quoted strings + ✓ stringifies double quoted strings + ✓ stringifies escaped characters + ✓ stringifies escaped null characters + ✓ stringifies escaped single quotes + ✓ stringifies escaped double quotes + ✓ stringifies escaped line and paragraph separators + ✓ stringifies String objects + ✓ stringifies using built-in toJSON methods + ✓ stringifies using user defined toJSON methods + ✓ stringifies using user defined toJSON(key) methods + ✓ stringifies using toJSON5 methods + ✓ stringifies using toJSON5(key) methods + ✓ calls toJSON5 instead of toJSON if both are defined + ✓ throws on circular objects + ✓ throws on circular arrays + \#stringify(value, null, space) + ✓ does not indent when no value is provided + ✓ does not indent when 0 is provided + ✓ does not indent when an empty string is provided + ✓ indents n spaces when a number is provided + ✓ does not indent more than 10 spaces when a number is provided + ✓ indents with the string provided + ✓ does not indent more than 10 characters of the string provided + ✓ indents in arrays + ✓ indents in nested arrays + ✓ indents in objects + ✓ indents in nested objects + ✓ accepts Number objects + ✓ accepts String objects + \#stringify(value, replacer) + ✓ filters keys when an array is provided + ✓ only filters string and number keys when an array is provided + ✓ accepts String and Number objects when an array is provided + ✓ replaces values when a function is provided + ✓ sets `this` to the parent value + ✓ is called after toJSON + ✓ is called after toJSON5 + ✓ does not affect space when calls are nested + \#stringify(value, options) + ✓ accepts replacer as an option + ✓ accepts space as an option + \#stringify(value, {quote}) + ✓ uses double quotes if provided + ✓ uses single quotes if provided + + + 175 passing (31s) + 1 failing + + 1) test/cli.js CLI test count !== plan: + + test count !== plan + + expected - actual - 178 passing (24s) + -13 + +1 + + + +ERROR: Coverage for lines (99.24%) does not meet global threshold (100%) +ERROR: Coverage for branches (98.78%) does not meet global threshold (100%) +ERROR: Coverage for statements (99.24%) does not meet global threshold (100%) --------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- -All files | 100 | 100 | 100 | 100 | - cli.js | 100 | 100 | 100 | 100 | +All files | 99.24 | 98.78 | 100 | 99.24 | + cli.js | 91.22 | 84.37 | 100 | 91.07 | 49-57,88-89 index.js | 100 | 100 | 100 | 100 | parse.js | 100 | 100 | 100 | 100 | register.js | 100 | 100 | 100 | 100 | @@ -2344,74 +2394,21 @@ unicode.js | 100 | 100 | 100 | 100 | util.js | 100 | 100 | 100 | 100 | --------------|---------|----------|---------|---------|------------------- -Removing node_modules/json5 - create-stamp debian/debhelper-build-stamp - dh_prep - dh_auto_install --buildsystem=nodejs --destdir=debian/node-json5/ -dh_auto_install: warning: ./package.json#files: dist/ does not exists - -dh_auto_install: warning: # /! "types" field should be replaced by "typings" in ./package.json -Please report this bug - -dh_auto_install: warning: ### Missing ./dist/, skipping - -dh_auto_install: warning: ### Missing ./build/config.gypi, skipping - -Found "files" field in ./package.json, using it -Found "types" field in ./package.json, using it - mkdir -p /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib - install -m 644 ./lib/stringify.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/unicode.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/parse.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/util.d.ts /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/unicode.d.ts /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/register.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/util.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/parse.d.ts /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/index.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/stringify.d.ts /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/index.d.ts /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/cli.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/require.js /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib/ - install -m 644 ./lib/index.d.ts /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5/lib// - install -m 644 ./package.json /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5// - install -m 644 ./package.json /build/reproducible-path/node-json5-2.2.3\+dfsg/debian/node-json5//usr/share/nodejs/json5// -Set ${nodejs:Version} to 20.14.0+dfsg -Linking /usr/bin/json5 to /usr/share/nodejs/json5/lib/cli.js - dh_install - dh_installdocs - dh_installchangelogs - dh_installman - dh_perl - dh_link - dh_strip_nondeterminism - dh_compress - debian/rules override_dh_fixperms -make[1]: Entering directory '/build/reproducible-path/node-json5-2.2.3+dfsg' -dh_fixperms -chmod +x debian/node-json5/usr/share/nodejs/json5/lib/cli.js -make[1]: Leaving directory '/build/reproducible-path/node-json5-2.2.3+dfsg' - dh_missing - dh_installdeb - dh_nodejs_substvars - dh_gencontrol -dpkg-gencontrol: warning: package node-json5: substitution variable ${nodejs:Version} unused, but is defined - dh_md5sums - dh_builddeb -dpkg-deb: building package 'node-json5' in '../node-json5_2.2.3+dfsg-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../node-json5_2.2.3+dfsg-1_armhf.buildinfo - dpkg-genchanges --build=binary -O../node-json5_2.2.3+dfsg-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 +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/22972/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Wed Jul 3 21:27:34 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 6.2G 0 6.2G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/22972/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/20572 and its subdirectories -I: Current time: Wed Jul 3 09:23:44 -12 2024 -I: pbuilder-time-stamp: 1720041824 +I: removing directory /srv/workspace/pbuilder/22972 and its subdirectories