Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 11:49:32.559247666 +0000 +++ b2/build.log 2024-05-15 11:51:31.618182414 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 17 06:08:03 -12 2025 -I: pbuilder-time-stamp: 1750183683 +I: Current time: Thu May 16 01:49:35 +14 2024 +I: pbuilder-time-stamp: 1715773775 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/454673/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3212583/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 May 15 11:49 /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/3212583/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3212583/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='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e56e7cad1d094429807654923803944b' - 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='454673' - PS1='# ' - PS2='> ' + INVOCATION_ID=85fb04d659d2487d88810845bab6a784 + 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=3212583 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.FF7k3zs5/pbuilderrc_hEnw --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.FF7k3zs5/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.FF7k3zs5/pbuilderrc_9Gah --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.FF7k3zs5/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 codethink03-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 15 17:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/454673/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 14 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3212583/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 trixie/main arm64 node-unicode-15.0.0 all 0~20220914+gitb601441-2 [340 kB] Get: 429 http://deb.debian.org/debian trixie/main arm64 node-yn all 4.0.0-3 [4936 B] Get: 430 http://deb.debian.org/debian trixie/main arm64 ts-node all 10.9.2+~cs64.13.20-1 [173 kB] -Fetched 57.7 MB in 1s (72.3 MB/s) +Fetched 57.7 MB in 0s (129 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 ... 19744 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/3212583/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3212583/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,25 +2618,18 @@ 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 (5054ms). +Successfully compiled 31 files with Babel (2416ms). dh_auto_build --buildsystem=nodejs +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 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 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 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 No build command found, searching known files No build command found, searching known files @@ -2613,8 +2642,16 @@ 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-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 +Found debian/nodejs/domexception/build + cd ./domexception && sh -ex ../debian/nodejs/domexception/build ++ node scripts/generate.js Found debian/nodejs/xmlchars/build cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/build + tsc --outDir . @@ -2624,7 +2661,6 @@ + mv build/dist/saxes.d.ts build/dist/saxes.js build/dist/saxes.js.map . No build command found, searching known files No build command found, searching known files -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 259 ms - Testing acosh... 50 of 50 tests passed in 56 ms - Testing asin... 50 of 50 tests passed in 89 ms - Testing asinh... 50 of 50 tests passed in 32 ms - Testing atan... 50 of 50 tests passed in 109 ms - Testing atan2... 100 of 100 tests passed in 67 ms - Testing atanh... 50 of 50 tests passed in 41 ms - Testing cubeRoot... 50 of 50 tests passed in 37 ms + Testing acos... 50 of 50 tests passed in 77 ms + Testing acosh... 50 of 50 tests passed in 22 ms + Testing asin... 50 of 50 tests passed in 37 ms + Testing asinh... 50 of 50 tests passed in 15 ms + Testing atan... 50 of 50 tests passed in 43 ms + Testing atan2... 100 of 100 tests passed in 25 ms + Testing atanh... 50 of 50 tests passed in 16 ms + Testing cubeRoot... 50 of 50 tests passed in 14 ms Testing ceil... 50 of 50 tests passed in 1 ms - Testing clamp... 29 of 29 tests passed in 0 ms + Testing clamp... 29 of 29 tests passed in 1 ms Testing clone... 65 of 65 tests passed in 2 ms - Testing comparedTo... 1000 of 1000 tests passed in 11 ms - Testing config... 206 of 206 tests passed in 14 ms - Testing cos... 101 of 101 tests passed in 70 ms - Testing cosh... 100 of 100 tests passed in 42 ms - Testing Decimal... 987 of 987 tests passed in 39 ms - Testing dividedBy... 1000 of 1000 tests passed in 54 ms - Testing dividedToIntegerBy... 1000 of 1000 tests passed in 42 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 19 ms + Testing cosh... 100 of 100 tests passed in 19 ms + Testing Decimal... 987 of 987 tests passed in 17 ms + Testing dividedBy... 1000 of 1000 tests passed in 25 ms + Testing dividedToIntegerBy... 1000 of 1000 tests passed in 20 ms Testing decimalPlaces and precision... 133 of 133 tests passed in 1 ms - Testing exp... 100 of 100 tests passed in 51 ms - Testing floor... 100 of 100 tests passed in 1 ms - Testing hypot... 100 of 100 tests passed in 28 ms - Testing immutability... 3311 of 3311 tests passed in 572 ms - Testing integer pow... 500 of 500 tests passed in 37 ms - Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 4 ms - Testing ln... 499 of 499 tests passed in 251 ms - Testing log... 200 of 200 tests passed in 188 ms - Testing log10... 500 of 500 tests passed in 216 ms - Testing log2... 200 of 200 tests passed in 165 ms - Testing min and max... 100 of 100 tests passed in 1 ms - Testing minus... 1000 of 1000 tests passed in 23 ms - Testing modulo... 1000 of 1000 tests passed in 65 ms - Testing negated... 200 of 200 tests passed in 1 ms - Testing plus... 1000 of 1000 tests passed in 17 ms - Testing pow... 108 of 108 tests passed in 83 ms - Testing random... 1000 of 1000 tests passed in 26 ms + Testing exp... 100 of 100 tests passed in 23 ms + Testing floor... 100 of 100 tests passed in 0 ms + Testing hypot... 100 of 100 tests passed in 14 ms + Testing immutability... 3311 of 3311 tests passed in 254 ms + Testing integer pow... 500 of 500 tests passed in 16 ms + Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 2 ms + Testing ln... 499 of 499 tests passed in 142 ms + Testing log... 200 of 200 tests passed in 94 ms + Testing log10... 500 of 500 tests passed in 114 ms + Testing log2... 200 of 200 tests passed in 88 ms + Testing min and max... 100 of 100 tests passed in 2 ms + Testing minus... 1000 of 1000 tests passed in 10 ms + Testing modulo... 1000 of 1000 tests passed in 52 ms + Testing negated... 200 of 200 tests passed in 2 ms + Testing plus... 1000 of 1000 tests passed in 14 ms + Testing pow... 108 of 108 tests passed in 53 ms + Testing random... 1000 of 1000 tests passed in 16 ms Testing round... 500 of 500 tests passed in 4 ms Testing sign... 16 of 16 tests passed in 0 ms - Testing sin... 100 of 100 tests passed in 60 ms - Testing sinh... 100 of 100 tests passed in 27 ms - Testing sqrt... 1000 of 1000 tests passed in 115 ms - Testing sum... 37 of 37 tests passed in 0 ms - Testing tan... 100 of 100 tests passed in 54 ms - Testing tanh... 100 of 100 tests passed in 65 ms - Testing times... 1000 of 1000 tests passed in 23 ms - Testing toBinary... 327 of 327 tests passed in 29 ms - Testing toDecimalPlaces... 500 of 500 tests passed in 5 ms - Testing toExponential... 500 of 500 tests passed in 10 ms - Testing toFixed... 500 of 500 tests passed in 15 ms - Testing toFraction... 200 of 200 tests passed in 82 ms - Testing toHex... 309 of 309 tests passed in 17 ms + Testing sin... 100 of 100 tests passed in 32 ms + Testing sinh... 100 of 100 tests passed in 15 ms + Testing sqrt... 1000 of 1000 tests passed in 50 ms + Testing sum... 37 of 37 tests passed in 1 ms + Testing tan... 100 of 100 tests passed in 38 ms + Testing tanh... 100 of 100 tests passed in 33 ms + Testing times... 1000 of 1000 tests passed in 12 ms + Testing toBinary... 327 of 327 tests passed in 20 ms + Testing toDecimalPlaces... 500 of 500 tests passed in 6 ms + Testing toExponential... 500 of 500 tests passed in 6 ms + Testing toFixed... 500 of 500 tests passed in 5 ms + Testing toFraction... 200 of 200 tests passed in 39 ms + Testing toHex... 309 of 309 tests passed in 7 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 21 ms - Testing toPrecision... 500 of 500 tests passed in 6 ms - Testing toSignificantDigits... 500 of 500 tests passed in 37 ms + Testing toOctal... 293 of 293 tests passed in 7 ms + Testing toPrecision... 500 of 500 tests passed in 7 ms + Testing toSignificantDigits... 500 of 500 tests passed in 6 ms Testing toString... 338 of 338 tests passed in 3 ms - Testing trunc... 100 of 100 tests passed in 1 ms - Testing valueOf... 40 of 40 tests passed in 0 ms + Testing trunc... 100 of 100 tests passed in 0 ms + Testing valueOf... 40 of 40 tests passed in 1 ms - In total, 22610 of 22610 tests passed in 3.707 secs. + In total, 22610 of 22610 tests passed in 1.664 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 + undefined avoids excess backtracking (50ms) - 2 passing (40ms) + 2 passing (63ms) 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 (21.19 s) ++ NODE_PATH=../node_modules ++ jest --ci +PASS test/test.js (12.07 s) Derived from WPT xml-serialization.xhtml ✓ Comment: containing -- (7 ms) ✓ Comment: starting with - (1 ms) ✓ Comment: ending with - (1 ms) - ✓ Comment: containing --> + ✓ Comment: containing --> (1 ms) ✓ DocumentType: empty public and system id (3 ms) - ✓ DocumentType: empty system id (2 ms) - ✓ DocumentType: empty public id (1 ms) + ✓ DocumentType: empty system id (1 ms) + ✓ DocumentType: empty public id (2 ms) ✓ DocumentType: non-empty public and system id (1 ms) ✓ DocumentType: 'APOSTROPHE' (U+0027) (1 ms) - ✓ DocumentType: 'QUOTATION MARK' (U+0022) (1 ms) + ✓ DocumentType: 'QUOTATION MARK' (U+0022) (2 ms) ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (2 ms) ✓ Element: href attributes are not percent-encoded (6 ms) - ✓ Element: query parts in href attributes are not percent-encoded (3 ms) + ✓ Element: query parts in href attributes are not percent-encoded (2 ms) ✓ ProcessingInstruction: empty data (2 ms) - ✓ ProcessingInstruction: non-empty data (1 ms) - ✓ ProcessingInstruction: target contains xml (1 ms) - ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (1 ms) + ✓ ProcessingInstruction: non-empty data + ✓ ProcessingInstruction: target contains xml + ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) Derived from WPT XMLSerializer-serializeToString.html ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (6 ms) - ✓ Check if the default namespace is correctly reset. (7 ms) - ✓ Check if there is no redundant empty namespace declaration. (4 ms) + ✓ Check if the default namespace is correctly reset. (8 ms) + ✓ Check if there is no redundant empty namespace declaration. (5 ms) ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (5 ms) - ✓ Check if unknown prefixes are handled correctly (5 ms) - ✓ Check CDATASection nodes are serialized correctly (3 ms) + ✓ Check if unknown prefixes are handled correctly (6 ms) + ✓ Check CDATASection nodes are serialized correctly (4 ms) Well-formedness test cases - ✓ Check Characters are in range (78 ms) + ✓ Check Characters are in range (34 ms) Our own test cases - ✓ Check prefix memoization (GH-5) (3 ms) - ✓ Serializes custom prefixes (5 ms) - ✓ Serializes tab characters (3 ms) + ✓ Check prefix memoization (GH-5) (4 ms) + ✓ Serializes custom prefixes (6 ms) + ✓ Serializes tab characters (4 ms) Test Suites: 1 passed, 1 total Tests: 27 passed, 27 total Snapshots: 0 total -Time: 22.433 s +Time: 12.652 s Ran all test suites. + rm -f ../node_modules/jsdom cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/test @@ -2768,36 +2805,36 @@ Test Suites: 2 passed, 2 total Tests: 3 passed, 3 total Snapshots: 0 total -Time: 4.856 s +Time: 2.649 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 (3ms) + 0 passing (2ms) /bin/sh -ex debian/tests/pkg-js/test + mocha test/api JSDOM instances: basics - undefined should have a window and a document (224ms) + undefined should have a window and a document (75ms) 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 (46ms) - undefined should give the same document innerHTML for empty and whitespace and omitted strings (78ms) - undefined should coerce null to a string (92ms) + 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 (42ms) error reporting - undefined should include the URL when reporting an XML parse error (48ms) + undefined should include the URL when reporting an XML parse error Cookie processing - undefined should have correct secure and HTTP-only cookie semantics (226ms) - undefined should share cookies when a cookie jar is shared (56ms) + undefined should have correct secure and HTTP-only cookie semantics (118ms) + undefined should share cookies when a cookie jar is shared (49ms) document.cookie undefined reflects back what is set to it undefined reflects back cookies set from the server while requesting the page - undefined reflects back cookies set from the server while requesting a script (42ms) + undefined reflects back cookies set from the server while requesting a script 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) undefined should not contain expired cookies (GH-1027) @@ -2814,13 +2851,13 @@ 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 (47ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (53ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (48ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (50ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (39ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (39ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (41ms) + 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 + 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 undefined should sniff utf-16be-bom.html as UTF-16BE undefined should sniff utf-16le-bom.html as UTF-16LE @@ -2832,42 +2869,42 @@ 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 (42ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (45ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (43ms) + 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 ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (52ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (42ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (40ms) + 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 undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (39ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (39ms) + 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 undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE (44ms) + 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 (42ms) - 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 (42ms) + 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 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 (47ms) + 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 undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE (42ms) + 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-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (38ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (40ms) + 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 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 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 with a contentType option specifying csiso88598e Buffer undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 @@ -2875,15 +2912,15 @@ 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 - undefined should sniff no-bom-charset-utf-16le.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 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 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (41ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (43ms) + 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 undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 @@ -2905,11 +2942,11 @@ 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 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (71ms) + 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 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 no-bom-no-charset.html as ISO-8859-8 (42ms) 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 @@ -2926,9 +2963,9 @@ 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 (44ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 + 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 (47ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (55ms) 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 @@ -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 (44ms) + 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 - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (44ms) + 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 - undefined should sniff utf-16be-bom.html as UTF-16BE (40ms) + undefined should sniff utf-16be-bom.html as UTF-16BE undefined should sniff utf-16le-bom.html as UTF-16LE with a Content-Type header specifying csiso88598e 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 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (53ms) + 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 undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE (125ms) + undefined should sniff utf-16le-bom.html as UTF-16LE API: JSDOM.fragment() undefined should return a DocumentFragment @@ -2973,7 +3010,7 @@ undefined should use the file contents of a file that exists contentType option defaulting undefined should default to text/html Content-Type even with no file extension - undefined should default to application/xhtml+xml Content-Type for .xhtml files (46ms) + undefined should default to application/xhtml+xml Content-Type for .xhtml files undefined should default to application/xhtml+xml Content-Type for .xht files undefined should default to application/xhtml+xml Content-Type for .xml files undefined should allow overriding the Content-Type for .xhtml files @@ -2985,7 +3022,7 @@ 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() (132ms) + undefined window.close() should stop a setInterval() (120ms) undefined window.close() should work from within a load event listener API: JSDOM.fromURL() @@ -2994,11 +3031,11 @@ 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 - undefined should be able to handle gzipped bodies (48ms) + undefined should be able to handle gzipped bodies 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 @@ -3023,14 +3060,14 @@ API: virtual console jsdomErrors undefined should not emit invalid stylesheet errors due to spaces (GH-2123) - undefined should emit unhandled null value thrown in inline event handlers (40ms) + undefined should emit unhandled null value thrown in inline event handlers API: JSDOM class's methods serialize 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 (54ms) + undefined should serialize documents with omitted and varying-case html or body tags correctly (42ms) 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 (69ms) + undefined should allow passing through options (58ms) reconfigure windowTop undefined should reconfigure the window.top property (tested from the outside) @@ -3062,7 +3099,7 @@ undefined should disallow other values