Mock Version: 1.4.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus-alertmanager.spec'], chrootPath='/var/lib/mock/591784-epel-7-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: ['/usr/bin/systemd-nspawn', '-q', '-M', '81173e78d68641fb87fbc1d82cf07844', '-D', '/var/lib/mock/591784-epel-7-x86_64/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/prometheus-alertmanager.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: 81173e78d68641fb87fbc1d82cf07844 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/prometheus-alertmanager-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/prometheus-alertmanager.spec'], chrootPath='/var/lib/mock/591784-epel-7-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: ['/usr/bin/systemd-nspawn', '-q', '-M', 'afd175ab650a47469e11e7ff16d37d33', '-D', '/var/lib/mock/591784-epel-7-x86_64/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/prometheus-alertmanager.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.UjG3b8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf src/github.com/prometheus/alertmanager + /usr/bin/gzip -dc /builddir/build/SOURCES/prometheus-alertmanager-0.8.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd src/github.com/prometheus/alertmanager + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd src/github.com/prometheus/alertmanager drwxrwxr-x oshu/oshu 0 2017-08-19 09:27 misc/ -rw-rw-r-- oshu/oshu 486 2017-08-19 09:27 misc/alertmanager.service -rw-rw-r-- oshu/oshu 3224 2017-08-19 09:27 misc/alertmanager.yml -rw-rw-r-- oshu/oshu 39 2017-08-19 09:27 misc/alertmanager.sysconfig + /usr/bin/gzip -dc /builddir/build/SOURCES/prometheus-alertmanager-misc.tar.gz + /usr/bin/tar -xvvf - + 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.Y58VJx + umask 022 + cd /builddir/build/BUILD + cd src/github.com/prometheus/alertmanager + GOPATH=/builddir/build/BUILD + make LDFLAGS+=--build-id >> formatting code template/internal/deftmpl/bindata.go >> building binaries > alertmanager > amtool >> running tests ? github.com/prometheus/alertmanager/api [no test files] ? github.com/prometheus/alertmanager/artifacts [no test files] ? github.com/prometheus/alertmanager/cli [no test files] ? github.com/prometheus/alertmanager/cli/format [no test files] ? github.com/prometheus/alertmanager/cmd/alertmanager [no test files] ? github.com/prometheus/alertmanager/cmd/amtool [no test files] ok github.com/prometheus/alertmanager/config 0.012s ok github.com/prometheus/alertmanager/dispatch 3.108s ? github.com/prometheus/alertmanager/examples/webhook [no test files] ok github.com/prometheus/alertmanager/inhibit 0.004s ok github.com/prometheus/alertmanager/nflog 0.006s ? github.com/prometheus/alertmanager/nflog/nflogpb [no test files] ok github.com/prometheus/alertmanager/notify 0.005s ok github.com/prometheus/alertmanager/pkg/parse 0.003s ? github.com/prometheus/alertmanager/provider [no test files] ok github.com/prometheus/alertmanager/provider/mem 0.303s ok github.com/prometheus/alertmanager/silence 0.019s ? github.com/prometheus/alertmanager/silence/silencepb [no test files] ? github.com/prometheus/alertmanager/template [no test files] ? github.com/prometheus/alertmanager/template/internal/deftmpl [no test files] ? github.com/prometheus/alertmanager/test [no test files] ok github.com/prometheus/alertmanager/test/acceptance 37.516s ok github.com/prometheus/alertmanager/types 0.002s + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MJB8Rv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 + cd src/github.com/prometheus/alertmanager + rm -rf /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 + install -m755 -D alertmanager /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/bin/alertmanager + install -m644 -D misc/alertmanager.yml /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/etc/prometheus/alertmanager.yml + install -m644 -D misc/alertmanager.service /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/lib/systemd/system/alertmanager.service + install -m644 -D misc/alertmanager.sysconfig /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/etc/sysconfig/alertmanager + /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: prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oFrZou + umask 022 + cd /builddir/build/BUILD + cd src/github.com/prometheus/alertmanager + DOCDIR=/builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + cp -pr LICENSE /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + cp -pr NOTICE /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + cp -pr README.md /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + cp -pr VERSION /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64/usr/share/doc/prometheus-alertmanager-0.8.0 + exit 0 Provides: config(prometheus-alertmanager) = 0.8.0-1.el7.centos prometheus-alertmanager = 0.8.0-1.el7.centos prometheus-alertmanager(x86-64) = 0.8.0-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ibrWRz + umask 022 + cd /builddir/build/BUILD + cd src/github.com/prometheus/alertmanager + /usr/bin/rm -rf /builddir/build/BUILDROOT/prometheus-alertmanager-0.8.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0