Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestOpaqueKeyRoundtripJWE timeout on some arches with 4.0.1 #112

Open
yuzibo opened this issue Mar 14, 2024 · 3 comments
Open

TestOpaqueKeyRoundtripJWE timeout on some arches with 4.0.1 #112

yuzibo opened this issue Mar 14, 2024 · 3 comments

Comments

@yuzibo
Copy link

yuzibo commented Mar 14, 2024

Hi,

I uploaded 4.0.1 to Debian with 4.0.1 and found one test case failed due to timeout:

On i386

719s === RUN   TestOpaqueKeyRoundtripJWE
719s panic: test timed out after 10m0s
719s running tests:
719s 	TestOpaqueKeyRoundtripJWE (7m29s)
719s 
719s goroutine 123 [running]:
719s testing.(*M).startAlarm.func1()
719s 	/usr/lib/go-1.22/src/testing/testing.go:2366 +0x38c
719s created by time.goFunc
719s 	/usr/lib/go-1.22/src/time/sleep.go:177 +0x2f

and if we are looking at this, we can find it failed on armel and riscv64 too.
https://buildd.debian.org/status/package.php?p=golang-github-go-jose-go-jose&suite=sid

In fact, if it fails on armel and riscv64, it was expected :( . But I do not understand why it has timeout on i386 also.

Could you give some advice here?

@jsha
Copy link
Collaborator

jsha commented Mar 14, 2024 via email

@yuzibo
Copy link
Author

yuzibo commented Mar 15, 2024

yeah, this is my initial thoughts also, let me try on it.

@yuzibo
Copy link
Author

yuzibo commented Mar 15, 2024

I'd recommend trying a longer test timeout first.

Sorry, It is not easy to set timeout in debian/rule with Debian packaging.

Could you help me to think about a snap of pseudo-code which how to add timeout for TestOpaqueKeyRoundtripJWE? I tried it many times but failed.

TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants