/usr/lib/golang/src/testing/testing.go:1460 +0xe8 created by time.goFunc /usr/lib/golang/src/time/sleep.go:168 +0x4c goroutine 1 [chan receive, 2 minutes]: testing.(*T).Run(0x3fbbaba000, 0x408b73, 0x1a, 0x42e810, 0x11b201) /usr/lib/golang/src/testing/testing.go:1044 +0x374 testing.runTests.func1(0x3fb81465a0) /usr/lib/golang/src/testing/testing.go:1285 +0x7c testing.tRunner(0x3fb81465a0, 0x3fb82f7e28) /usr/lib/golang/src/testing/testing.go:992 +0x108 testing.runTests(0x3fb82b3480, 0x6d9780, 0x70, 0x70, 0x0) /usr/lib/golang/src/testing/testing.go:1283 +0x2bc testing.(*M).Run(0x3fb8056380, 0x0) /usr/lib/golang/src/testing/testing.go:1200 +0x170 main.main() _testmain.go:588 +0x16c goroutine 19 [runnable]: math/big.nat.divBasic(0x3fb97b3dd0, 0xd, 0x11, 0x3fb97bc840, 0x13, 0x16, 0x3fb801e060, 0x6, 0xb) /usr/lib/golang/src/math/big/nat.go:744 +0x14 math/big.nat.divLarge(0x0, 0x0, 0x0, 0x3fb97bc840, 0x12, 0x16, 0x3fb97bc840, 0x12, 0x16, 0x3fb81023c0, ...) /usr/lib/golang/src/math/big/nat.go:725 +0x2f0 math/big.nat.div(0x0, 0x0, 0x0, 0x3fb97bc840, 0x12, 0x16, 0x3fb97bc840, 0x12, 0x16, 0x3fb81023c0, ...) /usr/lib/golang/src/math/big/nat.go:672 +0x328 math/big.(*Int).QuoRem(0x3fb866ee48, 0x3fb866f098, 0x3fb8122860, 0x3fb866f098, 0x3fb97c4600, 0x7) /usr/lib/golang/src/math/big/int.go:239 +0x98 math/big.(*Int).Mod(0x3fb866f098, 0x3fb866f098, 0x3fb8122860, 0x3fb866f098) /usr/lib/golang/src/math/big/int.go:270 +0x138 crypto/elliptic.(*CurveParams).addJacobian(0x3fb8120480, 0x3fb8122920, 0x3fb8122960, 0x3fb866f278, 0x3fb97ba260, 0x3fb97ba240, 0x3fb97ba280, 0x3fb97ba180, 0x3fb97ba1a0, 0x3fb97ba1c0) /usr/lib/golang/src/crypto/elliptic/elliptic.go:146 +0xdc8 crypto/elliptic.(*CurveParams).ScalarMult(0x3fb8120480, 0x3fb8122920, 0x3fb8122960, 0x3fb9655aa0, 0x30, 0x30, 0x1, 0x3fb9655aa0) /usr/lib/golang/src/crypto/elliptic/elliptic.go:260 +0x188 crypto/elliptic.(*CurveParams).ScalarBaseMult(0x3fb8120480, 0x3fb9655aa0, 0x30, 0x30, 0x30, 0x30) /usr/lib/golang/src/crypto/elliptic/elliptic.go:270 +0x54 crypto/ecdsa.GenerateKey(0x49f080, 0x3fb8120480, 0x4971a0, 0x3fb8108210, 0x3fb8032380, 0xfee, 0x3fe393b7d0) /usr/lib/golang/src/crypto/ecdsa/ecdsa.go:123 +0x188 gopkg.in/square/go-jose%2ev2.ecKeyGenerator.genKey(0x30, 0x403289, 0xd, 0x3fb81091a0, 0x0, 0x310118, 0x20, 0x3bc980, 0x3fb801a501, 0x3fb9780400) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/asymmetric.go:391 +0x54 gopkg.in/square/go-jose%2ev2.(*genericEncrypter).EncryptWithAuthData(0x3fbbb8b200, 0x3fbb590cc0, 0x1a, 0x1a, 0x3fb80182e0, 0x17, 0x17, 0x0, 0x0, 0x0) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter.go:331 +0x1cc gopkg.in/square/go-jose%2ev2.RoundtripJWE(0x401401, 0x7, 0x403289, 0xd, 0x0, 0x0, 0x42e800, 0x3fb866fd78, 0x3fb80182e0, 0x17, ...) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:59 +0x1fc gopkg.in/square/go-jose%2ev2.TestRoundtripsJWECorrupted(0x3fbbaba000) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:197 +0x458 testing.tRunner(0x3fbbaba000, 0x42e810) /usr/lib/golang/src/testing/testing.go:992 +0x108 created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1043 +0x350 exit status 2 FAIL gopkg.in/square/go-jose.v2 611.224s error: Bad exit status from /var/tmp/rpm-tmp.SS9Ral (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SS9Ral (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/golang-gopkg-square-jose-2.spec