Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-colorable.spec'], chrootPath='/var/lib/mock/683258-epel-7-x86_64-1512160834.798755/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-colorable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-647075095.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-mattn-go-colorable-0.0.9-0.1.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-mattn-go-colorable.spec'], chrootPath='/var/lib/mock/683258-epel-7-x86_64-1512160834.798755/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-colorable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', '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.1EGr1v + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-colorable-167de6b.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C3CuaC + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BwVhkI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64 + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./noncolorable.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./noncolorable.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./noncolorable.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./noncolorable.go './noncolorable.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./noncolorable.go' + echo '%{gopath}/src/%{import_path}/./noncolorable.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./colorable_windows.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./colorable_windows.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_windows.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_windows.go './colorable_windows.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_windows.go' + echo '%{gopath}/src/%{import_path}/./colorable_windows.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./colorable_others.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./colorable_others.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_others.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_others.go './colorable_others.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_others.go' + echo '%{gopath}/src/%{import_path}/./colorable_others.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./colorable_appengine.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./colorable_appengine.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_appengine.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_appengine.go './colorable_appengine.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_appengine.go' + echo '%{gopath}/src/%{import_path}/./colorable_appengine.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./_example/title/main.go + echo '%dir %{gopath}/src/%{import_path}/./_example/title' ++ dirname ./_example/title/main.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/title + cp -pav ./_example/title/main.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/title/main.go './_example/title/main.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/title/main.go' + echo '%{gopath}/src/%{import_path}/./_example/title/main.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./_example/logrus/main.go + echo '%dir %{gopath}/src/%{import_path}/./_example/logrus' ++ dirname ./_example/logrus/main.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/logrus + cp -pav ./_example/logrus/main.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/logrus/main.go './_example/logrus/main.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/logrus/main.go' + echo '%{gopath}/src/%{import_path}/./_example/logrus/main.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./_example/escape-seq/main.go + echo '%dir %{gopath}/src/%{import_path}/./_example/escape-seq' ++ dirname ./_example/escape-seq/main.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/escape-seq + cp -pav ./_example/escape-seq/main.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/escape-seq/main.go './_example/escape-seq/main.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/escape-seq/main.go' + echo '%{gopath}/src/%{import_path}/./_example/escape-seq/main.go' + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./colorable_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./colorable_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_test.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_test.go './colorable_test.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_test.go' + echo '%{gopath}/src/%{import_path}/./colorable_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.4XWWPO + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + export GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/mattn/go-colorable ok github.com/mattn/go-colorable 0.003s + exit 0 Processing files: golang-github-mattn-go-colorable-devel-0.0.9-0.1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BSUeJW + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-colorable-devel-0.0.9 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-colorable-devel-0.0.9 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-colorable-devel-0.0.9 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0sn4D4 + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-devel-0.0.9 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-devel-0.0.9 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-devel-0.0.9 + exit 0 Provides: golang(github.com/mattn/go-colorable) = 0.0.9-0.1.el7.centos golang-github-mattn-go-colorable-devel = 0.0.9-0.1.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-mattn-go-colorable-unit-test-devel-0.0.9-0.1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PumqMc + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-colorable-unit-test-devel-0.0.9 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-colorable-unit-test-devel-0.0.9 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-colorable-unit-test-devel-0.0.9 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.E6UoWk + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-unit-test-devel-0.0.9 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-unit-test-devel-0.0.9 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-unit-test-devel-0.0.9 + exit 0 Provides: golang-github-mattn-go-colorable-unit-test-devel = 0.0.9-0.1.el7.centos golang-github-mattn-go-colorable-unit-test-devel(x86-64) = 0.0.9-0.1.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-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-647075095.novalocal Wrote: /builddir/build/RPMS/golang-github-mattn-go-colorable-devel-0.0.9-0.1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-mattn-go-colorable-unit-test-devel-0.0.9-0.1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Hi5hSJ + umask 022 + cd /builddir/build/BUILD + cd go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0.0.9-0.1.el7.centos.x86_64 + exit 0 Child return code was: 0