Diff of the two buildlogs: -- --- b1/build.log 2024-04-11 23:17:29.689583307 +0000 +++ b2/build.log 2024-04-11 23:22:51.999863570 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 11 11:04:34 -12 2024 -I: pbuilder-time-stamp: 1712876674 +I: Current time: Fri Apr 12 13:17:41 +14 2024 +I: pbuilder-time-stamp: 1712877461 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/13836/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21276/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 11 23:17 /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/21276/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21276/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='23186750c8d149daa5d70f6a4889552b' - 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='13836' - PS1='# ' - PS2='> ' + INVOCATION_ID=f32e3637fe4c429ab758772a1a509a5b + 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=21276 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.5sBNiEAa/pbuilderrc_asHN --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.5sBNiEAa/b1 --logfile b1/build.log node-jsdom_20.0.3+~cs124.18.21-4.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.5sBNiEAa/pbuilderrc_OV5v --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.5sBNiEAa/b2 --logfile b2/build.log node-jsdom_20.0.3+~cs124.18.21-4.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt64b 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 11 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/13836/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 10 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/21276/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 armhf node-unicode-15.0.0 all 0~20220914+gitb601441-2 [340 kB] Get: 429 http://deb.debian.org/debian trixie/main armhf node-yn all 4.0.0-3 [4936 B] Get: 430 http://deb.debian.org/debian trixie/main armhf ts-node all 10.9.2+~cs64.13.20-1 [173 kB] -Fetched 56.5 MB in 7s (8408 kB/s) +Fetched 56.5 MB in 1s (69.4 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 ... 19635 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/21276/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/21276/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,20 @@ 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 (11311ms). +Successfully compiled 31 files with Babel (5801ms). dh_auto_build --buildsystem=nodejs +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 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/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 -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 No build command found, searching known files No build command found, searching known files @@ -2608,10 +2639,17 @@ 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 No build command found, searching known files No build command found, searching known files No build command found, searching known files +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 No build command found, searching known files Found debian/nodejs/whatwg-encoding/build @@ -2623,8 +2661,6 @@ 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 -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 9 ms - Testing acos... 50 of 50 tests passed in 501 ms - Testing acosh... 50 of 50 tests passed in 113 ms - Testing asin... 50 of 50 tests passed in 218 ms - Testing asinh... 50 of 50 tests passed in 62 ms - Testing atan... 50 of 50 tests passed in 229 ms - Testing atan2... 100 of 100 tests passed in 132 ms - Testing atanh... 50 of 50 tests passed in 86 ms - Testing cubeRoot... 50 of 50 tests passed in 97 ms + Testing acos... 50 of 50 tests passed in 326 ms + Testing acosh... 50 of 50 tests passed in 77 ms + Testing asin... 50 of 50 tests passed in 155 ms + Testing asinh... 50 of 50 tests passed in 48 ms + Testing atan... 50 of 50 tests passed in 181 ms + Testing atan2... 100 of 100 tests passed in 107 ms + Testing atanh... 50 of 50 tests passed in 68 ms + Testing cubeRoot... 50 of 50 tests passed in 76 ms Testing ceil... 50 of 50 tests passed in 2 ms Testing clamp... 29 of 29 tests passed in 1 ms - Testing clone... 65 of 65 tests passed in 7 ms - Testing comparedTo... 1000 of 1000 tests passed in 26 ms - Testing config... 206 of 206 tests passed in 26 ms - Testing cos... 101 of 101 tests passed in 142 ms - Testing cosh... 100 of 100 tests passed in 159 ms - Testing Decimal... 987 of 987 tests passed in 49 ms - Testing dividedBy... 1000 of 1000 tests passed in 142 ms - Testing dividedToIntegerBy... 1000 of 1000 tests passed in 58 ms + Testing clone... 65 of 65 tests passed in 6 ms + Testing comparedTo... 1000 of 1000 tests passed in 21 ms + Testing config... 206 of 206 tests passed in 17 ms + Testing cos... 101 of 101 tests passed in 83 ms + Testing cosh... 100 of 100 tests passed in 85 ms + Testing Decimal... 987 of 987 tests passed in 54 ms + Testing dividedBy... 1000 of 1000 tests passed in 85 ms + Testing dividedToIntegerBy... 1000 of 1000 tests passed in 59 ms Testing decimalPlaces and precision... 133 of 133 tests passed in 3 ms - Testing exp... 100 of 100 tests passed in 91 ms + Testing exp... 100 of 100 tests passed in 66 ms Testing floor... 100 of 100 tests passed in 3 ms - Testing hypot... 100 of 100 tests passed in 50 ms - Testing immutability... 3311 of 3311 tests passed in 976 ms - Testing integer pow... 500 of 500 tests passed in 72 ms - Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 5 ms - Testing ln... 499 of 499 tests passed in 619 ms - Testing log... 200 of 200 tests passed in 425 ms - Testing log10... 500 of 500 tests passed in 552 ms - Testing log2... 200 of 200 tests passed in 478 ms - Testing min and max... 100 of 100 tests passed in 4 ms - Testing minus... 1000 of 1000 tests passed in 43 ms - Testing modulo... 1000 of 1000 tests passed in 239 ms - Testing negated... 200 of 200 tests passed in 4 ms - Testing plus... 1000 of 1000 tests passed in 54 ms - Testing pow... 108 of 108 tests passed in 240 ms - Testing random... 1000 of 1000 tests passed in 65 ms - Testing round... 500 of 500 tests passed in 16 ms - Testing sign... 16 of 16 tests passed in 0 ms - Testing sin... 100 of 100 tests passed in 259 ms - Testing sinh... 100 of 100 tests passed in 113 ms - Testing sqrt... 1000 of 1000 tests passed in 236 ms - Testing sum... 37 of 37 tests passed in 2 ms - Testing tan... 100 of 100 tests passed in 271 ms - Testing tanh... 100 of 100 tests passed in 223 ms - Testing times... 1000 of 1000 tests passed in 39 ms - Testing toBinary... 327 of 327 tests passed in 58 ms - Testing toDecimalPlaces... 500 of 500 tests passed in 24 ms - Testing toExponential... 500 of 500 tests passed in 24 ms - Testing toFixed... 500 of 500 tests passed in 23 ms - Testing toFraction... 200 of 200 tests passed in 151 ms - Testing toHex... 309 of 309 tests passed in 26 ms - Testing toNearest... 157 of 157 tests passed in 6 ms - Testing toNumber... 40 of 40 tests passed in 2 ms - Testing toOctal... 293 of 293 tests passed in 21 ms - Testing toPrecision... 500 of 500 tests passed in 24 ms - Testing toSignificantDigits... 500 of 500 tests passed in 22 ms - Testing toString... 338 of 338 tests passed in 9 ms - Testing trunc... 100 of 100 tests passed in 2 ms + Testing hypot... 100 of 100 tests passed in 41 ms + Testing immutability... 3311 of 3311 tests passed in 682 ms + Testing integer pow... 500 of 500 tests passed in 42 ms + Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 3 ms + Testing ln... 499 of 499 tests passed in 474 ms + Testing log... 200 of 200 tests passed in 348 ms + Testing log10... 500 of 500 tests passed in 424 ms + Testing log2... 200 of 200 tests passed in 372 ms + Testing min and max... 100 of 100 tests passed in 3 ms + Testing minus... 1000 of 1000 tests passed in 38 ms + Testing modulo... 1000 of 1000 tests passed in 179 ms + Testing negated... 200 of 200 tests passed in 3 ms + Testing plus... 1000 of 1000 tests passed in 50 ms + Testing pow... 108 of 108 tests passed in 177 ms + Testing random... 1000 of 1000 tests passed in 42 ms + Testing round... 500 of 500 tests passed in 18 ms + Testing sign... 16 of 16 tests passed in 1 ms + Testing sin... 100 of 100 tests passed in 196 ms + Testing sinh... 100 of 100 tests passed in 92 ms + Testing sqrt... 1000 of 1000 tests passed in 181 ms + Testing sum... 37 of 37 tests passed in 1 ms + Testing tan... 100 of 100 tests passed in 205 ms + Testing tanh... 100 of 100 tests passed in 171 ms + Testing times... 1000 of 1000 tests passed in 31 ms + Testing toBinary... 327 of 327 tests passed in 43 ms + Testing toDecimalPlaces... 500 of 500 tests passed in 16 ms + Testing toExponential... 500 of 500 tests passed in 19 ms + Testing toFixed... 500 of 500 tests passed in 17 ms + Testing toFraction... 200 of 200 tests passed in 119 ms + Testing toHex... 309 of 309 tests passed in 19 ms + Testing toNearest... 157 of 157 tests passed in 5 ms + Testing toNumber... 40 of 40 tests passed in 1 ms + Testing toOctal... 293 of 293 tests passed in 17 ms + Testing toPrecision... 500 of 500 tests passed in 19 ms + Testing toSignificantDigits... 500 of 500 tests passed in 18 ms + Testing toString... 338 of 338 tests passed in 7 ms + Testing trunc... 100 of 100 tests passed in 3 ms Testing valueOf... 40 of 40 tests passed in 1 ms - In total, 22610 of 22610 tests passed in 7.813 secs. + In total, 22610 of 22610 tests passed in 5.869 secs. cd ./is-potential-custom-element-name && sh -ex ../debian/nodejs/is-potential-custom-element-name/test + mocha @@ -2711,100 +2747,101 @@ is-potential-custom-element-name undefined returns a boolean indicating whether the given string is a potential custom element name - undefined avoids excess backtracking (58ms) + undefined avoids excess backtracking (79ms) - 2 passing (80ms) + 2 passing (101ms) 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 (43.218 s) ++ NODE_PATH=../node_modules ++ jest --ci +PASS test/test.js (35.006 s) Derived from WPT xml-serialization.xhtml - ✓ Comment: containing -- (17 ms) + ✓ Comment: containing -- (35 ms) ✓ Comment: starting with - (3 ms) - ✓ Comment: ending with - (1 ms) - ✓ Comment: containing --> (2 ms) - ✓ DocumentType: empty public and system id (6 ms) - ✓ DocumentType: empty system id (2 ms) - ✓ DocumentType: empty public id (3 ms) - ✓ DocumentType: non-empty public and system id (3 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) (2 ms) - ✓ DocumentType: 'QUOTATION MARK' (U+0022) (4 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (29 ms) - ✓ Element: href attributes are not percent-encoded (20 ms) - ✓ Element: query parts in href attributes are not percent-encoded (3 ms) - ✓ ProcessingInstruction: empty data (5 ms) - ✓ ProcessingInstruction: non-empty data (2 ms) - ✓ ProcessingInstruction: target contains xml (3 ms) - ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (2 ms) + ✓ Comment: ending with - (10 ms) + ✓ Comment: containing --> (1 ms) + ✓ DocumentType: empty public and system id (10 ms) + ✓ DocumentType: empty system id (10 ms) + ✓ DocumentType: empty public id (7 ms) + ✓ DocumentType: non-empty public and system id (2 ms) + ✓ DocumentType: 'APOSTROPHE' (U+0027) (3 ms) + ✓ DocumentType: 'QUOTATION MARK' (U+0022) (3 ms) + ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (2 ms) + ✓ Element: href attributes are not percent-encoded (14 ms) + ✓ Element: query parts in href attributes are not percent-encoded (2 ms) + ✓ ProcessingInstruction: empty data (3 ms) + ✓ ProcessingInstruction: non-empty data (1 ms) + ✓ ProcessingInstruction: target contains xml (2 ms) + ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (1 ms) Derived from WPT XMLSerializer-serializeToString.html - ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (16 ms) - ✓ Check if the default namespace is correctly reset. (17 ms) - ✓ Check if there is no redundant empty namespace declaration. (9 ms) + ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (12 ms) + ✓ Check if the default namespace is correctly reset. (13 ms) + ✓ Check if there is no redundant empty namespace declaration. (8 ms) ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (9 ms) ✓ Check if unknown prefixes are handled correctly (9 ms) ✓ Check CDATASection nodes are serialized correctly (7 ms) Well-formedness test cases - ✓ Check Characters are in range (93 ms) + ✓ Check Characters are in range (140 ms) Our own test cases - ✓ Check prefix memoization (GH-5) (8 ms) - ✓ Serializes custom prefixes (13 ms) - ✓ Serializes tab characters (6 ms) + ✓ Check prefix memoization (GH-5) (28 ms) + ✓ Serializes custom prefixes (24 ms) + ✓ Serializes tab characters (14 ms) Test Suites: 1 passed, 1 total Tests: 27 passed, 27 total Snapshots: 0 total -Time: 44.778 s +Time: 36.374 s Ran all test suites. + rm -f ../node_modules/jsdom cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/test + jest --ci test/mdn.js test/file-url-origin.js -PASS test/file-url-origin.js -PASS test/mdn.js +PASS test/file-url-origin.js (5.157 s) +PASS test/mdn.js (5.339 s) Test Suites: 2 passed, 2 total Tests: 3 passed, 3 total Snapshots: 0 total -Time: 7.23 s +Time: 14.047 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 (6ms) + 0 passing (8ms) /bin/sh -ex debian/tests/pkg-js/test + mocha test/api JSDOM instances: basics - undefined should have a window and a document (274ms) - undefined should have a document with documentElement when no arguments are passed + undefined should have a window and a document (588ms) + undefined should have a document with documentElement when no arguments are passed (67ms) JSDOM() constructor first argument - undefined should populate the resulting document with the given HTML (44ms) - undefined should give the same document innerHTML for empty and whitespace and omitted strings (98ms) - undefined should coerce null to a string (90ms) + undefined should populate the resulting document with the given HTML (95ms) + undefined should give the same document innerHTML for empty and whitespace and omitted strings (140ms) + undefined should coerce null to a string (115ms) error reporting - undefined should include the URL when reporting an XML parse error (63ms) + undefined should include the URL when reporting an XML parse error (53ms) Cookie processing - undefined should have correct secure and HTTP-only cookie semantics (338ms) - undefined should share cookies when a cookie jar is shared (121ms) + undefined should have correct secure and HTTP-only cookie semantics (372ms) + undefined should share cookies when a cookie jar is shared (118ms) document.cookie - undefined reflects back what is set to it (38ms) - undefined reflects back cookies set from the server while requesting the page (41ms) - 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 (46ms) - undefined should not crash or set cookies when requesting a file URL (GH-1180) (44ms) + undefined reflects back what is set to it + undefined reflects back cookies set from the server while requesting the page (40ms) + undefined reflects back cookies set from the server while requesting a script (71ms) + undefined reflects back cookies set from the server on an XHR response (99ms) + undefined should not crash or set cookies when requesting a file URL (GH-1180) (71ms) undefined should not contain expired cookies (GH-1027) sent with requests - undefined should send the Cookies header with a script request (70ms) - undefined should send the Cookies header with an XHR request (56ms) - undefined should gather cookies from redirects (GH-1089) (68ms) + undefined should send the Cookies header with a script request (60ms) + undefined should send the Cookies header with an XHR request (55ms) + undefined should gather cookies from redirects (GH-1089) (106ms) API: encoding detection constructor, given a string @@ -2830,8 +2867,8 @@ 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 no-bom-charset-utf-16le.html as UTF-8 (38ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (53ms) 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 @@ -2852,17 +2889,17 @@ 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 no-bom-charset-utf-16le.html as UTF-8 (52ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (39ms) + undefined should sniff utf-8-bom.html as UTF-8 (40ms) undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE + undefined should sniff utf-16le-bom.html as UTF-16LE (39ms) 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 - undefined should sniff no-bom-charset-koi8.html as KOI8-R + undefined should sniff no-bom-charset-koi8.html as KOI8-R (105ms) undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (73ms) + 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 @@ -2885,31 +2922,31 @@ 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-16be.html as ISO-8859-8 (38ms) 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 + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (43ms) + undefined should sniff utf-8-bom.html as UTF-8 (43ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (39ms) + 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-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 (42ms) + 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-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-16be-bom.html as UTF-16BE (67ms) 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-8 (39ms) + 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 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 (38ms) 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,30 +2963,30 @@ 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 (42ms) + 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 + undefined should sniff utf-16be-bom.html as UTF-16BE (52ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (44ms) fromURL with no Content-Type header given - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (69ms) - 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-http-equiv-no-quotes.html as ISO-8859-5 (61ms) + 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 (41ms) 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-16be-bom.html as UTF-16BE (51ms) 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 (38ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (41ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (51ms) 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 @@ -2970,7 +3007,7 @@ API: JSDOM.fromFile() undefined should return a rejected promise for a nonexistant file - undefined should use the file contents of a file that exists + undefined should use the file contents of a file that exists (63ms) 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 @@ -2984,8 +3021,8 @@ undefined should allow overriding the URL 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() (144ms) + undefined window.close() should prevent timers from registering and cause them to return 0 (38ms) + undefined window.close() should stop a setInterval() (150ms) undefined window.close() should work from within a load event listener API: JSDOM.fromURL() @@ -2993,24 +3030,24 @@ 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 (40ms) - undefined should be able to handle gzipped bodies (41ms) + undefined should use the body of 301 responses (46ms) + 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 + undefined should use the default user agent as the User-Agent header when none is given (50ms) 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 undefined should use the supplied referrer option as a Referer header - undefined should canonicalize referrer URLs before using them as a Referer header (56ms) + undefined should canonicalize referrer URLs before using them as a Referer header undefined should use the redirect source URL as the referrer, overriding a provided one inferring options from the response url 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 + undefined should preserve fragments when processing redirects (59ms) undefined should disallow passing a URL manually contentType undefined should use the content type fetched for a 200 @@ -3018,23 +3055,23 @@ 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 (43ms) + undefined should store cookies set by the server in a supplied cookie jar (52ms) undefined should store cookies set by the server in a newly-created cookie jar 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 (46ms) 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 (85ms) + undefined should serialize documents with omitted and varying-case html or body tags correctly (173ms) nodeLocation - undefined should throw when includeNodeLocations is left as the default (false) - undefined should throw when includeNodeLocations is set explicitly to false - undefined should give the correct location for an element + undefined should throw when includeNodeLocations is left as the default (false) (38ms) + undefined should throw when includeNodeLocations is set explicitly to false (38ms) + undefined should give the correct location for an element (41ms) undefined should give the correct location for a text node undefined should give the correct location for a void element undefined should return undefined for nodes created by innerHTML @@ -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 (84ms) + undefined should allow passing through options (83ms) reconfigure windowTop undefined should reconfigure the window.top property (tested from the outside) @@ -3056,25 +3093,25 @@ url undefined should successfully change the URL undefined should throw and not impact the URL when trying to change to an unparseable URL - undefined should not throw and not impact the URL when no url option is given + undefined should not throw and not impact the URL when no url option is given (41ms) API: runScripts constructor option undefined should disallow other values