g.tRunner(0x3f9c1c65a0, 0x3f9c05fe28) /usr/lib/golang/src/testing/testing.go:992 +0x108 testing.runTests(0x3f9c00b4c0, 0x6d9780, 0x70, 0x70, 0x0) /usr/lib/golang/src/testing/testing.go:1283 +0x2bc testing.(*M).Run(0x3f9c1f4380, 0x0) /usr/lib/golang/src/testing/testing.go:1200 +0x170 main.main() _testmain.go:588 +0x16c goroutine 15 [runnable]: math/big.mulAddVWW_g(0x3f9c180120, 0x9, 0xb, 0x3f9f836000, 0x9, 0xb, 0x6e58f77035689f91, 0x0, 0xb) /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(0x3f9d8133b0, 0x19, 0x1d, 0x3f9d811900, 0x22, 0x26, 0x3f9f836000, 0x9, 0xb) /usr/lib/golang/src/math/big/nat.go:782 +0x174 math/big.nat.divLarge(0x0, 0x0, 0x0, 0x3f9d811900, 0x21, 0x26, 0x3f9d811900, 0x21, 0x26, 0x3f9c180540, ...) /usr/lib/golang/src/math/big/nat.go:725 +0x2f0 math/big.nat.div(0x0, 0x0, 0x0, 0x3f9d811900, 0x21, 0x26, 0x3f9d811900, 0x21, 0x26, 0x3f9c180540, ...) /usr/lib/golang/src/math/big/nat.go:672 +0x328 math/big.(*Int).QuoRem(0x3f9e338eb0, 0x3f9d7e5540, 0x3f9c1a09a0, 0x3f9d7e5540, 0x26, 0x3f9d811900) /usr/lib/golang/src/math/big/int.go:239 +0x98 math/big.(*Int).Mod(0x3f9d7e5540, 0x3f9d7e5540, 0x3f9c1a09a0, 0x3f9d7e5540) /usr/lib/golang/src/math/big/int.go:270 +0x138 crypto/elliptic.(*CurveParams).doubleJacobian(0x3f9c19e4c0, 0x3f9d7e54e0, 0x3f9d7e54c0, 0x3f9d7e5500, 0x3f9d7e54e0, 0x3f9d7e54c0, 0x3f9d7e5500) /usr/lib/golang/src/crypto/elliptic/elliptic.go:218 +0x448 crypto/elliptic.(*CurveParams).ScalarMult(0x3f9c19e4c0, 0x3f9c362ec0, 0x3f9c362ee0, 0x3f9c1eceb6, 0x42, 0x42, 0x6, 0x8000003f9d339f10) /usr/lib/golang/src/crypto/elliptic/elliptic.go:258 +0x128 gopkg.in/square/go-jose.v2/cipher.DeriveECDHES(0x40382b, 0xe, 0x3f9e339338, 0x0, 0x0, 0x3f9e339338, 0x0, 0x0, 0x3f9f304ab0, 0x3f9c1871d0, ...) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/cipher/ecdh_es.go:49 +0x4a0 gopkg.in/square/go-jose%2ev2.ecKeyGenerator.genKey(0x10, 0x40382b, 0xe, 0x3f9c1871d0, 0x3f9c018aa0, 0x3101d4, 0x3ef060, 0x3f9f304a80, 0x3f9e339408, 0x20) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/asymmetric.go:396 +0xc4 gopkg.in/square/go-jose%2ev2.ecEncrypterVerifier.encryptKey(0x3f9c1871d0, 0x3f9c018aa0, 0x20, 0x20, 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(0x3f9f2bdd40, 0x3f9c018a80, 0x1a, 0x1a, 0x3f9c019ce0, 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, 0x4013b4, 0x7, 0x0, 0x0, 0x42e800, 0x3f9e339d78, 0x3f9c019ce0, 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(0x3f903e0a20) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:197 +0x458 testing.tRunner(0x3f903e0a20, 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 612.101s error: Bad exit status from /var/tmp/rpm-tmp.7Lv4Yr (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7Lv4Yr (%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