Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-olekukonko-tablewriter.spec'], uid=1001printOutput=Falsenspawn_args=[]gid=135env={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash'}timeout=0logger=shell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6986/root'user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-olekukonko-tablewriter.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash'} 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-olekukonko-tablewriter-0-0.4.gitcca8bbc.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-olekukonko-tablewriter.spec'], uid=1001printOutput=Falsenspawn_args=[]gid=135env={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash'}timeout=0logger=shell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6986/root'user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-olekukonko-tablewriter.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5oK6bm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + /usr/bin/gzip -dc /builddir/build/SOURCES/tablewriter-cca8bbc.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.75gPb0 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H3jdcE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64 + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./wrap.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./wrap.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. + cp -pav ./wrap.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./wrap.go './wrap.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./wrap.go' + echo '%{gopath}/src/%{import_path}/./wrap.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./util.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./util.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. + cp -pav ./util.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./util.go './util.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./util.go' + echo '%{gopath}/src/%{import_path}/./util.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./table.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./table.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. + cp -pav ./table.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./table.go './table.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./table.go' + echo '%{gopath}/src/%{import_path}/./table.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./csv2table/csv2table.go + echo '%dir %{gopath}/src/%{import_path}/./csv2table' ++ dirname ./csv2table/csv2table.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./csv2table + cp -pav ./csv2table/csv2table.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./csv2table/csv2table.go './csv2table/csv2table.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./csv2table/csv2table.go' + echo '%{gopath}/src/%{import_path}/./csv2table/csv2table.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./csv.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./csv.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. + cp -pav ./csv.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./csv.go './csv.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./csv.go' + echo '%{gopath}/src/%{import_path}/./csv.go' + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./wrap_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./wrap_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. + cp -pav ./wrap_test.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./wrap_test.go './wrap_test.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./wrap_test.go' + echo '%{gopath}/src/%{import_path}/./wrap_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./table_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./table_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. + cp -pav ./table_test.go /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./table_test.go './table_test.go' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./table_test.go' + echo '%{gopath}/src/%{import_path}/./table_test.go' + cp -pav test.csv /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. 'test.csv' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./test.csv' + cp -pav test_info.csv /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/. 'test_info.csv' -> '/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode/src/github.com/olekukonko/tablewriter/./test_info.csv' + echo '%{gopath}/src/%{import_path}/test.csv' + echo '%{gopath}/src/%{import_path}/test_info.csv' + 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.tmqPri + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + export GOPATH=/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/olekukonko/tablewriter ok github.com/olekukonko/tablewriter 0.003s + exit 0 Processing files: golang-github-olekukonko-tablewriter-devel-0-0.4.gitcca8bbc.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RkOi8X + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + DOCDIR=/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/doc/golang-github-olekukonko-tablewriter-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/doc/golang-github-olekukonko-tablewriter-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/doc/golang-github-olekukonko-tablewriter-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.b1gTPD + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/licenses/golang-github-olekukonko-tablewriter-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/licenses/golang-github-olekukonko-tablewriter-devel-0 + cp -pr LICENCE.md /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/licenses/golang-github-olekukonko-tablewriter-devel-0 + exit 0 Provides: golang(github.com/olekukonko/tablewriter) = 0-0.4.gitcca8bbc.el7.centos golang-github-olekukonko-tablewriter-devel = 0-0.4.gitcca8bbc.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-olekukonko-tablewriter-unit-test-devel-0-0.4.gitcca8bbc.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tWGfIj + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + DOCDIR=/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/doc/golang-github-olekukonko-tablewriter-unit-test-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/doc/golang-github-olekukonko-tablewriter-unit-test-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/doc/golang-github-olekukonko-tablewriter-unit-test-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vLcIBZ + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/licenses/golang-github-olekukonko-tablewriter-unit-test-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/licenses/golang-github-olekukonko-tablewriter-unit-test-devel-0 + cp -pr LICENCE.md /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64/usr/share/licenses/golang-github-olekukonko-tablewriter-unit-test-devel-0 + exit 0 Provides: golang-github-olekukonko-tablewriter-unit-test-devel = 0-0.4.gitcca8bbc.el7.centos golang-github-olekukonko-tablewriter-unit-test-devel(x86-64) = 0-0.4.gitcca8bbc.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-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-442850122.novalocal Wrote: /builddir/build/RPMS/golang-github-olekukonko-tablewriter-devel-0-0.4.gitcca8bbc.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-olekukonko-tablewriter-unit-test-devel-0-0.4.gitcca8bbc.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RgNwQ1 + umask 022 + cd /builddir/build/BUILD + cd tablewriter-cca8bbc0798408af109aaaa239cbd2634846b340 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-olekukonko-tablewriter-0-0.4.gitcca8bbc.el7.centos.x86_64 + exit 0 Child return code was: 0