Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/golang-github-facebookgo-stats.spec'], chrootPath='/var/lib/mock/f31-go-16674614-1207464/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/golang-github-facebookgo-stats.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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1557101045 Wrote: /builddir/build/SRPMS/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/golang-github-facebookgo-stats.spec'], chrootPath='/var/lib/mock/f31-go-16674614-1207464/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/golang-github-facebookgo-stats.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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1557101045 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jadHYs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stats-1b76add642e42c6ffba7211ad7b3939ce654526e + /usr/bin/gzip -dc /builddir/build/SOURCES/stats-1b76add642e42c6ffba7211ad7b3939ce654526e.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd stats-1b76add642e42c6ffba7211ad7b3939ce654526e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/vendor + [[ ! -e /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/bin + export GOPATH=/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo/stats ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo/stats + install -m 0755 -vd /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo + ln -fs /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo/stats + cd /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo/stats + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 install: creating directory '/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build' install: creating directory '/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/bin' install: creating directory '/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src' install: creating directory '/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com' install: creating directory '/builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7pnoxs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le + cd stats-1b76add642e42c6ffba7211ad7b3939ce654526e + cd /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src/github.com/facebookgo/stats + IFS= BUILDSTDERR: +++ sort -u BUILDSTDERR: +++ realpath -e --relative-base=. BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ listfiles_include= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q '' BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ echo '' BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/facebookgo/stats -b /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/bin -s /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build -o golang-github-facebookgo-stats-devel.file-list -O /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e -V 0-0.1.20190627git1b76add.fc31 -C 1b76add642e42c6ffba7211ad7b3939ce654526e -p /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le -g /usr/share/gocode -r '.*example.*' BUILDSTDERR: realpath: go.mod: No such file or directory + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. readme.md BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ listfiles_include=readme.md BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q readme.md BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ echo readme.md BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + godocs=readme.md + [[ -n readme.md ]] + IFS= + read -r f + echo %doc '"readme.md"' + IFS= + read -r f + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. license BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ listfiles_include=license BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q license BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ echo license BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + golicenses=license + [[ -n license ]] + IFS= + read -r f + echo %license '"license"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Installing: github.com/facebookgo/stats Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zUujor + umask 022 + cd /builddir/build/BUILD + cd stats-1b76add642e42c6ffba7211ad7b3939ce654526e + LDFLAGS='-X github.com/facebookgo/stats/version.commit=1b76add642e42c6ffba7211ad7b3939ce654526e -X github.com/facebookgo/stats/version=0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/facebookgo/stats -b /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/bin -s /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build -V 0-0.1.20190627git1b76add.fc31 -C 1b76add642e42c6ffba7211ad7b3939ce654526e -p /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le -g /usr/share/gocode -r '.*example.*' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Testing in: /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/src PATH: /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/stats-1b76add642e42c6ffba7211ad7b3939ce654526e/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X github.com/facebookgo/stats/version.commit=1b76add642e42c6ffba7211ad7b3939ce654526e -X github.com/facebookgo/stats/version=0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/facebookgo/stats Processing files: golang-github-facebookgo-stats-devel-0-0.1.20190627git1b76add.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HK1vPo + umask 022 + cd /builddir/build/BUILD + cd stats-1b76add642e42c6ffba7211ad7b3939ce654526e + DOCDIR=/builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le/usr/share/doc/golang-github-facebookgo-stats-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le/usr/share/doc/golang-github-facebookgo-stats-devel + cp -pr readme.md /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le/usr/share/doc/golang-github-facebookgo-stats-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HaW7jq + umask 022 + cd /builddir/build/BUILD + cd stats-1b76add642e42c6ffba7211ad7b3939ce654526e + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le/usr/share/licenses/golang-github-facebookgo-stats-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le/usr/share/licenses/golang-github-facebookgo-stats-devel + cp -pr license /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le/usr/share/licenses/golang-github-facebookgo-stats-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: golang(github.com/facebookgo/stats) = 0-0.1.20190627git1b76add.fc31 golang(github.com/facebookgo/stats)(commit=1b76add642e42c6ffba7211ad7b3939ce654526e) = 0-0.1.20190627git1b76add.fc31 golang-github-facebookgo-stats-devel = 0-0.1.20190627git1b76add.fc31 golang-ipath(github.com/facebookgo/stats) = 0-0.1.20190627git1b76add.fc31 golang-ipath(github.com/facebookgo/stats)(commit=1b76add642e42c6ffba7211ad7b3939ce654526e) = 0-0.1.20190627git1b76add.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le Wrote: /builddir/build/RPMS/golang-github-facebookgo-stats-devel-0-0.1.20190627git1b76add.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pcpNVs + umask 022 + cd /builddir/build/BUILD + cd stats-1b76add642e42c6ffba7211ad7b3939ce654526e + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-facebookgo-stats-0-0.1.20190627git1b76add.fc31.ppc64le + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0