Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-karlseguin-expect.spec'], gid=135printOutput=Falsetimeout=0user='mockbuild'env={'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}nspawn_args=[]logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-12280/root'uid=1001shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-karlseguin-expect.spec'] with env {'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False warning: Could not canonicalize hostname: copr-builder-35399713.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-karlseguin-expect-0-0.1.git5c2eadb.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-karlseguin-expect.spec'], gid=135printOutput=Falsetimeout=0user='mockbuild'env={'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}nspawn_args=[]logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-12280/root'uid=1001shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-karlseguin-expect.spec'] with env {'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.buZNwm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf expect-5c2eadb35b136ae1529cef7fc966188c6267323e + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/expect-5c2eadb.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OdADLx + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XT9X0I + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64 + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . '(' -iname '*.go' -or -iname '*.s' ')' '!' -iname '*_test.go' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./runner.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./runner.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./runner.go './runner.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./runner.go' + echo '%{gopath}/src/%{import_path}/./runner.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./reflection.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./reflection.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./reflection.go './reflection.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./reflection.go' + echo '%{gopath}/src/%{import_path}/./reflection.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./posthandler.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./posthandler.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./posthandler.go './posthandler.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./posthandler.go' + echo '%{gopath}/src/%{import_path}/./posthandler.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./mock/conn.go + dirprefix=./mock + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./mock + cp -pav ./mock/conn.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./mock/conn.go './mock/conn.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./mock/conn.go' + echo '%{gopath}/src/%{import_path}/./mock/conn.go' + '[' ./mock '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./mock' ++ dirname ./mock + dirprefix=. + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./expect.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./expect.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./expect.go './expect.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./expect.go' + echo '%{gopath}/src/%{import_path}/./expect.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./comparitors.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./comparitors.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./comparitors.go './comparitors.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./comparitors.go' + echo '%{gopath}/src/%{import_path}/./comparitors.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./build/request.go + dirprefix=./build + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./build + cp -pav ./build/request.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./build/request.go './build/request.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./build/request.go' + echo '%{gopath}/src/%{import_path}/./build/request.go' + '[' ./build '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./build' ++ dirname ./build + dirprefix=. + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./expect_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./expect_test.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./expect_test.go './expect_test.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./expect_test.go' + echo '%{gopath}/src/%{import_path}/./expect_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./expect_numeric_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./expect_numeric_test.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./expect_numeric_test.go './expect_numeric_test.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./expect_numeric_test.go' + echo '%{gopath}/src/%{import_path}/./expect_numeric_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./each_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./each_test.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./each_test.go './each_test.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./each_test.go' + echo '%{gopath}/src/%{import_path}/./each_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./each_no_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/. + cp -pav ./each_no_test.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./each_no_test.go './each_no_test.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./each_no_test.go' + echo '%{gopath}/src/%{import_path}/./each_no_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./build/request_test.go + dirprefix=./build + install -d -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./build + cp -pav ./build/request_test.go /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./build/request_test.go './build/request_test.go' -> '/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode/src/github.com/karlseguin/expect/./build/request_test.go' + echo '%{gopath}/src/%{import_path}/./build/request_test.go' + '[' ./build '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./build' ++ dirname ./build + dirprefix=. + '[' . '!=' . ']' + 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.6cZIxU + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + export GOPATH=/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/karlseguin/expect ok github.com/karlseguin/expect 0.002s + go test github.com/karlseguin/expect/build ok github.com/karlseguin/expect/build 0.004s + exit 0 Processing files: golang-github-karlseguin-expect-devel-0-0.1.git5c2eadb.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1GF5ca + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + DOCDIR=/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/doc/golang-github-karlseguin-expect-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/doc/golang-github-karlseguin-expect-devel-0 + cp -pr readme.md /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/doc/golang-github-karlseguin-expect-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.i2XdTp + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/licenses/golang-github-karlseguin-expect-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/licenses/golang-github-karlseguin-expect-devel-0 + cp -pr license.txt /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/licenses/golang-github-karlseguin-expect-devel-0 + exit 0 Provides: golang(github.com/karlseguin/expect) = 0-0.1.git5c2eadb.el7.centos golang(github.com/karlseguin/expect/build) = 0-0.1.git5c2eadb.el7.centos golang(github.com/karlseguin/expect/mock) = 0-0.1.git5c2eadb.el7.centos golang-github-karlseguin-expect-devel = 0-0.1.git5c2eadb.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-karlseguin-expect-unit-test-devel-0-0.1.git5c2eadb.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lM7kNF + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + DOCDIR=/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/doc/golang-github-karlseguin-expect-unit-test-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/doc/golang-github-karlseguin-expect-unit-test-devel-0 + cp -pr readme.md /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/doc/golang-github-karlseguin-expect-unit-test-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2vkDIV + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/licenses/golang-github-karlseguin-expect-unit-test-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/licenses/golang-github-karlseguin-expect-unit-test-devel-0 + cp -pr license.txt /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64/usr/share/licenses/golang-github-karlseguin-expect-unit-test-devel-0 + exit 0 Provides: golang-github-karlseguin-expect-unit-test-devel = 0-0.1.git5c2eadb.el7.centos golang-github-karlseguin-expect-unit-test-devel(x86-64) = 0-0.1.git5c2eadb.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-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-35399713.novalocal Wrote: /builddir/build/RPMS/golang-github-karlseguin-expect-devel-0-0.1.git5c2eadb.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-karlseguin-expect-unit-test-devel-0-0.1.git5c2eadb.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TFLp9H + umask 022 + cd /builddir/build/BUILD + cd expect-5c2eadb35b136ae1529cef7fc966188c6267323e + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-karlseguin-expect-0-0.1.git5c2eadb.el7.centos.x86_64 + exit 0 Child return code was: 0