New upstream version 18.08
[deb_dpdk.git] / test / test / autotest_data.py
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 # Test data for autotests
5
6 from autotest_test_funcs import *
7
8 # groups of tests that can be run in parallel
9 # the grouping has been found largely empirically
10 parallel_test_list = [
11     {
12         "Name":    "Cycles autotest",
13         "Command": "cycles_autotest",
14         "Func":    default_autotest,
15         "Report":  None,
16     },
17     {
18         "Name":    "Timer autotest",
19         "Command": "timer_autotest",
20         "Func":    timer_autotest,
21         "Report":   None,
22     },
23     {
24         "Name":    "Debug autotest",
25         "Command": "debug_autotest",
26         "Func":    default_autotest,
27         "Report":  None,
28     },
29     {
30         "Name":    "Errno autotest",
31         "Command": "errno_autotest",
32         "Func":    default_autotest,
33         "Report":  None,
34     },
35     {
36         "Name":    "Meter autotest",
37         "Command": "meter_autotest",
38         "Func":    default_autotest,
39         "Report":  None,
40     },
41     {
42         "Name":    "Common autotest",
43         "Command": "common_autotest",
44         "Func":    default_autotest,
45         "Report":  None,
46     },
47     {
48         "Name":    "Resource autotest",
49         "Command": "resource_autotest",
50         "Func":    default_autotest,
51         "Report":  None,
52     },
53     {
54         "Name":    "Memory autotest",
55         "Command": "memory_autotest",
56         "Func":    memory_autotest,
57         "Report":  None,
58     },
59     {
60         "Name":    "Read/write lock autotest",
61         "Command": "rwlock_autotest",
62         "Func":    rwlock_autotest,
63         "Report":  None,
64     },
65     {
66         "Name":    "Logs autotest",
67         "Command": "logs_autotest",
68         "Func":    logs_autotest,
69         "Report":  None,
70     },
71     {
72         "Name":    "CPU flags autotest",
73         "Command": "cpuflags_autotest",
74         "Func":    default_autotest,
75         "Report":  None,
76     },
77     {
78         "Name":    "Version autotest",
79         "Command": "version_autotest",
80         "Func":    default_autotest,
81         "Report":  None,
82     },
83     {
84         "Name":    "EAL filesystem autotest",
85         "Command": "eal_fs_autotest",
86         "Func":    default_autotest,
87         "Report":  None,
88     },
89     {
90         "Name":    "EAL flags autotest",
91         "Command": "eal_flags_autotest",
92         "Func":    default_autotest,
93         "Report":  None,
94     },
95     {
96         "Name":    "Hash autotest",
97         "Command": "hash_autotest",
98         "Func":    default_autotest,
99         "Report":  None,
100     },
101     {
102         "Name":    "LPM autotest",
103         "Command": "lpm_autotest",
104         "Func":    default_autotest,
105         "Report":  None,
106     },
107     {
108         "Name":    "LPM6 autotest",
109         "Command": "lpm6_autotest",
110         "Func":    default_autotest,
111         "Report":  None,
112     },
113     {
114         "Name":    "Memcpy autotest",
115         "Command": "memcpy_autotest",
116         "Func":    default_autotest,
117         "Report":  None,
118     },
119     {
120         "Name":    "Memzone autotest",
121         "Command": "memzone_autotest",
122         "Func":    default_autotest,
123         "Report":  None,
124     },
125     {
126         "Name":    "String autotest",
127         "Command": "string_autotest",
128         "Func":    default_autotest,
129         "Report":  None,
130     },
131     {
132         "Name":    "Alarm autotest",
133         "Command": "alarm_autotest",
134         "Func":    default_autotest,
135         "Report":  None,
136     },
137     {
138         "Name":    "Malloc autotest",
139         "Command": "malloc_autotest",
140         "Func":    default_autotest,
141         "Report":  None,
142     },
143     {
144         "Name":    "Multi-process autotest",
145         "Command": "multiprocess_autotest",
146         "Func":    default_autotest,
147         "Report":  None,
148     },
149     {
150         "Name":    "Mbuf autotest",
151         "Command": "mbuf_autotest",
152         "Func":    default_autotest,
153         "Report":  None,
154     },
155     {
156         "Name":    "Per-lcore autotest",
157         "Command": "per_lcore_autotest",
158         "Func":    default_autotest,
159         "Report":  None,
160     },
161     {
162         "Name":    "Ring autotest",
163         "Command": "ring_autotest",
164         "Func":    default_autotest,
165         "Report":  None,
166     },
167     {
168         "Name":    "Spinlock autotest",
169         "Command": "spinlock_autotest",
170         "Func":    spinlock_autotest,
171         "Report":  None,
172     },
173     {
174         "Name":    "Byte order autotest",
175         "Command": "byteorder_autotest",
176         "Func":    default_autotest,
177         "Report":  None,
178     },
179     {
180         "Name":    "TAILQ autotest",
181         "Command": "tailq_autotest",
182         "Func":    default_autotest,
183         "Report":  None,
184     },
185     {
186         "Name":    "Command-line autotest",
187         "Command": "cmdline_autotest",
188         "Func":    default_autotest,
189         "Report":  None,
190     },
191     {
192         "Name":    "Interrupts autotest",
193         "Command": "interrupt_autotest",
194         "Func":    default_autotest,
195         "Report":  None,
196     },
197     {
198         "Name":    "Function reentrancy autotest",
199         "Command": "func_reentrancy_autotest",
200         "Func":    default_autotest,
201         "Report":  None,
202     },
203     {
204         "Name":    "Mempool autotest",
205         "Command": "mempool_autotest",
206         "Func":    default_autotest,
207         "Report":  None,
208     },
209     {
210         "Name":    "Atomics autotest",
211         "Command": "atomic_autotest",
212         "Func":    default_autotest,
213         "Report":  None,
214     },
215     {
216         "Name":    "Prefetch autotest",
217         "Command": "prefetch_autotest",
218         "Func":    default_autotest,
219         "Report":  None,
220     },
221     {
222         "Name":    "Red autotest",
223         "Command": "red_autotest",
224         "Func":    default_autotest,
225         "Report":  None,
226     },
227     {
228         "Name":    "PMD ring autotest",
229         "Command": "ring_pmd_autotest",
230         "Func":    default_autotest,
231         "Report":  None,
232     },
233     {
234         "Name":    "Access list control autotest",
235         "Command": "acl_autotest",
236         "Func":    default_autotest,
237         "Report":  None,
238     },
239     {
240         "Name":    "Sched autotest",
241         "Command": "sched_autotest",
242         "Func":    default_autotest,
243         "Report":  None,
244     },
245     {
246         "Name":    "Eventdev selftest octeontx",
247         "Command": "eventdev_selftest_octeontx",
248         "Func":    default_autotest,
249         "Report":  None,
250     },
251     {
252         "Name":    "Event ring autotest",
253         "Command": "event_ring_autotest",
254         "Func":    default_autotest,
255         "Report":  None,
256     },
257     {
258         "Name":    "Table autotest",
259         "Command": "table_autotest",
260         "Func":    default_autotest,
261         "Report":  None,
262     },
263     {
264         "Name":    "Flow classify autotest",
265         "Command": "flow_classify_autotest",
266         "Func":    default_autotest,
267         "Report":  None,
268     },
269     {
270         "Name":    "Event eth rx adapter autotest",
271         "Command": "event_eth_rx_adapter_autotest",
272         "Func":    default_autotest,
273         "Report":  None,
274     },
275     {
276         "Name":    "User delay",
277         "Command": "user_delay_us",
278         "Func":    default_autotest,
279         "Report":  None,
280     },
281     {
282         "Name":    "Rawdev autotest",
283         "Command": "rawdev_autotest",
284         "Func":    default_autotest,
285         "Report":  None,
286     },
287     {
288         "Name":    "Kvargs autotest",
289         "Command": "kvargs_autotest",
290         "Func":    default_autotest,
291         "Report":  None,
292     },
293     {
294         "Name":    "Devargs autotest",
295         "Command": "devargs_autotest",
296         "Func":    default_autotest,
297         "Report":  None,
298     },
299     {
300         "Name":    "Link bonding autotest",
301         "Command": "link_bonding_autotest",
302         "Func":    default_autotest,
303         "Report":  None,
304     },
305     {
306         "Name":    "Link bonding mode4 autotest",
307         "Command": "link_bonding_mode4_autotest",
308         "Func":    default_autotest,
309         "Report":  None,
310     },
311     {
312         "Name":    "Link bonding rssconf autotest",
313         "Command": "link_bonding_rssconf_autotest",
314         "Func":    default_autotest,
315         "Report":  None,
316     },
317     {
318         "Name":    "Crc autotest",
319         "Command": "crc_autotest",
320         "Func":    default_autotest,
321         "Report":  None,
322     },
323     {
324         "Name":    "Distributor autotest",
325         "Command": "distributor_autotest",
326         "Func":    default_autotest,
327         "Report":  None,
328     },
329     {
330         "Name":    "Reorder autotest",
331         "Command": "reorder_autotest",
332         "Func":    default_autotest,
333         "Report":  None,
334     },
335     {
336         "Name":    "Barrier autotest",
337         "Command": "barrier_autotest",
338         "Func":    default_autotest,
339         "Report":  None,
340     },
341     {
342         "Name":    "Bitmap test",
343         "Command": "bitmap_test",
344         "Func":    default_autotest,
345         "Report":  None,
346     },
347     {
348         "Name":    "Hash scaling autotest",
349         "Command": "hash_scaling_autotest",
350         "Func":    default_autotest,
351         "Report":  None,
352     },
353     {
354         "Name":    "Hash multiwriter autotest",
355         "Command": "hash_multiwriter_autotest",
356         "Func":    default_autotest,
357         "Report":  None,
358     },
359     {
360         "Name":    "Service autotest",
361         "Command": "service_autotest",
362         "Func":    default_autotest,
363         "Report":  None,
364     },
365     {
366         "Name":    "Timer racecond autotest",
367         "Command": "timer_racecond_autotest",
368         "Func":    default_autotest,
369         "Report":  None,
370     },
371     {
372         "Name":    "Member autotest",
373         "Command": "member_autotest",
374         "Func":    default_autotest,
375         "Report":  None,
376     },
377     {
378         "Name":   "Efd_autotest",
379         "Command": "efd_autotest",
380         "Func":    default_autotest,
381         "Report":  None,
382     },
383     {
384         "Name":    "Thash autotest",
385         "Command": "thash_autotest",
386         "Func":    default_autotest,
387         "Report":  None,
388     },
389     {
390         "Name":    "Hash function autotest",
391         "Command": "hash_functions_autotest",
392         "Func":    default_autotest,
393         "Report":  None,
394     },
395     {
396         "Name":    "Cryptodev sw mrvl autotest",
397         "Command": "cryptodev_sw_mrvl_autotest",
398         "Func":    default_autotest,
399         "Report":  None,
400     },
401     {
402         "Name":    "Cryptodev dpaa2 sec autotest",
403         "Command": "cryptodev_dpaa2_sec_autotest",
404         "Func":    default_autotest,
405         "Report":  None,
406     },
407     {
408         "Name":    "Cryptodev dpaa sec autotest",
409         "Command": "cryptodev_dpaa_sec_autotest",
410         "Func":    default_autotest,
411         "Report":  None,
412     },
413     {
414         "Name":    "Cryptodev qat autotest",
415         "Command": "cryptodev_qat_autotest",
416         "Func":    default_autotest,
417         "Report":  None,
418     },
419     {
420         "Name":    "Cryptodev aesni mb autotest",
421         "Command": "cryptodev_aesni_mb_autotest",
422         "Func":    default_autotest,
423         "Report":  None,
424     },
425     {
426         "Name":    "Cryptodev openssl autotest",
427         "Command": "cryptodev_openssl_autotest",
428         "Func":    default_autotest,
429         "Report":  None,
430     },
431     {
432         "Name":    "Cryptodev scheduler autotest",
433         "Command": "cryptodev_scheduler_autotest",
434         "Func":    default_autotest,
435         "Report":  None,
436     },
437     {
438         "Name":    "Cryptodev aesni gcm autotest",
439         "Command": "cryptodev_aesni_gcm_autotest",
440         "Func":    default_autotest,
441         "Report":  None,
442     },
443     {
444         "Name":    "Cryptodev null autotest",
445         "Command": "cryptodev_null_autotest",
446         "Func":    default_autotest,
447         "Report":  None,
448     },
449     {
450         "Name":    "Cryptodev sw snow3g autotest",
451         "Command": "cryptodev_sw_snow3g_autotest",
452         "Func":    default_autotest,
453         "Report":  None,
454     },
455     {
456         "Name":    "Cryptodev sw kasumi autotest",
457         "Command": "cryptodev_sw_kasumi_autotest",
458         "Func":    default_autotest,
459         "Report":  None,
460     },
461     {
462         "Name":    "Cryptodev_sw_zuc_autotest",
463         "Command": "cryptodev_sw_zuc_autotest",
464         "Func":    default_autotest,
465         "Report":  None,
466     },
467     {
468         "Name":    "Reciprocal division",
469         "Command": "reciprocal_division",
470         "Func":    default_autotest,
471         "Report":  None,
472     },
473     {
474         "Name":    "Red all",
475         "Command": "red_all",
476         "Func":    default_autotest,
477         "Report":  None,
478     },
479     {
480         "Name":    "Fbarray autotest",
481         "Command": "fbarray_autotest",
482         "Func":    default_autotest,
483         "Report":  None,
484     },
485     #
486     #Please always keep all dump tests at the end and together!
487     #
488     {
489         "Name":    "Dump physmem",
490         "Command": "dump_physmem",
491         "Func":    dump_autotest,
492         "Report":  None,
493     },
494     {
495         "Name":    "Dump memzone",
496         "Command": "dump_memzone",
497         "Func":    dump_autotest,
498         "Report":  None,
499     },
500     {
501         "Name":    "Dump struct sizes",
502         "Command": "dump_struct_sizes",
503         "Func":    dump_autotest,
504         "Report":  None,
505     },
506     {
507         "Name":    "Dump mempool",
508         "Command": "dump_mempool",
509         "Func":    dump_autotest,
510         "Report":  None,
511     },
512     {
513         "Name":    "Dump malloc stats",
514         "Command": "dump_malloc_stats",
515         "Func":    dump_autotest,
516         "Report":  None,
517     },
518     {
519         "Name":    "Dump devargs",
520         "Command": "dump_devargs",
521         "Func":    dump_autotest,
522         "Report":  None,
523     },
524     {
525         "Name":    "Dump log types",
526         "Command": "dump_log_types",
527         "Func":    dump_autotest,
528         "Report":  None,
529     },
530     {
531         "Name":    "Dump_ring",
532         "Command": "dump_ring",
533         "Func":    dump_autotest,
534         "Report":  None,
535     },
536 ]
537
538 # tests that should not be run when any other tests are running
539 non_parallel_test_list = [
540     {
541         "Name":    "Eventdev common autotest",
542         "Command": "eventdev_common_autotest",
543         "Func":    default_autotest,
544         "Report":  None,
545     },
546     {
547         "Name":    "Eventdev selftest sw",
548         "Command": "eventdev_selftest_sw",
549         "Func":    default_autotest,
550         "Report":  None,
551     },
552     {
553         "Name":    "KNI autotest",
554         "Command": "kni_autotest",
555         "Func":    default_autotest,
556         "Report":  None,
557     },
558     {
559         "Name":    "Mempool performance autotest",
560         "Command": "mempool_perf_autotest",
561         "Func":    default_autotest,
562         "Report":  None,
563     },
564     {
565         "Name":    "Memcpy performance autotest",
566         "Command": "memcpy_perf_autotest",
567         "Func":    default_autotest,
568         "Report":  None,
569     },
570     {
571         "Name":    "Hash performance autotest",
572         "Command": "hash_perf_autotest",
573         "Func":    default_autotest,
574         "Report":  None,
575     },
576     {
577         "Name":       "Power autotest",
578         "Command":    "power_autotest",
579         "Func":       default_autotest,
580         "Report":      None,
581     },
582     {
583         "Name":       "Power ACPI cpufreq autotest",
584         "Command":    "power_acpi_cpufreq_autotest",
585         "Func":       default_autotest,
586         "Report":     None,
587     },
588     {
589         "Name":       "Power KVM VM  autotest",
590         "Command":    "power_kvm_vm_autotest",
591         "Func":       default_autotest,
592         "Report":     None,
593     },
594     {
595         "Name":    "Timer performance autotest",
596         "Command": "timer_perf_autotest",
597         "Func":    default_autotest,
598         "Report":  None,
599     },
600     {
601
602         "Name":    "Pmd perf autotest",
603         "Command": "pmd_perf_autotest",
604         "Func":    default_autotest,
605         "Report":  None,
606     },
607     {
608         "Name":    "Ring pmd perf autotest",
609         "Command": "ring_pmd_perf_autotest",
610         "Func":    default_autotest,
611         "Report":  None,
612     },
613     {
614         "Name":    "Distributor perf autotest",
615         "Command": "distributor_perf_autotest",
616         "Func":    default_autotest,
617         "Report":  None,
618     },
619     {
620         "Name":    "Red_perf",
621         "Command": "red_perf",
622         "Func":    default_autotest,
623         "Report":  None,
624     },
625     {
626         "Name":    "Lpm6 perf autotest",
627         "Command": "lpm6_perf_autotest",
628         "Func":    default_autotest,
629         "Report":  None,
630     },
631     {
632         "Name":    "Lpm perf autotest",
633         "Command": "lpm_perf_autotest",
634         "Func":    default_autotest,
635         "Report":  None,
636     },
637     {
638          "Name":    "Efd perf autotest",
639          "Command": "efd_perf_autotest",
640          "Func":    default_autotest,
641          "Report":  None,
642     },
643     {
644         "Name":    "Member perf autotest",
645         "Command": "member_perf_autotest",
646         "Func":    default_autotest,
647         "Report":  None,
648     },
649     {
650         "Name":    "Reciprocal division perf",
651         "Command": "reciprocal_division_perf",
652         "Func":    default_autotest,
653         "Report":  None,
654     },
655     #
656     # Please always make sure that ring_perf is the last test!
657     #
658     {
659         "Name":    "Ring performance autotest",
660         "Command": "ring_perf_autotest",
661         "Func":    default_autotest,
662         "Report":  None,
663     },
664 ]