extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: gopkg.in/square/go-jose.v2 gopkg.in/square/go-jose.v2 panic: test timed out after 10m0s goroutine 11 [running]: testing.(*M).startAlarm.func1() /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, 5 minutes]: testing.(*T).Run(0x3fcc4d4c60, 0x408b73, 0x1a, 0x42e810, 0x11b201) /usr/lib/golang/src/testing/testing.go:1044 +0x374 testing.runTests.func1(0x3fcc0ce6c0) /usr/lib/golang/src/testing/testing.go:1285 +0x7c testing.tRunner(0x3fcc0ce6c0, 0x3fcc115e28) /usr/lib/golang/src/testing/testing.go:992 +0x108 testing.runTests(0x3fcc509480, 0x6d9780, 0x70, 0x70, 0x0) /usr/lib/golang/src/testing/testing.go:1283 +0x2bc testing.(*M).Run(0x3fcc120300, 0x0) /usr/lib/golang/src/testing/testing.go:1200 +0x170 main.main() _testmain.go:588 +0x16c goroutine 10 [runnable]: math/big.nat.norm(0x3fcfa54100, 0xc, 0x10, 0x3fcfa54130, 0x6, 0xa) /usr/lib/golang/src/math/big/nat.go:50 +0x10 math/big.nat.sub(0x3fcfa54100, 0xc, 0x10, 0x3fcfa54100, 0xc, 0x10, 0x3fcfa54000, 0x6, 0x10, 0x10, ...) /usr/lib/golang/src/math/big/nat.go:150 +0x2c4 math/big.(*Int).Sub(0x3fcc4ba4c0, 0x3fcc4ba4c0, 0x3fce1151d0, 0x3fcc4ba4c0) /usr/lib/golang/src/math/big/int.go:147 +0x1a8 crypto/elliptic.(*CurveParams).doubleJacobian(0x3fcc0a0480, 0x3fcc10bc20, 0x3fcc10bc00, 0x3fcc10bc40, 0x3fcc10bc20, 0x3fcc10bc00, 0x3fcc10bc40) /usr/lib/golang/src/crypto/elliptic/elliptic.go:222 +0x4b4 crypto/elliptic.(*CurveParams).ScalarMult(0x3fcc0a0480, 0x3fc44683a0, 0x3fc44683c0, 0x3fc4428870, 0x30, 0x30, 0x0, 0x1d1c3c) /usr/lib/golang/src/crypto/elliptic/elliptic.go:258 +0x128 gopkg.in/square/go-jose.v2/cipher.DeriveECDHES(0x3fcc012380, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3fcc0a5140, 0x3fc44683e0, ...) /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.ecDecrypterSigner.decryptKey.func1(0x3fcc012380, 0xe, 0x10, 0x3fcc012301, 0xe, 0x0) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/asymmetric.go:441 +0xa0 gopkg.in/square/go-jose%2ev2.ecDecrypterSigner.decryptKey(0x3fcc0a5140, 0x3fce876240, 0x3fc4468340, 0x49a360, 0x3fcc012348, 0x310eec, 0x8, 0x38cf60, 0x0, 0x3fcc012348) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/asymmetric.go:461 +0x2a8 gopkg.in/square/go-jose%2ev2.JSONWebEncryption.Decrypt(0x0, 0x0, 0x0, 0x3fcc0122f0, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter.go:450 +0x334 gopkg.in/square/go-jose%2ev2.RoundtripJWE(0x40382b, 0xe, 0x4013b4, 0x7, 0x4008a5, 0x3, 0x42e7f8, 0x3fce115d58, 0x0, 0x0, ...) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:84 +0x4fc gopkg.in/square/go-jose%2ev2.TestRoundtripsJWECorrupted(0x3fcc4d4c60) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:197 +0x458 testing.tRunner(0x3fcc4d4c60, 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 623.362s error: Bad exit status from /var/tmp/rpm-tmp.RBhnbP (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RBhnbP (%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