Skip to content

Conversation

@davidweisse
Copy link
Contributor

This E2E test tests the different scenarios for when the KDS/PCS is unavailable, documented in the dev-docs. We can block the KDS/PCS connection from the CLI by setting up an HTTPS proxy and blocking specific domains. To simulate unavailability on the issuer side (i.e., Coordinator), we override the /etc/hosts file with, e.g., 127.0.0.1 kdsintf.amd.com. Simulating PCS unavailability for the issuer side is not possible, since all the interaction with the PCS/PCCS happens on the host side, not in the Go code. So for TDX, we only test PCS unavailability on the CLI side.

All the tests currently only test CLI <-> Coordinator connections. In the future, we may also want to test Coordinator <-> Initializer connections, where the Coordinator acts as the client.

SNP run: https://github.com/edgelesssys/contrast/actions/runs/19864351537/job/56922742153
TDX run: https://github.com/edgelesssys/contrast/actions/runs/19864358538/job/56922766667

@davidweisse davidweisse added the no changelog PRs not listed in the release notes label Dec 2, 2025
@burgerdev burgerdev self-assigned this Dec 18, 2025
@davidweisse davidweisse force-pushed the dav/kds-pcs-downtime branch 2 times, most recently from 20334cd to ced2f23 Compare January 7, 2026 14:15
@davidweisse davidweisse requested a review from burgerdev January 7, 2026 15:34
@davidweisse davidweisse merged commit 70428d0 into main Jan 12, 2026
12 checks passed
@davidweisse davidweisse deleted the dav/kds-pcs-downtime branch January 12, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog PRs not listed in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants