Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/node-proxyquire/node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/node-proxyquire-2.1.3+~1.0.1+~1.0.2-11_9he5e2u/node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.buildinfo Get source package info: node-proxyquire=2.1.3+~1.0.1+~1.0.2-11 Source URL: http://snapshot.notset.fr/mr/package/node-proxyquire/2.1.3+~1.0.1+~1.0.2-11/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc2-1 binutils=2.35.1-2 binutils-common=2.35.1-2 binutils-x86-64-linux-gnu=2.35.1-2 bsdextrautils=2.36-3+b2 bsdutils=1:2.36-3+b2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-16 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 eslint=5.16.0~dfsg-7 file=1:5.38-5 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.0-16 gcc=4:10.2.0-1 gcc-10=10.2.0-16 gcc-10-base=10.2.0-16 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-16 libatomic1=10.2.0-16 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libbinutils=2.35.1-2 libblkid1=2.36-3+b2 libbrotli1=1.0.9-2+b1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-ares2=1.16.1-1 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-16 libcmark-gfm-extensions0=0.29.0.gfm.0-6 libcmark-gfm0=0.29.0.gfm.0-6 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-2 libctf0=2.35.1-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.182-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-16 libgcc-s1=10.2.0-16 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgdk-pixbuf2.0-0=2.40.0+dfsg-5 libgdk-pixbuf2.0-common=2.40.0+dfsg-5 libglib2.0-0=2.66.2-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-16 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-16 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.0.5-1.1 libjs-inherits=2.0.4-1 libjs-regenerate=1.4.2-2 libjs-source-map=0.7.0++dfsg2+really.0.6.1-4 libjs-sprintf-js=1.1.2+ds1-1 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 liblsan0=10.2.0-16 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-3+b2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnghttp2-14=1.41.0-3 libnode72=12.19.0~dfsg-1 libnotify-bin=0.7.9-1 libnotify4=0.7.9-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-4 libnss-nisplus=1.3-4 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libpng16-16=1.6.37-3 libquadmath0=10.2.0-16 libseccomp2=2.4.4-1+b1 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36-3+b2 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-16 libstdc++6=10.2.0-16 libsub-override-perl=0.09-2 libsystemd0=246.6-2 libtiff5=4.1.0+git191117-2 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-16 libubsan1=10.2.0-16 libuchardet0=0.0.7-1 libudev1=246.6-2 libunistring2=0.9.10-4 libuuid1=2.36-3+b2 libwebp6=0.6.1-2+b1 libx11-6=2:1.6.12-1 libx11-data=2:1.6.12-1 libxau6=1:1.0.8-1+b2 libxcb1=1.14-2 libxdmcp6=1:1.1.2-3 libxml2=2.9.10+dfsg-6.2 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.1-1 livescript=1.6.1+dfsg-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mocha=7.0.1+ds1+~cs28.9.11-1 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 node-ajv=6.12.6-2 node-ansi-colors=4.1.1-2 node-ansi-regex=5.0.0-1 node-ansi-styles=4.2.1-1 node-anymatch=3.1.1+~2.2.2-1 node-argparse=2.0.1-1 node-async-each=1.0.3-1 node-balanced-match=1.0.0-1 node-binary-extensions=2.1.0-1 node-brace-expansion=2.0.0-1 node-braces=3.0.2+~3.0.0-1 node-browser-stdout=1.3.1-2 node-camelcase=5.3.1-1 node-chalk=2.4.2-1 node-chokidar=3.4.3-2 node-cliui=4.1.0-2 node-clone=2.1.2-2 node-color-convert=1.9.3-1 node-color-name=1.1.4-1 node-commander=4.1.1-2 node-concat-stream=2.0.0-1 node-core-util-is=1.0.2-2 node-cross-spawn=7.0.2-1 node-debbundle-acorn=8.0.4+ds+~cs19.19.27-1 node-debug=4.2.0+~cs4.1.5-1 node-decamelize=4.0.0-1 node-deep-equal=1.0.1-2 node-deep-is=0.1.3-2 node-defaults=1.0.3-2 node-define-properties=1.1.3-1 node-defined=1.0.0-2 node-diff=1.4.0~dfsg-4 node-doctrine=3.0.0-2 node-end-of-stream=1.4.4-1 node-escape-string-regexp=4.0.0-1 node-eslint-scope=5.0.0-2 node-eslint-utils=2.0.0-2 node-eslint-visitor-keys=1.1.0-3 node-espree=6.0.0+ds-3 node-esprima=4.0.1+ds+~4.0.2-1 node-esquery=1.1.0-1 node-esrecurse=4.2.1-1 node-estraverse=5.2.0-1 node-esutils=2.0.3-1 node-execa=0.10.0+dfsg-1 node-fast-deep-equal=1.1.0-1 node-fast-levenshtein=2.0.6+ds-1 node-file-entry-cache=5.0.1+~2.0.1+~2.0.0+~1.0.0+~2.0.1-5 node-fill-range=7.0.1-2 node-find-up=5.0.0-1 node-flat-cache=2.0.1~5.0.1+~2.0.1+~2.0.0+~1.0.0+~2.0.1-5 node-flatted=2.0.2~dfsg-1 node-fs.realpath=1.0.0-1 node-function-bind=1.1.1+repack-1 node-functional-red-black-tree=1.0.1+20181105-4 node-get-caller-file=1.0.2-1 node-get-stream=4.1.0-1 node-glob=7.1.6+~7.1.3-1 node-glob-parent=5.1.1+~5.1.0-1 node-globals=12.3.0-1 node-graceful-fs=4.2.4+repack-1 node-growl=1.10.5-2 node-has-flag=4.0.0-1 node-he=1.2.0-1 node-ignore=5.1.4-5 node-imurmurhash=0.1.4-1 node-inflight=1.0.6-1 node-inherits=2.0.4-1 node-invert-kv=3.0.1-1 node-is-binary-path=2.1.0-1 node-is-buffer=1.1.6-1 node-is-extglob=2.1.1-1 node-is-glob=4.0.1-1 node-is-number=7.0.0-1 node-is-object=1.0.1-1 node-is-stream=2.0.0-1 node-isarray=2.0.5-1 node-isexe=2.0.0-4 node-js-yaml=3.14.0+dfsg-2 node-json-schema-traverse=0.4.1-1 node-json-stable-stringify=1.0.1+~cs5.1.32-1 node-jsonify=0.0.0-1 node-kind-of=6.0.3+dfsg-1 node-lcid=3.1.1-1 node-levn=0.3.0+dfsg-4 node-locate-path=6.0.0-1 node-lodash=4.17.20+dfsg-1 node-lodash-packages=4.17.20+dfsg-1 node-lru-cache=5.1.1-5 node-mem=1.1.0-1 node-merge-descriptors=1.0.1-2 node-mimic-fn=3.0.0-1 node-minimatch=3.0.4+~3.0.3-1 node-minimist=1.2.5+~1.2.1-1 node-mkdirp=1.0.4-3 node-ms=2.1.2+~cs0.7.31-1 node-normalize-path=3.0.0-2 node-npm-run-path=2.0.2-2 node-object-assign=4.1.1-3 node-object-inspect=1.5.0-2 node-once=1.4.0-3 node-optionator=0.8.3+dfsg-2 node-os-locale=4.0.0-1 node-p-finally=1.0.0-2 node-p-limit=3.0.2-1 node-p-locate=5.0.0-1 node-path-dirname=1.0.2-1 node-path-exists=4.0.0-2 node-path-is-absolute=2.0.0-1 node-path-is-inside=1.0.2-1 node-prelude-ls=1.2.1+dfsg-1 node-process-nextick-args=2.0.0-1 node-progress=2.0.3-1 node-pump=3.0.0-4 node-punycode=2.1.1-3 node-readable-stream=3.4.0-2 node-readdirp=3.5.0-2 node-regenerate=1.4.2-2 node-regenerate-unicode-properties=8.2.0+ds-1 node-repeat-string=1.6.1-1 node-require-directory=2.1.1-1 node-require-main-filename=2.0.0-1 node-resolve=1.18.1-1 node-resumer=0.0.0-3 node-rimraf=2.6.3-1 node-safe-buffer=5.2.1+~cs2.1.2-1 node-semver=7.3.2-1 node-set-blocking=2.0.0-1 node-set-immediate-shim=2.0.0-1 node-shebang-command=1.2.0-1 node-shebang-regex=3.0.0-1 node-should=13.2.3~dfsg-4 node-signal-exit=3.0.3-1 node-source-map=0.7.0++dfsg2+really.0.6.1-4 node-source-map-support=0.5.19+ds-2 node-sprintf-js=1.1.2+ds1-1 node-string-decoder=1.3.0-1 node-string-width=4.2.0-1 node-strip-ansi=6.0.0-2 node-strip-eof=1.0.0-2 node-strip-json-comments=3.1.1-1 node-supports-color=6.1.0-2 node-tape=4.9.1-1 node-through=2.3.8-1 node-to-regex-range=5.0.1-2 node-type-check=0.3.2+dfsg-3 node-typedarray=0.0.6-1 node-uri-js=4.4.0+dfsg-1 node-util-deprecate=1.0.2-1 node-wcwidth.js=1.0.0-1 node-which=2.0.2-2 node-which-module=2.0.0-1 node-wide-align=1.1.3-1 node-wordwrap=1.0.0-2 node-wrap-ansi=4.0.0-2 node-wrappy=1.0.2-1 node-write=2.0.0~5.0.1+~2.0.1+~2.0.0+~1.0.0+~2.0.1-5 node-xtend=4.0.2-1 node-y18n=4.0.0-2 node-yallist=4.0.0-1 node-yargs=15.3.1+repack-1 node-yargs-parser=18.1.3-1 nodejs=12.19.0~dfsg-1 pandoc=2.9.2.1-1+b1 pandoc-data=2.9.2.1-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 shared-mime-info=2.0-1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 util-linux=2.36-3+b2 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201112T152245Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201108T155128Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d node-proxyquire=2.1.3+~1.0.1+~1.0.2-11 && mkdir -p /build/node-proxyquire-qYFfbU && dpkg-source --no-check -x /*.dsc /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2 && chown -R builduser:builduser /build/node-proxyquire-qYFfbU" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605126670" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/node-proxyquire-qYFfbU /tmp/node-proxyquire-2.1.3+~1.0.1+~1.0.2-11_9he5e2u bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.UrUIW8p376 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.UrUIW8p376 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable/main amd64 libfakeroot amd64 1.25.3-1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable/main amd64 fakeroot amd64 1.25.3-1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1102 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4664 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1_amd64.deb ... Unpacking fakeroot (1.25.3-1) ... Setting up libfakeroot:amd64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201112T152245Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201108T155128Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.UrUIW8p376 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201112T152245Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20201112T152245Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201112T152245Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201112T152245Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201112T152245Z unstable/main amd64 Packages [11.5 MB] Fetched 34.2 MB in 28s (1213 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.UrUIW8p376 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d node-proxyquire=2.1.3+~1.0.1+~1.0.2-11 && mkdir -p /build/node-proxyquire-qYFfbU && dpkg-source --no-check -x /*.dsc /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2 && chown -R builduser:builduser /build/node-proxyquire-qYFfbU"' exec /tmp/mmdebstrap.UrUIW8p376 Reading package lists... NOTICE: 'node-proxyquire' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/js-team/node-proxyquire.git Please use: git clone https://salsa.debian.org/js-team/node-proxyquire.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 33.4 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-proxyquire 2.1.3+~1.0.1+~1.0.2-11 (dsc) [3014 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-proxyquire 2.1.3+~1.0.1+~1.0.2-11 (tar) [2080 B] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-proxyquire 2.1.3+~1.0.1+~1.0.2-11 (tar) [2721 B] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-proxyquire 2.1.3+~1.0.1+~1.0.2-11 (tar) [18.6 kB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-proxyquire 2.1.3+~1.0.1+~1.0.2-11 (diff) [6928 B] Fetched 33.4 kB in 0s (362 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'node-proxyquire_2.1.3+~1.0.1+~1.0.2-11.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting node-proxyquire in /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2 dpkg-source: info: unpacking node-proxyquire_2.1.3+~1.0.1+~1.0.2.orig.tar.gz dpkg-source: info: unpacking node-proxyquire_2.1.3+~1.0.1+~1.0.2.orig-Xerror.tar.gz dpkg-source: info: unpacking node-proxyquire_2.1.3+~1.0.1+~1.0.2.orig-Xkeys.tar.gz dpkg-source: info: unpacking node-proxyquire_2.1.3+~1.0.1+~1.0.2-11.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 2001_privacy.patch dpkg-source: info: applying ship_typescript_definitions.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605126670" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.UrUIW8p376 dpkg-buildpackage: info: source package node-proxyquire dpkg-buildpackage: info: source version 2.1.3+~1.0.1+~1.0.2-11 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Julien Puydt dpkg-source --before-build . debian/rules clean dh clean debian/rules override_dh_clean make[1]: Entering directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' dh_clean -- README.html README.txt make[1]: Leaving directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i debian/rules override_dh_auto_build make[1]: Entering directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' pandoc --from gfm-raw_html --to html --standalone --output README.html README.md [WARNING] This document format requires a nonempty element. Defaulting to 'README' as the title. To specify a title, use 'title' in metadata or --metadata title="...". pandoc --from gfm-raw_html --to plain --output README.txt README.md dh override_dh_auto_build make[1]: Leaving directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' debian/rules override_dh_auto_test make[1]: Entering directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' eslint --format tap --no-eslintrc --env es6,node --no-inline-config '**/*.js' TAP version 13 1..59 ok 1 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/api/api-test.js ok 2 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/api/samples/bar.js ok 3 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/api/samples/foo.js ok 4 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/api/samples/stats.js ok 5 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/async/foo-tests.js ok 6 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/async/foo.js ok 7 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/example-utils.js ok 8 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/simple/foo.inlineoverride.test.js ok 9 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/simple/foo.js ok 10 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/simple/foo.test.js ok 11 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/sinon/foo-tests.js ok 12 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/examples/sinon/foo.js ok 13 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/index.js ok 14 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/lib/is.js ok 15 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/lib/proxyquire-error.js ok 16 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/lib/proxyquire.js ok 17 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-api.js ok 18 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-argumentvalidation.js ok 19 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-cache.js ok 20 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-compat.js ok 21 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-extensions.js ok 22 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-global.js ok 23 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-independence.js ok 24 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-non-object.js ok 25 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-notexisting.js ok 26 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-relative-paths.js ok 27 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-remove.js ok 28 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-sub-dependencies.js ok 29 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire.js ok 30 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/bar.js ok 31 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/boof.js ok 32 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/cache/bar.js ok 33 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/cache/foo.js ok 34 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/extensions.js ok 35 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/foo-singleton.js ok 36 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/foo.js ok 37 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/fooarray.js ok 38 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/foobool.js ok 39 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/foonum.js ok 40 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/global/bar.js ok 41 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/global/baz.js ok 42 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/global/foo-deferred.js ok 43 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/global/foo.js ok 44 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/no-call-thru-test/index.js ok 45 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/no-call-thru-test/required.js ok 46 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/notexisting/foo-relative.js ok 47 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/notexisting/foo.js ok 48 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/relative-paths/a/index.js ok 49 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/relative-paths/a/util.js ok 50 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/relative-paths/b/index.js ok 51 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/relative-paths/b/util.js ok 52 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/stats.js ok 53 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/sub-dependencies/bar.js ok 54 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/sub-dependencies/baz.js ok 55 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/samples/sub-dependencies/foo.js ok 56 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/Xerror/index.js ok 57 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/Xerror/test.js ok 58 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/Xkeys/index.js ok 59 - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/Xkeys/test.js tape Xerror/test.js Xkeys/test.js | debian/tap-todo \ 'should be equal' TAP version 13 # (anonymous) # TODO: not ok 1 should be equal # skipped 1 # skip-patterns 1 mkdir -p debian/node_modules ln --force --symbolic ../../Xerror debian/node_modules/module-not-found-error 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 {} + 1..67 ok 1 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 2 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 3 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 4 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 5 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 6 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 7 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 8 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 9 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 10 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 11 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 12 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 13 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 14 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 15 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 16 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 17 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 18 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 19 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 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 boofber stub as boof. foo is required 1 times 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 boofber stub as boof. foo's boof is boofber foo.boof == boofber 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 foonumber stub as foonum. foo is required 1 times 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 foonumber stub as foonum. foo's foonum is foonumber foo.foonum == foonumber 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 fooboolber stub as foobool. foo is required 1 times 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 fooboolber stub as foobool. foo's foobool is fooboolber foo.foobool == fooboolber 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 fooarray. foo is required 1 times ok 27 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 28 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 29 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 30 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 31 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 32 Illegal parameters to resolve give meaningful errors when I pass no request throws an exception explaining that a request path must be provided ok 33 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 34 Illegal parameters to resolve give meaningful errors when I pass no stubs throws an exception explaining that resolve without stubs makes no sense ok 35 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 36 Illegal parameters to resolve give meaningful errors when I pass an undefined stub throws an exception with the stub key ok 37 When resolving foo that requires stubbed /not/existing/bar.json throws an error ok 38 When resolving foo that requires stubbed /not/existing/bar.json with @noCallThru resolves foo with stubbed bar ok 39 When resolving foo that requires stubbed /not/existing/bar.json with noCallThru() resolves foo with stubbed bar ok 40 When resolving foo-relative that requires relative stubbed ../not/existing/bar.json with @noCallThru resolves foo-relative with stubbed bar ok 41 When resolving foo that requires bar and stubbed baz where bar requires unstubbed baz does not stub baz in bar ok 42 When resolving foo that requires bar and stubbed baz where bar requires unstubbed baz does not affect a normal baz import ok 43 When resolving foo that requires nulled file package throws an error ok 44 When resolving foo that optionally requires nulled crypto package catches when resolving crypto ok 45 Proxyquire load() defaults to preserving the cache ok 46 Proxyquire load() does not pollute the cache when module is proxyquired before it is loaded ok 47 Proxyquire preserveCache() returns a reference to itself, so it can be chained ok 48 Proxyquire preserveCache() has Proxyquire restore the cache for the module ok 49 Proxyquire preserveCache() allows Singletons to function properly ok 50 Proxyquire noPreserveCache() returns a reference to itself, so it can be chained ok 51 Proxyquire noPreserveCache() forces subsequent requires to reload the proxied module ok 52 Proxyquire noPreserveCache() deletes the require.cache for the module being stubbed ok 53 Proxyquire noPreserveCache() deletes the require.cache for the stubs ok 54 Proxyquire noPreserveCache() silences errors when stub lookups fail ok 55 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 56 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 57 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 58 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 59 When requiring relative paths, they should be relative to the proxyrequired module should return the correct result ok 60 when I require stubs with different extensions intercepts [] object ok 61 when I require stubs with different extensions intercepts [] function ok 62 when I require stubs with different extensions intercepts [.json] object ok 63 when I require stubs with different extensions intercepts [.node] object ok 64 when I try to use compat mode should let me know that I need to fix my code or downgrade ok 65 api default export proxyquire can load ok 66 api default export proxyquire can callThru and then load ok 67 api default export proxyquire can noCallThru and then load # tests 67 # pass 67 # fail 0 NODE_PATH=debian/node_modules \ mocha --reporter tap --no-config --no-opts --no-package --no-timeout --require should test/proxyquire-global.js | debian/tap-todo \ '^global flags set should not throw when a native module is required a second time\Z' 1..5 ok 1 global flags set should override require globally ok 2 global flags set should override require globally even when require's execution is deferred # TODO: not ok 3 global flags set should not throw when a native module is required a second time Cannot find module 'native-hello-world' Require stack: - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-global.js - /usr/share/nodejs/mocha/lib/mocha.js - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js - /usr/share/nodejs/mocha/lib/cli/options.js - /usr/share/nodejs/mocha/bin/mocha Error: Cannot find module 'native-hello-world' Require stack: - /build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2/test/proxyquire-global.js - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js - /usr/share/nodejs/mocha/lib/cli/options.js - /usr/share/nodejs/mocha/bin/mocha at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15) at Proxyquire._withoutCache (lib/proxyquire.js:208:29) at Proxyquire.load (lib/proxyquire.js:129:15) at Context.<anonymous> (test/proxyquire-global.js:48:5) at callFn (/usr/share/nodejs/mocha/lib/runnable.js:395:21) at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:382:7) at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:541:10) at /usr/share/nodejs/mocha/lib/runner.js:667:12 at next (/usr/share/nodejs/mocha/lib/runner.js:450:14) at /usr/share/nodejs/mocha/lib/runner.js:460:7 at next (/usr/share/nodejs/mocha/lib/runner.js:362:14) at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:428:5) at processImmediate (internal/timers.js:461:21) ok 4 global flags not set should not override require globally ok 5 global flags not set should not override require globally even when require's execution is deferred # tests 5 # pass 4 # fail 1 # skipped 1 # skip-patterns 1 make[1]: Leaving directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' create-stamp debian/debhelper-build-stamp dh_testroot -i dh_prep -i dh_install -i debian/rules override_dh_installdocs make[1]: Entering directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' dh_installdocs --all -- README.html README.txt make[1]: Leaving directory '/build/node-proxyquire-qYFfbU/node-proxyquire-2.1.3+-1.0.1+-1.0.2' dh_installchangelogs -i dh_installexamples -i dh_perl -i dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'node-proxyquire' in '../node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/node-proxyquire-qYFfbU /tmp/node-proxyquire-2.1.3+~1.0.1+~1.0.2-11_9he5e2u I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.UrUIW8p376... I: success in 520.6042 seconds md5: node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.deb: OK sha1: node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.deb: OK sha256: node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.deb: OK Checksums: OK