-
Notifications
You must be signed in to change notification settings - Fork 185
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: Add boot/reboot tests #3624
Conversation
39b6e6c
to
b900463
Compare
@LiliDeng @squirrelsc - This PR is ready to review. Could you help me review it when you have time? Thank you. The |
could you provide the full cvm mariner image name? like this format: microsoftcblmariner azure-linux-3 azure-linux-3-gen2 latest |
@LiliDeng The image I used to test this change is |
5a3678c
to
83004c9
Compare
e19f327
to
10f426e
Compare
tpm2-tools package provides the toolset to interact with TPM devices Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
bootctl controls EFI firmware boot settings and manage boot loader Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
- Introduce LisaVersionInfo to wrap semver.VersionInfo - Update os._get_package_information to use distro's package manager to query a package version string directly, rather than using regex to extract version string from query output - Include the raw version string by default when getting a package version, resolves parsing error when the package does not follow semantic versioning, e.g systemd, dracut Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
Implement 2 new test cases for Azure Linux CVM: - verify_encrypted_root_partition: check that the root partition on an Azure Linux CVM is encrypted when deployed with "DiskWithVMGuestState" encryption setting - verify_boot_success_after_component_upgrade: check that a CVM can reboot after a boot component is upgraded, and PCR values are updated correctly Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
10f426e
to
8548163
Compare
@LiliDeng LGTM |
DiskWithVMGuestState
encryption setting.