Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-cheggaaa-pb.spec'], printOutput=Falsetimeout=0nspawn_args=[]uid=1001gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-9787/root'logger=env={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock'}shell=Falseuser='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-cheggaaa-pb.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-682594414.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.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-cheggaaa-pb.spec'], printOutput=Falsetimeout=0nspawn_args=[]uid=1001gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-9787/root'logger=env={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock'}shell=Falseuser='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-cheggaaa-pb.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.K480sU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + /usr/bin/gzip -dc /builddir/build/SOURCES/pb-da1f27a.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sk9G3D + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YfkTEn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64 + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' ++ grep -v ./example + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./reader.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./reader.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./reader.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./reader.go './reader.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./reader.go' + echo '%{gopath}/src/%{import_path}/./reader.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./pb_x.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./pb_x.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./pb_x.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_x.go './pb_x.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_x.go' + echo '%{gopath}/src/%{import_path}/./pb_x.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./pb_win.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./pb_win.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./pb_win.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_win.go './pb_win.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_win.go' + echo '%{gopath}/src/%{import_path}/./pb_win.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./pb_solaris.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./pb_solaris.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./pb_solaris.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_solaris.go './pb_solaris.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_solaris.go' + echo '%{gopath}/src/%{import_path}/./pb_solaris.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./pb_nix.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./pb_nix.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./pb_nix.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_nix.go './pb_nix.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_nix.go' + echo '%{gopath}/src/%{import_path}/./pb_nix.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./pb.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./pb.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./pb.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb.go './pb.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb.go' + echo '%{gopath}/src/%{import_path}/./pb.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go" | grep -v "./example")' ++ dirname ./format.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./format.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./format.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./format.go './format.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./format.go' + echo '%{gopath}/src/%{import_path}/./format.go' + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./pb_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./pb_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./pb_test.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_test.go './pb_test.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./pb_test.go' + echo '%{gopath}/src/%{import_path}/./pb_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./format_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./format_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/. + cp -pav ./format_test.go /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./format_test.go './format_test.go' -> '/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode/src/github.com/cheggaaa/pb/./format_test.go' + echo '%{gopath}/src/%{import_path}/./format_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.A09lv7 + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + export GOPATH=/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/cheggaaa/pb ok github.com/cheggaaa/pb 0.002s + exit 0 Processing files: golang-github-cheggaaa-pb-devel-0-0.3.gitda1f27a.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.w2nykS + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-devel-0 + cp -pr example /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uXI5aD + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/licenses/golang-github-cheggaaa-pb-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/licenses/golang-github-cheggaaa-pb-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/licenses/golang-github-cheggaaa-pb-devel-0 + exit 0 Provides: golang(github.com/cheggaaa/pb) = 0-0.3.gitda1f27a.el7.centos golang-github-cheggaaa-pb-devel = 0-0.3.gitda1f27a.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-cheggaaa-pb-unit-test-devel-0-0.3.gitda1f27a.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mu4kdo + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-unit-test-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-unit-test-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/doc/golang-github-cheggaaa-pb-unit-test-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6EjGg9 + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/licenses/golang-github-cheggaaa-pb-unit-test-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/licenses/golang-github-cheggaaa-pb-unit-test-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64/usr/share/licenses/golang-github-cheggaaa-pb-unit-test-devel-0 + exit 0 Provides: golang-github-cheggaaa-pb-unit-test-devel = 0-0.3.gitda1f27a.el7.centos golang-github-cheggaaa-pb-unit-test-devel(x86-64) = 0-0.3.gitda1f27a.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-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-682594414.novalocal Wrote: /builddir/build/RPMS/golang-github-cheggaaa-pb-devel-0-0.3.gitda1f27a.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-cheggaaa-pb-unit-test-devel-0-0.3.gitda1f27a.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.syo9Lq + umask 022 + cd /builddir/build/BUILD + cd pb-da1f27ad1d9509b16f65f52fd9d8138b0f2dc7b2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-cheggaaa-pb-0-0.3.gitda1f27a.el7.centos.x86_64 + exit 0 Child return code was: 0