Skip to content
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
merged 11 commits into from
Dec 28, 2023

Conversation

hongyuni
Copy link
Contributor

No description provided.

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]>
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]>
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]>
@ysun ysun merged commit d6770c4 into intel:main Dec 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants