Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/haproxy_exporter.spec'], chrootPath='/var/lib/mock/737620-epel-7-x86_64-1522994214.758688/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7631b60707b04ba2858880a573e698c3', '-D', '/var/lib/mock/737620-epel-7-x86_64-1522994214.758688/root', '-a', '--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/haproxy_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 BUILDSTDERR: warning: Could not canonicalize hostname: 7631b60707b04ba2858880a573e698c3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/haproxy_exporter-0.8.0-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/haproxy_exporter.spec'], chrootPath='/var/lib/mock/737620-epel-7-x86_64-1522994214.758688/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8e7c530af51d463b89a955ed39f8bf69', '-D', '/var/lib/mock/737620-epel-7-x86_64-1522994214.758688/root', '-a', '--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/haproxy_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.aVf5eF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf haproxy_exporter-0.8.0.linux-amd64 + /usr/bin/gzip -dc /builddir/build/SOURCES/haproxy_exporter-0.8.0.linux-amd64.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd haproxy_exporter-0.8.0.linux-amd64 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yfdgt0 + umask 022 + cd /builddir/build/BUILD + cd haproxy_exporter-0.8.0.linux-amd64 + /bin/true + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wOMjIl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64 + cd haproxy_exporter-0.8.0.linux-amd64 + mkdir -vp /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/var/lib/prometheus mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/var' mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/var/lib' mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/var/lib/prometheus' + mkdir -vp /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/bin mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr' mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/bin' + mkdir -vp /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/lib/systemd/system mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/lib' mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/lib/systemd' mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/lib/systemd/system' + mkdir -vp /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/etc/default mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/etc' mkdir: created directory '/builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/etc/default' + install -m 644 /builddir/build/SOURCES/haproxy_exporter.service /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/lib/systemd/system/haproxy_exporter.service + install -m 644 /builddir/build/SOURCES/haproxy_exporter.default /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/etc/default/haproxy_exporter + install -m 755 haproxy_exporter /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64/usr/bin/haproxy_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-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: haproxy_exporter-0.8.0-1.el7.centos.x86_64 Provides: config(haproxy_exporter) = 0.8.0-1.el7.centos haproxy_exporter = 0.8.0-1.el7.centos haproxy_exporter(x86-64) = 0.8.0-1.el7.centos 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 shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/haproxy_exporter-0.8.0-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.O3D308 + umask 022 + cd /builddir/build/BUILD + cd haproxy_exporter-0.8.0.linux-amd64 + rm -rf /builddir/build/BUILDROOT/haproxy_exporter-0.8.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0