Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 14:22:18.354349129 +0000 +++ b2/build.log 2024-04-28 14:27:23.505368774 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 31 08:39:28 -12 2025 -I: pbuilder-time-stamp: 1748723968 +I: Current time: Mon Apr 29 04:22:21 +14 2024 +I: pbuilder-time-stamp: 1714314141 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -88,52 +88,84 @@ dpkg-source: info: applying fix-for-https-proxy-agent-7.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3203921/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3948091/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 Apr 28 14:22 /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/3948091/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3948091/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='97405dfdb10d48899b0dcfa8adb7b62a' - 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='3203921' - PS1='# ' - PS2='> ' + INVOCATION_ID=a9257cbc6044425d857581c12b3645c3 + 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=3948091 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.EPdsPNsZ/pbuilderrc_VVCa --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EPdsPNsZ/b1 --logfile b1/build.log node-jsdom_20.0.3+~cs124.18.21-4.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.4: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.EPdsPNsZ/pbuilderrc_P22J --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EPdsPNsZ/b2 --logfile b2/build.log node-jsdom_20.0.3+~cs124.18.21-4.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.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 30 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3203921/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 27 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3948091/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -657,7 +689,7 @@ Get: 428 http://deb.debian.org/debian unstable/main arm64 node-unicode-15.0.0 all 0~20220914+gitb601441-2 [340 kB] Get: 429 http://deb.debian.org/debian unstable/main arm64 node-yn all 4.0.0-3 [4936 B] Get: 430 http://deb.debian.org/debian unstable/main arm64 ts-node all 10.9.2+~cs64.13.20-1 [173 kB] -Fetched 57.7 MB in 1s (58.0 MB/s) +Fetched 57.7 MB in 1s (104 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19738 files and directories currently installed.) @@ -2405,7 +2437,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21/ && 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-jsdom_20.0.3+~cs124.18.21-4_source.changes +I: user script /srv/workspace/pbuilder/3948091/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3948091/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21/ && 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-jsdom_20.0.3+~cs124.18.21-4_source.changes dpkg-buildpackage: info: source package node-jsdom dpkg-buildpackage: info: source version 20.0.3+~cs124.18.21-4 dpkg-buildpackage: info: source distribution unstable @@ -2582,11 +2618,12 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21' cd debian/build_modules/webidl2 && babeljs-7 -d dist --presets @babel/preset-env --plugins @babel/plugin-transform-runtime lib/ -Successfully compiled 31 files with Babel (8983ms). +Successfully compiled 31 files with Babel (6205ms). dh_auto_build --buildsystem=nodejs No build command found, searching known files No build command found, searching known files No build command found, searching known files +No build command found, searching known files Found debian/nodejs/domexception/build cd ./domexception && sh -ex ../debian/nodejs/domexception/build + node scripts/generate.js @@ -2596,9 +2633,10 @@ No build command found, searching known files No build command found, searching known files No build command found, searching known files -Found debian/nodejs/whatwg-url/build - cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/build -+ node scripts/transform.js +Found debian/nodejs/whatwg-encoding/build + cd ./whatwg-encoding && sh -ex ../debian/nodejs/whatwg-encoding/build ++ mkdir -p lib ++ cp ../debian/nodejs/whatwg-encoding/missing/labels-to-names.json ../debian/nodejs/whatwg-encoding/missing/supported-names.json lib/ No build command found, searching known files No build command found, searching known files No build command found, searching known files @@ -2607,24 +2645,22 @@ No build command found, searching known files No build command found, searching known files No build command found, searching known files +Found debian/nodejs/whatwg-url/build + cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/build ++ node scripts/transform.js No build command found, searching known files +Found debian/nodejs/xmlchars/build + cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/build ++ tsc --outDir . No build command found, searching known files No build command found, searching known files No build command found, searching known files No build command found, searching known files -Found debian/nodejs/xmlchars/build - cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/build -+ tsc --outDir . Found debian/nodejs/saxes/build cd ./saxes && sh -ex ../debian/nodejs/saxes/build + tsc + mv build/dist/saxes.d.ts build/dist/saxes.js build/dist/saxes.js.map . No build command found, searching known files -Found debian/nodejs/whatwg-encoding/build - cd ./whatwg-encoding && sh -ex ../debian/nodejs/whatwg-encoding/build -+ mkdir -p lib -+ cp ../debian/nodejs/whatwg-encoding/missing/labels-to-names.json ../debian/nodejs/whatwg-encoding/missing/supported-names.json lib/ -No build command found, searching known files cp debian/whatwg-encoding/* whatwg-encoding/lib/ cp debian/tr46/* tr46/lib/ node ./scripts/webidl/convert.js @@ -2643,67 +2679,67 @@ Testing decimal.js Testing absoluteValue... 100 of 100 tests passed in 3 ms - Testing acos... 50 of 50 tests passed in 327 ms - Testing acosh... 50 of 50 tests passed in 52 ms - Testing asin... 50 of 50 tests passed in 191 ms - Testing asinh... 50 of 50 tests passed in 118 ms - Testing atan... 50 of 50 tests passed in 324 ms - Testing atan2... 100 of 100 tests passed in 173 ms - Testing atanh... 50 of 50 tests passed in 104 ms - Testing cubeRoot... 50 of 50 tests passed in 128 ms - Testing ceil... 50 of 50 tests passed in 2 ms - Testing clamp... 29 of 29 tests passed in 0 ms + Testing acos... 50 of 50 tests passed in 317 ms + Testing acosh... 50 of 50 tests passed in 99 ms + Testing asin... 50 of 50 tests passed in 233 ms + Testing asinh... 50 of 50 tests passed in 69 ms + Testing atan... 50 of 50 tests passed in 227 ms + Testing atan2... 100 of 100 tests passed in 72 ms + Testing atanh... 50 of 50 tests passed in 56 ms + Testing cubeRoot... 50 of 50 tests passed in 70 ms + Testing ceil... 50 of 50 tests passed in 1 ms + Testing clamp... 29 of 29 tests passed in 1 ms Testing clone... 65 of 65 tests passed in 3 ms - Testing comparedTo... 1000 of 1000 tests passed in 18 ms - Testing config... 206 of 206 tests passed in 15 ms - Testing cos... 101 of 101 tests passed in 124 ms - Testing cosh... 100 of 100 tests passed in 115 ms - Testing Decimal... 987 of 987 tests passed in 38 ms - Testing dividedBy... 1000 of 1000 tests passed in 85 ms - Testing dividedToIntegerBy... 1000 of 1000 tests passed in 61 ms + Testing comparedTo... 1000 of 1000 tests passed in 7 ms + Testing config... 206 of 206 tests passed in 6 ms + Testing cos... 101 of 101 tests passed in 89 ms + Testing cosh... 100 of 100 tests passed in 87 ms + Testing Decimal... 987 of 987 tests passed in 48 ms + Testing dividedBy... 1000 of 1000 tests passed in 91 ms + Testing dividedToIntegerBy... 1000 of 1000 tests passed in 74 ms Testing decimalPlaces and precision... 133 of 133 tests passed in 1 ms - Testing exp... 100 of 100 tests passed in 59 ms + Testing exp... 100 of 100 tests passed in 54 ms Testing floor... 100 of 100 tests passed in 1 ms - Testing hypot... 100 of 100 tests passed in 51 ms - Testing immutability... 3311 of 3311 tests passed in 823 ms - Testing integer pow... 500 of 500 tests passed in 68 ms - Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 1 ms - Testing ln... 499 of 499 tests passed in 428 ms - Testing log... 200 of 200 tests passed in 289 ms - Testing log10... 500 of 500 tests passed in 288 ms - Testing log2... 200 of 200 tests passed in 664 ms + Testing hypot... 100 of 100 tests passed in 44 ms + Testing immutability... 3311 of 3311 tests passed in 765 ms + Testing integer pow... 500 of 500 tests passed in 51 ms + Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 2 ms + Testing ln... 499 of 499 tests passed in 472 ms + Testing log... 200 of 200 tests passed in 368 ms + Testing log10... 500 of 500 tests passed in 376 ms + Testing log2... 200 of 200 tests passed in 447 ms Testing min and max... 100 of 100 tests passed in 1 ms - Testing minus... 1000 of 1000 tests passed in 50 ms - Testing modulo... 1000 of 1000 tests passed in 223 ms + Testing minus... 1000 of 1000 tests passed in 32 ms + Testing modulo... 1000 of 1000 tests passed in 212 ms Testing negated... 200 of 200 tests passed in 1 ms - Testing plus... 1000 of 1000 tests passed in 76 ms - Testing pow... 108 of 108 tests passed in 311 ms - Testing random... 1000 of 1000 tests passed in 73 ms - Testing round... 500 of 500 tests passed in 13 ms + Testing plus... 1000 of 1000 tests passed in 55 ms + Testing pow... 108 of 108 tests passed in 256 ms + Testing random... 1000 of 1000 tests passed in 26 ms + Testing round... 500 of 500 tests passed in 5 ms Testing sign... 16 of 16 tests passed in 0 ms - Testing sin... 100 of 100 tests passed in 366 ms - Testing sinh... 100 of 100 tests passed in 148 ms - Testing sqrt... 1000 of 1000 tests passed in 225 ms - Testing sum... 37 of 37 tests passed in 0 ms - Testing tan... 100 of 100 tests passed in 359 ms - Testing tanh... 100 of 100 tests passed in 277 ms - Testing times... 1000 of 1000 tests passed in 45 ms - Testing toBinary... 327 of 327 tests passed in 54 ms - Testing toDecimalPlaces... 500 of 500 tests passed in 18 ms - Testing toExponential... 500 of 500 tests passed in 7 ms - Testing toFixed... 500 of 500 tests passed in 39 ms - Testing toFraction... 200 of 200 tests passed in 251 ms + Testing sin... 100 of 100 tests passed in 221 ms + Testing sinh... 100 of 100 tests passed in 99 ms + Testing sqrt... 1000 of 1000 tests passed in 159 ms + Testing sum... 37 of 37 tests passed in 1 ms + Testing tan... 100 of 100 tests passed in 201 ms + Testing tanh... 100 of 100 tests passed in 140 ms + Testing times... 1000 of 1000 tests passed in 31 ms + Testing toBinary... 327 of 327 tests passed in 50 ms + Testing toDecimalPlaces... 500 of 500 tests passed in 5 ms + Testing toExponential... 500 of 500 tests passed in 14 ms + Testing toFixed... 500 of 500 tests passed in 6 ms + Testing toFraction... 200 of 200 tests passed in 206 ms Testing toHex... 309 of 309 tests passed in 33 ms Testing toNearest... 157 of 157 tests passed in 2 ms - Testing toNumber... 40 of 40 tests passed in 0 ms - Testing toOctal... 293 of 293 tests passed in 39 ms - Testing toPrecision... 500 of 500 tests passed in 27 ms + Testing toNumber... 40 of 40 tests passed in 1 ms + Testing toOctal... 293 of 293 tests passed in 52 ms + Testing toPrecision... 500 of 500 tests passed in 26 ms Testing toSignificantDigits... 500 of 500 tests passed in 26 ms - Testing toString... 338 of 338 tests passed in 2 ms + Testing toString... 338 of 338 tests passed in 19 ms Testing trunc... 100 of 100 tests passed in 1 ms Testing valueOf... 40 of 40 tests passed in 1 ms - In total, 22610 of 22610 tests passed in 8.078 secs. + In total, 22610 of 22610 tests passed in 6.615 secs. cd ./is-potential-custom-element-name && sh -ex ../debian/nodejs/is-potential-custom-element-name/test + mocha @@ -2711,53 +2747,54 @@ is-potential-custom-element-name undefined returns a boolean indicating whether the given string is a potential custom element name - undefined avoids excess backtracking (81ms) + undefined avoids excess backtracking (63ms) - 2 passing (102ms) + 2 passing (82ms) cd ./w3c-xmlserializer && sh -ex ../debian/nodejs/w3c-xmlserializer/test + ln -s .. ../node_modules/jsdom ln: failed to create symbolic link '../node_modules/jsdom/..': File exists + true -+ NODE_PATH=../node_modules jest --ci -PASS test/test.js (34.147 s) ++ NODE_PATH=../node_modules ++ jest --ci +PASS test/test.js (27.793 s) Derived from WPT xml-serialization.xhtml - ✓ Comment: containing -- (15 ms) - ✓ Comment: starting with - (1 ms) + ✓ Comment: containing -- (19 ms) + ✓ Comment: starting with - (2 ms) ✓ Comment: ending with - (1 ms) ✓ Comment: containing --> (1 ms) ✓ DocumentType: empty public and system id (7 ms) ✓ DocumentType: empty system id (1 ms) - ✓ DocumentType: empty public id (1 ms) + ✓ DocumentType: empty public id (6 ms) ✓ DocumentType: non-empty public and system id (1 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) (6 ms) - ✓ DocumentType: 'QUOTATION MARK' (U+0022) (5 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (2 ms) + ✓ DocumentType: 'APOSTROPHE' (U+0027) (1 ms) + ✓ DocumentType: 'QUOTATION MARK' (U+0022) (1 ms) + ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (7 ms) ✓ Element: href attributes are not percent-encoded (16 ms) - ✓ Element: query parts in href attributes are not percent-encoded (2 ms) - ✓ ProcessingInstruction: empty data (2 ms) + ✓ Element: query parts in href attributes are not percent-encoded (10 ms) + ✓ ProcessingInstruction: empty data (7 ms) ✓ ProcessingInstruction: non-empty data (1 ms) - ✓ ProcessingInstruction: target contains xml (6 ms) - ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (1 ms) + ✓ ProcessingInstruction: target contains xml (1 ms) + ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) Derived from WPT XMLSerializer-serializeToString.html - ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (17 ms) - ✓ Check if the default namespace is correctly reset. (17 ms) - ✓ Check if there is no redundant empty namespace declaration. (11 ms) - ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (10 ms) - ✓ Check if unknown prefixes are handled correctly (7 ms) - ✓ Check CDATASection nodes are serialized correctly (9 ms) + ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (20 ms) + ✓ Check if the default namespace is correctly reset. (25 ms) + ✓ Check if there is no redundant empty namespace declaration. (9 ms) + ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (14 ms) + ✓ Check if unknown prefixes are handled correctly (14 ms) + ✓ Check CDATASection nodes are serialized correctly (12 ms) Well-formedness test cases - ✓ Check Characters are in range (100 ms) + ✓ Check Characters are in range (114 ms) Our own test cases - ✓ Check prefix memoization (GH-5) (21 ms) - ✓ Serializes custom prefixes (15 ms) - ✓ Serializes tab characters (8 ms) + ✓ Check prefix memoization (GH-5) (4 ms) + ✓ Serializes custom prefixes (19 ms) + ✓ Serializes tab characters (12 ms) Test Suites: 1 passed, 1 total Tests: 27 passed, 27 total Snapshots: 0 total -Time: 35.835 s +Time: 29.722 s Ran all test suites. + rm -f ../node_modules/jsdom cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/test @@ -2768,43 +2805,43 @@ Test Suites: 2 passed, 2 total Tests: 3 passed, 3 total Snapshots: 0 total -Time: 8.51 s +Time: 5.92 s Ran all test suites matching /test\/mdn.js|test\/file-url-origin.js/i. cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/test + mocha - 0 passing (2ms) + 0 passing (10ms) /bin/sh -ex debian/tests/pkg-js/test + mocha test/api JSDOM instances: basics - undefined should have a window and a document (177ms) + undefined should have a window and a document (91ms) undefined should have a document with documentElement when no arguments are passed JSDOM() constructor first argument - undefined should populate the resulting document with the given HTML (42ms) - undefined should give the same document innerHTML for empty and whitespace and omitted strings (105ms) - undefined should coerce null to a string (94ms) + undefined should populate the resulting document with the given HTML + undefined should give the same document innerHTML for empty and whitespace and omitted strings + undefined should coerce null to a string (43ms) error reporting - undefined should include the URL when reporting an XML parse error (61ms) + undefined should include the URL when reporting an XML parse error Cookie processing - undefined should have correct secure and HTTP-only cookie semantics (353ms) - undefined should share cookies when a cookie jar is shared (169ms) + undefined should have correct secure and HTTP-only cookie semantics (179ms) + undefined should share cookies when a cookie jar is shared (90ms) document.cookie - undefined reflects back what is set to it (43ms) - undefined reflects back cookies set from the server while requesting the page (58ms) - undefined reflects back cookies set from the server while requesting a script (80ms) - undefined reflects back cookies set from the server on an XHR response (49ms) - undefined should not crash or set cookies when requesting a file URL (GH-1180) (79ms) + undefined reflects back what is set to it + undefined reflects back cookies set from the server while requesting the page (65ms) + undefined reflects back cookies set from the server while requesting a script (73ms) + undefined reflects back cookies set from the server on an XHR response + undefined should not crash or set cookies when requesting a file URL (GH-1180) (53ms) undefined should not contain expired cookies (GH-1027) sent with requests - undefined should send the Cookies header with a script request (66ms) - undefined should send the Cookies header with an XHR request (82ms) - undefined should gather cookies from redirects (GH-1089) (71ms) + undefined should send the Cookies header with a script request + undefined should send the Cookies header with an XHR request (88ms) + undefined should gather cookies from redirects (GH-1089) (72ms) API: encoding detection constructor, given a string @@ -2814,74 +2851,74 @@ constructor, given binary data with no contentType option given Buffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (66ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (62ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (74ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (41ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (59ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (43ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (53ms) - undefined should sniff utf-8-bom.html as UTF-8 (38ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (49ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (46ms) - Uint8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (43ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (43ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (42ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (56ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (58ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (72ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (64ms) undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (43ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (43ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (55ms) - undefined should sniff utf-8-bom.html as UTF-8 (64ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (60ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 + undefined should sniff no-bom-no-charset.html as windows-1252 (46ms) + undefined should sniff utf-8-bom.html as UTF-8 (47ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (51ms) undefined should sniff utf-16le-bom.html as UTF-16LE (53ms) - ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (60ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 + Uint8Array + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (49ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (51ms) undefined should sniff no-bom-charset-koi8.html as KOI8-R (41ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (43ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (50ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (50ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (57ms) + undefined should sniff utf-8-bom.html as UTF-8 (47ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (40ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (42ms) + ArrayBuffer + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (51ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (46ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (47ms) undefined should sniff no-bom-charset-utf-16be.html as UTF-8 undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 + undefined should sniff no-bom-no-charset.html as windows-1252 (39ms) undefined should sniff utf-8-bom.html as UTF-8 undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE (39ms) + undefined should sniff utf-16le-bom.html as UTF-16LE DataView undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (43ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (47ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (38ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (38ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (67ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (52ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (43ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (41ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (40ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (50ms) undefined should sniff no-bom-no-charset.html as windows-1252 (51ms) - undefined should sniff utf-8-bom.html as UTF-8 (39ms) - undefined should sniff utf-16be-bom.html as UTF-16BE + undefined should sniff utf-8-bom.html as UTF-8 + undefined should sniff utf-16be-bom.html as UTF-16BE (47ms) undefined should sniff utf-16le-bom.html as UTF-16LE (40ms) Int8Array undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (43ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R (42ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (43ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (47ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (40ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (41ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (38ms) undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 (47ms) + undefined should sniff no-bom-no-charset.html as windows-1252 undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE (40ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (39ms) + undefined should sniff utf-16le-bom.html as UTF-16LE with a contentType option specifying csiso88598e Buffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (42ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (47ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (50ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (43ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (43ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (38ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 (44ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (39ms) + undefined should sniff utf-8-bom.html as UTF-8 + undefined should sniff utf-16be-bom.html as UTF-16BE undefined should sniff utf-16le-bom.html as UTF-16LE Uint8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (44ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 @@ -2889,47 +2926,47 @@ undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 undefined should sniff no-bom-no-charset.html as ISO-8859-8 undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE (45ms) + undefined should sniff utf-16be-bom.html as UTF-16BE undefined should sniff utf-16le-bom.html as UTF-16LE ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (47ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (39ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (43ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (38ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 (46ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (48ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (54ms) - DataView undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (38ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (112ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (38ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (38ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 undefined should sniff utf-8-bom.html as UTF-8 undefined should sniff utf-16be-bom.html as UTF-16BE undefined should sniff utf-16le-bom.html as UTF-16LE - Int8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 + DataView + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (40ms) undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (89ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (39ms) undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (46ms) + undefined should sniff utf-8-bom.html as UTF-8 (39ms) + undefined should sniff utf-16be-bom.html as UTF-16BE + undefined should sniff utf-16le-bom.html as UTF-16LE (54ms) + Int8Array + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (83ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (63ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (59ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (54ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (50ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (59ms) undefined should sniff no-bom-no-charset.html as ISO-8859-8 undefined should sniff utf-8-bom.html as UTF-8 undefined should sniff utf-16be-bom.html as UTF-16BE undefined should sniff utf-16le-bom.html as UTF-16LE fromFile undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R (39ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (39ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (47ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (40ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R + undefined should sniff no-bom-charset-utf-16.html as UTF-8 + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 undefined should sniff no-bom-charset-utf-16le.html as UTF-8 undefined should sniff no-bom-no-charset.html as windows-1252 undefined should sniff utf-8-bom.html as UTF-8 @@ -2937,27 +2974,27 @@ undefined should sniff utf-16le-bom.html as UTF-16LE fromURL with no Content-Type header given - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (68ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (48ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (40ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (40ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (46ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 (49ms) - undefined should sniff utf-8-bom.html as UTF-8 (52ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (50ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (44ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (54ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (43ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (51ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (44ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (47ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (56ms) + undefined should sniff utf-8-bom.html as UTF-8 (76ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (83ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (56ms) with a Content-Type header specifying csiso88598e - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (48ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (47ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (55ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (44ms) - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (38ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (44ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (45ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (39ms) undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (43ms) - undefined should sniff utf-8-bom.html as UTF-8 (52ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (47ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (151ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (47ms) + undefined should sniff utf-8-bom.html as UTF-8 (44ms) + undefined should sniff utf-16be-bom.html as UTF-16BE + undefined should sniff utf-16le-bom.html as UTF-16LE (51ms) API: JSDOM.fragment() undefined should return a DocumentFragment @@ -2970,22 +3007,22 @@ API: JSDOM.fromFile() undefined should return a rejected promise for a nonexistant file - undefined should use the file contents of a file that exists (62ms) + undefined should use the file contents of a file that exists (53ms) contentType option defaulting - undefined should default to text/html Content-Type even with no file extension (55ms) - undefined should default to application/xhtml+xml Content-Type for .xhtml files (62ms) - undefined should default to application/xhtml+xml Content-Type for .xht files (53ms) - undefined should default to application/xhtml+xml Content-Type for .xml files (44ms) - undefined should allow overriding the Content-Type for .xhtml files (44ms) - undefined should allow overriding the Content-Type for .xht files (47ms) - undefined should allow overriding the Content-Type for .xml files (47ms) + undefined should default to text/html Content-Type even with no file extension (63ms) + undefined should default to application/xhtml+xml Content-Type for .xhtml files + undefined should default to application/xhtml+xml Content-Type for .xht files (55ms) + undefined should default to application/xhtml+xml Content-Type for .xml files (67ms) + undefined should allow overriding the Content-Type for .xhtml files (76ms) + undefined should allow overriding the Content-Type for .xht files (74ms) + undefined should allow overriding the Content-Type for .xml files (58ms) url option defaulting - undefined should default to a file URL derived from the filename (43ms) - undefined should allow overriding the URL (39ms) + undefined should default to a file URL derived from the filename (51ms) + undefined should allow overriding the URL (75ms) Test cases only possible to test from the outside undefined window.close() should prevent timers from registering and cause them to return 0 - undefined window.close() should stop a setInterval() (128ms) + undefined window.close() should stop a setInterval() (143ms) undefined window.close() should work from within a load event listener API: JSDOM.fromURL() @@ -2993,12 +3030,12 @@ undefined should return a rejected promise for a 404 undefined should return a rejected promise for a 500 undefined should use the body of 200 responses - undefined should use the body of 301 responses (41ms) - undefined should be able to handle gzipped bodies (59ms) + undefined should use the body of 301 responses + undefined should be able to handle gzipped bodies (44ms) undefined should send a HTML-preferring Accept header undefined should send an Accept-Language: en header user agent - undefined should use the default user agent as the User-Agent header when none is given (50ms) + undefined should use the default user agent as the User-Agent header when none is given referrer undefined should reject when passing an invalid absolute URL for referrer undefined should not send a Referer header when no referrer option is given @@ -3010,15 +3047,15 @@ undefined should use the URL fetched for a 200 undefined should preserve full request URL undefined should use the ultimate response URL after a redirect - undefined should preserve fragments when processing redirects (46ms) + undefined should preserve fragments when processing redirects (66ms) undefined should disallow passing a URL manually contentType undefined should use the content type fetched for a 200 - undefined should use the ultimate response content type after a redirect (39ms) + undefined should use the ultimate response content type after a redirect undefined should disallow passing a content type manually cookie jar integration undefined should send applicable cookies in a supplied cookie jar - undefined should store cookies set by the server in a supplied cookie jar (46ms) + undefined should store cookies set by the server in a supplied cookie jar (43ms) undefined should store cookies set by the server in a newly-created cookie jar API: virtual console jsdomErrors @@ -3030,7 +3067,7 @@ undefined should serialize the default document correctly undefined should serialize a text-only document correctly undefined should serialize a document with HTML correctly - undefined should serialize documents with omitted and varying-case html or body tags correctly (69ms) + undefined should serialize documents with omitted and varying-case html or body tags correctly (63ms) nodeLocation undefined should throw when includeNodeLocations is left as the default (false) undefined should throw when includeNodeLocations is set explicitly to false @@ -3046,7 +3083,7 @@ undefined should work when runScripts is set to "dangerously" undefined should return the result of the evaluation undefined should work with the same script multiple times - undefined should allow passing through options (78ms) + undefined should allow passing through options (66ms) reconfigure windowTop undefined should reconfigure the window.top property (tested from the outside) @@ -3062,14 +3099,14 @@ undefined should disallow other values