Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-grpc-ecosystem-go-grpc-prometheus.spec'], printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-21515/root'nspawn_args=[]timeout=0uid=1001gid=135user='mockbuild'shell=Falselogger=env={'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-grpc-ecosystem-go-grpc-prometheus.spec'] with env {'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False warning: Could not canonicalize hostname: copr-builder-549592775.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.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/golang-github-grpc-ecosystem-go-grpc-prometheus.spec'], printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-21515/root'nspawn_args=[]timeout=0uid=1001gid=135user='mockbuild'shell=Falselogger=env={'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-grpc-ecosystem-go-grpc-prometheus.spec'] with env {'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z5GkMO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/go-grpc-prometheus-6b7015e.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vo5EM8 + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LBcxNs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64 + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . '(' -iname '*.go' -or -iname '*.s' ')' '!' -iname '*_test.go' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./util.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./util.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./util.go './util.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./util.go' + echo '%{gopath}/src/%{import_path}/./util.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./server_reporter.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./server_reporter.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./server_reporter.go './server_reporter.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./server_reporter.go' + echo '%{gopath}/src/%{import_path}/./server_reporter.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./server.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./server.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./server.go './server.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./server.go' + echo '%{gopath}/src/%{import_path}/./server.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./examples/testproto/test.pb.go + dirprefix=./examples/testproto + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./examples/testproto + cp -pav ./examples/testproto/test.pb.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./examples/testproto/test.pb.go './examples/testproto/test.pb.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./examples/testproto/test.pb.go' + echo '%{gopath}/src/%{import_path}/./examples/testproto/test.pb.go' + '[' ./examples/testproto '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./examples/testproto' ++ dirname ./examples/testproto + dirprefix=./examples + '[' ./examples '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./examples' ++ dirname ./examples + dirprefix=. + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./client_reporter.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./client_reporter.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./client_reporter.go './client_reporter.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./client_reporter.go' + echo '%{gopath}/src/%{import_path}/./client_reporter.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./client.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./client.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./client.go './client.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./client.go' + echo '%{gopath}/src/%{import_path}/./client.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./server_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./server_test.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./server_test.go './server_test.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./server_test.go' + echo '%{gopath}/src/%{import_path}/./server_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./client_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/. + cp -pav ./client_test.go /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./client_test.go './client_test.go' -> '/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64//usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus/./client_test.go' + echo '%{gopath}/src/%{import_path}/./client_test.go' + '[' . '!=' . ']' + sort -u -o devel.file-list devel.file-list + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ziVW3M + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + exit 0 Processing files: golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1-0.1.git6b7015e.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hwDZk7 + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/doc/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/doc/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/doc/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dXr5Cr + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/licenses/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/licenses/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/licenses/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1 + exit 0 Provides: golang(github.com/grpc-ecosystem/go-grpc-prometheus) = 1.1-0.1.git6b7015e.el7.centos golang-github-grpc-ecosystem-go-grpc-prometheus-devel = 1.1-0.1.git6b7015e.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1-0.1.git6b7015e.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.T7EbaM + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/doc/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/doc/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/doc/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9O5nI6 + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/licenses/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/licenses/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64/usr/share/licenses/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1 + exit 0 Provides: golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel = 1.1-0.1.git6b7015e.el7.centos golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel(x86-64) = 1.1-0.1.git6b7015e.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/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-549592775.novalocal Wrote: /builddir/build/RPMS/golang-github-grpc-ecosystem-go-grpc-prometheus-devel-1.1-0.1.git6b7015e.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-grpc-ecosystem-go-grpc-prometheus-unit-test-devel-1.1-0.1.git6b7015e.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rVnx36 + umask 022 + cd /builddir/build/BUILD + cd go-grpc-prometheus-6b7015e65d366bf3f19b2b2a000a831940f0f7e0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-grpc-ecosystem-go-grpc-prometheus-1.1-0.1.git6b7015e.el7.centos.x86_64 + exit 0 Child return code was: 0