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

pull/1044/head
aidan garske 2026-06-18 17:10:28 -07:00 committed by David Garske
parent 8ac056793f
commit e52b038de9
1 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ on:
jobs:
test-tpm-ssh:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
@ -139,8 +140,8 @@ jobs:
./examples/echoserver/echoserver -1 -s key.ssh &
echo "Echoserver (authorized TPM client key) PID: $!"
sleep 2
./examples/client/client -i ../wolftpm/keyblob.bin -u hansel \
-K ThisIsMyKeyAuth
timeout 20 ./examples/client/client -i ../wolftpm/keyblob.bin \
-u hansel -K ThisIsMyKeyAuth
- name: Archive test artifacts
if: always()