Diff of the two buildlogs: -- --- b1/build.log 2024-05-30 13:19:59.925358594 +0000 +++ b2/build.log 2024-05-30 13:22:03.484111009 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 2 07:40:04 -12 2025 -I: pbuilder-time-stamp: 1751485204 +I: Current time: Fri May 31 03:20:02 +14 2024 +I: pbuilder-time-stamp: 1717075202 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,51 +33,83 @@ dpkg-source: info: applying fix-test-for-tape-5.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1682622/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2322288/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 30 13:20 /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/2322288/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2322288/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='amd64' - 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='beb67752833e4b269bfcce271e6ce497' - 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='1682622' - PS1='# ' - PS2='> ' + INVOCATION_ID=fd28fccc5efc4674ba35a627b6262630 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2322288 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.88CqtPMy/pbuilderrc_62GU --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.88CqtPMy/b1 --logfile b1/build.log node-proxyquire_2.1.3+~1.0.1+~1.0.2-12.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' + 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.88CqtPMy/pbuilderrc_gt8J --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.88CqtPMy/b2 --logfile b2/build.log node-proxyquire_2.1.3+~1.0.1+~1.0.2-12.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' I: uname -a - Linux infom02-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 30 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1682622/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 28 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2322288/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -444,7 +476,7 @@ Get: 311 http://deb.debian.org/debian unstable/main amd64 node-should all 13.2.3~dfsg-7 [50.0 kB] Get: 312 http://deb.debian.org/debian unstable/main amd64 pandoc-data all 3.1.3-2 [445 kB] Get: 313 http://deb.debian.org/debian unstable/main amd64 pandoc amd64 3.1.3+ds-3 [24.3 MB] -Fetched 69.3 MB in 1s (69.6 MB/s) +Fetched 69.3 MB in 1s (57.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19716 files and directories currently installed.) @@ -1717,7 +1749,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/node-proxyquire-2.1.3+~1.0.1+~1.0.2/ && 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-proxyquire_2.1.3+~1.0.1+~1.0.2-12_source.changes +I: user script /srv/workspace/pbuilder/2322288/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2322288/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-proxyquire-2.1.3+~1.0.1+~1.0.2/ && 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-proxyquire_2.1.3+~1.0.1+~1.0.2-12_source.changes dpkg-buildpackage: info: source package node-proxyquire dpkg-buildpackage: info: source version 2.1.3+~1.0.1+~1.0.2-12 dpkg-buildpackage: info: source distribution unstable @@ -1845,73 +1881,73 @@ ln --force --symbolic ../../Xkeys debian/node_modules/fill-keys NODE_PATH=debian/node_modules \ find test -maxdepth 1 -type f -name '*.js' -not -path 'test/proxyquire-global.js' -exec mocha --reporter tap --no-config --no-opts --no-package --no-timeout --require should {} + -ok 1 when I require stubs with different extensions intercepts [] object -ok 2 when I require stubs with different extensions intercepts [] function -ok 3 when I require stubs with different extensions intercepts [.json] object -ok 4 when I require stubs with different extensions intercepts [.node] object -ok 5 Proxyquire load() defaults to preserving the cache -ok 6 Proxyquire load() does not pollute the cache when module is proxyquired before it is loaded -ok 7 Proxyquire preserveCache() returns a reference to itself, so it can be chained -ok 8 Proxyquire preserveCache() has Proxyquire restore the cache for the module -ok 9 Proxyquire preserveCache() allows Singletons to function properly -ok 10 Proxyquire noPreserveCache() returns a reference to itself, so it can be chained -ok 11 Proxyquire noPreserveCache() forces subsequent requires to reload the proxied module -ok 12 Proxyquire noPreserveCache() deletes the require.cache for the module being stubbed -ok 13 Proxyquire noPreserveCache() deletes the require.cache for the stubs -ok 14 Proxyquire noPreserveCache() silences errors when stub lookups fail -ok 15 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with boofber stub as boof. foo is required 1 times -ok 16 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with boofber stub as boof. foo's boof is boofber foo.boof == boofber -ok 17 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with foonumber stub as foonum. foo is required 1 times -ok 18 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with foonumber stub as foonum. foo's foonum is foonumber foo.foonum == foonumber -ok 19 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with fooboolber stub as foobool. foo is required 1 times -ok 20 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with fooboolber stub as foobool. foo's foobool is fooboolber foo.foobool == fooboolber -ok 21 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as fooarray. foo is required 1 times -ok 22 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as fooarray. foo's fooarray is fooarray foo.fooarray is fooarray -ok 23 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty. foo is required 1 times -ok 24 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty. foo's fooarray is the original foo.fooarray is empty -ok 25 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty with @noCallThru. foo is required 1 times -ok 26 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty with @noCallThru. foo's fooarray is empty foo.fooarray is empty -ok 27 When resolving foo that requires nulled file package throws an error -ok 28 When resolving foo that optionally requires nulled crypto package catches when resolving crypto -ok 29 when I try to use compat mode should let me know that I need to fix my code or downgrade -ok 30 When resolving foo that requires bar and stubbed baz where bar requires unstubbed baz does not stub baz in bar -ok 31 When resolving foo that requires bar and stubbed baz where bar requires unstubbed baz does not affect a normal baz import -ok 32 api default export proxyquire can load -ok 33 api default export proxyquire can callThru and then load -ok 34 api default export proxyquire can noCallThru and then load -ok 35 When resolving foo that requires stubbed /not/existing/bar.json throws an error -ok 36 When resolving foo that requires stubbed /not/existing/bar.json with @noCallThru resolves foo with stubbed bar -ok 37 When resolving foo that requires stubbed /not/existing/bar.json with noCallThru() resolves foo with stubbed bar -ok 38 When resolving foo-relative that requires relative stubbed ../not/existing/bar.json with @noCallThru resolves foo-relative with stubbed bar +ok 1 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with boofber stub as boof. foo is required 1 times +ok 2 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with boofber stub as boof. foo's boof is boofber foo.boof == boofber +ok 3 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with foonumber stub as foonum. foo is required 1 times +ok 4 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with foonumber stub as foonum. foo's foonum is foonumber foo.foonum == foonumber +ok 5 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with fooboolber stub as foobool. foo is required 1 times +ok 6 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with fooboolber stub as foobool. foo's foobool is fooboolber foo.foobool == fooboolber +ok 7 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as fooarray. foo is required 1 times +ok 8 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as fooarray. foo's fooarray is fooarray foo.fooarray is fooarray +ok 9 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty. foo is required 1 times +ok 10 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty. foo's fooarray is the original foo.fooarray is empty +ok 11 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty with @noCallThru. foo is required 1 times +ok 12 Given foo requires the boof, foonum and foobool modules and boof is a string, foonum is a Number and foobool is a bool When I resolve foo with ./fooarray stub as empty with @noCallThru. foo's fooarray is empty foo.fooarray is empty +ok 13 when I try to use compat mode should let me know that I need to fix my code or downgrade +ok 14 When resolving foo that requires stubbed /not/existing/bar.json throws an error +ok 15 When resolving foo that requires stubbed /not/existing/bar.json with @noCallThru resolves foo with stubbed bar +ok 16 When resolving foo that requires stubbed /not/existing/bar.json with noCallThru() resolves foo with stubbed bar +ok 17 When resolving foo-relative that requires relative stubbed ../not/existing/bar.json with @noCallThru resolves foo-relative with stubbed bar +ok 18 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 foo1.bigBar() == "BAR1" +ok 19 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 foo2.bigBar() == "BAR2" +ok 20 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 and I change bar1.bar() to return barone foo1.bigBar() == "BARONE" +ok 21 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 and I change bar1.bar() to return barone foo2.bigBar() == "BAR2" +ok 22 When resolving foo that requires nulled file package throws an error +ok 23 When resolving foo that optionally requires nulled crypto package catches when resolving crypto +ok 24 Proxyquire load() defaults to preserving the cache +ok 25 Proxyquire load() does not pollute the cache when module is proxyquired before it is loaded +ok 26 Proxyquire preserveCache() returns a reference to itself, so it can be chained +ok 27 Proxyquire preserveCache() has Proxyquire restore the cache for the module +ok 28 Proxyquire preserveCache() allows Singletons to function properly +ok 29 Proxyquire noPreserveCache() returns a reference to itself, so it can be chained +ok 30 Proxyquire noPreserveCache() forces subsequent requires to reload the proxied module +ok 31 Proxyquire noPreserveCache() deletes the require.cache for the module being stubbed +ok 32 Proxyquire noPreserveCache() deletes the require.cache for the stubs +ok 33 Proxyquire noPreserveCache() silences errors when stub lookups fail +ok 34 api default export proxyquire can load +ok 35 api default export proxyquire can callThru and then load +ok 36 api default export proxyquire can noCallThru and then load +ok 37 When resolving foo that requires bar and stubbed baz where bar requires unstubbed baz does not stub baz in bar +ok 38 When resolving foo that requires bar and stubbed baz where bar requires unstubbed baz does not affect a normal baz import ok 39 Illegal parameters to resolve give meaningful errors when I pass no request throws an exception explaining that a request path must be provided ok 40 Illegal parameters to resolve give meaningful errors when I pass an object as a request throws an exception explaining that request needs to be a requirable string ok 41 Illegal parameters to resolve give meaningful errors when I pass no stubs throws an exception explaining that resolve without stubs makes no sense ok 42 Illegal parameters to resolve give meaningful errors when I pass a string as stubs throws an exception explaining that stubs need to be an object ok 43 Illegal parameters to resolve give meaningful errors when I pass an undefined stub throws an exception with the stub key -ok 44 When requiring relative paths, they should be relative to the proxyrequired module should return the correct result -ok 45 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. foo is required 2 times -ok 46 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. foo's bar is unchanged foo.bigBar() == "BAR" -ok 47 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. only stubbed modules have overrides in foober foober.bigBar() == "BARBER" -ok 48 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. only stubbed modules have overrides in foober foober.bigExt("/folder/test.ext") == ".EXT" -ok 49 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. only stubbed modules have overrides in foober foober.bigBas("/folder/test.ext") == "TEST.EXT" -ok 50 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve overrides behavior when module is required inside function call -ok 51 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve overrides behavior when module is required on top of file -ok 52 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve and then delete overrides of stubs after resolve reverts to original behavior when module is required inside function call -ok 53 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve and then delete overrides of stubs after resolve doesn't properly revert to original behavior when module is required on top of file -ok 54 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was not changed globally or for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" -ok 55 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was not changed globally or for path module foo.bigBas(file) == "TEST.EXT" -ok 56 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru is turned off for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" -ok 57 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru is turned off for path module foo.bigBas(file) throws -ok 58 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and not changed for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" -ok 59 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and not changed for path module foo.bigBas(file) throws -ok 60 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" -ok 61 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on for path module foo.bigBas(file) == "TEST.EXT" -ok 62 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on globally foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" -ok 63 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on globally foo.bigBas(file) == "TEST.EXT" -ok 64 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 foo1.bigBar() == "BAR1" -ok 65 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 foo2.bigBar() == "BAR2" -ok 66 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 and I change bar1.bar() to return barone foo1.bigBar() == "BARONE" -ok 67 Multiple requires of same module don't affect each other Given I require foo stubbed with bar1 as foo1 and foo stubbed with bar2 as foo2 and I change bar1.bar() to return barone foo2.bigBar() == "BAR2" +ok 44 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. foo is required 2 times +ok 45 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. foo's bar is unchanged foo.bigBar() == "BAR" +ok 46 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. only stubbed modules have overrides in foober foober.bigBar() == "BARBER" +ok 47 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. only stubbed modules have overrides in foober foober.bigExt("/folder/test.ext") == ".EXT" +ok 48 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. only stubbed modules have overrides in foober foober.bigBas("/folder/test.ext") == "TEST.EXT" +ok 49 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve overrides behavior when module is required inside function call +ok 50 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve overrides behavior when module is required on top of file +ok 51 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve and then delete overrides of stubs after resolve reverts to original behavior when module is required inside function call +ok 52 Given foo requires the bar and path modules and bar.bar() returns "bar" When I resolve foo with no overrides to bar as foo and resolve foo with barber stub as foober. when I override keys of stubs after resolve and then delete overrides of stubs after resolve doesn't properly revert to original behavior when module is required on top of file +ok 53 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was not changed globally or for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" +ok 54 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was not changed globally or for path module foo.bigBas(file) == "TEST.EXT" +ok 55 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru is turned off for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" +ok 56 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru is turned off for path module foo.bigBas(file) throws +ok 57 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and not changed for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" +ok 58 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and not changed for path module foo.bigBas(file) throws +ok 59 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on for path module foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" +ok 60 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on for path module foo.bigBas(file) == "TEST.EXT" +ok 61 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on globally foo.bigExt(file) == "OVERRIDE /FOLDER/TEST.EXT" +ok 62 Given foo requires the bar and path modules and bar.bar() returns "bar" When foo.bigExt() returns capitalized path.extname and foo.bigBas() returns capitalized path.basename and path.extname(file) is stubbed to return "override " + file and callThru was turned off globally and turned back on globally foo.bigBas(file) == "TEST.EXT" +ok 63 When requiring relative paths, they should be relative to the proxyrequired module should return the correct result +ok 64 when I require stubs with different extensions intercepts [] object +ok 65 when I require stubs with different extensions intercepts [] function +ok 66 when I require stubs with different extensions intercepts [.json] object +ok 67 when I require stubs with different extensions intercepts [.node] object # tests 67 # pass 67 # fail 0 @@ -1978,12 +2014,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2322288/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2322288/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1682622 and its subdirectories -I: Current time: Wed Jul 2 07:42:59 -12 2025 -I: pbuilder-time-stamp: 1751485379 +I: removing directory /srv/workspace/pbuilder/2322288 and its subdirectories +I: Current time: Fri May 31 03:22:02 +14 2024 +I: pbuilder-time-stamp: 1717075322