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-gopkg-robfig-cron-2.spec'], chrootPath='/var/lib/mock/f31-go-16721379-1209416/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-gopkg-robfig-cron-2.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=1557859418 Wrote: /builddir/build/SRPMS/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.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-gopkg-robfig-cron-2.spec'], chrootPath='/var/lib/mock/f31-go-16721379-1209416/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-gopkg-robfig-cron-2.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=1557859418 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VC3kRx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + /usr/bin/gzip -dc /builddir/build/SOURCES/cron-be2e0b0deed5a68ffee390b4583a13aff8321535.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/vendor + [[ ! -e /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/bin + export GOPATH=/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig/cron.v2 ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig/cron.v2 + install -m 0755 -vd /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig + ln -fs /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535 /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig/cron.v2 + cd /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig/cron.v2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 install: creating directory '/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build' install: creating directory '/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/bin' install: creating directory '/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src' install: creating directory '/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in' install: creating directory '/builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8uwnUx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x + cd cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + cd /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src/gopkg.in/robfig/cron.v2 + 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 gopkg.in/robfig/cron.v2 -b /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/bin -s /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build -o golang-gopkg-robfig-cron-2-devel.file-list -O /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535 -V 2.0.0-1.20190630gitbe2e0b0.fc31 -C be2e0b0deed5a68ffee390b4583a13aff8321535 -p /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x -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: ++ sort -u BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ grep -q README.md 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: ++ sort -u BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ grep -q LICENSE 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: gopkg.in/robfig/cron.v2 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.W5noNB + umask 022 + cd /builddir/build/BUILD + cd cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + LDFLAGS='-X gopkg.in/robfig/cron.v2/version=2.0.0 -X gopkg.in/robfig/cron.v2/version.commit=be2e0b0deed5a68ffee390b4583a13aff8321535' + 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 gopkg.in/robfig/cron.v2 -b /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/bin -s /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build -V 2.0.0-1.20190630gitbe2e0b0.fc31 -C be2e0b0deed5a68ffee390b4583a13aff8321535 -p /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x -g /usr/share/gocode -r '.*example.*' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Testing in: /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/src PATH: /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/cron-be2e0b0deed5a68ffee390b4583a13aff8321535/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X gopkg.in/robfig/cron.v2/version=2.0.0 -X gopkg.in/robfig/cron.v2/version.commit=be2e0b0deed5a68ffee390b4583a13aff8321535 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: gopkg.in/robfig/cron.v2 gopkg.in/robfig/cron.v2 2019/06/30 21:14:24 Expected 5 or 6 fields, found 1: xyz 2019/06/30 21:14:24 End of range (60) above maximum (59): 60 2019/06/30 21:14:24 End of range (60) above maximum (23): 60 2019/06/30 21:14:24 Failed to parse int from XYZ: strconv.Atoi: parsing "XYZ": invalid syntax PASS ok gopkg.in/robfig/cron.v2 12.723s Processing files: golang-gopkg-robfig-cron-2-devel-2.0.0-1.20190630gitbe2e0b0.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UdGVvy + umask 022 + cd /builddir/build/BUILD + cd cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x/usr/share/doc/golang-gopkg-robfig-cron-2-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x/usr/share/doc/golang-gopkg-robfig-cron-2-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x/usr/share/doc/golang-gopkg-robfig-cron-2-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7tTV4B + umask 022 + cd /builddir/build/BUILD + cd cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x/usr/share/licenses/golang-gopkg-robfig-cron-2-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x/usr/share/licenses/golang-gopkg-robfig-cron-2-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x/usr/share/licenses/golang-gopkg-robfig-cron-2-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: golang(gopkg.in/robfig/cron.v2) = 2.0.0-1.20190630gitbe2e0b0.fc31 golang(gopkg.in/robfig/cron.v2)(commit=be2e0b0deed5a68ffee390b4583a13aff8321535) = 2.0.0-1.20190630gitbe2e0b0.fc31 golang-gopkg-robfig-cron-2-devel = 2.0.0-1.20190630gitbe2e0b0.fc31 golang-ipath(gopkg.in/robfig/cron.v2) = 2.0.0-1.20190630gitbe2e0b0.fc31 golang-ipath(gopkg.in/robfig/cron.v2)(commit=be2e0b0deed5a68ffee390b4583a13aff8321535) = 2.0.0-1.20190630gitbe2e0b0.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-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x Wrote: /builddir/build/RPMS/golang-gopkg-robfig-cron-2-devel-2.0.0-1.20190630gitbe2e0b0.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oP8Lvy + umask 022 + cd /builddir/build/BUILD + cd cron-be2e0b0deed5a68ffee390b4583a13aff8321535 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-gopkg-robfig-cron-2-2.0.0-1.20190630gitbe2e0b0.fc31.s390x + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0