Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/nodejs-sha.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-9251cd8bda9dc00bc6dd8652028d0660a91abdd5/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-sha.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-sha-1.2.1-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/nodejs-sha.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-9251cd8bda9dc00bc6dd8652028d0660a91abdd5/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-sha.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.vg5D9J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/sha-1.2.1.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/gzip -dc /builddir/build/SOURCES/nodejs-sha-1.2.1-253e2df.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv sha-253e2df0d783453c4892d4bc32b8aec5a5a708e6/test . + rm -rf sha-253e2df0d783453c4892d4bc32b8aec5a5a708e6 + sed -i 's/\r//g' README.md + /usr/lib/rpm/nodejs-fixdep graceful-fs 2.0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mVfftN + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HthTNS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch + cd package + rm -rf /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch/usr/lib/node_modules/sha + cp -pr index.js package.json /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch/usr/lib/node_modules/sha + /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.b2J3AK + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + mocha -R list (node:7154) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. get (filename, callback(err, hash)) with a non-existant file results in an error: ��� get (filename, callback(err, hash)) with a non-existant file results in an error: 41ms get (filename, callback(err, hash)) with a file results in the `sha1` hash of the file: ��� get (filename, callback(err, hash)) with a file results in the `sha1` hash of the file: 48ms get (filename, {algorithm: "md5"}, callback(err, hash)) with a non-existant file results in an error: ��� get (filename, {algorithm: "md5"}, callback(err, hash)) with a non-existant file results in an error: 4ms get (filename, {algorithm: "md5"}, callback(err, hash)) with a file results in the `md5` hash of the file: ��� get (filename, {algorithm: "md5"}, callback(err, hash)) with a file results in the `md5` hash of the file: 18ms getSync (filename) with a non-existant file results in an error: ��� getSync (filename) with a non-existant file results in an error: 2ms getSync (filename) with a file results in the `sha1` hash of the file: ��� getSync (filename) with a file results in the `sha1` hash of the file: 7ms getSync (filename, {algorithm: "md5"}) with a non-existant file results in an error: ��� getSync (filename, {algorithm: "md5"}) with a non-existant file results in an error: 1ms getSync (filename, {algorithm: "md5"}) with a file results in the `md5` hash of the file: ��� getSync (filename, {algorithm: "md5"}) with a file results in the `md5` hash of the file: 4ms check (filename, expected, callback(err, hash)) with a non-existant file results in an error: ��� check (filename, expected, callback(err, hash)) with a non-existant file results in an error: 4ms check (filename, expected, callback(err, hash)) with the correct hash results in a `null` error: ��� check (filename, expected, callback(err, hash)) with the correct hash results in a `null` error: 17ms check (filename, expected, callback(err, hash)) with the wrong hash results in an error: ��� check (filename, expected, callback(err, hash)) with the wrong hash results in an error: 17ms check (filename, expected, {algorithm: "md5"}, callback(err, hash)) with a non-existant file results in an error: ��� check (filename, expected, {algorithm: "md5"}, callback(err, hash)) with a non-existant file results in an error: 7ms check (filename, expected, {algorithm: "md5"}, callback(err, hash)) with the correct hash results in a `null` error: ��� check (filename, expected, {algorithm: "md5"}, callback(err, hash)) with the correct hash results in a `null` error: 19ms check (filename, expected, {algorithm: "md5"}, callback(err, hash)) with the wrong hash results in an error: ��� check (filename, expected, {algorithm: "md5"}, callback(err, hash)) with the wrong hash results in an error: 14ms checkSync (filename, expected) with a non-existant file results in an error: ��� checkSync (filename, expected) with a non-existant file results in an error: 2ms checkSync (filename, expected) with the correct hash does not result in an error: ��� checkSync (filename, expected) with the correct hash does not result in an error: 6ms checkSync (filename, expected) with the wrong hash results in an error: ��� checkSync (filename, expected) with the wrong hash results in an error: 6ms checkSync (filename, expected, {algorithm: "md5"}) with a non-existant file results in an error: ��� checkSync (filename, expected, {algorithm: "md5"}) with a non-existant file results in an error: 0ms checkSync (filename, expected, {algorithm: "md5"}) with the correct hash does not result in an error: ��� checkSync (filename, expected, {algorithm: "md5"}) with the correct hash does not result in an error: 4ms checkSync (filename, expected, {algorithm: "md5"}) with the wrong hash results in an error: ��� checkSync (filename, expected, {algorithm: "md5"}) with the wrong hash results in an error: 4ms stream .pipe(sha.stream(expected)) with the correct hash results in pass through: ��� stream .pipe(sha.stream(expected)) with the correct hash results in pass through: 80ms stream .pipe(sha.stream(expected)) with the wrong hash results in an error: ��� stream .pipe(sha.stream(expected)) with the wrong hash results in an error: 31ms stream .pipe(sha.stream(expected, {algorithm: "md5"})) with the correct hash results in a `null` error: ��� stream .pipe(sha.stream(expected, {algorithm: "md5"})) with the correct hash results in a `null` error: 51ms stream .pipe(sha.stream(expected, {algorithm: "md5"})) with the wrong hash results in an error: ��� stream .pipe(sha.stream(expected, {algorithm: "md5"})) with the wrong hash results in an error: 26ms 24 passing (641ms) + exit 0 Processing files: nodejs-sha-1.2.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5RX0bz + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch/usr/share/doc/nodejs-sha-1.2.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch/usr/share/doc/nodejs-sha-1.2.1 + cp -pr README.md /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch/usr/share/doc/nodejs-sha-1.2.1 + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch/usr/share/doc/nodejs-sha-1.2.1 + exit 0 Provides: nodejs-sha = 1.2.1-1.el7 npm(sha) = 1.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: nodejs(engine) npm(graceful-fs) >= 2.0 npm(graceful-fs) < 2.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch Wrote: /builddir/build/RPMS/nodejs-sha-1.2.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5Onb8e + umask 022 + cd /builddir/build/BUILD + cd package + rm -rf /builddir/build/BUILDROOT/nodejs-sha-1.2.1-1.el7.noarch + exit 0 Child return code was: 0