Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-for-each.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024714.971992/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.qz09ru55:/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.qz09ru55:/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', '96a0b21a20ef460bad8ed9f86616fd2a', '-D', '/var/lib/mock/epel-8-x86_64-1589024714.971992/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qz09ru55:/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-for-each.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-for-each-0.3.2-5.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-for-each.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024714.971992/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.qz09ru55:/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.qz09ru55:/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', '8d1a988d2106412e8ad51d028313d3a0', '-D', '/var/lib/mock/epel-8-x86_64-1589024714.971992/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qz09ru55:/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-for-each.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.zecGIn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/for-each-0.3.2.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yaSQzw + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MVcqrF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64 + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/lib/node_modules/for-each + cp -pr package.json index.js /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/lib/node_modules/for-each + /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 0.3.2-5.el8 --unique-debug-suffix -0.3.2-5.el8.x86_64 --unique-debug-src-base nodejs-for-each-0.3.2-5.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.uQ3OAO + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node -e 'require("./")' + /usr/bin/node test/test.js TAP version 13 # forEach calls each iterator ok 1 should be equal ok 2 should be equal ok 3 should be equal ok 4 should be equal # forEach calls iterator with correct this value ok 5 should be equal # second argument: iterator ok 6 undefined is not a function ok 7 null is not a function ok 8 string is not a function ok 9 regex is not a function ok 10 true is not a function ok 11 false is not a function ok 12 NaN is not a function ok 13 42 is not a function ok 14 function is a function ok 15 setTimeout is a function # array # iterates over every item ok 16 iterates 3 times # first iterator argument ok 17 item 0 is passed as first argument ok 18 item 1 is passed as first argument ok 19 item 2 is passed as first argument # second iterator argument ok 20 index 0 is passed as second argument ok 21 index 1 is passed as second argument ok 22 index 2 is passed as second argument # third iterator argument ok 23 array is passed as third argument ok 24 array is passed as third argument ok 25 array is passed as third argument # context argument # object # iterates over every object literal key ok 26 iterated 3 times # iterates only over own keys ok 27 iterated 2 times # first iterator argument ok 28 item at key a is passed as first argument ok 29 item at key b is passed as first argument ok 30 item at key c is passed as first argument # second iterator argument ok 31 key a is passed as second argument ok 32 key b is passed as second argument ok 33 key c is passed as second argument # third iterator argument ok 34 object is passed as third argument ok 35 object is passed as third argument ok 36 object is passed as third argument # context argument # string # second iterator argument ok 37 index 0 is passed as second argument ok 38 should be equal ok 39 index 1 is passed as second argument ok 40 should be equal ok 41 index 2 is passed as second argument ok 42 should be equal ok 43 iterates 3 times 1..43 # tests 43 # pass 43 # ok + exit 0 Processing files: nodejs-for-each-0.3.2-5.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pFKrkY + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/share/doc/nodejs-for-each + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/share/doc/nodejs-for-each + cp -pr README.md /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/share/doc/nodejs-for-each + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xr8047 + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/share/licenses/nodejs-for-each + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/share/licenses/nodejs-for-each + cp -pr LICENCE /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64/usr/share/licenses/nodejs-for-each + exit 0 Provides: nodejs-for-each = 0.3.2-5.el8 npm(for-each) = 0.3.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (npm(is-function) >= 1.0.0 with npm(is-function) < 1.1) nodejs(engine) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64 Wrote: /builddir/build/RPMS/nodejs-for-each-0.3.2-5.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b9Gsai + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-for-each-0.3.2-5.el8.x86_64 + exit 0 Child return code was: 0