Skip to content

Add timeout to TPM SSH workflow to prevent multi-hour hangs#1046

Open
aidangarske wants to merge 1 commit into
wolfSSL:masterfrom
aidangarske:tpm-ssh-timeout-v2
Open

Add timeout to TPM SSH workflow to prevent multi-hour hangs#1046
aidangarske wants to merge 1 commit into
wolfSSL:masterfrom
aidangarske:tpm-ssh-timeout-v2

Conversation

@aidangarske

Copy link
Copy Markdown
Member

The TPM SSH Test workflow has no job timeout, so it inherits GitHub's 6-hour default. This run hung for ~2 hours before being cancelled.

Changes:

  • Add timeout-minutes: 20 at the job level so any hung matrix leg is killed instead of running for hours. The job normally finishes in a few minutes.
  • Wrap the client public-key auth step in timeout 20. Unlike the host-key test (already wrapped in timeout 20), the bare client invocation had no timeout and is the most likely indefinite-hang source — this makes it fail fast and cleanly rather than consuming the full job budget.

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

Successfully merging this pull request may close these issues.

2 participants