Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/snmp_exporter.spec'], chrootPath='/var/lib/mock/810201-epel-7-x86_64-1539669684.497972/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.cbvr5yt1:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '529ea932fec44fb7b641ea5b94bd8882', '-D', '/var/lib/mock/810201-epel-7-x86_64-1539669684.497972/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cbvr5yt1:/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/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 Wrote: /builddir/build/SRPMS/snmp_exporter-0.13.0-7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/snmp_exporter.spec'], chrootPath='/var/lib/mock/810201-epel-7-x86_64-1539669684.497972/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.cbvr5yt1:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0aca438b0d924a6f9d7a4bfb85cbb4f5', '-D', '/var/lib/mock/810201-epel-7-x86_64-1539669684.497972/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cbvr5yt1:/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/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.HTm25L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snmp_exporter-0.13.0 + /usr/bin/mkdir -p snmp_exporter-0.13.0 + cd snmp_exporter-0.13.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/snmp_exporter-0.13.0.linux-amd64.tar.gz + /usr/bin/tar -xf - + 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.ba5b7T + umask 022 + cd /builddir/build/BUILD + cd snmp_exporter-0.13.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WzsT81 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 + cd snmp_exporter-0.13.0 + rm -rf /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//usr/sbin + /usr/bin/install -p /builddir/build/BUILD/snmp_exporter-0.13.0/snmp_exporter-0.13.0.linux-amd64/snmp_exporter /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//usr/sbin/ + /usr/bin/install -p -D /builddir/build/SOURCES/snmp_exporter.service /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//usr/lib/systemd/system/snmp_exporter.service + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//usr/share/snmp_exporter + /usr/bin/install -p -D /builddir/build/BUILD/snmp_exporter-0.13.0/snmp_exporter-0.13.0.linux-amd64/LICENSE /builddir/build/BUILD/snmp_exporter-0.13.0/snmp_exporter-0.13.0.linux-amd64/NOTICE /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//usr/share/snmp_exporter + /usr/bin/mkdir -p /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//etc/sysconfig + /usr/bin/cat + /usr/bin/install -p -D /builddir/build/BUILD/snmp_exporter-0.13.0/snmp_exporter-0.13.0.linux-amd64/snmp.yml /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64//etc/snmp_exporter/snmp.yml + /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 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: snmp_exporter-0.13.0-7.el7.x86_64 Provides: config(snmp_exporter) = 0.13.0-7.el7 snmp_exporter = 0.13.0-7.el7 snmp_exporter(x86-64) = 0.13.0-7.el7 Requires(interp): /bin/sh /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 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 Wrote: /builddir/build/RPMS/snmp_exporter-0.13.0-7.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s4PTEn + umask 022 + cd /builddir/build/BUILD + cd snmp_exporter-0.13.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/snmp_exporter-0.13.0-7.el7.x86_64 + exit 0 Child return code was: 0