Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mocha.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-251d3912954dbd8a15e812a4e7701eb5cb9ff67f/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/mocha.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/mocha-1.18.2-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mocha.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-251d3912954dbd8a15e812a4e7701eb5cb9ff67f/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/mocha.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.o6VpAd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/mocha-1.18.2.tgz + /usr/bin/tar -xf - + 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-1.18.2.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /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/support-1.18.2.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (nodejs-mocha-1.8.1-node-dep.patch): + echo 'Patch #0 (nodejs-mocha-1.8.1-node-dep.patch):' + /usr/bin/cat /builddir/build/SOURCES/nodejs-mocha-1.8.1-node-dep.patch + /usr/bin/patch -p1 --fuzz=0 patching file package.json + cp -p /builddir/build/SOURCES/LICENSE . + /usr/lib/rpm/nodejs-fixdep commander '~2.0' + /usr/lib/rpm/nodejs-fixdep growl '~1.7' + /usr/lib/rpm/nodejs-fixdep jade '>=0.26.3' + /usr/lib/rpm/nodejs-fixdep diff 1.0.x + /usr/lib/rpm/nodejs-fixdep glob '~3.2' + /usr/lib/rpm/nodejs-fixdep mkdirp '~0.3' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RMQxG5 + umask 022 + cd /builddir/build/BUILD + cd package Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8AEkh1 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch + cd package + mkdir -p /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha + cp -pr package.json index.js lib/ mocha.css mocha.js /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha + rm -f /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/lib/template.html + rm -rf /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/lib/reporters/templates + mkdir -p /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/bin + install -p -D -m0755 bin/mocha /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/bin/mocha + install -p -D -m0755 bin/_mocha /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/bin/_mocha + mkdir -p /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/bin + ln -sf /usr/lib/node_modules/mocha/bin/mocha /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/bin/mocha + ln -sf /usr/lib/node_modules/diff/diff.js /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/lib/browser/diff.js + mkdir -p /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/share/mocha/images + cp -pr images/error.png images/ok.png /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/share/mocha/images + ln -sf /usr/share/mocha/images /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/images + cp -pr lib/template.html /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/share/mocha + ln -sf /usr/share/mocha/template.html /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/lib/template.html + cp -pr lib/reporters/templates /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/share/mocha + ln -sf /usr/share/mocha/templates /builddir/build/BUILDROOT/mocha-1.18.2-1.el7.noarch/usr/lib/node_modules/mocha/lib/reporters/templates + /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.kPQgQ6 + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + ./bin/mocha --reporter dot test/acceptance/context.js test/acceptance/diffs.js test/acceptance/duration.js test/acceptance/fs.js test/acceptance/globals.js test/acceptance/http.js test/acceptance/multiple.done.js test/acceptance/pending.js test/acceptance/required-tokens.js test/acceptance/root.js test/acceptance/timeout.js test/acceptance/uncaught.js test/acceptance/utils.js --growl test/grep.js test/hook.async.js test/hook.err.js test/hook.sync.js test/hook.sync.nested.js test/hook.timeout.js test/http.meta.2.js test/http.meta.js test/runnable.js test/runner.js test/suite.js test/utils.js (node:19808) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. ��� 0 passing (102ms) 1 failing 1) "before all" hook: Uncaught Error: listen EADDRINUSE :::8889 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1258:14) at listen (net.js:1294:10) at Server.listen (net.js:1390:5) at Object. (/builddir/build/BUILD/package/test/http.meta.js:22:8) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at /builddir/build/BUILD/package/lib/mocha.js:172:27 at Array.forEach (native) at Mocha.loadFiles (/builddir/build/BUILD/package/lib/mocha.js:169:14) at Mocha.run (/builddir/build/BUILD/package/lib/mocha.js:356:31) at Object. (/builddir/build/BUILD/package/bin/_mocha:359:16) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:502:3 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.kPQgQ6 (%check) Bad exit status from /var/tmp/rpm-tmp.kPQgQ6 (%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/mocha.spec