Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-cross-spawn.spec'], user='mockbuild'logger=nspawn_args=[]chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-6122/root'timeout=0printOutput=Falseenv={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}shell=Falseuid=1001gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-cross-spawn.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-cross-spawn-5.1.0-1.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-cross-spawn.spec'], user='mockbuild'logger=nspawn_args=[]chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-6122/root'timeout=0printOutput=Falseenv={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}shell=Falseuid=1001gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-cross-spawn.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c2iVdT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/cross-spawn-5.1.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd package + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tests-5.1.0.tar.bz2 + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2017-04-19 15:54 test/ -rw-rw-r-- root/root 160 2017-04-19 15:54 test/.eslintrc drwxrwxr-x root/root 0 2017-04-19 15:54 test/fixtures/ -rwxrwxr-x root/root 23 2017-04-19 15:54 test/fixtures/()%!^&;, .bat -rwxrwxr-x root/root 22 2017-04-19 15:54 test/fixtures/bar space -rwxrwxr-x root/root 19 2017-04-19 15:54 test/fixtures/bar space.bat -rwxrwxr-x root/root 162 2017-04-19 15:54 test/fixtures/echo.js -rwxrwxr-x root/root 33 2017-04-19 15:54 test/fixtures/exit.js -rwxrwxr-x root/root 20 2017-04-19 15:54 test/fixtures/exit1 -rwxrwxr-x root/root 7 2017-04-19 15:54 test/fixtures/exit1.bat -rwxrwxr-x root/root 22 2017-04-19 15:54 test/fixtures/foo -rwxrwxr-x root/root 19 2017-04-19 15:54 test/fixtures/foo.bat -rwxrwxr-x root/root 26 2017-04-19 15:54 test/fixtures/prepare_()%!^&;, .sh -rwxrwxr-x root/root 76 2017-04-19 15:54 test/fixtures/shebang -rwxrwxr-x root/root 55 2017-04-19 15:54 test/fixtures/shebang_enoent -rw-rw-r-- root/root 369 2017-04-19 15:54 test/fixtures/win-ppid.js -rw-rw-r-- root/root 1273 2017-04-19 15:54 test/prepare.js -rw-rw-r-- root/root 20979 2017-04-19 15:54 test/test.js drwxrwxr-x root/root 0 2017-04-19 15:54 test/util/ -rw-rw-r-- root/root 1239 2017-04-19 15:54 test/util/buffered.js + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qpN0bO + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NSYpaJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64 + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/lib/node_modules/cross-spawn + cp -pr package.json index.js lib/ /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/lib/node_modules/cross-spawn + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --ver-rel 5.1.0-1.fc27 --unique-debug-arch x86_64 --unique-debug-src-base nodejs-cross-spawn --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/package find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.v5V6rE + 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/prepare Copied "prepare_()%!^&;, .sh" to "()%!^&;, " + NODE_ENV=test + /usr/bin/mocha -R spec --bail test/test cross-spawn spawn ✓ should support shebang in executables with /usr/bin/env (121ms) ✓ should support shebang in executables with relative path (56ms) ✓ should support shebang in executables with relative path that starts with `..` (60ms) ✓ should support shebang in executables with extensions (106ms) ✓ should expand using PATHEXT properly ✓ should handle commands with spaces ✓ should handle commands with special shell chars ✓ should handle arguments with quotes (51ms) ✓ should handle empty arguments (53ms) ✓ should handle non-string arguments (50ms) ✓ should handle arguments with spaces (50ms) ✓ should handle arguments with \" (52ms) ✓ should handle arguments that end with \ (52ms) ✓ should handle arguments that contain shell special chars (52ms) ✓ should handle special arguments when using echo ✓ should handle optional args correctly ✓ should not mutate args nor options ✓ should give correct exit code (43ms) ✓ should work with a relative command ✓ should emit "error" and "close" if command does not exist (1008ms) ✓ should NOT emit "error" if shebang command does not exist (1005ms) ✓ should NOT emit "error" if the command actual exists but exited with 1 (1005ms) ✓ should use nodejs' spawn when option.shell is specified sync ✓ should support shebang in executables with /usr/bin/env (108ms) ✓ should support shebang in executables with relative path (56ms) ✓ should support shebang in executables with relative path that starts with `..` (56ms) ✓ should support shebang in executables with extensions (110ms) ✓ should expand using PATHEXT properly ✓ should handle commands with spaces ✓ should handle commands with special shell chars ✓ should handle arguments with quotes (57ms) ✓ should handle empty arguments (59ms) ✓ should handle non-string arguments (54ms) ✓ should handle arguments with spaces (54ms) ✓ should handle arguments with \" (54ms) ✓ should handle arguments that end with \ (53ms) ✓ should handle arguments that contain shell special chars (55ms) ✓ should handle special arguments when using echo ✓ should handle optional args correctly ✓ should not mutate args nor options ✓ should give correct exit code (46ms) ✓ should work with a relative command ✓ should emit "error" and "close" if command does not exist ✓ should NOT emit "error" if shebang command does not exist ✓ should NOT emit "error" if the command actual exists but exited with 1 ✓ should use nodejs' spawn when option.shell is specified 46 passing (5s) + exit 0 Processing files: nodejs-cross-spawn-5.1.0-1.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0zzRlN + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/share/doc/nodejs-cross-spawn + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/share/doc/nodejs-cross-spawn + cp -pr CHANGELOG.md README.md /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/share/doc/nodejs-cross-spawn + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4BnmgW + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/share/licenses/nodejs-cross-spawn + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/share/licenses/nodejs-cross-spawn + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64/usr/share/licenses/nodejs-cross-spawn + exit 0 Provides: nodejs-cross-spawn = 5.1.0-1.fc27 npm(cross-spawn) = 5.1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: nodejs(engine) npm(lru-cache) >= 4.0.1 npm(lru-cache) < 5 npm(shebang-command) >= 1.2.0 npm(shebang-command) < 2 npm(which) >= 1.2.9 npm(which) < 2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64 Wrote: /builddir/build/RPMS/nodejs-cross-spawn-5.1.0-1.fc27.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hVZgr5 + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-cross-spawn-5.1.0-1.fc27.x86_64 + exit 0 Child return code was: 0