Repository navigation
ci: re-enable Thales HSM and E2E FPGA integration tests - #339
Merged
Merged
Conversation
willyzha
force-pushed
the
ci-reenable-hsm-tests
branch
2 times, most recently
from
September 22, 2026 23:38
855daf1 to
d64c8f2
Compare
- Re-enable the hardware HSM (--prod) PA load test, TLS test, and ATE FPGA integration tests in .github/workflows/main.yml now that the CI Thales Luna HSM is online and upgraded to firmware 7.9.3. - Point SPM_HSM_TOKEN_OFFLINE and OTPROV_GEM_SLOT_OFFLINE in config/env/prod/spm.env to the activated 'spm' partition (Slot 0), and explicitly set OTPROV_GEM_SLOT_CERT_OPS per action in config/token_init.sh and close any stale sautil Application ID 10:11 session in rules/scripts/hsm_ca_sign.sh before opening a new one. - Build //src/spm:spm_server synchronously before backgrounding it in util/integration_test_setup.sh, bind the TCP listener only after startSPMServer() completes in src/spm/spm_server.go, and wait for the SPM port to be reachable before starting client test programs to avoid Bazel client lock and server startup races. - Include EXIT traps to clean up each step's temporary .otvar-prod* directory upon completion. - Add a final 'Clean up Bazel cache' step (if: always()) using 'bazelisk clean' and 'bazelisk --output_base=... clean --expunge' to safely clean build artifacts and expunge orphaned output bases without using raw 'rm -rf'. Signed-off-by: Willy Zhang <willyzhang@google.com>
willyzha
force-pushed
the
ci-reenable-hsm-tests
branch
from
September 23, 2026 19:38
d64c8f2 to
bec05f2
Compare
clundin25
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-enable the hardware HSM (--prod) PA load test, TLS test, and ATE FPGA integration tests in .github/workflows/main.yml now that the CI Thales Luna HSM is online and upgraded to firmware 7.9.3. Include EXIT traps to clean up each step's temporary .otvar-prod* directory upon completion.