Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-prometheus-smart-exporter.spec'], chrootPath='/var/lib/mock/811667-epel-7-x86_64-1539854718.650946/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.2s9bl8tz:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '430ecbf2ebb040189104e28bcfdd6112', '-D', '/var/lib/mock/811667-epel-7-x86_64-1539854718.650946/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2s9bl8tz:/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/python-prometheus-smart-exporter.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 Wrote: /builddir/build/SRPMS/python-prometheus-smart-exporter-0.2.2-6.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-prometheus-smart-exporter.spec'], chrootPath='/var/lib/mock/811667-epel-7-x86_64-1539854718.650946/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.2s9bl8tz:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fa5193dc50904f10aeba0fbf71089e0b', '-D', '/var/lib/mock/811667-epel-7-x86_64-1539854718.650946/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2s9bl8tz:/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/python-prometheus-smart-exporter.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.PqOJcj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prometheus_smart_exporter-0.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/prometheus_smart_exporter-0.2.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd prometheus_smart_exporter-0.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Provide-a-way-to-pass-additional-arguments-to-smartc.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Fail-gracefully-if-RAW_VALUE-does-not-contain-a-simp.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-Raid-controller-support.patch + /usr/bin/patch -p1 -s + rm -rf prometheus-smart-exporter.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VLLjDJ + umask 022 + cd /builddir/build/BUILD + cd prometheus_smart_exporter-0.2.2 + 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/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s' running build running build_py creating build creating build/lib creating build/lib/prometheus_smart_exporter copying prometheus_smart_exporter/__init__.py -> build/lib/prometheus_smart_exporter copying prometheus_smart_exporter/devicedb.py -> build/lib/prometheus_smart_exporter copying prometheus_smart_exporter/__main__.py -> build/lib/prometheus_smart_exporter copying prometheus_smart_exporter/attrmeta.py -> build/lib/prometheus_smart_exporter creating build/lib/smart_exporter_helper copying smart_exporter_helper/__init__.py -> build/lib/smart_exporter_helper copying smart_exporter_helper/__main__.py -> build/lib/smart_exporter_helper creating build/lib/prometheus_smart_exporter/data copying prometheus_smart_exporter/data/attrmap.json -> build/lib/prometheus_smart_exporter/data + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tKxfKe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 + cd prometheus_smart_exporter-0.2.2 + 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/python3.4 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4 creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/smart_exporter_helper copying build/lib/smart_exporter_helper/__main__.py -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/smart_exporter_helper copying build/lib/smart_exporter_helper/__init__.py -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/smart_exporter_helper creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter creating /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter/data copying build/lib/prometheus_smart_exporter/data/attrmap.json -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter/data copying build/lib/prometheus_smart_exporter/attrmeta.py -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter copying build/lib/prometheus_smart_exporter/__main__.py -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter copying build/lib/prometheus_smart_exporter/devicedb.py -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter copying build/lib/prometheus_smart_exporter/__init__.py -> /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter byte-compiling /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/smart_exporter_helper/__main__.py to __main__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/smart_exporter_helper/__init__.py to __init__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter/attrmeta.py to attrmeta.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter/__main__.py to __main__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter/devicedb.py to devicedb.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter/__init__.py to __init__.cpython-34.pyc writing byte-compilation script '/tmp/tmp_up8gb45.py' /usr/bin/python3.4 -O /tmp/tmp_up8gb45.py removing /tmp/tmp_up8gb45.py running install_egg_info running egg_info writing entry points to prometheus_smart_exporter.egg-info/entry_points.txt writing prometheus_smart_exporter.egg-info/PKG-INFO writing top-level names to prometheus_smart_exporter.egg-info/top_level.txt writing requirements to prometheus_smart_exporter.egg-info/requires.txt writing dependency_links to prometheus_smart_exporter.egg-info/dependency_links.txt reading manifest file 'prometheus_smart_exporter.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'prometheus_smart_exporter.egg-info/SOURCES.txt' Copying prometheus_smart_exporter.egg-info to /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/lib/python3.4/site-packages/prometheus_smart_exporter-0.2.2-py3.4.egg-info running install_scripts Installing smart_exporter_helper script to /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/bin Installing prometheus_smart_exporter script to /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/bin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/prometheus_smart_exporter-0.2.2 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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 Processing files: python34-prometheus-smart-exporter-0.2.2-6.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.H2Z3JL + umask 022 + cd /builddir/build/BUILD + cd prometheus_smart_exporter-0.2.2 + DOCDIR=/builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/share/doc/python34-prometheus-smart-exporter-0.2.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/share/doc/python34-prometheus-smart-exporter-0.2.2 + cp -pr README.rst /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/share/doc/python34-prometheus-smart-exporter-0.2.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.l2qCLi + umask 022 + cd /builddir/build/BUILD + cd prometheus_smart_exporter-0.2.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/share/licenses/python34-prometheus-smart-exporter-0.2.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/share/licenses/python34-prometheus-smart-exporter-0.2.2 + cp -pr COPYING.gpl3 /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64/usr/share/licenses/python34-prometheus-smart-exporter-0.2.2 + exit 0 Provides: python34-prometheus-smart-exporter = 0.2.2-6.el7 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: /usr/bin/python3.4 python(abi) = 3.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 Wrote: /builddir/build/RPMS/python34-prometheus-smart-exporter-0.2.2-6.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fn0o2o + umask 022 + cd /builddir/build/BUILD + cd prometheus_smart_exporter-0.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-prometheus-smart-exporter-0.2.2-6.el7.x86_64 + exit 0 Child return code was: 0