ild/BUILD/go-jose-2.4.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-jose-2.4.1/_build:/usr/share/gocode GO111MODULE: off command: go test -compiler gc -ldflags "-X gopkg.in/square/go-jose.v2/version=2.4.1 -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 19 [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(0x3f94162000, 0x408b73, 0x1a, 0x42e810, 0x11b201) /usr/lib/golang/src/testing/testing.go:1044 +0x374 testing.runTests.func1(0x3fa014e6c0) /usr/lib/golang/src/testing/testing.go:1285 +0x7c testing.tRunner(0x3fa014e6c0, 0x3fa04e5e28) /usr/lib/golang/src/testing/testing.go:992 +0x108 testing.runTests(0x3fa000b4e0, 0x6d9780, 0x70, 0x70, 0x0) /usr/lib/golang/src/testing/testing.go:1283 +0x2bc testing.(*M).Run(0x3fa017c300, 0x0) /usr/lib/golang/src/testing/testing.go:1200 +0x170 main.main() _testmain.go:588 +0x16c goroutine 50 [runnable]: math/big.nat.setBytes(0x0, 0x0, 0x0, 0x3fa04cc980, 0x20, 0x20, 0x3fa04d1280, 0xc, 0x17fbb4) /usr/lib/golang/src/math/big/nat.go:1498 +0x10 math/big.(*Int).SetBytes(...) /usr/lib/golang/src/math/big/int.go:444 crypto/elliptic.p256GetScalar(0x3fa00fb23c, 0x3fa04cc980, 0x20, 0x20) /usr/lib/golang/src/crypto/elliptic/p256.go:51 +0x64 crypto/elliptic.p256Curve.ScalarMult(0x3fa0128440, 0x3fa04753e0, 0x3fa0475400, 0x3fa04cc980, 0x20, 0x20, 0x0, 0x1d1c3c) /usr/lib/golang/src/crypto/elliptic/p256.go:77 +0x5c gopkg.in/square/go-jose.v2/cipher.DeriveECDHES(0x3fa00138d0, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3fa0113170, 0x3fa0475420, ...) /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(0x3fa00138d0, 0xe, 0x10, 0x3fa0013801, 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(0x3fa0113170, 0x3fa3840f30, 0x3fa0475380, 0x49a360, 0x3fa00138a0, 0x310eec, 0x10, 0x38cf60, 0x0, 0x3fa00138a0) /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, 0x3fa0013840, 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, 0x403296, 0xd, 0x4008a5, 0x3, 0x42e7f8, 0x3fa00fbd88, 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(0x3f94162000) /builddir/build/BUILD/go-jose-2.4.1/_build/src/gopkg.in/square/go-jose.v2/crypter_test.go:197 +0x458 testing.tRunner(0x3f94162000, 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 618.401s error: Bad exit status from /var/tmp/rpm-tmp.OKDYDC (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OKDYDC (%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