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-sasha-s-go-deadlock.spec'], chrootPath='/var/lib/mock/f27-build-12598073-921222/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-sasha-s-go-deadlock.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-sasha-s-go-deadlock-0.2.0-2.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-github-sasha-s-go-deadlock.spec'], chrootPath='/var/lib/mock/f27-build-12598073-921222/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-sasha-s-go-deadlock.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.F38vUs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + /usr/bin/gzip -dc /builddir/build/SOURCES/sasha-s-go-deadlock-03d40e5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (00-fix-locking-order.patch):' Patch #0 (00-fix-locking-order.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file deadlock.go + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.seSVDJ + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Pv7yc0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x ++ dirname /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + install -d -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/ + 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 ./deadlock.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/. + cp -pav ./deadlock.go /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/./deadlock.go './deadlock.go' -> '/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/./deadlock.go' + echo '%{gopath}/src/%{import_path}/./deadlock.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./stacktraces.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/. + cp -pav ./stacktraces.go /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/./stacktraces.go './stacktraces.go' -> '/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/./stacktraces.go' + echo '%{gopath}/src/%{import_path}/./stacktraces.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/ ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") ++ dirname ./deadlock_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/. + cp -pav ./deadlock_test.go /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/./deadlock_test.go './deadlock_test.go' -> '/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode/src/github.com/sasha-s/go-deadlock/./deadlock_test.go' + echo '%{gopath}/src/%{import_path}/./deadlock_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.kjhQWp + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + export GOPATH=/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.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/sasha-s/go-deadlock ok github.com/sasha-s/go-deadlock 2.006s + exit 0 Processing files: golang-github-sasha-s-go-deadlock-devel-0.2.0-2.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wboZKU + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + DOCDIR=/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/doc/golang-github-sasha-s-go-deadlock-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/doc/golang-github-sasha-s-go-deadlock-devel + cp -pr Readme.md /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/doc/golang-github-sasha-s-go-deadlock-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.g14Zep + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/licenses/golang-github-sasha-s-go-deadlock-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/licenses/golang-github-sasha-s-go-deadlock-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/licenses/golang-github-sasha-s-go-deadlock-devel + exit 0 Provides: golang(github.com/sasha-s/go-deadlock) = 0.2.0-2.fc27 golang-github-sasha-s-go-deadlock-devel = 0.2.0-2.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-sasha-s-go-deadlock-unit-test-devel-0.2.0-2.fc27.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KicFRW + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + DOCDIR=/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/doc/golang-github-sasha-s-go-deadlock-unit-test-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/doc/golang-github-sasha-s-go-deadlock-unit-test-devel + cp -pr Readme.md /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/doc/golang-github-sasha-s-go-deadlock-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wtzuvx + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/licenses/golang-github-sasha-s-go-deadlock-unit-test-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/licenses/golang-github-sasha-s-go-deadlock-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x/usr/share/licenses/golang-github-sasha-s-go-deadlock-unit-test-devel + exit 0 Provides: golang-github-sasha-s-go-deadlock-unit-test-devel = 0.2.0-2.fc27 golang-github-sasha-s-go-deadlock-unit-test-devel(s390-64) = 0.2.0-2.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-sasha-s-go-deadlock-0.2.0-2.fc27.s390x Wrote: /builddir/build/RPMS/golang-github-sasha-s-go-deadlock-devel-0.2.0-2.fc27.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-sasha-s-go-deadlock-unit-test-devel-0.2.0-2.fc27.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2ny378 + umask 022 + cd /builddir/build/BUILD + cd go-deadlock-03d40e5dbd5488667a13b3c2600b2f7c2886f02f + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-sasha-s-go-deadlock-0.2.0-2.fc27.s390x + exit 0 Child return code was: 0