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

Increase timeout on gnutls-serv for slow tests #9745

Open
gilles-peskine-arm opened this issue Oct 31, 2024 · 0 comments
Open

Increase timeout on gnutls-serv for slow tests #9745

gilles-peskine-arm opened this issue Oct 31, 2024 · 0 comments
Labels
component-tls enhancement size-s Estimated task size: small (~2d)

Comments

@gilles-peskine-arm
Copy link
Contributor

We sometimes want to run TLS interoperability tests with slow crypto and with a sanitizer such as Valgrind or MSan that slows down execution. (Another candidate could be CPU emulation or a slow piece of hardware, but we currently don't have that on our CI.) When we test interoperability against a GnuTLS server, we may run into its 30-second timeout. This happened in #9742.

GnuTLS ≥3.8.1 allows configuring the timeout on the command line. The goal of this issue is to use this instead of disabling the test cases, which is how we resolved #9742 in a hurry. Note that since this requires a recent GnuTLS, it is not applicable to tests that use an older version. In particular, at the time #9742 happened, even the most recent GnuTLS in our test environment was too old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-tls enhancement size-s Estimated task size: small (~2d)
Projects
Status: No status
Development

No branches or pull requests

1 participant