Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-docker-go-units.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-25725/root'logger=shell=Falsegid=135nspawn_args=[]uid=1001timeout=0printOutput=Falseuser='mockbuild'env={'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-docker-go-units.spec'] with env {'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: copr-builder-327382997.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-docker-go-units-0.2.0-4.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-docker-go-units.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-25725/root'logger=shell=Falsegid=135nspawn_args=[]uid=1001timeout=0printOutput=Falseuser='mockbuild'env={'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-docker-go-units.spec'] with env {'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TMjnYm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + /usr/bin/gzip -dc /builddir/build/SOURCES/go-units-e30f1e7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IODHF5 + umask 022 + cd /builddir/build/BUILD + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8HqmnO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64 + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + install -d -p /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./ulimit.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./ulimit.go + install -d -p /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/. + cp -pav ./ulimit.go /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/./ulimit.go './ulimit.go' -> '/builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/./ulimit.go' + echo '%{gopath}/src/%{import_path}/./ulimit.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./size.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./size.go + install -d -p /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/. + cp -pav ./size.go /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/./size.go './size.go' -> '/builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/./size.go' + echo '%{gopath}/src/%{import_path}/./size.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./duration.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./duration.go + install -d -p /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/. + cp -pav ./duration.go /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/./duration.go './duration.go' -> '/builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64//usr/share/gocode/src/github.com/docker/go-units/./duration.go' + echo '%{gopath}/src/%{import_path}/./duration.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.DlBVbx + umask 022 + cd /builddir/build/BUILD + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + exit 0 Processing files: golang-github-docker-go-units-devel-0.2.0-4.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PqQR0f + umask 022 + cd /builddir/build/BUILD + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + DOCDIR=/builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64/usr/share/doc/golang-github-docker-go-units-devel-0.2.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64/usr/share/doc/golang-github-docker-go-units-devel-0.2.0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64/usr/share/doc/golang-github-docker-go-units-devel-0.2.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.W8voQY + umask 022 + cd /builddir/build/BUILD + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64/usr/share/licenses/golang-github-docker-go-units-devel-0.2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64/usr/share/licenses/golang-github-docker-go-units-devel-0.2.0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64/usr/share/licenses/golang-github-docker-go-units-devel-0.2.0 + exit 0 Provides: golang(github.com/docker/go-units) = 0.2.0-4.el7.centos golang-github-docker-go-units-devel = 0.2.0-4.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-docker-go-units-0.2.0-4.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-327382997.novalocal Wrote: /builddir/build/RPMS/golang-github-docker-go-units-devel-0.2.0-4.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VLYzKq + umask 022 + cd /builddir/build/BUILD + cd go-units-e30f1e79f3cd72542f2026ceec18d3bd67ab859c + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-docker-go-units-0.2.0-4.el7.centos.x86_64 + exit 0 Child return code was: 0