Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.spec'], timeout=0logger=printOutput=Falsegid=135shell=Falseenv={'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'}uid=1001user='mockbuild'chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5269/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.spec'] with env {'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.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-hailocab-go-hostpool.spec'], timeout=0logger=printOutput=Falsegid=135shell=Falseenv={'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash'}private_network=Trueuid=1001chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5269/root'user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.spec'] with env {'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', '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.UoY50h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-hostpool-e80d13c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (go-hostpool-test.patch): + echo 'Patch #0 (go-hostpool-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file example_test.go + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EqTbAt + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ckOP9E + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64 + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/ + 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 ./hostpool.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./hostpool.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./hostpool.go './hostpool.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./hostpool.go' + echo '%{gopath}/src/%{import_path}/./hostpool.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./host_entry.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./host_entry.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./host_entry.go './host_entry.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./host_entry.go' + echo '%{gopath}/src/%{import_path}/./host_entry.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./epsilon_value_calculators.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./epsilon_value_calculators.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_value_calculators.go './epsilon_value_calculators.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_value_calculators.go' + echo '%{gopath}/src/%{import_path}/./epsilon_value_calculators.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./epsilon_greedy.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./epsilon_greedy.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_greedy.go './epsilon_greedy.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_greedy.go' + echo '%{gopath}/src/%{import_path}/./epsilon_greedy.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/ ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") ++ dirname ./example_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./example_test.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./example_test.go './example_test.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./example_test.go' + echo '%{gopath}/src/%{import_path}/./example_test.go' + '[' . '!=' . ']' + for file in $(find . -iname "*_test.go") ++ dirname ./hostpool_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./hostpool_test.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./hostpool_test.go './hostpool_test.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode/src/github.com/hailocab/go-hostpool/./hostpool_test.go' + echo '%{gopath}/src/%{import_path}/./hostpool_test.go' + '[' . '!=' . ']' + sort -u -o devel.file-list devel.file-list + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gMSJ7Q + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + export GOPATH=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/hailocab/go-hostpool ok github.com/hailocab/go-hostpool 0.089s + exit 0 Processing files: golang-github-hailocab-go-hostpool-devel-0-0.1.gite80d13c.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OCSy34 + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + DOCDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/doc/golang-github-hailocab-go-hostpool-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/doc/golang-github-hailocab-go-hostpool-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/doc/golang-github-hailocab-go-hostpool-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.21Yw0i + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/licenses/golang-github-hailocab-go-hostpool-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/licenses/golang-github-hailocab-go-hostpool-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/licenses/golang-github-hailocab-go-hostpool-devel + exit 0 Provides: golang(github.com/hailocab/go-hostpool) = 0-0.1.gite80d13c.fc27 golang-github-hailocab-go-hostpool-devel = 0-0.1.gite80d13c.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-hailocab-go-hostpool-unit-test-devel-0-0.1.gite80d13c.fc27.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QrYV5w + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + DOCDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/doc/golang-github-hailocab-go-hostpool-unit-test-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/doc/golang-github-hailocab-go-hostpool-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/doc/golang-github-hailocab-go-hostpool-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C84lcL + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/licenses/golang-github-hailocab-go-hostpool-unit-test-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/licenses/golang-github-hailocab-go-hostpool-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64/usr/share/licenses/golang-github-hailocab-go-hostpool-unit-test-devel + exit 0 Provides: golang-github-hailocab-go-hostpool-unit-test-devel = 0-0.1.gite80d13c.fc27 golang-github-hailocab-go-hostpool-unit-test-devel(x86-64) = 0-0.1.gite80d13c.fc27 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-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64 Wrote: /builddir/build/RPMS/golang-github-hailocab-go-hostpool-devel-0-0.1.gite80d13c.fc27.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-hailocab-go-hostpool-unit-test-devel-0-0.1.gite80d13c.fc27.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cf4KqZ + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.1.gite80d13c.fc27.x86_64 + exit 0 Child return code was: 0