test: debug Phala attestation tcb_info_issuer_chain parsing failure#2707
test: debug Phala attestation tcb_info_issuer_chain parsing failure#2707barakeinav1 wants to merge 2 commits intomainfrom
Conversation
Temporary debug changes to investigate tcb_info_issuer_chain parsing error: - Dump raw Phala response before parsing (length, first/last 500 chars) - Show response context around the error column on parse failure - Fall back to Mock attestation instead of crashing on failure - Add serde_json to tee-authority dependencies DO NOT MERGE - for debugging only
|
PR title type suggestion: This PR modifies source code and dependencies, not test files. Since it's addressing a parsing failure, the type prefix should probably be Suggested title: |
Review: test/debug Phala attestationPR is marked DO NOT MERGE — reviewing for issues that could cause harm if accidentally merged or if the debug branch runs longer than expected.
|
The node crashed immediately when the attestation service was unavailable or returned an error. The node is fully functional without attestation — it can sync blocks, generate signatures, etc. Now the node logs the error and continues running without attestation. The periodic attestation resubmission task will retry later. Closes #2710
|
PR title type suggestion: This PR modifies source code files to fix a parsing failure, so the type prefix should probably be Suggested title: |
DO NOT MERGE — debugging only
Temporary debug changes to investigate the
tcb_info_issuer_chainparsing error when uploading TDX quotes to Phala's attestation service.Changes
Background
All MPC nodes fail Dstack attestation with:
See mpc-private#261 for full investigation.
To test
Build and push the MPC node image from this branch, deploy in a TEE CVM, check logs.