Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVM: Skip test cases not supporting TDX #3523

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kamalca
Copy link
Collaborator

@kamalca kamalca commented Nov 21, 2024

Attestation report test cases only support AMD SEV-SNP so they should skip on other CPU types.

Also do not skip cpu_offline_channel_add test case as it is supported on all CPU types.

@@ -61,6 +62,10 @@ def verify_azure_cvm_attestation_report(
result: TestResult,
variables: Dict[str, Any],
) -> None:
if node.tools[Lscpu].get_cpu_type() != CpuType.AMD:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe move this condition check to the before_case function above, that's where the current environment check is happening

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch :) Changed

Based on the test case description and steps, it looks like it is only designed to run on SEV-SNP, not on TDX or SGX SKUs. This matches test failure observations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants