blob: 5e05c83fb0a71da8a27fc52323917825bf3deeb1 [file] [log] [blame]
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +09001{
Diwas Sharma7621bfb2024-05-14 20:50:42 +00002 "captiveportal-networkstack-resolve-tethering-mainline-presubmit": [
3 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +09004 "name": "CtsNetTestCases",
Diwas Sharma7621bfb2024-05-14 20:50:42 +00005 "options": [
6 {
7 "exclude-annotation": "com.android.testutils.SkipPresubmit"
8 },
9 {
10 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
11 },
12 {
13 "exclude-annotation": "androidx.test.filters.RequiresDevice"
14 }
15 ]
16 },
17 {
18 "name": "CtsNetTestCasesMaxTargetSdk30",
19 "options": [
20 {
21 "exclude-annotation": "com.android.testutils.SkipPresubmit"
22 },
23 {
24 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
25 },
26 {
27 "exclude-annotation": "androidx.test.filters.RequiresDevice"
28 }
29 ]
30 },
31 {
32 "name": "CtsNetTestCasesMaxTargetSdk31",
33 "options": [
34 {
35 "exclude-annotation": "com.android.testutils.SkipPresubmit"
36 },
37 {
38 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
39 },
40 {
41 "exclude-annotation": "androidx.test.filters.RequiresDevice"
42 }
43 ]
44 },
45 {
46 "name": "CtsNetTestCasesMaxTargetSdk33",
47 "options": [
48 {
49 "exclude-annotation": "com.android.testutils.SkipPresubmit"
50 },
51 {
52 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
53 },
54 {
55 "exclude-annotation": "androidx.test.filters.RequiresDevice"
56 }
57 ]
58 },
59 {
60 "name": "bpf_existence_test"
61 },
62 {
63 "name": "connectivity_native_test"
64 },
65 {
66 "name": "netd_updatable_unit_test"
67 },
68 {
69 "name": "ConnectivityCoverageTests",
70 "options": [
71 {
72 "exclude-annotation": "com.android.testutils.SkipPresubmit"
73 }
74 ]
75 },
76 {
77 "name": "libnetworkstats_test"
78 },
79 {
Diwas Sharma7621bfb2024-05-14 20:50:42 +000080 "name": "CtsTetheringTestLatestSdk",
81 "options": [
82 {
83 "exclude-annotation": "com.android.testutils.NetworkStackModuleTest"
84 }
85 ]
86 }
87 ],
88 "captiveportal-networkstack-mainline-presubmit": [
89 // Test with APK modules only, in cases where APEX is not supported, or the other modules
90 // were simply not updated
91 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +090092 "name": "CtsNetTestCases",
Diwas Sharma7621bfb2024-05-14 20:50:42 +000093 "options": [
94 {
95 "exclude-annotation": "com.android.testutils.SkipPresubmit"
96 },
97 {
98 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
99 },
100 {
101 "exclude-annotation": "androidx.test.filters.RequiresDevice"
102 },
103 {
104 "exclude-annotation": "com.android.testutils.ConnectivityModuleTest"
105 },
106 {
107 "exclude-annotation": "com.android.testutils.DnsResolverModuleTest"
108 }
109 ]
110 }
111 ],
112 "tethering-mainline-presubmit": [
113 // Test with connectivity/tethering module only, to catch integration issues with older versions
114 // of other modules. "new tethering + old NetworkStack" is not a configuration that should
115 // really exist in the field, but there is no strong guarantee, and it is required by MTS
116 // testing for module qualification, where modules are tested independently.
117 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +0900118 "name": "CtsNetTestCases",
Diwas Sharma7621bfb2024-05-14 20:50:42 +0000119 "options": [
120 {
121 "exclude-annotation": "com.android.testutils.SkipPresubmit"
122 },
123 {
124 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
125 },
126 {
127 "exclude-annotation": "androidx.test.filters.RequiresDevice"
128 },
129 {
130 "exclude-annotation": "com.android.testutils.DnsResolverModuleTest"
131 },
132 {
133 "exclude-annotation": "com.android.testutils.NetworkStackModuleTest"
134 }
135 ]
136 }
137 ],
Remi NGUYEN VANa773ccb2020-06-25 03:58:10 +0000138 "presubmit": [
Remi NGUYEN VAN48c68882021-07-16 01:36:12 +0000139 {
Xiao Ma432162d2023-09-29 15:28:49 +0900140 "name": "ConnectivityCoverageTests",
141 "options": [
142 {
143 "exclude-annotation": "com.android.testutils.NetworkStackModuleTest"
Junyu Lai86298be2023-10-17 17:25:10 +0800144 },
145 {
146 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Xiao Ma432162d2023-09-29 15:28:49 +0900147 }
148 ]
Remi NGUYEN VAN48c68882021-07-16 01:36:12 +0000149 },
Remi NGUYEN VAN40da62d2022-04-01 11:59:45 +0900150 {
151 // In addition to ConnectivityCoverageTests, runs non-connectivity-module tests
Junyu Laib8fc7552023-07-26 14:25:49 +0800152 "name": "FrameworksNetTests",
153 "options": [
154 {
155 "exclude-annotation": "com.android.testutils.SkipPresubmit"
156 }
157 ]
Remi NGUYEN VAN40da62d2022-04-01 11:59:45 +0900158 },
Remi NGUYEN VANad380c12021-03-01 06:48:29 +0000159 // Run in addition to mainline-presubmit as mainline-presubmit is not
160 // supported in every branch.
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900161 {
Remi NGUYEN VANad380c12021-03-01 06:48:29 +0000162 "name": "CtsNetTestCases",
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900163 "options": [
164 {
165 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +0900166 },
167 {
168 "exclude-annotation": "androidx.test.filters.RequiresDevice"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900169 }
170 ]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +0000171 },
Lorenzo Colitti9e61b822022-05-28 00:20:06 +0900172 // CTS tests that target older SDKs.
173 {
Remi NGUYEN VAN348bbb02022-07-19 16:33:04 +0900174 "name": "CtsNetTestCasesMaxTargetSdk30",
175 "options": [
176 {
177 "exclude-annotation": "com.android.testutils.SkipPresubmit"
178 },
179 {
180 "exclude-annotation": "androidx.test.filters.RequiresDevice"
181 }
182 ]
183 },
184 {
Lorenzo Colitti9e61b822022-05-28 00:20:06 +0900185 "name": "CtsNetTestCasesMaxTargetSdk31",
186 "options": [
187 {
188 "exclude-annotation": "com.android.testutils.SkipPresubmit"
189 },
190 {
191 "exclude-annotation": "androidx.test.filters.RequiresDevice"
192 }
193 ]
194 },
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +0000195 {
Yuyang Huang72bc6002023-02-17 17:29:01 +0900196 "name": "CtsNetTestCasesMaxTargetSdk33",
197 "options": [
198 {
199 "exclude-annotation": "com.android.testutils.SkipPresubmit"
200 },
201 {
202 "exclude-annotation": "androidx.test.filters.RequiresDevice"
203 }
204 ]
205 },
206 {
Lorenzo Colitti98c83d02022-02-18 17:24:48 +0900207 "name": "bpf_existence_test"
208 },
209 {
Tyler Wearb4ab4c32022-03-03 21:44:30 -0800210 "name": "connectivity_native_test"
211 },
212 {
Hungming Chen2e6d1072022-05-30 16:18:37 +0800213 "name": "libclat_test"
214 },
215 {
Ken Chen1647f602021-10-05 21:55:22 +0800216 "name": "netd_updatable_unit_test"
217 },
218 {
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +0000219 "name": "TetheringTests"
220 },
221 {
222 "name": "TetheringIntegrationTests"
Wayne Ma7be6bce2022-01-12 16:29:49 +0800223 },
224 {
Ken Chenf426b2b2022-01-23 15:39:13 +0800225 "name": "libnetworkstats_test"
Remi NGUYEN VAN3b813232022-02-16 12:15:14 +0900226 },
227 {
228 "name": "FrameworksNetIntegrationTests"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900229 }
easoncyleea1b13d62020-06-12 14:14:14 +0800230 ],
markchien911cf8f2021-07-19 17:23:54 +0800231 "postsubmit": [
232 {
233 "name": "TetheringPrivilegedTests"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +0900234 },
Lorenzo Colitti3b38b122022-01-12 16:06:07 +0900235 {
Ken Chen1647f602021-10-05 21:55:22 +0800236 "name": "netd_updatable_unit_test",
237 "keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"]
238 },
239 {
Ken Chend4e5c762023-09-13 17:21:36 +0800240 "name": "dns_helper_unit_test"
241 },
242 {
Remi NGUYEN VAN3b813232022-02-16 12:15:14 +0900243 "name": "FrameworksNetDeflakeTest"
Junyu Laib8fc7552023-07-26 14:25:49 +0800244 },
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900245 // Postsubmit on virtual devices to monitor flakiness of @SkipPresubmit methods
246 {
247 "name": "CtsNetTestCases",
248 "options": [
249 {
250 "exclude-annotation": "androidx.test.filters.RequiresDevice"
251 }
252 ]
253 },
Junyu Laib8fc7552023-07-26 14:25:49 +0800254 {
255 "name": "FrameworksNetTests"
markchien911cf8f2021-07-19 17:23:54 +0800256 }
257 ],
easoncyleea1b13d62020-06-12 14:14:14 +0800258 "mainline-presubmit": [
259 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +0900260 "name": "CtsNetTestCases[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
easoncyleea1b13d62020-06-12 14:14:14 +0800261 "options": [
262 {
263 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +0900264 },
265 {
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900266 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
267 },
268 {
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +0900269 "exclude-annotation": "androidx.test.filters.RequiresDevice"
easoncyleea1b13d62020-06-12 14:14:14 +0800270 }
271 ]
Remi NGUYEN VAN5a1f2f72021-07-01 13:55:49 +0000272 },
273 {
Remi NGUYEN VAN348bbb02022-07-19 16:33:04 +0900274 "name": "CtsNetTestCasesMaxTargetSdk30[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
275 "options": [
276 {
277 "exclude-annotation": "com.android.testutils.SkipPresubmit"
278 },
279 {
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900280 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
281 },
282 {
Remi NGUYEN VAN348bbb02022-07-19 16:33:04 +0900283 "exclude-annotation": "androidx.test.filters.RequiresDevice"
284 }
285 ]
286 },
287 {
Lorenzo Colitti9e61b822022-05-28 00:20:06 +0900288 "name": "CtsNetTestCasesMaxTargetSdk31[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
289 "options": [
290 {
291 "exclude-annotation": "com.android.testutils.SkipPresubmit"
292 },
293 {
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900294 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
295 },
296 {
Lorenzo Colitti9e61b822022-05-28 00:20:06 +0900297 "exclude-annotation": "androidx.test.filters.RequiresDevice"
298 }
299 ]
300 },
Yuyang Huang72bc6002023-02-17 17:29:01 +0900301 {
302 "name": "CtsNetTestCasesMaxTargetSdk33[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
303 "options": [
304 {
305 "exclude-annotation": "com.android.testutils.SkipPresubmit"
306 },
307 {
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900308 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
309 },
310 {
Yuyang Huang72bc6002023-02-17 17:29:01 +0900311 "exclude-annotation": "androidx.test.filters.RequiresDevice"
312 }
313 ]
314 },
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900315 // Test with APK modules only, in cases where APEX is not supported, or the other modules
316 // were simply not updated
317 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +0900318 "name": "CtsNetTestCases[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk]",
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900319 "options": [
320 {
321 "exclude-annotation": "com.android.testutils.SkipPresubmit"
322 },
323 {
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900324 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
325 },
326 {
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900327 "exclude-annotation": "androidx.test.filters.RequiresDevice"
328 },
329 {
330 "exclude-annotation": "com.android.testutils.ConnectivityModuleTest"
Mike Yucc5dbf92023-06-06 11:26:28 +0000331 },
332 {
333 "exclude-annotation": "com.android.testutils.DnsResolverModuleTest"
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900334 }
335 ]
336 },
337 // Test with connectivity/tethering module only, to catch integration issues with older versions
338 // of other modules. "new tethering + old NetworkStack" is not a configuration that should
339 // really exist in the field, but there is no strong guarantee, and it is required by MTS
340 // testing for module qualification, where modules are tested independently.
341 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +0900342 "name": "CtsNetTestCases[com.google.android.tethering.apex]",
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900343 "options": [
344 {
345 "exclude-annotation": "com.android.testutils.SkipPresubmit"
346 },
347 {
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900348 "exclude-annotation": "com.android.testutils.SkipMainlinePresubmit"
349 },
350 {
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900351 "exclude-annotation": "androidx.test.filters.RequiresDevice"
Mike Yucc5dbf92023-06-06 11:26:28 +0000352 },
353 {
354 "exclude-annotation": "com.android.testutils.DnsResolverModuleTest"
Yuyang Huanga6269582024-03-27 20:11:45 +0900355 },
356 {
357 "exclude-annotation": "com.android.testutils.NetworkStackModuleTest"
Remi NGUYEN VAN7d800632022-05-31 10:53:47 +0900358 }
359 ]
360 },
Lorenzo Colitti9e61b822022-05-28 00:20:06 +0900361 {
Lorenzo Colitti98c83d02022-02-18 17:24:48 +0900362 "name": "bpf_existence_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
363 },
364 {
Tyler Wearb4ab4c32022-03-03 21:44:30 -0800365 "name": "connectivity_native_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
366 },
367 {
Ken Chen1647f602021-10-05 21:55:22 +0800368 "name": "netd_updatable_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
369 },
370 {
Junyu Lai08a4a872023-10-19 10:33:03 +0800371 "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
372 "options": [
373 {
374 "exclude-annotation": "com.android.testutils.SkipPresubmit"
375 }
376 ]
Wayne Ma7be6bce2022-01-12 16:29:49 +0800377 },
378 {
Ken Chenf426b2b2022-01-23 15:39:13 +0800379 "name": "libnetworkstats_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Chidera Olibied66799a2023-01-24 20:22:56 +0000380 },
381 {
Xiao Ma161b70c2023-06-01 13:36:46 +0900382 "name": "CtsTetheringTestLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
383 "options": [
384 {
385 "exclude-annotation": "com.android.testutils.NetworkStackModuleTest"
386 }
387 ]
easoncyleea1b13d62020-06-12 14:14:14 +0800388 }
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +0000389 ],
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +0000390 "mainline-postsubmit": [
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +0000391 // Tests on physical devices with SIM cards: postsubmit only for capacity constraints
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +0000392 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +0900393 "name": "CtsNetTestCases[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +0000394 "keywords": ["sim"]
Mark Chienf8870fa2022-07-22 09:56:52 +0000395 },
396 {
Xiao Ma161b70c2023-06-01 13:36:46 +0900397 "name": "CtsTetheringTestLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
398 "keywords": ["sim"],
399 "options": [
400 {
401 "exclude-annotation": "com.android.testutils.NetworkStackModuleTest"
402 }
403 ]
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900404 },
405 // Postsubmit on virtual devices to monitor flakiness of @SkipMainlinePresubmit methods
406 {
Motomu Utsumic42f32f2024-06-12 19:15:26 +0900407 "name": "CtsNetTestCases[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
Remi NGUYEN VAN8db52a52023-07-26 16:15:03 +0900408 "options": [
409 {
410 "exclude-annotation": "androidx.test.filters.RequiresDevice"
411 }
412 ]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +0000413 }
414 ],
415 "imports": [
416 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +0000417 "path": "frameworks/base/core/java/android/net"
418 },
419 {
Filip Zakrzewski8a5823d2022-01-07 20:47:30 +0000420 "path": "frameworks/opt/net/ethernet"
421 },
422 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +0000423 "path": "packages/modules/NetworkStack"
424 },
425 {
426 "path": "packages/modules/CaptivePortalLogin"
Lorenzo Colitti35bf22b2022-08-01 10:23:23 +0900427 },
428 {
Mohannad Farragb824e0f2024-05-02 10:47:59 +0000429 "path": "external/cronet"
430 },
431 {
Lorenzo Colitti35bf22b2022-08-01 10:23:23 +0900432 "path": "vendor/xts/gts-tests/hostsidetests/networkstack"
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +0000433 }
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900434 ]
435}