ng.go:1044 +0x374 testing.runTests.func1(0x3fcc0e05a0) /usr/lib/golang/src/testing/testing.go:1285 +0x7c testing.tRunner(0x3fcc0e05a0, 0x3fcc263e28) /usr/lib/golang/src/testing/testing.go:992 +0x108 testing.runTests(0x3fcc1d7420, 0x6d9780, 0x70, 0x70, 0x0) /usr/lib/golang/src/testing/testing.go:1283 +0x2bc testing.(*M).Run(0x3fcc50c380, 0x0) /usr/lib/golang/src/testing/testing.go:1200 +0x170 main.main() _testmain.go:588 +0x16c goroutine 21 [runnable]: math/big.mulAddWWW_g(0x5eb042d736fd4ae9, 0x47670dfd51792b84, 0x0, 0x17d1a0d7b5f429fe, 0xc3f8bf07b350e5b8) /usr/lib/golang/src/math/big/arith.go:50 +0x10 math/big.addMulVVW_g(0x3fcf8708f0, 0x9, 0x15, 0x3fc00213b0, 0x9, 0x1d, 0x47670dfd51792b84, 0x0) /usr/lib/golang/src/math/big/arith.go:202 +0x84 math/big.addMulVVW(...) /usr/lib/golang/src/math/big/arith_decl_pure.go:56 math/big.basicMul(0x3fcf8708f0, 0x12, 0x15, 0x3fc00213b0, 0x9, 0x1d, 0x3fcf870790, 0x9, 0x16) /usr/lib/golang/src/math/big/nat.go:199 +0x140 math/big.nat.mul(0x3fcf8708f0, 0x11, 0x15, 0x3fc00213b0, 0x9, 0x1d, 0x3fcf870790, 0x9, 0x16, 0x11, ...) /usr/lib/golang/src/math/big/nat.go:430 +0x748 math/big.(*Int).Mul(0x3fcc35b0b8, 0x3fcf581f80, 0x3fcc35b0d8, 0x3fcf581fe0) /usr/lib/golang/src/math/big/int.go:168 +0x124 crypto/elliptic.(*CurveParams).doubleJacobian(0x3fcc0be1c0, 0x3fcf581f80, 0x3fcf581fa0, 0x3fcf581fc0, 0x3fcf581f40, 0x3fcce75c00, 0x3fcf581f60) /usr/lib/golang/src/crypto/elliptic/elliptic.go:209 +0x30c crypto/elliptic.(*CurveParams).ScalarMult(0x3fcc0be1c0, 0x3fcc00a5e0, 0x3fcc00a620, 0x3fcc192af7, 0x41, 0x41, 0x1, 0x3fcc192af0) /usr/lib/golang/src/crypto/elliptic/elliptic.go:258 +0x128 crypto/elliptic.(*CurveParams).ScalarBaseMult(0x3fcc0be1c0, 0x3fcc192af7, 0x41, 0x41, 0x48, 0x48) /usr/lib/golang/src/crypto/elliptic/elliptic.go:270 +0x54 crypto/ecdsa.GenerateKey(0x49f080, 0x3fcc0be1c0, 0x4971a0, 0x3fcc0aa210, 0x3ef060, 0x30, 0x200003e85a0) /usr/lib/golang/src/crypto/ecdsa/ecdsa.go:123 +0x188 gopkg.in/square/go-jose%2ev2.ecKeyGenerator.genKey(0x10, 0x40382b, 0xe, 0x3fcc0aacf0, 0x3fcc50aaa0, 0x3101d4, 0x3ef060, 0x3fcf7ba9c0, 0x3fcc35b408, 0x10) /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(0x3fcc0aacf0, 0x3fcc50aaa0, 0x10, 0x10, 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(0x3fcf7b9aa0, 0x3fcc018ba0, 0x1a, 0x1a, 0x0, 0x0, 0x0, 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, 0x4013a6, 0x7, 0x0, 0x0, 0x42e7f8, 0x3fcc35bd78, 0x0, 0x0, ...) /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(0x3fcc0e0a20) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:197 +0x458 testing.tRunner(0x3fcc0e0a20, 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 658.727s error: Bad exit status from /var/tmp/rpm-tmp.sQdsb1 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.sQdsb1 (%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