Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.spec'], chrootPath='/var/lib/mock/f28-build-11386506-852311/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.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: s390x Building for target s390x Wrote: /builddir/build/SRPMS/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.spec'], chrootPath='/var/lib/mock/f28-build-11386506-852311/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-github-hailocab-go-hostpool.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: s390x Building for target s390x Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rwJhsJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/go-hostpool-e80d13c.tar.gz Patch #0 (go-hostpool-test.patch): patching file example_test.go + STATUS=0 + '[' 0 -ne 0 ']' + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (go-hostpool-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8FVFfj + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BSMk6S + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x ++ dirname /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//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 ./epsilon_greedy.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./epsilon_greedy.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_greedy.go + echo '%{gopath}/src/%{import_path}/./epsilon_greedy.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.2.20160125gite80d13c.fc28.s390x//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.2.20160125gite80d13c.fc28.s390x//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 ./host_entry.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./host_entry.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/./host_entry.go './epsilon_greedy.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_greedy.go' './epsilon_value_calculators.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/./epsilon_value_calculators.go' './host_entry.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//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 ./hostpool.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./hostpool.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/./hostpool.go './hostpool.go' -> '/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/./hostpool.go' + echo '%{gopath}/src/%{import_path}/./hostpool.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//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.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./example_test.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//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.2.20160125gite80d13c.fc28.s390x//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.2.20160125gite80d13c.fc28.s390x//usr/share/gocode/src/github.com/hailocab/go-hostpool/. + cp -pav ./hostpool_test.go /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//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.2.20160125gite80d13c.fc28.s390x//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/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QHZqXz + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + export GOPATH=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x//usr/share/gocode:/usr/share/gocode + go test -buildmode pie -compiler gc -ldflags ' -extldflags '\''-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' github.com/hailocab/go-hostpool ok github.com/hailocab/go-hostpool 0.223s Processing files: golang-github-hailocab-go-hostpool-devel-0-0.2.20160125gite80d13c.fc28.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FTWUuG + exit 0 + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + DOCDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/doc/golang-github-hailocab-go-hostpool-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/doc/golang-github-hailocab-go-hostpool-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/doc/golang-github-hailocab-go-hostpool-devel Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GrOlyQ + exit 0 + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/licenses/golang-github-hailocab-go-hostpool-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/licenses/golang-github-hailocab-go-hostpool-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/licenses/golang-github-hailocab-go-hostpool-devel + exit 0 Provides: golang(github.com/hailocab/go-hostpool) = 0-0.2.20160125gite80d13c.fc28 golang-github-hailocab-go-hostpool-devel = 0-0.2.20160125gite80d13c.fc28 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.2.20160125gite80d13c.fc28.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Qv7uxU + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + DOCDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/doc/golang-github-hailocab-go-hostpool-unit-test-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/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.2.20160125gite80d13c.fc28.s390x/usr/share/doc/golang-github-hailocab-go-hostpool-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UWFlWY + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/licenses/golang-github-hailocab-go-hostpool-unit-test-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/licenses/golang-github-hailocab-go-hostpool-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x/usr/share/licenses/golang-github-hailocab-go-hostpool-unit-test-devel + exit 0 Provides: golang-github-hailocab-go-hostpool-unit-test-devel = 0-0.2.20160125gite80d13c.fc28 golang-github-hailocab-go-hostpool-unit-test-devel(s390-64) = 0-0.2.20160125gite80d13c.fc28 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.2.20160125gite80d13c.fc28.s390x Wrote: /builddir/build/RPMS/golang-github-hailocab-go-hostpool-devel-0-0.2.20160125gite80d13c.fc28.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-hailocab-go-hostpool-unit-test-devel-0-0.2.20160125gite80d13c.fc28.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aMPSP3 + umask 022 + cd /builddir/build/BUILD + cd go-hostpool-e80d13ce29ede4452c43dea11e79b9bc8a15b478 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-hailocab-go-hostpool-0-0.2.20160125gite80d13c.fc28.s390x + exit 0 Child return code was: 0