:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-jose-2.6.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gopkg.in/square/go-jose.v2/version=2.6.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: gopkg.in/square/go-jose.v2 gopkg.in/square/go-jose.v2 panic: test timed out after 10m0s goroutine 14 [running]: testing.(*M).startAlarm.func1() /usr/lib/golang/src/testing/testing.go:2036 +0x8c created by time.goFunc /usr/lib/golang/src/time/sleep.go:176 +0x50 goroutine 1 [chan receive, 8 minutes]: testing.(*T).Run(0x3f840824e0, {0x2ab7491130?, 0x2ab72142e0?}, 0x2ab75c1268) /usr/lib/golang/src/testing/testing.go:1494 +0x34c testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:1846 +0x78 testing.tRunner(0x3f840824e0, 0x3f84129cf0) /usr/lib/golang/src/testing/testing.go:1446 +0x11c testing.runTests(0x3f8410b040?, {0x2ab77c52c0, 0x73, 0x73}, {0x3?, 0x40000000000c60?, 0x2ab77fdb40?}) /usr/lib/golang/src/testing/testing.go:1844 +0x408 testing.(*M).Run(0x3f8410b040) /usr/lib/golang/src/testing/testing.go:1726 +0x504 main.main() _testmain.go:597 +0x1a8 goroutine 125 [runnable]: crypto/hmac.(*hmac).Sum(0x3f843fd500, {0x3f6401d680?, 0x0, 0x40?}) /usr/lib/golang/src/crypto/hmac/hmac.go:61 +0xc0 golang.org/x/crypto/pbkdf2.Key({0x3f6401c240?, 0x3f84000888?, 0x3f663aac80?}, {0x3f6631a360, 0x23, 0x23}, 0x186a0, 0x20, 0x2ab7386d30?) /usr/share/gocode/src/golang.org/x/crypto/pbkdf2/pbkdf2.go:70 +0x354 gopkg.in/square/go-jose%2ev2.(*symmetricKeyCipher).decryptKey(0x3f6633e240, 0x2ab74882f6?, 0x3f662c0240, {0x2ab75577e0?, 0x3f84aecab8?}) /builddir/build/BUILD/go-jose-2.6.0/_build/src/gopkg.in/square/go-jose.v2/symmetric.go:412 +0x954 gopkg.in/square/go-jose%2ev2.(*keyDecryptWrapper).DecryptKey(0x3f663aaa40, {0x3f8432cec0, 0x20, 0x20}, {{0x3f84aecaa8, 0x8}, 0x0, {0x3f84000840, 0x12}, {0x0, ...}, ...}) /builddir/build/BUILD/go-jose-2.6.0/_build/src/gopkg.in/square/go-jose.v2/opaque_test.go:137 +0x330 gopkg.in/square/go-jose%2ev2.(*opaqueKeyDecrypter).decryptKey(0x3f663aabd0, 0x3f64c14cc0, 0x3f662c0220, {0x3f840007e0?, 0x12?}) /builddir/build/BUILD/go-jose-2.6.0/_build/src/gopkg.in/square/go-jose.v2/opaque.go:143 +0x144 gopkg.in/square/go-jose%2ev2.JSONWebEncryption.Decrypt({{{0x3f84aeca78, 0x8}, 0x0, {0x3f840007e0, 0x12}, {0x0, 0x0}, {0x0, 0x0, 0x0}, ...}, ...}, ...) /builddir/build/BUILD/go-jose-2.6.0/_build/src/gopkg.in/square/go-jose.v2/crypter.go:451 +0x224 gopkg.in/square/go-jose%2ev2.jweSerialize(0x3f6521b860, 0x2ab758e520?, 0x3f6621a090?, {0x2ab75c4440?, 0x3f663aaa40}) /builddir/build/BUILD/go-jose-2.6.0/_build/src/gopkg.in/square/go-jose.v2/opaque_test.go:353 +0x128 gopkg.in/square/go-jose%2ev2.TestOpaqueKeyRoundtripJWE(0x3f6521b860) /builddir/build/BUILD/go-jose-2.6.0/_build/src/gopkg.in/square/go-jose.v2/opaque_test.go:326 +0x4e0 testing.tRunner(0x3f6521b860, 0x2ab75c1268) /usr/lib/golang/src/testing/testing.go:1446 +0x11c created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1493 +0x338 exit status 2 FAIL gopkg.in/square/go-jose.v2 602.788s error: Bad exit status from /var/tmp/rpm-tmp.gkSKHO (%check) Bad exit status from /var/tmp/rpm-tmp.gkSKHO (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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