Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-yvasiyarov-gorelic.spec'], logger=gid=135user='mockbuild'env={'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-18852/root'nspawn_args=[]timeout=0shell=FalseprintOutput=Falseuid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-yvasiyarov-gorelic.spec'] with env {'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-527056734.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.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-yvasiyarov-gorelic.spec'], logger=gid=135user='mockbuild'env={'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-18852/root'nspawn_args=[]timeout=0shell=FalseprintOutput=Falseuid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-yvasiyarov-gorelic.spec'] with env {'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', '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.Ey49Ox + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + /usr/bin/gzip -dc /builddir/build/SOURCES/gorelic-a9bba5b.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mz4mpE + umask 022 + cd /builddir/build/BUILD + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p50TZK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64 + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./runtime_metrics.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./runtime_metrics.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./runtime_metrics.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./runtime_metrics.go './runtime_metrics.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./runtime_metrics.go' + echo '%{gopath}/src/%{import_path}/./runtime_metrics.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./memory_metrics.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./memory_metrics.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./memory_metrics.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./memory_metrics.go './memory_metrics.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./memory_metrics.go' + echo '%{gopath}/src/%{import_path}/./memory_metrics.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./http_metrics.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./http_metrics.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./http_metrics.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./http_metrics.go './http_metrics.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./http_metrics.go' + echo '%{gopath}/src/%{import_path}/./http_metrics.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./gometrica.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./gometrica.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./gometrica.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./gometrica.go './gometrica.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./gometrica.go' + echo '%{gopath}/src/%{import_path}/./gometrica.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./gc_metrics.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./gc_metrics.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./gc_metrics.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./gc_metrics.go './gc_metrics.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./gc_metrics.go' + echo '%{gopath}/src/%{import_path}/./gc_metrics.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./examples/example_web.go + echo '%dir %{gopath}/src/%{import_path}/./examples' ++ dirname ./examples/example_web.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./examples + cp -pav ./examples/example_web.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./examples/example_web.go './examples/example_web.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./examples/example_web.go' + echo '%{gopath}/src/%{import_path}/./examples/example_web.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./examples/example1.go + echo '%dir %{gopath}/src/%{import_path}/./examples' ++ dirname ./examples/example1.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./examples + cp -pav ./examples/example1.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./examples/example1.go './examples/example1.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./examples/example1.go' + echo '%{gopath}/src/%{import_path}/./examples/example1.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./doc.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./doc.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./doc.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./doc.go './doc.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./doc.go' + echo '%{gopath}/src/%{import_path}/./doc.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./agent.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./agent.go + install -d -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/. + cp -pav ./agent.go /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./agent.go './agent.go' -> '/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64//usr/share/gocode/src/github.com/yvasiyarov/gorelic/./agent.go' + echo '%{gopath}/src/%{import_path}/./agent.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.iPmQIR + umask 022 + cd /builddir/build/BUILD + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 Processing files: golang-github-yvasiyarov-gorelic-devel-0-0.2.gita9bba5b.el7.centos.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.K1V4rY + umask 022 + cd /builddir/build/BUILD + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + DOCDIR=/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64/usr/share/doc/golang-github-yvasiyarov-gorelic-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64/usr/share/doc/golang-github-yvasiyarov-gorelic-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64/usr/share/doc/golang-github-yvasiyarov-gorelic-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5SESb5 + umask 022 + cd /builddir/build/BUILD + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64/usr/share/licenses/golang-github-yvasiyarov-gorelic-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64/usr/share/licenses/golang-github-yvasiyarov-gorelic-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64/usr/share/licenses/golang-github-yvasiyarov-gorelic-devel-0 + exit 0 Provides: golang(github.com/yvasiyarov/gorelic) = 0-0.2.gita9bba5b.el7.centos golang-github-yvasiyarov-gorelic-devel = 0-0.2.gita9bba5b.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-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-527056734.novalocal Wrote: /builddir/build/RPMS/golang-github-yvasiyarov-gorelic-devel-0-0.2.gita9bba5b.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x55m1i + umask 022 + cd /builddir/build/BUILD + cd gorelic-a9bba5b9ab508a086f9a12b8c51fab68478e2128 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-yvasiyarov-gorelic-0-0.2.gita9bba5b.el7.centos.x86_64 + exit 0 Child return code was: 0