Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/nodejs-relateurl.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-ee048df19ba3201a2ac29a207ebe0df493a54f04/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-relateurl.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-relateurl-0.2.5-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-relateurl.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-ee048df19ba3201a2ac29a207ebe0df493a54f04/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-relateurl.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.OeZ0fK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/relateurl-0.2.5.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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0y3Vns + umask 022 + cd /builddir/build/BUILD + cd package Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4Sbir9 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-relateurl-0.2.5-3.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-relateurl-0.2.5-3.el7.noarch ++ dirname /builddir/build/BUILDROOT/nodejs-relateurl-0.2.5-3.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-relateurl-0.2.5-3.el7.noarch + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-relateurl-0.2.5-3.el7.noarch/usr/lib/node_modules/relateurl + cp -pr package.json lib /builddir/build/BUILDROOT/nodejs-relateurl-0.2.5-3.el7.noarch/usr/lib/node_modules/relateurl + /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.BY2M7D + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + mocha test/ --bail --reporter spec --check-leaks (node:9190) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. API variations of arguments in reusable instances ��� should support: new RelateUrl(from,options).relate(from,to,options) (96ms) ��� should support: new RelateUrl(from,options).relate(from,to) ��� should support: new RelateUrl(from,options).relate(to,options) ��� should support: new RelateUrl(from,options).relate(to) ��� should support: new RelateUrl(from).relate(from,to,options) ��� should support: new RelateUrl(from).relate(from,to) ��� should support: new RelateUrl(from).relate(to,options) ��� should support: new RelateUrl(from).relate(to) ��� should support: new RelateUrl(null,options).relate(from,to,options) ��� should support: new RelateUrl(null,options).relate(from,to) ��� should support: new RelateUrl(null,options).relate(to,options) ��� should support: new RelateUrl(null,options).relate(to) ��� should support: new RelateUrl().relate(from,to,options) ��� should support: new RelateUrl().relate(from,to) ��� should support: new RelateUrl().relate(to,options) ��� should not support: new RelateUrl(from,options).relate(options) ��� should not support: new RelateUrl(from,options).relate() ��� should not support: new RelateUrl(null,options).relate(options) ��� should not support: new RelateUrl(null,options).relate() ��� should not support: new RelateUrl(from).relate(options) ��� should not support: new RelateUrl(from).relate() ��� should not support: new RelateUrl().relate(to) ��� should not support: new RelateUrl().relate(options) ��� should not support: new RelateUrl().relate() in single-use instances ��� should support: RelateUrl.relate(from,to,options) ��� should support: RelateUrl.relate(from,to) ��� should support: RelateUrl.relate(to,options) ��� should not support: RelateUrl.relate(from) ��� should not support: RelateUrl.relate(options) ��� should not support: RelateUrl.relate() of options ��� should work with reusable instances ��� should work with single-use instances ��� should support options.defaultPorts ��� should support options.directoryIndexes ��� should support options.ignore_www = true ��� should support options.rejectedSchemes ��� should support options.removeAuth = true ��� should support options.removeDirectoryIndexes = false 1) should support options.removeEmptyQueries = true URL variations 38 passing (646ms) 1 failing 1) API variations of options should support options.removeEmptyQueries = true: TypeError: queryObj.hasOwnProperty is not a function at stringify (/builddir/build/BUILD/package/lib/parse/query.js:23:26) at parseQuery (/builddir/build/BUILD/package/lib/parse/query.js:5:29) at Object.parseUrl [as to] (/builddir/build/BUILD/package/lib/parse/index.js:46:2) at RelateUrl.relate (/builddir/build/BUILD/package/lib/index.js:67:16) at /builddir/build/BUILD/package/test/util/index.js:57:27 at traverse (/builddir/build/BUILD/package/test/util/index.js:95:13) at /builddir/build/BUILD/package/test/util/index.js:84:13 at Array.every (native) at traverse (/builddir/build/BUILD/package/test/util/index.js:82:7) at /builddir/build/BUILD/package/test/util/index.js:32:3 at /builddir/build/BUILD/package/test/util/index.js:55:4 at /builddir/build/BUILD/package/test/util/index.js:15:17 at Array.every (native) at eachSite (/builddir/build/BUILD/package/test/util/index.js:13:14) at /builddir/build/BUILD/package/test/util/index.js:44:3 at Array.forEach (native) at processData (/builddir/build/BUILD/package/test/util/index.js:42:43) at Context. (/builddir/build/BUILD/package/test/options.js:466:16) at Test.Runnable.run (/usr/lib/node_modules/mocha/lib/runnable.js:196:15) 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) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.BY2M7D (%check) Bad exit status from /var/tmp/rpm-tmp.BY2M7D (%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-relateurl.spec