g/src/testing/testing.go:992 +0x108 testing.runTests(0x3fb411d480, 0x6d9780, 0x70, 0x70, 0x0) /usr/lib/golang/src/testing/testing.go:1283 +0x2bc testing.(*M).Run(0x3fb409c300, 0x0) /usr/lib/golang/src/testing/testing.go:1200 +0x170 main.main() _testmain.go:588 +0x16c goroutine 21 [runnable]: math/big.mulAddVWW_g(0x3fb6ea4b60, 0x9, 0xe, 0x3fb70b2e00, 0x9, 0xe, 0x0, 0x0, 0xe) /usr/lib/golang/src/math/big/arith.go:190 +0x10 math/big.mulAddVWW(...) /usr/lib/golang/src/math/big/arith_decl_pure.go:52 math/big.nat.divBasic(0x3fac1c9a40, 0x19, 0x1d, 0x3fac7e1040, 0x22, 0x26, 0x3fb70b2e00, 0x9, 0xe) /usr/lib/golang/src/math/big/nat.go:782 +0x174 math/big.nat.divLarge(0x0, 0x0, 0x0, 0x3fac7e1040, 0x21, 0x26, 0x3fac7e1040, 0x21, 0x26, 0x3fb401e3c0, ...) /usr/lib/golang/src/math/big/nat.go:725 +0x2f0 math/big.nat.div(0x0, 0x0, 0x0, 0x3fac7e1040, 0x21, 0x26, 0x3fac7e1040, 0x21, 0x26, 0x3fb401e3c0, ...) /usr/lib/golang/src/math/big/nat.go:672 +0x328 math/big.(*Int).QuoRem(0x3fb6fa2f98, 0x3fb400a9a0, 0x3fb400a720, 0x3fb400a9a0, 0x26, 0x3fac7e1040) /usr/lib/golang/src/math/big/int.go:239 +0x98 math/big.(*Int).Mod(0x3fb400a9a0, 0x3fb400a9a0, 0x3fb400a720, 0x3fb400a9a0) /usr/lib/golang/src/math/big/int.go:270 +0x138 crypto/elliptic.(*CurveParams).doubleJacobian(0x3fb40581c0, 0x3fb400a960, 0x3fb400a940, 0x3fb400a980, 0x3fb400a960, 0x3fb400a940, 0x3fb400a980) /usr/lib/golang/src/crypto/elliptic/elliptic.go:247 +0x72c crypto/elliptic.(*CurveParams).ScalarMult(0x3fb40581c0, 0x3fb400a7e0, 0x3fb400a820, 0x3facbf8c36, 0x42, 0x42, 0x1, 0x3facbf8c30) /usr/lib/golang/src/crypto/elliptic/elliptic.go:258 +0x128 crypto/elliptic.(*CurveParams).ScalarBaseMult(0x3fb40581c0, 0x3facbf8c36, 0x42, 0x42, 0x48, 0x48) /usr/lib/golang/src/crypto/elliptic/elliptic.go:270 +0x54 crypto/ecdsa.GenerateKey(0x49f080, 0x3fb40581c0, 0x4971a0, 0x3fb405a1b0, 0x3ef060, 0x30, 0x200003e85a0) /usr/lib/golang/src/crypto/ecdsa/ecdsa.go:123 +0x188 gopkg.in/square/go-jose%2ev2.ecKeyGenerator.genKey(0x10, 0x40382b, 0xe, 0x3fb405ac30, 0x3fb45ae6c0, 0x3101d4, 0x3ef060, 0x3fb58e0960, 0x3fb6fa3408, 0x18) /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.ecEncrypterVerifier.encryptKey(0x3fb405ac30, 0x3fb45ae6c0, 0x18, 0x18, 0x40382b, 0xe, 0x0, 0x0, 0x0, 0x0, ...) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/asymmetric.go:363 +0x120 gopkg.in/square/go-jose%2ev2.(*genericEncrypter).EncryptWithAuthData(0x3faceffc20, 0x3fb45ae6a0, 0x1a, 0x1a, 0x3fb45af160, 0x17, 0x17, 0x0, 0x0, 0x0) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter.go:339 +0x2dc gopkg.in/square/go-jose%2ev2.RoundtripJWE(0x40382b, 0xe, 0x4013ad, 0x7, 0x4008a5, 0x3, 0x42e800, 0x3fb6fa3d68, 0x3fb45af160, 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(0x3fb41817a0) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:197 +0x458 testing.tRunner(0x3fb41817a0, 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 659.590s error: Bad exit status from /var/tmp/rpm-tmp.HwuFNc (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HwuFNc (%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