Mock Version: 1.4.4 Mock Version: 1.4.4 Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'], chrootPath='/var/lib/mock/603596-fedora-rawhide-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--private-network']printOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'], chrootPath='/var/lib/mock/603596-fedora-rawhide-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--private-network']printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-proxy-addr-2.0.1-1.fc28.src.rpm Wrote: /builddir/build/SRPMS/nodejs-proxy-addr-2.0.1-1.fc28.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'], chrootPath='/var/lib/mock/603596-fedora-rawhide-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'], chrootPath='/var/lib/mock/603596-fedora-rawhide-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-proxy-addr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v9jbrK Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v9jbrK + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/proxy-addr-2.0.1.tgz + /usr/bin/gzip -dc /builddir/build/SOURCES/proxy-addr-2.0.1.tgz + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd package + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd package + cd package + /usr/bin/tar -xof - + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tests-2.0.1.tar.bz2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tests-2.0.1.tar.bz2 + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/nodejs-fixdep ipaddr.js '^1.0.3' + /usr/lib/rpm/nodejs-fixdep ipaddr.js '^1.0.3' + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jp0qbt Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jp0qbt + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd package + cd package + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wW0XVb Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wW0XVb + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 + rm -rf /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 + mkdir /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 + cd package + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/lib/node_modules/proxy-addr + mkdir -p /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/lib/node_modules/proxy-addr + cp -pr package.json index.js /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/lib/node_modules/proxy-addr + cp -pr package.json index.js /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/lib/node_modules/proxy-addr + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.1-1.fc28 --unique-debug-suffix -2.0.1-1.fc28.x86_64 --unique-debug-src-base nodejs-proxy-addr-2.0.1-1.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/package + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.1-1.fc28 --unique-debug-suffix -2.0.1-1.fc28.x86_64 --unique-debug-src-base nodejs-proxy-addr-2.0.1-1.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/package find: 'debug': No such file or directory find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /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-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ghfqXU Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ghfqXU + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd package + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node -e 'require("./")' + /usr/bin/node -e 'require("./")' + /usr/bin/mocha -R spec --bail --check-leaks test/ + /usr/bin/mocha -R spec --bail --check-leaks test/ proxyaddr(req, trust) proxyaddr(req, trust) arguments arguments req req ✓ should be required ✓ should be required trust trust ✓ should be required ✓ should be required ✓ should accept a function ✓ should accept a function ✓ should accept an array ✓ should accept an array ✓ should accept a string ✓ should accept a string ✓ should reject a number ✓ should reject a number ✓ should accept IPv4 ✓ should accept IPv4 ✓ should accept IPv6 ✓ should accept IPv6 ✓ should accept IPv4-style IPv6 ✓ should accept IPv4-style IPv6 ✓ should accept pre-defined names ✓ should accept pre-defined names ✓ should accept pre-defined names in array ✓ should accept pre-defined names in array ✓ should not alter input array ✓ should not alter input array ✓ should reject non-IP ✓ should reject non-IP ✓ should reject bad CIDR ✓ should reject bad CIDR ✓ should reject bad netmask ✓ should reject bad netmask ✓ should be invoked as trust(addr, i) ✓ should be invoked as trust(addr, i) with all trusted with all trusted ✓ should return socket address with no headers ✓ should return socket address with no headers ✓ should return header value ✓ should return header value ✓ should return furthest header value ✓ should return furthest header value with none trusted with none trusted ✓ should return socket address with no headers ✓ should return socket address with no headers ✓ should return socket address with headers ✓ should return socket address with headers with some trusted with some trusted ✓ should return socket address with no headers ✓ should return socket address with no headers ✓ should return socket address when not trusted ✓ should return socket address when not trusted ✓ should return header when socket trusted ✓ should return header when socket trusted ✓ should return first untrusted after trusted ✓ should return first untrusted after trusted ✓ should not skip untrusted ✓ should not skip untrusted when given array when given array ✓ should accept literal IP addresses ✓ should accept literal IP addresses ✓ should not trust non-IP addresses ✓ should not trust non-IP addresses ✓ should return socket address if none match ✓ should return socket address if none match when array empty when array empty ✓ should return socket address ✓ should return socket address ✓ should return socket address with headers ✓ should return socket address with headers when given IPv4 addresses when given IPv4 addresses ✓ should accept literal IP addresses ✓ should accept literal IP addresses ✓ should accept CIDR notation ✓ should accept CIDR notation ✓ should accept netmask notation ✓ should accept netmask notation when given IPv6 addresses when given IPv6 addresses ✓ should accept literal IP addresses ✓ should accept literal IP addresses ✓ should accept CIDR notation ✓ should accept CIDR notation when IP versions mixed when IP versions mixed ✓ should match respective versions ✓ should match respective versions ✓ should not match IPv4 to IPv6 ✓ should not match IPv4 to IPv6 when IPv4-mapped IPv6 addresses when IPv4-mapped IPv6 addresses ✓ should match IPv4 trust to IPv6 request ✓ should match IPv4 trust to IPv6 request ✓ should match IPv4 netmask trust to IPv6 request ✓ should match IPv4 netmask trust to IPv6 request ✓ should match IPv6 trust to IPv4 request ✓ should match IPv6 trust to IPv4 request ✓ should match CIDR notation for IPv4-mapped address ✓ should match CIDR notation for IPv4-mapped address ✓ should match CIDR notation for IPv4-mapped address mixed with IPv6 CIDR ✓ should match CIDR notation for IPv4-mapped address mixed with IPv6 CIDR ✓ should match CIDR notation for IPv4-mapped address mixed with IPv4 addresses ✓ should match CIDR notation for IPv4-mapped address mixed with IPv4 addresses when given pre-defined names when given pre-defined names ✓ should accept single pre-defined name ✓ should accept single pre-defined name ✓ should accept multiple pre-defined names ✓ should accept multiple pre-defined names when header contains non-ip addresses when header contains non-ip addresses ✓ should stop at first non-ip after trusted ✓ should stop at first non-ip after trusted ✓ should stop at first malformed ip after trusted ✓ should stop at first malformed ip after trusted ✓ should provide all values to function ✓ should provide all values to function when socket address undefined when socket address undefined ✓ should return undefined as address ✓ should return undefined as address ✓ should return undefined even with trusted headers ✓ should return undefined even with trusted headers proxyaddr.all(req, [trust]) proxyaddr.all(req, [trust]) arguments arguments req req ✓ should be required ✓ should be required trust trust ✓ should be optional ✓ should be optional with no headers with no headers ✓ should return socket address ✓ should return socket address with x-forwarded-for header with x-forwarded-for header ✓ should include x-forwarded-for ✓ should include x-forwarded-for ✓ should include x-forwarded-for in correct order ✓ should include x-forwarded-for in correct order with trust argument with trust argument ✓ should stop at first untrusted ✓ should stop at first untrusted ✓ should be only socket address for no trust ✓ should be only socket address for no trust proxyaddr.compile(trust) proxyaddr.compile(trust) arguments arguments trust trust ✓ should be required ✓ should be required ✓ should accept an array ✓ should accept an array ✓ should accept a string ✓ should accept a string ✓ should reject a number ✓ should reject a number ✓ should accept IPv4 ✓ should accept IPv4 ✓ should accept IPv6 ✓ should accept IPv6 ✓ should accept IPv4-style IPv6 ✓ should accept IPv4-style IPv6 ✓ should accept pre-defined names ✓ should accept pre-defined names ✓ should accept pre-defined names in array ✓ should accept pre-defined names in array ✓ should reject non-IP ✓ should reject non-IP ✓ should reject bad CIDR ✓ should reject bad CIDR ✓ should not alter input array ✓ should not alter input array 70 passing (54ms) 70 passing (54ms) + exit 0 + exit 0 Processing files: nodejs-proxy-addr-2.0.1-1.fc28.noarch Processing files: nodejs-proxy-addr-2.0.1-1.fc28.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e7WPPE Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e7WPPE + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd package + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/doc/nodejs-proxy-addr + DOCDIR=/builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/doc/nodejs-proxy-addr + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/doc/nodejs-proxy-addr + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/doc/nodejs-proxy-addr + cp -pr HISTORY.md README.md /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/doc/nodejs-proxy-addr + cp -pr HISTORY.md README.md /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/doc/nodejs-proxy-addr + exit 0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YVmUIo Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YVmUIo + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd package + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/licenses/nodejs-proxy-addr + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/licenses/nodejs-proxy-addr + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export LICENSEDIR + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/licenses/nodejs-proxy-addr + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/licenses/nodejs-proxy-addr + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/licenses/nodejs-proxy-addr + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64/usr/share/licenses/nodejs-proxy-addr + exit 0 + exit 0 Provides: nodejs-proxy-addr = 2.0.1-1.fc28 npm(proxy-addr) = 2.0.1 Provides: nodejs-proxy-addr = 2.0.1-1.fc28 npm(proxy-addr) = 2.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: nodejs(engine) >= 0.10 npm(forwarded) >= 0.1.1 npm(forwarded) < 0.2 npm(ipaddr.js) >= 1.0.3 npm(ipaddr.js) < 2 Requires: nodejs(engine) >= 0.10 npm(forwarded) >= 0.1.1 npm(forwarded) < 0.2 npm(ipaddr.js) >= 1.0.3 npm(ipaddr.js) < 2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 Wrote: /builddir/build/RPMS/nodejs-proxy-addr-2.0.1-1.fc28.noarch.rpm Wrote: /builddir/build/RPMS/nodejs-proxy-addr-2.0.1-1.fc28.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2YD3P8 Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2YD3P8 + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd package + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-proxy-addr-2.0.1-1.fc28.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0