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-stretchr-testify.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1058435-29765/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-stretchr-testify.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=1691280000 Wrote: /builddir/build/SRPMS/golang-github-stretchr-testify-1.8.0-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1058435-29765/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.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=1691280000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wmmb25 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testify-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testify-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testify-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/testify-1.8.0/vendor + [[ ! -e /builddir/build/BUILD/testify-1.8.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/testify-1.8.0/_build/bin install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build' install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/bin' + export GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify ]] ++ dirname /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + install -m 0755 -vd /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/src' install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr' + ln -fs /builddir/build/BUILD/testify-1.8.0 /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + cd /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aqwmRS + umask 022 + cd /builddir/build/BUILD + cd testify-1.8.0 + GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/stretchr/testify --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-stretchr-testify-1.8.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1058435-29765/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.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=1691280000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.60Rhej + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testify-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testify-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testify-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/testify-1.8.0/vendor + [[ ! -e /builddir/build/BUILD/testify-1.8.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/testify-1.8.0/_build/bin install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build' install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/bin' + export GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify ]] ++ dirname /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + install -m 0755 -vd /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/src' install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr' + ln -fs /builddir/build/BUILD/testify-1.8.0 /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + cd /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.RoROuw + umask 022 + cd /builddir/build/BUILD + cd testify-1.8.0 + GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/stretchr/testify --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-stretchr-testify-1.8.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1058435-29765/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 -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.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=1691280000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.48rYUw + umask 022 + cd /builddir/build/BUILD + cd testify-1.8.0 + GOPATH=/builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/stretchr/testify --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OEM6m8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64 + cd testify-1.8.0 + cd /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/stretchr/testify -b /builddir/build/BUILD/testify-1.8.0/_build/bin -s /builddir/build/BUILD/testify-1.8.0/_build -o golang-github-stretchr-testify-devel.file-list -O /builddir/build/BUILD/testify-1.8.0 -V 1.8.0-1.fc38 -p /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/stretchr/testify + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md MAINTAINERS.md README.md +++ sort -u ++ listfiles_include='CONTRIBUTING.md MAINTAINERS.md README.md' ++ echo 'CONTRIBUTING.md MAINTAINERS.md README.md' + godocs='CONTRIBUTING.md MAINTAINERS.md README.md' + [[ -n CONTRIBUTING.md MAINTAINERS.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"MAINTAINERS.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 + install -m 0755 -d /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64/usr/share/gocode/src/gopkg.in/stretchr + ln -rs /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64/usr/share/gocode/src/github.com/stretchr/testify /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64/usr/share/gocode/src/gopkg.in/stretchr/testify.v1 + echo /usr/share/gocode/src/gopkg.in/stretchr/testify.v1 + echo '%dir "/usr/share/gocode/src/gopkg.in/stretchr"' + echo '%dir "/usr/share/gocode/src/gopkg.in"' + /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.IYkUXT + umask 022 + cd /builddir/build/BUILD + cd testify-1.8.0 + LDFLAGS=' -X github.com/stretchr/testify/version=1.8.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 -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/stretchr/testify -b /builddir/build/BUILD/testify-1.8.0/_build/bin -s /builddir/build/BUILD/testify-1.8.0/_build -V 1.8.0-1.fc38 -p /builddir/build/BUILDROOT/golang-github-stretchr-testify-1.8.0-1.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/testify-1.8.0/_build/src PATH: /builddir/build/BUILD/testify-1.8.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/testify-1.8.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/stretchr/testify/version=1.8.0 -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/stretchr/testify github.com/stretchr/testify PASS ok github.com/stretchr/testify 0.349s github.com/stretchr/testify PASS ok github.com/stretchr/testify 0.351s github.com/stretchr/testify/assert PASS ok github.com/stretchr/testify/assert 2.318s github.com/stretchr/testify/assert PASS ok github.com/stretchr/testify/assert 2.981s github.com/stretchr/testify/http ? github.com/stretchr/testify/http [no test files] github.com/stretchr/testify/mock PASS ok github.com/stretchr/testify/mock 3.863s github.com/stretchr/testify/mock PASS ok github.com/stretchr/testify/mock 3.173s github.com/stretchr/testify/require PASS ok github.com/stretchr/testify/require 1.091s github.com/stretchr/testify/require PASS ok github.com/stretchr/testify/require 0.902s github.com/stretchr/testify/suite --- FAIL: TestSuiteRequireTwice (0.11s) --- FAIL: TestSuiteRequireTwice/TestRequireOne (0.02s) suite_test.go:42: Error Trace: /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:42 Error: Not equal: expected: 1 actual : 2 Test: TestSuiteRequireTwice/TestRequireOne --- FAIL: TestSuiteRequireTwice/TestRequireTwo (0.00s) suite_test.go:47: Error Trace: /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:47 Error: Not equal: expected: 1 actual : 2 Test: TestSuiteRequireTwice/TestRequireTwo --- FAIL: TestPanicInSetupSuite (0.05s) suite.go:77: test panicked: oops in setup suite goroutine 42 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001a0d00, {0xaaaaaabc9dbfe0, 0xaaaaaabca4dc40}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.recoverAndFailOnPanic(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:72 +0x48 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4dc40}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).SetupSuite(0xaaaaaabc9b7b9b?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:63 +0x4c github.com/stretchr/testify/suite.Run(0xc0001a0d00, {0xaaaaaabca4ff10, 0xc0001e4140}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:132 +0x334 github.com/stretchr/testify/suite.TestSuiteRecoverPanic.func1(0xc0001a0820?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:108 +0x50 testing.tRunner(0xc0001a0d00, 0xaaaaaabca4cdc8) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestPanicInSetupTest (0.03s) --- FAIL: TestPanicInSetupTest/Test (0.00s) suite.go:77: test panicked: oops in setup test goroutine 44 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001a11e0, {0xaaaaaabc9dbfe0, 0xaaaaaabca4dc50}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.Run.func1.1() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:161 +0x1d8 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4dc50}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).SetupTest(0xaaaaaabccc7c40?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:69 +0x4c github.com/stretchr/testify/suite.Run.func1(0xc0001a11e0) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:165 +0x148 testing.tRunner(0xc0001a11e0, 0xc0001ac2d0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestPanicInBeforeTest (0.03s) --- FAIL: TestPanicInBeforeTest/Test (0.00s) suite.go:77: test panicked: oops in before test goroutine 46 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001a1520, {0xaaaaaabc9dbfe0, 0xaaaaaabca4dc60}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.Run.func1.1() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:161 +0x1d8 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4dc60}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).BeforeTest(0xaaaaaabccc7c40?, {0xaaaaaabca4ff10?, 0xc0001e5fc0?}, {0xaaaaaabc6c8ea7?, 0xaaaaaabcc087e0?}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:75 +0x6c github.com/stretchr/testify/suite.Run.func1(0xc0001a1520) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:168 +0x1a8 testing.tRunner(0xc0001a1520, 0xc0001ac360) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestPanicInTest (0.03s) --- FAIL: TestPanicInTest/Test (0.00s) suite.go:77: test panicked: oops in test goroutine 48 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001a1860, {0xaaaaaabc9dbfe0, 0xaaaaaabca4dc70}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.Run.func1.1() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:161 +0x1d8 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4dc70}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).Test(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:81 +0x4c reflect.Value.call({0xc0001e4f00?, 0xc000259a20?, 0x13?}, {0xaaaaaabc9383d8, 0x4}, {0xc000059e88, 0x1, 0x1?}) /usr/lib/golang/src/reflect/value.go:586 +0x858 reflect.Value.Call({0xc0001e4f00?, 0xc000259a20?, 0xc000290f00?}, {0xc00018a688?, 0xaaaaaabcc087e0?, 0xaaaaaabca75b2c?}) /usr/lib/golang/src/reflect/value.go:370 +0xc8 github.com/stretchr/testify/suite.Run.func1(0xc0001a1860) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:175 +0x374 testing.tRunner(0xc0001a1860, 0xc0001ac3f0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestPanicInAfterTest (0.03s) --- FAIL: TestPanicInAfterTest/Test (0.00s) suite.go:77: test panicked: oops in after test goroutine 50 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001a1ba0, {0xaaaaaabc9dbfe0, 0xaaaaaabca4db20}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.recoverAndFailOnPanic(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:72 +0x48 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4db20}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).AfterTest(0x0?, {0xaaaaaabca4ff10?, 0xc000291e40?}, {0x0?, 0x0?}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:87 +0x6c github.com/stretchr/testify/suite.Run.func1.1() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:153 +0x190 github.com/stretchr/testify/suite.Run.func1(0xc0001a1ba0) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:176 +0x388 testing.tRunner(0xc0001a1ba0, 0xc0001ac480) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestPanicInTearDownTest (0.04s) --- FAIL: TestPanicInTearDownTest/Test (0.00s) suite.go:77: test panicked: oops in tear down test goroutine 52 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc000394000, {0xaaaaaabc9dbfe0, 0xaaaaaabca4db30}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.recoverAndFailOnPanic(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:72 +0x48 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4db30}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).TearDownTest(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:93 +0x4c github.com/stretchr/testify/suite.Run.func1.1() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:157 +0x1b4 github.com/stretchr/testify/suite.Run.func1(0xc000394000) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:176 +0x388 testing.tRunner(0xc000394000, 0xc0001ac510) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestPanicInTearDownSuite (0.06s) suite.go:77: test panicked: oops in tear down suite goroutine 66 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc000418000, {0xaaaaaabc9dbfe0, 0xaaaaaabca4db40}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.recoverAndFailOnPanic(0xc00040a078?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:72 +0x48 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4db40}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).TearDownSuite(0xaaaaaabccf0380?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:99 +0x4c github.com/stretchr/testify/suite.Run.func2() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:183 +0x60 github.com/stretchr/testify/suite.Run(0xc000418000, {0xaaaaaabca4ff10, 0xc000420000}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:194 +0x5e8 github.com/stretchr/testify/suite.TestSuiteRecoverPanic.func7(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:132 +0x50 testing.tRunner(0xc000418000, 0xaaaaaabca4cdf8) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: WithStats (0.05s) --- FAIL: WithStats/TestPanic (0.00s) suite.go:77: test panicked: oops goroutine 22 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc000394000, {0xaaaaaabc9dbfe0, 0xaaaaaabca4dbf0}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.Run.func1.1() /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:161 +0x1d8 panic({0xaaaaaabc9dbfe0, 0xaaaaaabca4dbf0}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*suiteWithStats).TestPanic(0x0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:505 +0x30 reflect.Value.call({0xc00015bbc0?, 0xc00011b130?, 0x13?}, {0xaaaaaabc9383d8, 0x4}, {0xc00005de88, 0x1, 0x1?}) /usr/lib/golang/src/reflect/value.go:586 +0x858 reflect.Value.Call({0xc00015bbc0?, 0xc00011b130?, 0xaaaaaabc9bbc7e?}, {0xc000049688?, 0xaaaaaabcc087e0?, 0xaaaaaabca75b2c?}) /usr/lib/golang/src/reflect/value.go:370 +0xc8 github.com/stretchr/testify/suite.Run.func1(0xc000394000) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:175 +0x374 testing.tRunner(0xc000394000, 0xc0000f4000) /usr/lib/golang/src/testing/testing.go:1576 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 --- FAIL: TestFailfastSuite (0.02s) --- FAIL: TestFailfastSuite/Test_A_Fails (0.00s) suite_test.go:600: Test A meant to fail --- FAIL: TestFailfastSuiteFailFastOn (0.30s) suite_test.go:575: Running go test -v -race -run TestFailfastSuite -failfast suite_test.go:577: suite_test.go:579: exit status 2 FAIL exit status 1 FAIL github.com/stretchr/testify/suite 2.943s error: Bad exit status from /var/tmp/rpm-tmp.IYkUXT (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IYkUXT (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.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 -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-stretchr-testify.spec