Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-facebookgo-ensure.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1023986-29666/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-facebookgo-ensure.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-facebookgo-ensure.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1023986-29666/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-facebookgo-ensure.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OecrKt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/vendor + [[ ! -e /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/bin install: creating directory '/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build' install: creating directory '/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/bin' + export GOPATH=/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo/ensure ]] ++ dirname /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo/ensure + install -m 0755 -vd /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo install: creating directory '/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src' install: creating directory '/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com' install: creating directory '/builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo' + ln -fs /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo/ensure + cd /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo/ensure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WrN1WF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.riscv64 + cd ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b + cd /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src/github.com/facebookgo/ensure + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/facebookgo/ensure -b /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/bin -s /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build -o golang-github-facebookgo-ensure-devel.file-list -O /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b -V 0-0.5.20210705git63f1cf6.fc38 -C 63f1cf65ac4cf1f4bd7e93292149a456001b0e0b -p /builddir/build/BUILDROOT/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/facebookgo/ensure realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. readme.md +++ sort -u ++ listfiles_include=readme.md ++ echo readme.md + godocs=readme.md + [[ -n readme.md ]] + IFS= + read -r f + echo %doc '"readme.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. license +++ sort -u ++ listfiles_include=license ++ echo license + 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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vyFDDE + umask 022 + cd /builddir/build/BUILD + cd ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b + LDFLAGS=' -X github.com/facebookgo/ensure/version=0 -X github.com/facebookgo/ensure/version.commit=63f1cf65ac4cf1f4bd7e93292149a456001b0e0b' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/facebookgo/ensure -b /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/bin -s /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build -V 0-0.5.20210705git63f1cf6.fc38 -C 63f1cf65ac4cf1f4bd7e93292149a456001b0e0b -p /builddir/build/BUILDROOT/golang-github-facebookgo-ensure-0-0.5.20210705git63f1cf6.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/src PATH: /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/ensure-63f1cf65ac4cf1f4bd7e93292149a456001b0e0b/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/facebookgo/ensure/version=0 -X github.com/facebookgo/ensure/version.commit=63f1cf65ac4cf1f4bd7e93292149a456001b0e0b -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/facebookgo/ensure github.com/facebookgo/ensure --- FAIL: TestIndirectStackTrace (0.01s) ensure.go:65:  github.com/facebookgo/ensure/common_test.go:36 (*capture).Contains github.com/facebookgo/ensure/ensure_no_race_test.go:18 TestIndirectStackTrace expected substring "github.com/facebookgo/ensure/ensure_no_race_test.go:12" was not found in "ensure_no_race_test.go:12: expected substring "bar" was not found in "foo"" --- FAIL: TestExtras (0.01s) ensure.go:65:  github.com/facebookgo/ensure/common_test.go:29 (*capture).Equal github.com/facebookgo/ensure/ensure_test.go:42 TestExtras expected these to be equal: ACTUAL: (string) (len=194) "ensure_test.go:32: unexpected error: foo\n(map[string]int) (len=1) {\n (string) (len=6) \"answer\": (int) 42\n}\n(string) (len=3) \"baz\"\n(int) 43\n(float64) 44.45\n(ensure_test.typ) {\n Answer: (int) 46\n}" EXPECTED: (string) (len=194) "ensure_test.go:41: unexpected error: foo\n(map[string]int) (len=1) {\n (string) (len=6) \"answer\": (int) 42\n}\n(string) (len=3) \"baz\"\n(int) 43\n(float64) 44.45\n(ensure_test.typ) {\n Answer: (int) 46\n}" FAIL exit status 1 FAIL github.com/facebookgo/ensure 0.230s error: Bad exit status from /var/tmp/rpm-tmp.vyFDDE (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.vyFDDE (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-facebookgo-ensure.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-facebookgo-ensure.spec