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-983715-29063/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=1690070400 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-983715-29063/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=1690070400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6RseET + 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.Z5H0Rh + 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-983715-29063/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=1690070400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wBa2ZK + 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.Nxqglz + 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-983715-29063/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=1690070400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.NSkOTy + 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.hNfyt1 + 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= +++ sort -u +++ realpath -e --relative-base=. CONTRIBUTING.md MAINTAINERS.md README.md ++ 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.6wBxmG + 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.227s github.com/stretchr/testify PASS ok github.com/stretchr/testify 0.213s github.com/stretchr/testify/assert PASS ok github.com/stretchr/testify/assert 1.552s github.com/stretchr/testify/assert PASS ok github.com/stretchr/testify/assert 1.396s 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 1.796s github.com/stretchr/testify/mock PASS ok github.com/stretchr/testify/mock 1.817s github.com/stretchr/testify/require PASS ok github.com/stretchr/testify/require 0.449s github.com/stretchr/testify/require PASS ok github.com/stretchr/testify/require 0.446s github.com/stretchr/testify/suite --- FAIL: TestSuiteRequireTwice (0.07s) --- 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.01s) 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.03s) suite.go:77: test panicked: oops in setup suite goroutine 26 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001d09c0, {0xaaaaaad4630040, 0xaaaaaad46a1ca0}) /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({0xaaaaaad4630040, 0xaaaaaad46a1ca0}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).SetupSuite(0xaaaaaad460bbfb?) /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(0xc0001d09c0, {0xaaaaaad46a3f70, 0xc0001dc140}) /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(0xc0001d04e0?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:108 +0x50 testing.tRunner(0xc0001d09c0, 0xaaaaaad46a0e28) /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.02s) --- FAIL: TestPanicInSetupTest/Test (0.00s) suite.go:77: test panicked: oops in setup test goroutine 28 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001d0ea0, {0xaaaaaad4630040, 0xaaaaaad46a1cb0}) /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({0xaaaaaad4630040, 0xaaaaaad46a1cb0}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).SetupTest(0xaaaaaad491bb40?) /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(0xc0001d0ea0) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:165 +0x148 testing.tRunner(0xc0001d0ea0, 0xc0001a22d0) /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.02s) --- FAIL: TestPanicInBeforeTest/Test (0.00s) suite.go:77: test panicked: oops in before test goroutine 30 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001d1380, {0xaaaaaad4630040, 0xaaaaaad46a1cc0}) /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({0xaaaaaad4630040, 0xaaaaaad46a1cc0}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).BeforeTest(0xaaaaaad491bb40?, {0xaaaaaad46a3f70?, 0xc0001ddfc0?}, {0xaaaaaad431ce3f?, 0xaaaaaad485c750?}) /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(0xc0001d1380) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:168 +0x1a8 testing.tRunner(0xc0001d1380, 0xc0001a2360) /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.02s) --- FAIL: TestPanicInTest/Test (0.00s) suite.go:77: test panicked: oops in test goroutine 32 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001d16c0, {0xaaaaaad4630040, 0xaaaaaad46a1cd0}) /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({0xaaaaaad4630040, 0xaaaaaad46a1cd0}) /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({0xc0001dcf00?, 0xc000251a20?, 0x13?}, {0xaaaaaad458c3da, 0x4}, {0xc00005ae88, 0x1, 0x1?}) /usr/lib/golang/src/reflect/value.go:586 +0x858 reflect.Value.Call({0xc0001dcf00?, 0xc000251a20?, 0xc000288f00?}, {0xc000046688?, 0xaaaaaad485c750?, 0xaaaaaad46c9b8c?}) /usr/lib/golang/src/reflect/value.go:370 +0xc8 github.com/stretchr/testify/suite.Run.func1(0xc0001d16c0) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:175 +0x374 testing.tRunner(0xc0001d16c0, 0xc0001a23f0) /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.02s) --- FAIL: TestPanicInAfterTest/Test (0.00s) suite.go:77: test panicked: oops in after test goroutine 34 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001d1a00, {0xaaaaaad4630040, 0xaaaaaad46a1b80}) /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({0xaaaaaad4630040, 0xaaaaaad46a1b80}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).AfterTest(0x0?, {0xaaaaaad46a3f70?, 0xc000289e40?}, {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(0xc0001d1a00) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:176 +0x388 testing.tRunner(0xc0001d1a00, 0xc0001a2480) /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.02s) --- FAIL: TestPanicInTearDownTest/Test (0.00s) suite.go:77: test panicked: oops in tear down test goroutine 36 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc0001d1d40, {0xaaaaaad4630040, 0xaaaaaad46a1b90}) /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({0xaaaaaad4630040, 0xaaaaaad46a1b90}) /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(0xc0001d1d40) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:176 +0x388 testing.tRunner(0xc0001d1d40, 0xc0001a2510) /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.02s) suite.go:77: test panicked: oops in tear down suite goroutine 37 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc00038c000, {0xaaaaaad4630040, 0xaaaaaad46a1ba0}) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:77 +0x50 github.com/stretchr/testify/suite.recoverAndFailOnPanic(0xc000125ed8?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:72 +0x48 panic({0xaaaaaad4630040, 0xaaaaaad46a1ba0}) /usr/lib/golang/src/runtime/panic.go:884 +0x1d8 github.com/stretchr/testify/suite.(*panickingSuite).TearDownSuite(0xaaaaaad4944240?) /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(0xc00038c000, {0xaaaaaad46a3f70, 0xc000313cc0}) /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(0xc0001d1d40?) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite_test.go:132 +0x50 testing.tRunner(0xc00038c000, 0xaaaaaad46a0e58) /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.02s) --- FAIL: WithStats/TestPanic (0.00s) suite.go:77: test panicked: oops goroutine 54 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x6c github.com/stretchr/testify/suite.failOnPanic(0xc000082d00, {0xaaaaaad4630040, 0xaaaaaad46a1c50}) /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({0xaaaaaad4630040, 0xaaaaaad46a1c50}) /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?}, {0xaaaaaad458c3da, 0x4}, {0xc0000b9e88, 0x1, 0x1?}) /usr/lib/golang/src/reflect/value.go:586 +0x858 reflect.Value.Call({0xc00015bbc0?, 0xc00011b130?, 0xaaaaaad460fcde?}, {0xc00004c688?, 0xaaaaaad485c750?, 0xaaaaaad46c9b8c?}) /usr/lib/golang/src/reflect/value.go:370 +0xc8 github.com/stretchr/testify/suite.Run.func1(0xc000082d00) /builddir/build/BUILD/testify-1.8.0/_build/src/github.com/stretchr/testify/suite/suite.go:175 +0x374 testing.tRunner(0xc000082d00, 0xc0000f0000) /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.01s) --- FAIL: TestFailfastSuite/Test_A_Fails (0.00s) suite_test.go:600: Test A meant to fail --- FAIL: TestFailfastSuiteFailFastOn (0.12s) 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 1.820s error: Bad exit status from /var/tmp/rpm-tmp.6wBxmG (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6wBxmG (%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