|
1 | | -id: tdx-host/platform-check |
| 1 | +id: tdx-host/test_host_tdx_hardware_enabled |
2 | 2 | category_id: tdx-host |
3 | 3 | flags: simple |
4 | 4 | user: root |
5 | | -_summary: Check if platform is TDX capable |
| 5 | +_summary: Check if platform is TDX capable from hardware standpoint |
6 | 6 | depends: |
7 | 7 | after: |
8 | 8 | requires: |
9 | 9 | command: |
10 | | - setup-env-and-run test_host_tdx_hardware.py |
| 10 | + setup-env-and-run host/test_host_tdx_hardware.py -k 'test_host_tdx_hardware_enabled' |
11 | 11 |
|
12 | | -id: tdx-host/tdx-module-check |
| 12 | +id: tdx-host/test_host_tdx_cpu |
13 | 13 | category_id: tdx-host |
14 | 14 | flags: simple |
15 | 15 | user: root |
16 | | -_summary: Check if TDX module has been properly initialized |
| 16 | +_summary: Check if the CPU is TDX capable |
17 | 17 | depends: |
18 | | - tdx-host/platform-check |
| 18 | + tdx-host/test_host_tdx_hardware_enabled |
19 | 19 | after: |
20 | 20 | requires: |
21 | 21 | command: |
22 | | - setup-env-and-run test_host_tdx_software.py |
| 22 | + setup-env-and-run host/test_host_tdx_software.py -k 'test_host_tdx_cpu' |
23 | 23 |
|
24 | | -id: tdx-host/qemu-basic-td-creation |
| 24 | +id: tdx-host/test_host_tdx_software |
25 | 25 | category_id: tdx-host |
26 | 26 | flags: simple |
27 | 27 | user: root |
28 | | -_summary: Check if TD guest can be created with QEMU |
| 28 | +_summary: Check if the software stack is TDX capable |
29 | 29 | depends: |
| 30 | + tdx-host/test_host_tdx_hardware_enabled |
30 | 31 | after: |
31 | 32 | requires: |
32 | | - executable.name == 'qemu-system-x86_64' |
33 | 33 | command: |
34 | | - which qemu-system-x86_64 |
35 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
36 | | - qemu-system-x86_64 --version |
| 34 | + setup-env-and-run host/test_host_tdx_software.py -k 'test_host_tdx_software' |
37 | 35 |
|
38 | | -id: tdx-boot/td-boot |
39 | | -category_id: tdx-boot |
| 36 | +id: tdx-host/test_host_tdx_module_load |
| 37 | +category_id: tdx-host |
40 | 38 | flags: simple |
41 | | -_summary: Test TD boot |
| 39 | +user: root |
| 40 | +_summary: Check if the TDX module is loaded |
42 | 41 | depends: |
| 42 | + tdx-host/test_host_tdx_hardware_enabled |
43 | 43 | after: |
44 | 44 | requires: |
45 | | - executable.name == 'qemu-system-x86_64' |
46 | 45 | command: |
47 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
48 | | - setup-env-and-run test_boot_basic.py |
| 46 | + setup-env-and-run host/test_host_tdx_software.py -k 'test_host_tdx_module_load' |
49 | 47 |
|
50 | | -id: tdx-boot/td-nmi |
| 48 | +id: tdx-boot/td-boot-guest |
51 | 49 | category_id: tdx-boot |
52 | 50 | flags: simple |
53 | | -_summary: Test TD nmi after boot |
| 51 | +_summary: Test TD boot |
54 | 52 | depends: |
55 | 53 | after: |
56 | 54 | requires: |
57 | 55 | executable.name == 'qemu-system-x86_64' |
58 | 56 | command: |
59 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
60 | | - setup-env-and-run test_nmi_debug_off.py |
| 57 | + setup-env-and-run boot/test_boot_basic.py -k 'test_guest_boot' |
61 | 58 |
|
62 | | -id: tdx-boot/td-coexist |
| 59 | +id: tdx-boot/td-boot-guest-printk |
63 | 60 | category_id: tdx-boot |
64 | 61 | flags: simple |
65 | | -_summary: Test coexistence of TD and VM |
| 62 | +_summary: Test TD boot earlyprintk |
66 | 63 | depends: |
67 | 64 | after: |
68 | 65 | requires: |
69 | 66 | executable.name == 'qemu-system-x86_64' |
70 | 67 | command: |
71 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
72 | | - setup-env-and-run test_boot_coexist.py |
| 68 | + setup-env-and-run boot/test_boot_basic.py -k 'test_guest_early_printk' |
73 | 69 |
|
74 | | -id: tdx-boot/td-creation |
| 70 | +id: tdx-boot/td-coexist |
75 | 71 | category_id: tdx-boot |
76 | 72 | flags: simple |
77 | | -_summary: Test TD creation |
| 73 | +_summary: Test coexistence of TD and VM |
78 | 74 | depends: |
79 | 75 | after: |
80 | 76 | requires: |
81 | 77 | executable.name == 'qemu-system-x86_64' |
82 | 78 | command: |
83 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
84 | | - setup-env-and-run test_boot_td_creation.py |
| 79 | + setup-env-and-run boot/test_boot_coexist.py -k 'test_coexist_boot' |
85 | 80 |
|
86 | | -id: tdx-boot/td-creation-multiple |
| 81 | +id: tdx-boot/td-creation-without-ovmf |
87 | 82 | category_id: tdx-boot |
88 | 83 | flags: simple |
89 | | -_summary: Test multiple TD creation |
| 84 | +_summary: Test TD creation |
90 | 85 | depends: |
91 | 86 | after: |
92 | 87 | requires: |
93 | 88 | executable.name == 'qemu-system-x86_64' |
94 | 89 | command: |
95 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
96 | | - setup-env-and-run test_boot_multiple.py |
| 90 | + setup-env-and-run boot/test_boot_td_creation.py -k 'test_create_td_without_ovmf' |
97 | 91 |
|
98 | | -id: tdx-stress/td-resource-limits |
99 | | -category_id: tdx-stress |
| 92 | +id: tdx-boot/test_4vcpus_1socket_10times |
| 93 | +category_id: tdx-boot |
100 | 94 | flags: simple |
101 | | -_summary: Test resource limits |
| 95 | +_summary: Test multiple TD creation |
102 | 96 | depends: |
103 | 97 | after: |
104 | 98 | requires: |
105 | 99 | executable.name == 'qemu-system-x86_64' |
106 | 100 | command: |
107 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
108 | | - setup-env-and-run test_stress_resources.py |
109 | | - |
110 | | -#id: tdx-stress/td-stress-boot |
111 | | -#category_id: tdx-stress |
112 | | -#flags: simple |
113 | | -#_summary: Test boot stress |
114 | | -#depends: |
115 | | -#after: |
116 | | -#requires: |
117 | | -# executable.name == 'qemu-system-x86_64' |
118 | | -#command: |
119 | | -# export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
120 | | -# setup-env-and-run test_stress_boot.py |
| 101 | + setup-env-and-run boot/test_boot_multiple.py -k 'test_4vcpus_1socket_10times' |
121 | 102 |
|
122 | | -id: tdx-guest/td-measurement |
123 | | -category_id: tdx-guest |
| 103 | +id: tdx-boot/test_4vcpus_2sockets_5times |
| 104 | +category_id: tdx-boot |
124 | 105 | flags: simple |
125 | | -_summary: Test guest measurements |
| 106 | +_summary: Test multiple TD creation |
126 | 107 | depends: |
127 | 108 | after: |
128 | 109 | requires: |
129 | 110 | executable.name == 'qemu-system-x86_64' |
130 | 111 | command: |
131 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
132 | | - setup-env-and-run test_guest_measurement.py |
| 112 | + setup-env-and-run boot/test_boot_multiple.py -k 'test_4vcpus_2sockets_5times' |
133 | 113 |
|
134 | | -id: tdx-guest/td-ita |
| 114 | +id: tdx-guest/test_guest_cpu_off |
135 | 115 | category_id: tdx-guest |
136 | 116 | flags: simple |
137 | | -_summary: Test guest Intel Trust Authority |
| 117 | +_summary: Test TD with cpu on/off |
138 | 118 | depends: |
139 | 119 | after: |
140 | 120 | requires: |
141 | 121 | executable.name == 'qemu-system-x86_64' |
142 | 122 | command: |
143 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
144 | | - setup-env-and-run test_guest_ita.py |
| 123 | + setup-env-and-run boot/test_guest_cpu_off.py -k 'test_guest_cpu_off' |
145 | 124 |
|
146 | | -id: tdx-guest/td-libtdx-attest |
| 125 | +id: tdx-guest/test_guest_cpu_pinned_off |
147 | 126 | category_id: tdx-guest |
148 | 127 | flags: simple |
149 | | -_summary: Test guest libtdx_attest |
| 128 | +_summary: Test TD with cpu pinned |
150 | 129 | depends: |
151 | 130 | after: |
152 | 131 | requires: |
153 | 132 | executable.name == 'qemu-system-x86_64' |
154 | 133 | command: |
155 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
156 | | - setup-env-and-run test_guest_tdxattest.py |
| 134 | + setup-env-and-run boot/test_guest_cpu_off.py -k 'test_guest_cpu_pinned_off' |
157 | 135 |
|
158 | | -id: tdx-guest/td-guest-reboot |
| 136 | +id: tdx-guest/test_nmi_debug_off |
159 | 137 | category_id: tdx-guest |
160 | 138 | flags: simple |
161 | | -_summary: Test guest multiple boot |
| 139 | +_summary: Test TD nmi after boot |
162 | 140 | depends: |
163 | 141 | after: |
164 | 142 | requires: |
165 | 143 | executable.name == 'qemu-system-x86_64' |
166 | 144 | command: |
167 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
168 | | - setup-env-and-run test_boot_multiple.py |
| 145 | + setup-env-and-run test_nmi_debug_off.py -k 'test_nmi_debug_off' |
169 | 146 |
|
170 | | -id: tdx-guest/td-guest-report |
171 | | -category_id: tdx-guest |
| 147 | +id: tdx-stress/test_stress_boot |
| 148 | +category_id: tdx-stress |
172 | 149 | flags: simple |
173 | | -_summary: Test guest report |
| 150 | +_summary: Test TD boot loop |
174 | 151 | depends: |
175 | 152 | after: |
176 | 153 | requires: |
177 | 154 | executable.name == 'qemu-system-x86_64' |
178 | 155 | command: |
179 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
180 | | - setup-env-and-run test_guest_report.py |
| 156 | + setup-env-and-run stress/test_stress_boot.py -k 'test_stress_boot' |
181 | 157 |
|
182 | | -id: tdx-guest/td-guest-eventlog |
| 158 | +id: tdx-eventlog/test_guest_measurement_check_rtmr |
183 | 159 | category_id: tdx-guest |
184 | 160 | flags: simple |
185 | | -_summary: Test guest eventlog |
186 | | -depends: |
187 | | -after: |
188 | | -requires: |
189 | | - executable.name == 'qemu-system-x86_64' |
190 | | -command: |
191 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
192 | | - setup-env-and-run test_guest_eventlog.py |
193 | | - |
194 | | -#id: tdx-perf/td-perf-benchmark |
195 | | -#category_id: tdx-perf |
196 | | -#flags: simple |
197 | | -#_summary: Test perf benchmark |
198 | | -#depends: |
199 | | -#after: |
200 | | -#requires: |
201 | | -# executable.name == 'qemu-system-x86_64' |
202 | | -#command: |
203 | | -# export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
204 | | -# setup-env-and-run test_perf_benchmark.py |
205 | | - |
206 | | -id: tdx-perf/td-perf-boot-time |
207 | | -category_id: tdx-perf |
208 | | -flags: simple |
209 | | -_summary: Test perf boot-time |
| 161 | +_summary: Test guest measurements |
210 | 162 | depends: |
211 | 163 | after: |
212 | 164 | requires: |
213 | 165 | executable.name == 'qemu-system-x86_64' |
214 | 166 | command: |
215 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
216 | | - setup-env-and-run test_perf_boot_time.py |
| 167 | + setup-env-and-run eventlog/test_guest_measurement.py -k 'test_guest_measurement_check_rtmr' |
217 | 168 |
|
218 | | -id: tdx-quote/td-quote-configfs-tsm |
| 169 | +id: tdx-quote/test_quote_check_configfs_tsm |
219 | 170 | category_id: tdx-quote |
220 | 171 | flags: simple |
221 | | -_summary: Test quote configfs tsm |
222 | | -depends: |
223 | | -after: |
224 | | -requires: |
225 | | - executable.name == 'qemu-system-x86_64' |
226 | | -command: |
227 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
228 | | - setup-env-and-run test_quote_configfs_tsm.py |
229 | | - |
230 | | -id: tdx-guest/td-vsock |
231 | | -category_id: tdx-guest |
232 | | -flags: simple |
233 | | -_summary: Test TD vsock between host and VM |
234 | | -depends: |
235 | | -after: |
236 | | -requires: |
237 | | - executable.name == 'qemu-system-x86_64' |
238 | | - executable.name == 'iperf3' |
239 | | -command: |
240 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
241 | | - # The order of binary look-up: |
242 | | - # - test working folder |
243 | | - # - checkbox |
244 | | - # - provider |
245 | | - # - snaps binaries (/snap/bin) |
246 | | - # - host system |
247 | | - # so for iperf3, the binary from the checkbox snap will be used. |
248 | | - # however we want to use the one from tdx provider (that has vsock support) |
249 | | - export PATH=${SNAP}/usr/bin/:${PATH} |
250 | | - setup-env-and-run test_vsock_vm.py |
251 | | - |
252 | | -id: tdx-guest/td-memory |
253 | | -category_id: tdx-guest |
254 | | -flags: simple |
255 | | -_summary: Test TD memory confidentiality |
| 172 | +_summary: Test guest configfs tsm check |
256 | 173 | depends: |
257 | 174 | after: |
258 | 175 | requires: |
259 | 176 | executable.name == 'qemu-system-x86_64' |
260 | 177 | command: |
261 | | - export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH |
262 | | - setup-env-and-run test_guest_memory.py |
| 178 | + setup-env-and-run quote/test_quote_configfs_tsm.py -k 'test_quote_check_configfs_tsm' |
0 commit comments