Skip to content

ubuntu 25.04 SEV version 3.0.0-0 #161

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