Skip to content

ubuntu 25.04 SEV version 3.0.0-0 #159

Description

@markg-github

====== SEV CERTIFICATE ======

SEV VERSION: 3.0.0-0

=== TEST ENVIRONMENT DETAILS ===

Host Environment Details:
Host Operating System: Ubuntu 25.04
OVMF Version: 2025.02-3ubuntu2.2
QEMU Version: 1:9.2.1+ds-1ubuntu5.2
Host Kernel Version: 6.14.0-37-generic

Guest Environment Details:
Guest Operating System: Ubuntu 25.04
Guest Kernel version: 6.14.0-37-generic

=== SUMMARY ===

[ ✅ ] SEV VERSION 3.0.0-0 SNP HOST TESTS
❌ snphost-ok.service : Run snphost ok to make sure host is correctly set-up for SNP functionalities....
snphost-ok.service fails !!! Please check below for more details:
[ PASS ] - AMD CPU
[ PASS ] - Microcode support
[ PASS ] - Secure Memory Encryption (SME)
[ PASS ] - SME: Enabled in MSR
[ PASS ] - Secure Encrypted Virtualization (SEV)
[ PASS ] - SEV firmware version: 1.54
[ PASS ] - Encrypted State (SEV-ES)
[ PASS ] - SEV-ES initialized
[ PASS ] - SEV initialized: Initialized, no guests running
[ PASS ] - Secure Nested Paging (SEV-SNP)
[ PASS ] - VM Permission Levels
[ PASS ] - Number of VMPLs: 4
[ PASS ] - SNP: Enabled in MSR
[ PASS ] - SNP initialized
[ PASS ] - RMP table addresses: 0x1827a500000 - 0x183fe5fffff
[ PASS ] - RMP table initialized
[ FAIL ] - Alias check
[ PASS ] - Physical address bit reduction: 6
[ PASS ] - C-bit location: 51
[ PASS ] - Number of encrypted guests supported simultaneously: 1006
[ PASS ] - Minimum ASID value for SEV-enabled, SEV-ES disabled guest: 100
[ PASS ] - /dev/sev readable
[ PASS ] - /dev/sev writable
[ PASS ] - Page flush MSR: ENABLED
[ PASS ] - KVM supported: API version: 12
[ PASS ] - SEV enabled in KVM
[ PASS ] - SEV-ES enabled in KVM
[ PASS ] - SEV-SNP enabled in KVM
[ PASS ] - Memlock resource limit: Soft: 8388608 | Hard: 8388608
[ PASS ] - Comparing TCB values: TCB versions match
Platform TCB version: TCB Version:
Microcode: 22
SNP: 11
TEE: 0
Boot Loader: 7
FMC: None
Reported TCB version: TCB Version:
Microcode: 22
SNP: 11
TEE: 0
Boot Loader: 7
FMC: None
ERROR: One or more tests in snphost ok reported a failure
Error: One or more tests in snphost ok reported a failure
✅ calculate-measurement.service : Calculate guest measurement...
✅ generate-id-block.service : Generate id-block.b64 and id-auth.b64 for guest launch...
✅ verify-guest.service : Verify the SEV-SNP guest booted correctly...
✅ display-guest-logs.service : Show the guest logs for the appropriate services in the host...

[ ❌ ] SEV VERSION 3.0.0-0 SNP GUEST TESTS
✅ snpguest-ok.service : Run snguest ok to verify SNP enablement on guest...
❌ attestation-workflow.service : Run SNP Regular Attestation after boot...
✅ Generation of SNP Guest Report
❌ Fetch of CA certificate chain

attestation-workflow.service fails !!! Please check below for more details:
 Perform Regular Attestation workflow using snpguest tool ...
 ERROR: Fetch of CA certificate chain fails !!
 ERROR: Attestation report could be either Milan or Genoa. Update firmware to get a new version of the report.
 Error: Attestation report could be either Milan or Genoa. Update firmware to get a new version of the report.

