-
Notifications
You must be signed in to change notification settings - Fork 28
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
guest-test framework improvement and add 6 TDX guest BAT TCs #156
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. previous test script direct launching will stuck due to timeout monitored guest.qemu_runner being executed in the background by default, revise it to foreground to fix stuck issue 2. add reset option in case of timeout effect impact on terminal no type-in prompt issue 3. revise guest_kernel_reboot function to guest_kernel_shutdown to support legacy VM shutdown operation and tdx/tdxio VM reboot operation separatedly, as some tdx/tdxio issue can only be captured in case of reboot command triggered [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
remove duplicate parameters in guest kernel command -append option [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
ignore SIGPIPE for broken pipe errno 32, introduced by timeout monitored qemu_runner process being SIGTERM after timeout count reached, no functional impact, just remove expected error message to avoid confusion [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
1. revise guest_test_close based on VM_TYPE info to support legacy VM shutdown and tdx/tdxio VM reboot, in order to capture issues of tdx/tdxio VM only happened in reboot scenario 2. revise guest_test_source_code to include Ubunutu OS preparation 3. code optimize and clean up [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
code clean up, removing unnecessary return err [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
1. add 6 TDX guest BAT TCs 2. code clean up by removing unnecessary return 3. update previous TCs direct execution command info [Test Components] tdx [Test Types] func [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
add tdx_module_check function for basic tdx/tdxio host machine status checking [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
hongyuni
force-pushed
the
guest_test_td_1227
branch
from
December 27, 2023 08:57
7b88e6d
to
dab2643
Compare
set $SCRIPT_DIR_LOCAL as local variable to avoid global confliction [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
This reverts commit faaa40c.
update README based on latest design [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
add REAME for guest-test/tdx feature, explain tests contents and group in latest upstream Kernel applicable and non-applicable [Test Components] tdx [Test Types] any [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
hongyuni
force-pushed
the
guest_test_td_1227
branch
from
December 28, 2023 05:55
2917900
to
3732b0b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.