Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/nodejs-registry-url.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-cd9ca480ef069fa877656f04ffb753d43143bc03/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/nodejs-registry-url.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/nodejs-registry-url-2.0.0-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/nodejs-registry-url.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-cd9ca480ef069fa877656f04ffb753d43143bc03/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/nodejs-registry-url.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SEAdHe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/registry-url-2.0.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf node_modules + cp -p /builddir/build/SOURCES/license /builddir/build/SOURCES/test.js . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qeqzSn + umask 022 + cd /builddir/build/BUILD + cd package Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y3dCEv + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-registry-url-2.0.0-3.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-registry-url-2.0.0-3.el7.noarch ++ dirname /builddir/build/BUILDROOT/nodejs-registry-url-2.0.0-3.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-registry-url-2.0.0-3.el7.noarch + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-registry-url-2.0.0-3.el7.noarch/usr/lib/node_modules/registry-url + cp -pr package.json index.js test.js /builddir/build/BUILDROOT/nodejs-registry-url-2.0.0-3.el7.noarch/usr/lib/node_modules/registry-url + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/package /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uQ2rjz + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + mocha (node:30370) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. ������ 0 passing (136ms) 2 failing 1) should get the npm registry URL globally: TypeError: Cannot read property 'getFileName' of undefined at module.exports (/usr/lib/node_modules/caller-path/index.js:5:25) at module.exports (/usr/lib/node_modules/require-uncached/index.js:11:42) at Context. (/builddir/build/BUILD/package/test.js:7:9) at callFn (/usr/lib/node_modules/mocha/lib/runnable.js:223:21) at Test.Runnable.run (/usr/lib/node_modules/mocha/lib/runnable.js:216:7) at Runner.runTest (/usr/lib/node_modules/mocha/lib/runner.js:374:10) at /usr/lib/node_modules/mocha/lib/runner.js:452:12 at next (/usr/lib/node_modules/mocha/lib/runner.js:299:14) at /usr/lib/node_modules/mocha/lib/runner.js:309:7 at next (/usr/lib/node_modules/mocha/lib/runner.js:247:23) at Immediate. (/usr/lib/node_modules/mocha/lib/runner.js:276:5) at runCallback (timers.js:672:20) at tryOnImmediate (timers.js:645:5) at processImmediate [as _immediateCallback] (timers.js:617:5) 2) should get the npm registry URL locally: Uncaught TypeError: Cannot read property 'getFileName' of undefined at module.exports (/usr/lib/node_modules/caller-path/index.js:5:25) at module.exports (/usr/lib/node_modules/require-uncached/index.js:11:42) at /builddir/build/BUILD/package/test.js:13:10 at FSReqWrap.oncomplete (fs.js:123:15) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.uQ2rjz (%check) Bad exit status from /var/tmp/rpm-tmp.uQ2rjz (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/nodejs-registry-url.spec