Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-function-bind.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024964.436770/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jtgr_xw4:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jtgr_xw4:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5e486d5cc4d74b769d310a9bb3e382b3', '-D', '/var/lib/mock/epel-8-x86_64-1589024964.436770/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jtgr_xw4:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-function-bind.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-function-bind-1.1.1-6.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-function-bind.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024964.436770/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jtgr_xw4:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jtgr_xw4:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f8f8c873981f4bbe96ca3710effde6b0', '-D', '/var/lib/mock/epel-8-x86_64-1589024964.436770/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jtgr_xw4:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-function-bind.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WiQZEL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/function-bind-1.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf node_modules + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C61cw4 + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G9SJnn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64 + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/lib/node_modules/function-bind + cp -pr package.json index.js implementation.js /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/lib/node_modules/function-bind + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.1.1-6.el8 --unique-debug-suffix -1.1.1-6.el8.x86_64 --unique-debug-src-base nodejs-function-bind-1.1.1-6.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/package find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BhVGxG + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node test/index.js TAP version 13 # functionBind is a function ok 1 should be equal # non-functions ok 2 throws when given true ok 3 throws when given false ok 4 throws when given ok 5 throws when given [object Object] ok 6 throws when given 42 ok 7 throws when given foo ok 8 throws when given NaN ok 9 throws when given /a/g # without a context # binds properly ok 10 should be equivalent ok 11 should be equal # binds properly, and still supplies bound arguments ok 12 should be equivalent ok 13 should be equal # returns properly ok 14 returned context is namespaced context ok 15 passed arguments are correct # returns properly with bound arguments ok 16 returned context is namespaced context ok 17 passed arguments are correct # called as a constructor # returns object value ok 18 should be equal # does not return primitive value ok 19 should not be equal # object from bound constructor is instance of original and bound constructor ok 20 result is instance of bound constructor ok 21 result is instance of original constructor # with a context # with no bound arguments ok 22 binds a context properly ok 23 supplies passed arguments # with bound arguments ok 24 binds a context properly ok 25 supplies bound and passed arguments # returns properly ok 26 returned context is bound context ok 27 returned context is not lexical context ok 28 passed arguments are correct # returns properly with bound arguments ok 29 returned context is bound context ok 30 returned context is not lexical context ok 31 passed arguments are correct # passes the correct arguments when called as a constructor ok 32 returns the right arg when called as a constructor # has the new instance's context when called as a constructor ok 33 should be equal ok 34 should not be equal # bound function length # sets a correct length without thisArg ok 35 should be equal ok 36 should be equal # sets a correct length with thisArg ok 37 should be equal ok 38 should be equal # sets a correct length without thisArg and first argument ok 39 should be equal ok 40 should be equal # sets a correct length with thisArg and first argument ok 41 should be equal ok 42 should be equal # sets a correct length without thisArg and too many arguments ok 43 should be equal ok 44 should be equal # sets a correct length with thisArg and too many arguments ok 45 should be equal ok 46 should be equal 1..46 # tests 46 # pass 46 # ok + exit 0 Processing files: nodejs-function-bind-1.1.1-6.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.12jG7Z + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/share/doc/nodejs-function-bind + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/share/doc/nodejs-function-bind + cp -pr README.md /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/share/doc/nodejs-function-bind + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8KNCIj + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/share/licenses/nodejs-function-bind + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/share/licenses/nodejs-function-bind + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64/usr/share/licenses/nodejs-function-bind + exit 0 Provides: nodejs-function-bind = 1.1.1-6.el8 npm(function-bind) = 1.1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64 Wrote: /builddir/build/RPMS/nodejs-function-bind-1.1.1-6.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8SCWED + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-function-bind-1.1.1-6.el8.x86_64 + exit 0 Child return code was: 0