Skip to content

ubuntu 25.04 SEV version 3.0.0-0 #158

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...
generate-id-block.service fails !!! Please check below for more details:
ERROR: snpguest failed (exit 1)
ERROR: Invalid Family Id length!
Error: Invalid Family Id length!
✅ display-guest-logs.service : Show the guest logs for the appropriate services in the host...
✅ verify-guest.service : Verify the SEV-SNP guest booted correctly...

[ ❌ ] 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 14:39:54 systemd[1]: Starting snphost-ok.service - Run snphost ok to make sure host is correctly set-up for SNP functionalities....
Jun 29 14:39:54 snphost[4311]: [ PASS ] - AMD CPU
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Microcode support
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Secure Memory Encryption (SME)
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SME: Enabled in MSR
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Secure Encrypted Virtualization (SEV)
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SEV firmware version: 1.54
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Encrypted State (SEV-ES)
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SEV-ES initialized
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SEV initialized: Initialized, no guests running
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Secure Nested Paging (SEV-SNP)
Jun 29 14:39:54 snphost[4311]: [ PASS ] - VM Permission Levels
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Number of VMPLs: 4
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SNP: Enabled in MSR
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SNP initialized
Jun 29 14:39:54 snphost[4311]: [ PASS ] - RMP table addresses: 0x1827a500000 - 0x183fe5fffff
Jun 29 14:39:54 snphost[4311]: [ PASS ] - RMP table initialized
Jun 29 14:39:54 snphost[4311]: [ FAIL ] - Alias check
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Physical address bit reduction: 6
Jun 29 14:39:54 snphost[4311]: [ PASS ] - C-bit location: 51
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Number of encrypted guests supported simultaneously: 1006
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Minimum ASID value for SEV-enabled, SEV-ES disabled guest: 100
Jun 29 14:39:54 snphost[4311]: [ PASS ] - /dev/sev readable
Jun 29 14:39:54 snphost[4311]: [ PASS ] - /dev/sev writable
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Page flush MSR: ENABLED
Jun 29 14:39:54 snphost[4311]: [ PASS ] - KVM supported: API version: 12
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SEV enabled in KVM
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SEV-ES enabled in KVM
Jun 29 14:39:54 snphost[4311]: [ PASS ] - SEV-SNP enabled in KVM
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Memlock resource limit: Soft: 8388608 | Hard: 8388608
Jun 29 14:39:54 snphost[4311]: [ PASS ] - Comparing TCB values: TCB versions match
Jun 29 14:39:54 snphost[4311]: Platform TCB version: TCB Version:
Jun 29 14:39:54 snphost[4311]: Microcode: 22
Jun 29 14:39:54 snphost[4311]: SNP: 11
Jun 29 14:39:54 snphost[4311]: TEE: 0
Jun 29 14:39:54 snphost[4311]: Boot Loader: 7
Jun 29 14:39:54 snphost[4311]: FMC: None
Jun 29 14:39:54 snphost[4311]: Reported TCB version: TCB Version:
Jun 29 14:39:54 snphost[4311]: Microcode: 22
Jun 29 14:39:54 snphost[4311]: SNP: 11
Jun 29 14:39:54 snphost[4311]: TEE: 0
Jun 29 14:39:54 snphost[4311]: Boot Loader: 7
Jun 29 14:39:54 snphost[4311]: FMC: None
Jun 29 14:39:54 snphost[4311]: ERROR: One or more tests in snphost ok reported a failure
Jun 29 14:39:54 systemd[1]: snphost-ok.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 14:39:54 snphost[4311]: Error: One or more tests in snphost ok reported a failure
Jun 29 14:39:54 systemd[1]: snphost-ok.service: Failed with result 'exit-code'.
Jun 29 14:39:54 systemd[1]: Failed to start snphost-ok.service - Run snphost ok to make sure host is correctly set-up for SNP functionalities..
Jun 29 14:39:54 systemd[1]: Starting calculate-measurement.service - Calculate guest measurement...
Jun 29 14:39:54 guest_measurement.sh[4701]: 0x9f94c74298349b909496972fee5a678f9a6fa1105c2b8f72f2ce348e5cf8ce34a103dd1903b965f22e01546b5e790496
Jun 29 14:39:54 systemd[1]: calculate-measurement.service: Deactivated successfully.
Jun 29 14:39:54 systemd[1]: Finished calculate-measurement.service - Calculate guest measurement.
Jun 29 14:39:54 systemd[1]: calculate-measurement.service: Consumed 277ms CPU time, 244.5M memory peak.
Jun 29 14:39:54 systemd[1]: Starting generate-id-block.service - Generate id-block.b64 and id-auth.b64 for guest launch...
Jun 29 14:39:54 generate_id_block.py[4706]: ERROR: snpguest failed (exit 1)
Jun 29 14:39:54 generate_id_block.py[4706]: ERROR: Invalid Family Id length!
Jun 29 14:39:54 generate_id_block.py[4706]: Error: Invalid Family Id length!
Jun 29 14:39:54 systemd[1]: generate-id-block.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 14:39:54 systemd[1]: generate-id-block.service: Failed with result 'exit-code'.
Jun 29 14:39:54 systemd[1]: Failed to start generate-id-block.service - Generate id-block.b64 and id-auth.b64 for guest launch.
Jun 29 14:39:54 systemd[1]: Starting display-guest-logs.service - Show the guest logs for the appropriate services in the host...
Jun 29 14:39:54 systemd[1]: Starting verify-guest.service - Verify the SEV-SNP guest booted correctly...
Jun 29 14:39:54 journalctl[4719]: No journal files were found.
Jun 29 14:39:55 journalctl[4737]: No journal files were found.
Jun 29 14:39:56 journalctl[4742]: No journal files were found.
Jun 29 14:39:57 journalctl[4750]: No journal files were found.
Jun 29 14:39:58 journalctl[4756]: No journal files were found.
Jun 29 14:39:59 journalctl[4762]: No journal files were found.
Jun 29 14:40:00 journalctl[4768]: No journal files were found.
Jun 29 14:40:01 journalctl[4774]: No journal files were found.
Jun 29 14:40:02 journalctl[4780]: No journal files were found.
Jun 29 14:40:03 journalctl[4786]: No journal files were found.
Jun 29 14:40:04 journalctl[4791]: No journal files were found.
Jun 29 14:40:05 journalctl[4798]: No journal files were found.
Jun 29 14:40:06 journalctl[4804]: No journal files were found.
Jun 29 14:40:07 verify-guest.sh[4714]: Guest boot successful.
Jun 29 14:40:07 systemd[1]: verify-guest.service: Deactivated successfully.
Jun 29 14:40:07 systemd[1]: Finished verify-guest.service - Verify the SEV-SNP guest booted correctly.
Jun 29 14:40:08 display-guest-logs.sh[4712]: SEV-SNP guest test results:
Jun 29 14:40:08 display-guest-logs.sh[4712]: For more information check journals in /var/log/journal/guest-logs
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - SEV: ENABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - SEV-ES: ENABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - SNP: ENABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - Optional Features statuses:
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - VTOM: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - ReflectVC: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - Restricted Injection: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - Alternate Injection: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - Debug Swap: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - Prevent Host IBS: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - SNP BTB Isolation: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - VMPL SSS: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - Secure TSE: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - VMG Exit Parameter: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - IBS Virtualization: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - VMSA Reg Prot: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: [ PASS ] - SMT Protection: DISABLED
Jun 29 14:40:08 display-guest-logs.sh[4712]: snpguest-ok.service: Deactivated successfully.
Jun 29 14:40:08 display-guest-logs.sh[4712]: Finished snpguest-ok.service - Run snguest ok to verify SNP enablement on guest.
Jun 29 14:40:08 display-guest-logs.sh[4712]: Starting attestation-workflow.service - Run SNP Regular Attestation after boot...
Jun 29 14:40:08 display-guest-logs.sh[4712]: Perform Regular Attestation workflow using snpguest tool ...
Jun 29 14:40:08 display-guest-logs.sh[4712]: ERROR: Fetch of CA certificate chain fails !!
Jun 29 14:40:08 display-guest-logs.sh[4712]: ERROR: Attestation report could be either Milan or Genoa. Update firmware to get a new version of the report.
Jun 29 14:40:08 display-guest-logs.sh[4712]: Error: Attestation report could be either Milan or Genoa. Update firmware to get a new version of the report.
Jun 29 14:40:08 display-guest-logs.sh[4712]: attestation-workflow.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 14:40:08 display-guest-logs.sh[4712]: attestation-workflow.service: Failed with result 'exit-code'.
Jun 29 14:40:08 display-guest-logs.sh[4712]: Failed to start attestation-workflow.service - Run SNP Regular Attestation after boot.
Jun 29 14:40:08 systemd[1]: display-guest-logs.service: Deactivated successfully.
Jun 29 14:40:08 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