COCOS 492 - Fixes bug from 492, fetch certificates only for SEV-SNP cvms#536
Merged
Conversation
added 2 commits
October 13, 2025 14:20
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #536 +/- ##
=======================================
Coverage 66.90% 66.90%
=======================================
Files 76 76
Lines 6884 6884
=======================================
Hits 4606 4606
Misses 1936 1936
Partials 342 342 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
SammyOina
approved these changes
Oct 13, 2025
WashingtonKK
requested changes
Oct 14, 2025
Contributor
There was a problem hiding this comment.
# cat /var/log/cocos/agent.stdout
WARN : 2025/10/14 13:45:54.457889 abi.go:917: Warning: Neither VCEK nor VLEK certificate found in data pages
WARN : 2025/10/14 13:45:47.936195 abi.go:917: Warning: Neither VCEK nor VLEK certificate found in data pages
{"agentLog":{"message":"Method Attestation took 58.752777ms to complete with error: failed to get vTPM quote : failed to convert TEE report to proto : malformed guest policy: mbz range policy[0x15:0x3f] not all zero: 73726576227b3a22", "level":"WARN", "timestamp":"2025-10-14T13:45:47.936604724Z"}}
{"agentLog":{"message":"failed to get attestation: failed to get vTPM quote : failed to convert TEE report to proto : malformed guest policy: mbz range policy[0x15:0x3f] not all zero: 73726576227b3a22", "level":"ERROR", "timestamp":"2025-10-14T13:45:47.936748503Z"}}
@jovan-djukic please have a look at this.
SammyOina
approved these changes
Oct 15, 2025
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.
What type of PR is this?
This a bug fix.
What does this do?
Added a platform check before fetching the certificates.
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
Did you document any new/modified feature?
Notes