]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/app/test/autotest_data.py
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / app / 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": "Ticketlock autotest",
175 "Command": "ticketlock_autotest",
176 "Func": ticketlock_autotest,
177 "Report": None,
178 },
179 {
180 "Name": "Byte order autotest",
181 "Command": "byteorder_autotest",
182 "Func": default_autotest,
183 "Report": None,
184 },
185 {
186 "Name": "TAILQ autotest",
187 "Command": "tailq_autotest",
188 "Func": default_autotest,
189 "Report": None,
190 },
191 {
192 "Name": "Command-line autotest",
193 "Command": "cmdline_autotest",
194 "Func": default_autotest,
195 "Report": None,
196 },
197 {
198 "Name": "Interrupts autotest",
199 "Command": "interrupt_autotest",
200 "Func": default_autotest,
201 "Report": None,
202 },
203 {
204 "Name": "Function reentrancy autotest",
205 "Command": "func_reentrancy_autotest",
206 "Func": default_autotest,
207 "Report": None,
208 },
209 {
210 "Name": "Mempool autotest",
211 "Command": "mempool_autotest",
212 "Func": default_autotest,
213 "Report": None,
214 },
215 {
216 "Name": "Atomics autotest",
217 "Command": "atomic_autotest",
218 "Func": default_autotest,
219 "Report": None,
220 },
221 {
222 "Name": "Prefetch autotest",
223 "Command": "prefetch_autotest",
224 "Func": default_autotest,
225 "Report": None,
226 },
227 {
228 "Name": "Red autotest",
229 "Command": "red_autotest",
230 "Func": default_autotest,
231 "Report": None,
232 },
233 {
234 "Name": "PMD ring autotest",
235 "Command": "ring_pmd_autotest",
236 "Func": default_autotest,
237 "Report": None,
238 },
239 {
240 "Name": "Access list control autotest",
241 "Command": "acl_autotest",
242 "Func": default_autotest,
243 "Report": None,
244 },
245 {
246 "Name": "Sched autotest",
247 "Command": "sched_autotest",
248 "Func": default_autotest,
249 "Report": None,
250 },
251 {
252 "Name": "Eventdev selftest octeontx",
253 "Command": "eventdev_selftest_octeontx",
254 "Func": default_autotest,
255 "Report": None,
256 },
257 {
258 "Name": "Event ring autotest",
259 "Command": "event_ring_autotest",
260 "Func": default_autotest,
261 "Report": None,
262 },
263 {
264 "Name": "Table autotest",
265 "Command": "table_autotest",
266 "Func": default_autotest,
267 "Report": None,
268 },
269 {
270 "Name": "Flow classify autotest",
271 "Command": "flow_classify_autotest",
272 "Func": default_autotest,
273 "Report": None,
274 },
275 {
276 "Name": "Event eth rx adapter autotest",
277 "Command": "event_eth_rx_adapter_autotest",
278 "Func": default_autotest,
279 "Report": None,
280 },
281 {
282 "Name": "User delay",
283 "Command": "user_delay_us",
284 "Func": default_autotest,
285 "Report": None,
286 },
287 {
288 "Name": "Sleep delay",
289 "Command": "delay_us_sleep_autotest",
290 "Func": default_autotest,
291 "Report": None,
292 },
293 {
294 "Name": "Rawdev autotest",
295 "Command": "rawdev_autotest",
296 "Func": default_autotest,
297 "Report": None,
298 },
299 {
300 "Name": "Kvargs autotest",
301 "Command": "kvargs_autotest",
302 "Func": default_autotest,
303 "Report": None,
304 },
305 {
306 "Name": "Link bonding autotest",
307 "Command": "link_bonding_autotest",
308 "Func": default_autotest,
309 "Report": None,
310 },
311 {
312 "Name": "Link bonding mode4 autotest",
313 "Command": "link_bonding_mode4_autotest",
314 "Func": default_autotest,
315 "Report": None,
316 },
317 {
318 "Name": "Link bonding rssconf autotest",
319 "Command": "link_bonding_rssconf_autotest",
320 "Func": default_autotest,
321 "Report": None,
322 },
323 {
324 "Name": "Crc autotest",
325 "Command": "crc_autotest",
326 "Func": default_autotest,
327 "Report": None,
328 },
329 {
330 "Name": "Distributor autotest",
331 "Command": "distributor_autotest",
332 "Func": default_autotest,
333 "Report": None,
334 },
335 {
336 "Name": "Reorder autotest",
337 "Command": "reorder_autotest",
338 "Func": default_autotest,
339 "Report": None,
340 },
341 {
342 "Name": "Barrier autotest",
343 "Command": "barrier_autotest",
344 "Func": default_autotest,
345 "Report": None,
346 },
347 {
348 "Name": "Bitmap test",
349 "Command": "bitmap_test",
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 "Name": "External memory autotest",
487 "Command": "external_mem_autotest",
488 "Func": default_autotest,
489 "Report": None,
490 },
491 {
492 "Name": "Metrics autotest",
493 "Command": "metrics_autotest",
494 "Func": default_autotest,
495 "Report": None,
496 },
497 {
498 "Name": "Bitratestats autotest",
499 "Command": "bitratestats_autotest",
500 "Func": default_autotest,
501 "Report": None,
502 },
503 {
504 "Name": "Latencystats autotest",
505 "Command": "latencystats_autotest",
506 "Func": default_autotest,
507 "Report": None,
508 },
509 {
510 "Name": "Pdump autotest",
511 "Command": "pdump_autotest",
512 "Func": default_autotest,
513 "Report": None,
514 },
515 #
516 #Please always keep all dump tests at the end and together!
517 #
518 {
519 "Name": "Dump physmem",
520 "Command": "dump_physmem",
521 "Func": dump_autotest,
522 "Report": None,
523 },
524 {
525 "Name": "Dump memzone",
526 "Command": "dump_memzone",
527 "Func": dump_autotest,
528 "Report": None,
529 },
530 {
531 "Name": "Dump struct sizes",
532 "Command": "dump_struct_sizes",
533 "Func": dump_autotest,
534 "Report": None,
535 },
536 {
537 "Name": "Dump mempool",
538 "Command": "dump_mempool",
539 "Func": dump_autotest,
540 "Report": None,
541 },
542 {
543 "Name": "Dump malloc stats",
544 "Command": "dump_malloc_stats",
545 "Func": dump_autotest,
546 "Report": None,
547 },
548 {
549 "Name": "Dump devargs",
550 "Command": "dump_devargs",
551 "Func": dump_autotest,
552 "Report": None,
553 },
554 {
555 "Name": "Dump log types",
556 "Command": "dump_log_types",
557 "Func": dump_autotest,
558 "Report": None,
559 },
560 {
561 "Name": "Dump_ring",
562 "Command": "dump_ring",
563 "Func": dump_autotest,
564 "Report": None,
565 },
566 ]
567
568 # tests that should not be run when any other tests are running
569 non_parallel_test_list = [
570 {
571 "Name": "Eventdev common autotest",
572 "Command": "eventdev_common_autotest",
573 "Func": default_autotest,
574 "Report": None,
575 },
576 {
577 "Name": "Eventdev selftest sw",
578 "Command": "eventdev_selftest_sw",
579 "Func": default_autotest,
580 "Report": None,
581 },
582 {
583 "Name": "KNI autotest",
584 "Command": "kni_autotest",
585 "Func": default_autotest,
586 "Report": None,
587 },
588 {
589 "Name": "Mempool performance autotest",
590 "Command": "mempool_perf_autotest",
591 "Func": default_autotest,
592 "Report": None,
593 },
594 {
595 "Name": "Memcpy performance autotest",
596 "Command": "memcpy_perf_autotest",
597 "Func": default_autotest,
598 "Report": None,
599 },
600 {
601 "Name": "Hash performance autotest",
602 "Command": "hash_perf_autotest",
603 "Func": default_autotest,
604 "Report": None,
605 },
606 {
607 "Name": "Hash read-write concurrency autotest",
608 "Command": "hash_readwrite_autotest",
609 "Func": default_autotest,
610 "Report": None,
611 },
612 {
613 "Name": "Hash read-write lock-free concurrency autotest",
614 "Command": "hash_readwrite_lf_autotest",
615 "Func": default_autotest,
616 "Report": None,
617 },
618 {
619 "Name": "Power autotest",
620 "Command": "power_autotest",
621 "Func": default_autotest,
622 "Report": None,
623 },
624 {
625 "Name": "Power ACPI cpufreq autotest",
626 "Command": "power_acpi_cpufreq_autotest",
627 "Func": default_autotest,
628 "Report": None,
629 },
630 {
631 "Name": "Power KVM VM autotest",
632 "Command": "power_kvm_vm_autotest",
633 "Func": default_autotest,
634 "Report": None,
635 },
636 {
637 "Name": "Timer performance autotest",
638 "Command": "timer_perf_autotest",
639 "Func": default_autotest,
640 "Report": None,
641 },
642 {
643
644 "Name": "Pmd perf autotest",
645 "Command": "pmd_perf_autotest",
646 "Func": default_autotest,
647 "Report": None,
648 },
649 {
650 "Name": "Ring pmd perf autotest",
651 "Command": "ring_pmd_perf_autotest",
652 "Func": default_autotest,
653 "Report": None,
654 },
655 {
656 "Name": "Distributor perf autotest",
657 "Command": "distributor_perf_autotest",
658 "Func": default_autotest,
659 "Report": None,
660 },
661 {
662 "Name": "Red_perf",
663 "Command": "red_perf",
664 "Func": default_autotest,
665 "Report": None,
666 },
667 {
668 "Name": "Lpm6 perf autotest",
669 "Command": "lpm6_perf_autotest",
670 "Func": default_autotest,
671 "Report": None,
672 },
673 {
674 "Name": "Lpm perf autotest",
675 "Command": "lpm_perf_autotest",
676 "Func": default_autotest,
677 "Report": None,
678 },
679 {
680 "Name": "Efd perf autotest",
681 "Command": "efd_perf_autotest",
682 "Func": default_autotest,
683 "Report": None,
684 },
685 {
686 "Name": "Member perf autotest",
687 "Command": "member_perf_autotest",
688 "Func": default_autotest,
689 "Report": None,
690 },
691 {
692 "Name": "Reciprocal division perf",
693 "Command": "reciprocal_division_perf",
694 "Func": default_autotest,
695 "Report": None,
696 },
697 {
698 "Name": "RCU QSBR autotest",
699 "Command": "rcu_qsbr_autotest",
700 "Func": default_autotest,
701 "Report": None,
702 },
703 {
704 "Name": "RCU QSBR performance autotest",
705 "Command": "rcu_qsbr_perf_autotest",
706 "Func": default_autotest,
707 "Report": None,
708 },
709 #
710 # Please always make sure that ring_perf is the last test!
711 #
712 {
713 "Name": "Ring performance autotest",
714 "Command": "ring_perf_autotest",
715 "Func": default_autotest,
716 "Report": None,
717 },
718 ]