Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/newrelic-nfsiostat.spec'], chrootPath='/var/lib/mock/848474-epel-7-x86_64-1548023513.926674/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hn02dwew:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '400dde4dcba04931adbe99fc87be0bd7', '-D', '/var/lib/mock/848474-epel-7-x86_64-1548023513.926674/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hn02dwew:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/newrelic-nfsiostat.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 BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/newrelic-nfsiostat-0.2.5-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/newrelic-nfsiostat.spec'], chrootPath='/var/lib/mock/848474-epel-7-x86_64-1548023513.926674/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hn02dwew:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b8148afbacbd48f4b63f7dffabbecd51', '-D', '/var/lib/mock/848474-epel-7-x86_64-1548023513.926674/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hn02dwew:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/newrelic-nfsiostat.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 for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y3obp1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/newrelic-nfsiostat-v0.2.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (newrelic-nfsiostat-0.2.5-Fix-NFSv4-support-by-fixing-check-for-readdirplus.patch):' Patch #0 (newrelic-nfsiostat-0.2.5-Fix-NFSv4-support-by-fixing-check-for-readdirplus.patch): + /usr/bin/cat /builddir/build/SOURCES/newrelic-nfsiostat-0.2.5-Fix-NFSv4-support-by-fixing-check-for-readdirplus.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/plugin.py + echo 'Patch #1 (newrelic-nfsiostat-0.2.5-Remove-sysvinit-support.patch):' Patch #1 (newrelic-nfsiostat-0.2.5-Remove-sysvinit-support.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/newrelic-nfsiostat-0.2.5-Remove-sysvinit-support.patch patching file setup.py + echo 'Patch #2 (newrelic-nfsiostat-0.2.5-Dont-install-doc.patch):' Patch #2 (newrelic-nfsiostat-0.2.5-Dont-install-doc.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/newrelic-nfsiostat-0.2.5-Dont-install-doc.patch patching file setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MZikaG + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/newrelicnfs copying src/plugin.py -> build/lib/newrelicnfs copying src/nfsiostat.py -> build/lib/newrelicnfs copying src/_version.py -> build/lib/newrelicnfs copying src/__init__.py -> build/lib/newrelicnfs running build_scripts creating build/scripts-2.7 copying and adjusting scripts/newrelic-nfsiostat -> build/scripts-2.7 changing mode of build/scripts-2.7/newrelic-nfsiostat from 644 to 755 + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qDo9Qo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/__init__.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/_version.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/nfsiostat.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/plugin.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs/_version.py to _version.pyc byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs/nfsiostat.py to nfsiostat.pyc byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelicnfs/plugin.py to plugin.pyc writing byte-compilation script '/tmp/tmp6mcppT.py' /usr/bin/python2 -O /tmp/tmp6mcppT.py removing /tmp/tmp6mcppT.py running install_scripts creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/bin copying build/scripts-2.7/newrelic-nfsiostat -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/bin/newrelic-nfsiostat to 755 running install_data creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/etc copying conf/newrelic-nfsiostat.conf -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/etc running install_egg_info Writing /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7/site-packages/newrelic_nfsiostat-0.2.5-py2.7.egg-info + install -d -m 0755 /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/newrelic-nfsiostat.service /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/systemd/system/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: newrelic-nfsiostat-0.2.5-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oGNnw8 + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + DOCDIR=/builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/share/doc/newrelic-nfsiostat-0.2.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/share/doc/newrelic-nfsiostat-0.2.5 + cp -pr README.md /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/share/doc/newrelic-nfsiostat-0.2.5 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0F3XcS + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + LICENSEDIR=/builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/share/licenses/newrelic-nfsiostat-0.2.5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/share/licenses/newrelic-nfsiostat-0.2.5 + cp -pr doc/LICENSE /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64/usr/share/licenses/newrelic-nfsiostat-0.2.5 + exit 0 Provides: config(newrelic-nfsiostat) = 0.2.5-2.el7 newrelic-nfsiostat = 0.2.5-2.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/python2 python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 Wrote: /builddir/build/RPMS/newrelic-nfsiostat-0.2.5-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gSq9Tm + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.x86_64 + exit 0 Child return code was: 0