Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-follow-redirects.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-6036/root'gid=135user='mockbuild'uid=1001nspawn_args=[]env={'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}logger=shell=Falsetimeout=0printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-follow-redirects.spec'] with env {'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-follow-redirects-1.2.3-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-follow-redirects.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-6036/root'gid=135user='mockbuild'uid=1001nspawn_args=[]env={'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}logger=shell=Falsetimeout=0printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-follow-redirects.spec'] with env {'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VvqnOZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/follow-redirects-1.2.3.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-1.2.3.tar.bz2 + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2017-04-13 20:24 test/ -rw-rw-r-- root/root 31 2017-04-13 20:24 test/.jscsrc drwxrwxr-x root/root 0 2017-04-13 20:24 test/lib/ -rw-rw-r-- root/root 1123 2017-04-13 20:24 test/lib/TestCA.crt -rw-rw-r-- root/root 1675 2017-04-13 20:24 test/lib/TestCA.pem -rw-rw-r-- root/root 1127 2017-04-13 20:24 test/lib/TestClient.crt -rw-rw-r-- root/root 1675 2017-04-13 20:24 test/lib/TestClient.pem -rw-rw-r-- root/root 1123 2017-04-13 20:24 test/lib/TestServer.crt -rw-rw-r-- root/root 1679 2017-04-13 20:24 test/lib/TestServer.pem -rw-rw-r-- root/root 2092 2017-04-13 20:24 test/lib/test-server.js -rw-rw-r-- root/root 943 2017-04-13 20:24 test/lib/util.js -rw-rw-r-- root/root 20642 2017-04-13 20:24 test/test-with-server.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.MhUVsY + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hThY7W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64 + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/lib/node_modules/follow-redirects + cp -pr package.json http.js https.js index.js /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/lib/node_modules/follow-redirects + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --ver-rel 1.2.3-1.fc27 --unique-debug-arch x86_64 --unique-debug-src-base nodejs-follow-redirects --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.2A1A8V + 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/mocha -R spec follow-redirects ✓ http.get with callback (54ms) ✓ http.get with response event ✓ should return with the original status code if the response does not contain a location header ✓ should emit connection errors on the returned stream ✓ should emit socket events on the returned stream ✓ should follow redirects over https ✓ should honor query params in redirects ✓ should allow aborting ✓ should provide flushHeaders ✓ should provide setNoDelay ✓ should provide setSocketKeepAlive ✓ should provide setTimeout ✓ should support writing into request stream without redirects ✓ should support writing into request stream with redirects ✓ should support piping into request stream without redirects ✓ should support piping into request stream with redirects ✓ should support piping into request stream with explicit Content-Length without redirects ✓ should support piping into request stream with explicit Content-Length with redirects should obey a `maxRedirects` property ✓ which defaults to 21 (66ms) ✓ which can be set globally ✓ set as an option on an individual request should switch to safe methods when appropriate when redirecting with status code 300 ✓ should reuse GET ✓ should reuse HEAD ✓ should reuse OPTIONS ✓ should reuse TRACE ✓ should switch from POST to GET ✓ should switch from PUT to GET when redirecting with status code 301 ✓ should reuse GET ✓ should reuse HEAD ✓ should reuse OPTIONS ✓ should reuse TRACE ✓ should switch from POST to GET ✓ should switch from PUT to GET when redirecting with status code 302 ✓ should reuse GET ✓ should reuse HEAD ✓ should reuse OPTIONS ✓ should reuse TRACE ✓ should switch from POST to GET ✓ should switch from PUT to GET when redirecting with status code 303 ✓ should reuse GET ✓ should reuse HEAD ✓ should reuse OPTIONS ✓ should reuse TRACE ✓ should switch from POST to GET ✓ should switch from PUT to GET when redirecting with status code 307 ✓ should reuse GET ✓ should reuse HEAD ✓ should reuse OPTIONS ✓ should reuse TRACE ✓ should reuse POST ✓ should reuse PUT should handle cross protocol redirects ✓ (https -> http -> https) ✓ (http -> https -> http) should drop the entity and associated headers ✓ when switching from POST to GET ✓ when switching from PUT to GET when redirecting to a different host while the host header is set ✓ uses the new host header when the followRedirects option is set to false ✓ does not redirect should choose the right agent per protocol ✓ (https -> http -> https) 58 passing (534ms) + exit 0 Processing files: nodejs-follow-redirects-1.2.3-1.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TusPKY + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/share/doc/nodejs-follow-redirects + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/share/doc/nodejs-follow-redirects + cp -pr README.md /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/share/doc/nodejs-follow-redirects + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Wgolo1 + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/share/licenses/nodejs-follow-redirects + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/share/licenses/nodejs-follow-redirects + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64/usr/share/licenses/nodejs-follow-redirects + exit 0 Provides: nodejs-follow-redirects = 1.2.3-1.fc27 npm(follow-redirects) = 1.2.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: nodejs(engine) npm(debug) >= 2.4.5 npm(debug) < 3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64 Wrote: /builddir/build/RPMS/nodejs-follow-redirects-1.2.3-1.fc27.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hiQUl4 + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-follow-redirects-1.2.3-1.fc27.x86_64 + exit 0 Child return code was: 0