Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus-snmp_exporter.spec'], chrootPath='/var/lib/mock/564850-epel-6-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 -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus-snmp_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 warning: Could not canonicalize hostname: copr-builder-222765346.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/prometheus-snmp_exporter-0.4.0-1.el6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/prometheus-snmp_exporter.spec'], chrootPath='/var/lib/mock/564850-epel-6-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/prometheus-snmp_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.vYqiWw + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf snmp_exporter-0.4.0.linux-amd64 + /usr/bin/gzip -dc /builddir/build/SOURCES/snmp_exporter-0.4.0.linux-amd64.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd snmp_exporter-0.4.0.linux-amd64 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ba8VRo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64 + cd snmp_exporter-0.4.0.linux-amd64 + LANG=C + export LANG + unset DISPLAY + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//var/log/prometheus + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//usr/bin + cp snmp_exporter /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//usr/bin + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/prometheus + cp /builddir/build/SOURCES/prometheus-snmp_exporter.sysconfig /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/sysconfig/prometheus-snmp_exporter + cp snmp.yml /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/prometheus/prometheus-snmp_exporter.yml + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//var/lib/prometheus-snmp_exporter + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/rc.d/init.d + mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/logrotate.d + cp /builddir/build/SOURCES/prometheus-snmp_exporter.init /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/rc.d/init.d/prometheus-snmp_exporter + cp /builddir/build/SOURCES/prometheus-snmp_exporter.logrotate /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64//etc/logrotate.d/prometheus-snmp_exporter + /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-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: prometheus-snmp_exporter-0.4.0-1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z7tc7g + umask 022 + cd /builddir/build/BUILD + cd snmp_exporter-0.4.0.linux-amd64 + DOCDIR=/builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64/usr/share/doc/prometheus-snmp_exporter-0.4.0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64/usr/share/doc/prometheus-snmp_exporter-0.4.0 + /bin/mkdir -p /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64/usr/share/doc/prometheus-snmp_exporter-0.4.0 + cp -pr LICENSE NOTICE /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64/usr/share/doc/prometheus-snmp_exporter-0.4.0 + exit 0 Provides: config(prometheus-snmp_exporter) = 0.4.0-1.el6 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-222765346.novalocal Wrote: /builddir/build/RPMS/prometheus-snmp_exporter-0.4.0-1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HX84a5 + umask 022 + cd /builddir/build/BUILD + cd snmp_exporter-0.4.0.linux-amd64 + rm -rf /builddir/build/BUILDROOT/prometheus-snmp_exporter-0.4.0-1.el6.x86_64 + exit 0 Child return code was: 0