Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-beorn7-perks.spec'], printOutput=Falseuid=1001logger=gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7991/root'timeout=0shell=Falsenspawn_args=[]env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '}user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-beorn7-perks.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '} and shell False warning: Could not canonicalize hostname: copr-builder-442850122.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-beorn7-perks-0-0.8.gitb965b61.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-beorn7-perks.spec'], printOutput=Falseuid=1001logger=gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7991/root'timeout=0shell=Falsenspawn_args=[]env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '}user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-beorn7-perks.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A2sdiC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf perks-b965b613227fddccbfffe13eae360ed3fa822f8d + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/perks-b965b61.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-move-license-to-LICENSE.patch):' Patch #0 (0001-move-license-to-LICENSE.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-move-license-to-LICENSE.patch + /usr/bin/patch -p1 --fuzz=0 patching file LICENSE patching file README.md + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cRzLHA + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mBmP7y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64 + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./topk/topk.go + echo '%dir %{gopath}/src/%{import_path}/./topk' ++ dirname ./topk/topk.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./topk + cp -pav ./topk/topk.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./topk/topk.go './topk/topk.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./topk/topk.go' + echo '%{gopath}/src/%{import_path}/./topk/topk.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./quantile/stream.go + echo '%dir %{gopath}/src/%{import_path}/./quantile' ++ dirname ./quantile/stream.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile + cp -pav ./quantile/stream.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/stream.go './quantile/stream.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/stream.go' + echo '%{gopath}/src/%{import_path}/./quantile/stream.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./histogram/histogram.go + echo '%dir %{gopath}/src/%{import_path}/./histogram' ++ dirname ./histogram/histogram.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram + cp -pav ./histogram/histogram.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram/histogram.go './histogram/histogram.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram/histogram.go' + echo '%{gopath}/src/%{import_path}/./histogram/histogram.go' + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/ + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/quantile + echo '%dir %{gopath}/src/%{import_path}/./quantile' + cp -pav quantile/exampledata.txt /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/quantile/. 'quantile/exampledata.txt' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/quantile/./exampledata.txt' + echo '%{gopath}/src/%{import_path}/quantile/exampledata.txt' ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./topk/topk_test.go + echo '%dir %{gopath}/src/%{import_path}/./topk' ++ dirname ./topk/topk_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./topk + cp -pav ./topk/topk_test.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./topk/topk_test.go './topk/topk_test.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./topk/topk_test.go' + echo '%{gopath}/src/%{import_path}/./topk/topk_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./quantile/stream_test.go + echo '%dir %{gopath}/src/%{import_path}/./quantile' ++ dirname ./quantile/stream_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile + cp -pav ./quantile/stream_test.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/stream_test.go './quantile/stream_test.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/stream_test.go' + echo '%{gopath}/src/%{import_path}/./quantile/stream_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./quantile/example_test.go + echo '%dir %{gopath}/src/%{import_path}/./quantile' ++ dirname ./quantile/example_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile + cp -pav ./quantile/example_test.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/example_test.go './quantile/example_test.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/example_test.go' + echo '%{gopath}/src/%{import_path}/./quantile/example_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./quantile/bench_test.go + echo '%dir %{gopath}/src/%{import_path}/./quantile' ++ dirname ./quantile/bench_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile + cp -pav ./quantile/bench_test.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/bench_test.go './quantile/bench_test.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./quantile/bench_test.go' + echo '%{gopath}/src/%{import_path}/./quantile/bench_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./histogram/histogram_test.go + echo '%dir %{gopath}/src/%{import_path}/./histogram' ++ dirname ./histogram/histogram_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram + cp -pav ./histogram/histogram_test.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram/histogram_test.go './histogram/histogram_test.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram/histogram_test.go' + echo '%{gopath}/src/%{import_path}/./histogram/histogram_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./histogram/bench_test.go + echo '%dir %{gopath}/src/%{import_path}/./histogram' ++ dirname ./histogram/bench_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram + cp -pav ./histogram/bench_test.go /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram/bench_test.go './histogram/bench_test.go' -> '/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode/src/github.com/beorn7/perks/./histogram/bench_test.go' + echo '%{gopath}/src/%{import_path}/./histogram/bench_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.mxAENx + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + export GOPATH=/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/beorn7/perks/histogram ok github.com/beorn7/perks/histogram 0.111s + go test github.com/beorn7/perks/quantile ok github.com/beorn7/perks/quantile 0.296s + go test github.com/beorn7/perks/topk ok github.com/beorn7/perks/topk 0.977s + exit 0 Processing files: golang-github-beorn7-perks-devel-0-0.8.gitb965b61.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.27dwqE + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + DOCDIR=/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/doc/golang-github-beorn7-perks-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/doc/golang-github-beorn7-perks-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/doc/golang-github-beorn7-perks-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IkEv4K + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/licenses/golang-github-beorn7-perks-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/licenses/golang-github-beorn7-perks-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/licenses/golang-github-beorn7-perks-devel-0 + exit 0 Provides: golang(github.com/beorn7/perks/histogram) = 0-0.8.gitb965b61.el7.centos golang(github.com/beorn7/perks/quantile) = 0-0.8.gitb965b61.el7.centos golang(github.com/beorn7/perks/topk) = 0-0.8.gitb965b61.el7.centos golang-github-beorn7-perks-devel = 0-0.8.gitb965b61.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-beorn7-perks-unit-test-0-0.8.gitb965b61.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uKvOPR + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + DOCDIR=/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/doc/golang-github-beorn7-perks-unit-test-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/doc/golang-github-beorn7-perks-unit-test-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/doc/golang-github-beorn7-perks-unit-test-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8Zg9BY + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/licenses/golang-github-beorn7-perks-unit-test-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/licenses/golang-github-beorn7-perks-unit-test-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64/usr/share/licenses/golang-github-beorn7-perks-unit-test-0 + exit 0 Provides: golang-github-beorn7-perks-unit-test = 0-0.8.gitb965b61.el7.centos golang-github-beorn7-perks-unit-test(x86-64) = 0-0.8.gitb965b61.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-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-442850122.novalocal Wrote: /builddir/build/RPMS/golang-github-beorn7-perks-devel-0-0.8.gitb965b61.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-beorn7-perks-unit-test-0-0.8.gitb965b61.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CQ3ezj + umask 022 + cd /builddir/build/BUILD + cd perks-b965b613227fddccbfffe13eae360ed3fa822f8d + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-beorn7-perks-0-0.8.gitb965b61.el7.centos.x86_64 + exit 0 Child return code was: 0