Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-github-linkedin-goavro.spec'], chrootPath='/var/lib/mock/f31-go-16730449-1209942/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 s390x --nodeps /builddir/build/SPECS/golang-github-linkedin-goavro.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1557960874 Wrote: /builddir/build/SRPMS/golang-github-linkedin-goavro-2.8.4-1.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-github-linkedin-goavro.spec'], chrootPath='/var/lib/mock/f31-go-16730449-1209942/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 s390x --nodeps /builddir/build/SPECS/golang-github-linkedin-goavro.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1557960874 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x6urDS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goavro-2.8.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/goavro-2.8.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd goavro-2.8.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/goavro-2.8.4/vendor + [[ ! -e /builddir/build/BUILD/goavro-2.8.4/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/goavro-2.8.4/_build/bin + export GOPATH=/builddir/build/BUILD/goavro-2.8.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/goavro-2.8.4/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin/goavro ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin/goavro + install -m 0755 -vd /builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin + ln -fs /builddir/build/BUILD/goavro-2.8.4 /builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin/goavro + cd /builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin/goavro + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 install: creating directory '/builddir/build/BUILD/goavro-2.8.4/_build' install: creating directory '/builddir/build/BUILD/goavro-2.8.4/_build/bin' install: creating directory '/builddir/build/BUILD/goavro-2.8.4/_build/src' install: creating directory '/builddir/build/BUILD/goavro-2.8.4/_build/src/github.com' install: creating directory '/builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ho00qS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x + cd goavro-2.8.4 + cd /builddir/build/BUILD/goavro-2.8.4/_build/src/github.com/linkedin/goavro + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. BUILDSTDERR: +++ sort -u BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ listfiles_include= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ grep -q '' BUILDSTDERR: ++ echo '' BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/linkedin/goavro -b /builddir/build/BUILD/goavro-2.8.4/_build/bin -s /builddir/build/BUILD/goavro-2.8.4/_build -o golang-github-linkedin-goavro-devel.file-list -O /builddir/build/BUILD/goavro-2.8.4 -V 2.8.4-1.fc31 -p /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x -g /usr/share/gocode -r '.*example.*' + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. examples AUTHORS README.md BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ listfiles_include='AUTHORS BUILDSTDERR: README.md BUILDSTDERR: examples' BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ grep -q AUTHORS BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo AUTHORS BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ grep -q README.md BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo README.md BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ grep -q examples BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo examples BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + godocs='AUTHORS BUILDSTDERR: README.md BUILDSTDERR: examples' + [[ -n AUTHORS BUILDSTDERR: README.md BUILDSTDERR: examples ]] + IFS= + read -r f + echo %doc '"AUTHORS"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"examples"' + 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: ++ grep -q LICENSE BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ sort -u 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/linkedin/goavro Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.G1GIpU + umask 022 + cd /builddir/build/BUILD + cd goavro-2.8.4 + LDFLAGS='-X github.com/linkedin/goavro/version=2.8.4' + 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/linkedin/goavro -b /builddir/build/BUILD/goavro-2.8.4/_build/bin -s /builddir/build/BUILD/goavro-2.8.4/_build -V 2.8.4-1.fc31 -p /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x -g /usr/share/gocode -r '.*example.*' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Testing in: /builddir/build/BUILD/goavro-2.8.4/_build/src PATH: /builddir/build/BUILD/goavro-2.8.4/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/goavro-2.8.4/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X github.com/linkedin/goavro/version=2.8.4 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/linkedin/goavro github.com/linkedin/goavro PASS ok github.com/linkedin/goavro 0.033s Processing files: golang-github-linkedin-goavro-devel-2.8.4-1.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vogcsQ + umask 022 + cd /builddir/build/BUILD + cd goavro-2.8.4 + DOCDIR=/builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/doc/golang-github-linkedin-goavro-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/doc/golang-github-linkedin-goavro-devel + cp -pr AUTHORS /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/doc/golang-github-linkedin-goavro-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/doc/golang-github-linkedin-goavro-devel + cp -pr examples /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/doc/golang-github-linkedin-goavro-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FnG2KT + umask 022 + cd /builddir/build/BUILD + cd goavro-2.8.4 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/licenses/golang-github-linkedin-goavro-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/licenses/golang-github-linkedin-goavro-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x/usr/share/licenses/golang-github-linkedin-goavro-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: golang(github.com/linkedin/goavro) = 2.8.4-1.fc31 golang-github-linkedin-goavro-devel = 2.8.4-1.fc31 golang-ipath(github.com/linkedin/goavro) = 2.8.4-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/golang/snappy) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x Wrote: /builddir/build/RPMS/golang-github-linkedin-goavro-devel-2.8.4-1.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dBDhAR + umask 022 + cd /builddir/build/BUILD + cd goavro-2.8.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-linkedin-goavro-2.8.4-1.fc31.s390x + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0