=== SEV VERSION 3.0.0-0 LOG ===
Jun 29 18:20:14 systemd[1]: Starting snphost-ok.service - Run snphost ok to make sure host is correctly set-up for SNP functionalities....
Jun 29 18:20:14 snphost[4320]: [ PASS ] - AMD CPU
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Microcode support
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Secure Memory Encryption (SME)
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SME: Enabled in MSR
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Secure Encrypted Virtualization (SEV)
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SEV firmware version: 1.54
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Encrypted State (SEV-ES)
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SEV-ES initialized
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SEV initialized: Initialized, no guests running
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Secure Nested Paging (SEV-SNP)
Jun 29 18:20:14 snphost[4320]: [ PASS ] - VM Permission Levels
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Number of VMPLs: 4
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SNP: Enabled in MSR
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SNP initialized
Jun 29 18:20:14 snphost[4320]: [ PASS ] - RMP table addresses: 0x1827a500000 - 0x183fe5fffff
Jun 29 18:20:14 snphost[4320]: [ PASS ] - RMP table initialized
Jun 29 18:20:14 snphost[4320]: [ FAIL ] - Alias check
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Physical address bit reduction: 6
Jun 29 18:20:14 snphost[4320]: [ PASS ] - C-bit location: 51
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Number of encrypted guests supported simultaneously: 1006
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Minimum ASID value for SEV-enabled, SEV-ES disabled guest: 100
Jun 29 18:20:14 snphost[4320]: [ PASS ] - /dev/sev readable
Jun 29 18:20:14 snphost[4320]: [ PASS ] - /dev/sev writable
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Page flush MSR: ENABLED
Jun 29 18:20:14 snphost[4320]: [ PASS ] - KVM supported: API version: 12
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SEV enabled in KVM
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SEV-ES enabled in KVM
Jun 29 18:20:14 snphost[4320]: [ PASS ] - SEV-SNP enabled in KVM
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Memlock resource limit: Soft: 8388608 | Hard: 8388608
Jun 29 18:20:14 snphost[4320]: [ PASS ] - Comparing TCB values: TCB versions match
Jun 29 18:20:14 snphost[4320]: Platform TCB version: TCB Version:
Jun 29 18:20:14 snphost[4320]: Microcode: 22
Jun 29 18:20:14 snphost[4320]: SNP: 11
Jun 29 18:20:14 snphost[4320]: TEE: 0
Jun 29 18:20:14 snphost[4320]: Boot Loader: 7
Jun 29 18:20:14 snphost[4320]: FMC: None
Jun 29 18:20:14 snphost[4320]: Reported TCB version: TCB Version:
Jun 29 18:20:14 snphost[4320]: Microcode: 22
Jun 29 18:20:14 snphost[4320]: SNP: 11
Jun 29 18:20:14 snphost[4320]: TEE: 0
Jun 29 18:20:14 snphost[4320]: Boot Loader: 7
Jun 29 18:20:14 snphost[4320]: FMC: None
Jun 29 18:20:14 systemd[1]: snphost-ok.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 18:20:14 snphost[4320]: ERROR: One or more tests in snphost ok reported a failure
Jun 29 18:20:14 snphost[4320]: Error: One or more tests in snphost ok reported a failure
Jun 29 18:20:14 systemd[1]: snphost-ok.service: Failed with result 'exit-code'.
Jun 29 18:20:14 systemd[1]: Failed to start snphost-ok.service - Run snphost ok to make sure host is correctly set-up for SNP functionalities..
Jun 29 18:20:14 systemd[1]: Starting calculate-measurement.service - Calculate guest measurement...
Jun 29 18:20:15 guest_measurement.sh[4710]: 0xba1849a038fb7689621f35208227634432f6d96497b729fc49620c27b57d45ae015cc2ed777b2bde26260d24650f824a
Jun 29 18:20:15 systemd[1]: calculate-measurement.service: Deactivated successfully.
Jun 29 18:20:15 systemd[1]: Finished calculate-measurement.service - Calculate guest measurement.
Jun 29 18:20:15 systemd[1]: calculate-measurement.service: Consumed 285ms CPU time, 244.6M memory peak.
Jun 29 18:20:15 systemd[1]: Starting generate-id-block.service - Generate id-block.b64 and id-auth.b64 for guest launch...
Jun 29 18:20:15 generate_id_block.py[4715]: Generated /usr/local/lib/guest-image/id-block.b64 and /usr/local/lib/guest-image/id-auth.b64 for measurement ba1849a038fb7689...
Jun 29 18:20:15 generate_id_block.py[4715]: family_id=sev-certify-fam0 image_id=sev-certify-img0 svn=48 policy=0xb0000
Jun 29 18:20:15 systemd[1]: generate-id-block.service: Deactivated successfully.
Jun 29 18:20:15 systemd[1]: Finished generate-id-block.service - Generate id-block.b64 and id-auth.b64 for guest launch.
Jun 29 18:20:15 systemd[1]: Starting verify-guest.service - Verify the SEV-SNP guest booted correctly...
Jun 29 18:20:29 verify-guest.sh[4723]: Guest boot successful.
Jun 29 18:20:29 systemd[1]: verify-guest.service: Deactivated successfully.
Jun 29 18:20:29 systemd[1]: Finished verify-guest.service - Verify the SEV-SNP guest booted correctly.
Jun 29 18:20:29 systemd[1]: Starting display-guest-logs.service - Show the guest logs for the appropriate services in the host...
Jun 29 18:20:29 display-guest-logs.sh[4794]: SEV-SNP guest test results:
Jun 29 18:20:29 display-guest-logs.sh[4794]: For more information check journals in /var/log/journal/guest-logs
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - SEV: ENABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - SEV-ES: ENABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - SNP: ENABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - Optional Features statuses:
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - VTOM: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - ReflectVC: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - Restricted Injection: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - Alternate Injection: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - Debug Swap: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - Prevent Host IBS: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - SNP BTB Isolation: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - VMPL SSS: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - Secure TSE: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - VMG Exit Parameter: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - IBS Virtualization: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - VMSA Reg Prot: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: [ PASS ] - SMT Protection: DISABLED
Jun 29 18:20:29 display-guest-logs.sh[4794]: snpguest-ok.service: Deactivated successfully.
Jun 29 18:20:29 display-guest-logs.sh[4794]: Finished snpguest-ok.service - Run snguest ok to verify SNP enablement on guest.
Jun 29 18:20:29 display-guest-logs.sh[4794]: Starting attestation-workflow.service - Run SNP Regular Attestation after boot...
Jun 29 18:20:29 display-guest-logs.sh[4794]: Perform Regular Attestation workflow using snpguest tool ...
Jun 29 18:20:29 display-guest-logs.sh[4794]: ERROR: Fetch of CA certificate chain fails !!
Jun 29 18:20:29 display-guest-logs.sh[4794]: ERROR: Attestation report could be either Milan or Genoa. Update firmware to get a new version of the report.
Jun 29 18:20:29 display-guest-logs.sh[4794]: Error: Attestation report could be either Milan or Genoa. Update firmware to get a new version of the report.
Jun 29 18:20:29 display-guest-logs.sh[4794]: attestation-workflow.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 18:20:29 display-guest-logs.sh[4794]: attestation-workflow.service: Failed with result 'exit-code'.
Jun 29 18:20:29 display-guest-logs.sh[4794]: Failed to start attestation-workflow.service - Run SNP Regular Attestation after boot.
Jun 29 18:20:29 systemd[1]: display-guest-logs.service: Deactivated successfully.
Jun 29 18:20:29 systemd[1]: Finished display-guest-logs.service - Show the guest logs for the appropriate services in the host.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions