1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2010-2014 Intel Corporation 3 4# Test data for autotests 5 6from autotest_test_funcs import * 7 8# groups of tests that can be run in parallel 9# the grouping has been found largely empirically 10parallel_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": "RIB autotest", 115 "Command": "rib_autotest", 116 "Func": default_autotest, 117 "Report": None, 118 }, 119 { 120 "Name": "RIB slow autotest", 121 "Command": "rib_slow_autotest", 122 "Func": default_autotest, 123 "Report": None, 124 }, 125 { 126 "Name": "RIB6 autotest", 127 "Command": "rib6_autotest", 128 "Func": default_autotest, 129 "Report": None, 130 }, 131 { 132 "Name": "RIB6 slow autotest", 133 "Command": "rib6_slow_autotest", 134 "Func": default_autotest, 135 "Report": None, 136 }, 137 { 138 "Name": "FIB autotest", 139 "Command": "fib_autotest", 140 "Func": default_autotest, 141 "Report": None, 142 }, 143 { 144 "Name": "FIB slow autotest", 145 "Command": "fib_slow_autotest", 146 "Func": default_autotest, 147 "Report": None, 148 }, 149 { 150 "Name": "FIB6 autotest", 151 "Command": "fib6_autotest", 152 "Func": default_autotest, 153 "Report": None, 154 }, 155 { 156 "Name": "FIB6 slow autotest", 157 "Command": "fib6_slow_autotest", 158 "Func": default_autotest, 159 "Report": None, 160 }, 161 { 162 "Name": "Memcpy autotest", 163 "Command": "memcpy_autotest", 164 "Func": default_autotest, 165 "Report": None, 166 }, 167 { 168 "Name": "Memzone autotest", 169 "Command": "memzone_autotest", 170 "Func": default_autotest, 171 "Report": None, 172 }, 173 { 174 "Name": "String autotest", 175 "Command": "string_autotest", 176 "Func": default_autotest, 177 "Report": None, 178 }, 179 { 180 "Name": "Alarm autotest", 181 "Command": "alarm_autotest", 182 "Func": default_autotest, 183 "Report": None, 184 }, 185 { 186 "Name": "Malloc autotest", 187 "Command": "malloc_autotest", 188 "Func": default_autotest, 189 "Report": None, 190 }, 191 { 192 "Name": "Multi-process autotest", 193 "Command": "multiprocess_autotest", 194 "Func": default_autotest, 195 "Report": None, 196 }, 197 { 198 "Name": "Mbuf autotest", 199 "Command": "mbuf_autotest", 200 "Func": default_autotest, 201 "Report": None, 202 }, 203 { 204 "Name": "Per-lcore autotest", 205 "Command": "per_lcore_autotest", 206 "Func": default_autotest, 207 "Report": None, 208 }, 209 { 210 "Name": "Ring autotest", 211 "Command": "ring_autotest", 212 "Func": default_autotest, 213 "Report": None, 214 }, 215 { 216 "Name": "Spinlock autotest", 217 "Command": "spinlock_autotest", 218 "Func": spinlock_autotest, 219 "Report": None, 220 }, 221 { 222 "Name": "Ticketlock autotest", 223 "Command": "ticketlock_autotest", 224 "Func": ticketlock_autotest, 225 "Report": None, 226 }, 227 { 228 "Name": "MCSlock autotest", 229 "Command": "mcslock_autotest", 230 "Func": mcslock_autotest, 231 "Report": None, 232 }, 233 { 234 "Name": "Byte order autotest", 235 "Command": "byteorder_autotest", 236 "Func": default_autotest, 237 "Report": None, 238 }, 239 { 240 "Name": "TAILQ autotest", 241 "Command": "tailq_autotest", 242 "Func": default_autotest, 243 "Report": None, 244 }, 245 { 246 "Name": "Command-line autotest", 247 "Command": "cmdline_autotest", 248 "Func": default_autotest, 249 "Report": None, 250 }, 251 { 252 "Name": "Interrupts autotest", 253 "Command": "interrupt_autotest", 254 "Func": default_autotest, 255 "Report": None, 256 }, 257 { 258 "Name": "Function reentrancy autotest", 259 "Command": "func_reentrancy_autotest", 260 "Func": default_autotest, 261 "Report": None, 262 }, 263 { 264 "Name": "Mempool autotest", 265 "Command": "mempool_autotest", 266 "Func": default_autotest, 267 "Report": None, 268 }, 269 { 270 "Name": "Atomics autotest", 271 "Command": "atomic_autotest", 272 "Func": default_autotest, 273 "Report": None, 274 }, 275 { 276 "Name": "Prefetch autotest", 277 "Command": "prefetch_autotest", 278 "Func": default_autotest, 279 "Report": None, 280 }, 281 { 282 "Name": "Red autotest", 283 "Command": "red_autotest", 284 "Func": default_autotest, 285 "Report": None, 286 }, 287 { 288 "Name": "PMD ring autotest", 289 "Command": "ring_pmd_autotest", 290 "Func": default_autotest, 291 "Report": None, 292 }, 293 { 294 "Name": "Access list control autotest", 295 "Command": "acl_autotest", 296 "Func": default_autotest, 297 "Report": None, 298 }, 299 { 300 "Name": "Sched autotest", 301 "Command": "sched_autotest", 302 "Func": default_autotest, 303 "Report": None, 304 }, 305 { 306 "Name": "Eventdev selftest octeontx", 307 "Command": "eventdev_selftest_octeontx", 308 "Func": default_autotest, 309 "Report": None, 310 }, 311 { 312 "Name": "Event ring autotest", 313 "Command": "event_ring_autotest", 314 "Func": default_autotest, 315 "Report": None, 316 }, 317 { 318 "Name": "Table autotest", 319 "Command": "table_autotest", 320 "Func": default_autotest, 321 "Report": None, 322 }, 323 { 324 "Name": "Flow classify autotest", 325 "Command": "flow_classify_autotest", 326 "Func": default_autotest, 327 "Report": None, 328 }, 329 { 330 "Name": "Event eth rx adapter autotest", 331 "Command": "event_eth_rx_adapter_autotest", 332 "Func": default_autotest, 333 "Report": None, 334 }, 335 { 336 "Name": "User delay", 337 "Command": "user_delay_us", 338 "Func": default_autotest, 339 "Report": None, 340 }, 341 { 342 "Name": "Sleep delay", 343 "Command": "delay_us_sleep_autotest", 344 "Func": default_autotest, 345 "Report": None, 346 }, 347 { 348 "Name": "Rawdev autotest", 349 "Command": "rawdev_autotest", 350 "Func": default_autotest, 351 "Report": None, 352 }, 353 { 354 "Name": "Kvargs autotest", 355 "Command": "kvargs_autotest", 356 "Func": default_autotest, 357 "Report": None, 358 }, 359 { 360 "Name": "Link bonding autotest", 361 "Command": "link_bonding_autotest", 362 "Func": default_autotest, 363 "Report": None, 364 }, 365 { 366 "Name": "Link bonding mode4 autotest", 367 "Command": "link_bonding_mode4_autotest", 368 "Func": default_autotest, 369 "Report": None, 370 }, 371 { 372 "Name": "Link bonding rssconf autotest", 373 "Command": "link_bonding_rssconf_autotest", 374 "Func": default_autotest, 375 "Report": None, 376 }, 377 { 378 "Name": "Crc autotest", 379 "Command": "crc_autotest", 380 "Func": default_autotest, 381 "Report": None, 382 }, 383 { 384 "Name": "Distributor autotest", 385 "Command": "distributor_autotest", 386 "Func": default_autotest, 387 "Report": None, 388 }, 389 { 390 "Name": "Reorder autotest", 391 "Command": "reorder_autotest", 392 "Func": default_autotest, 393 "Report": None, 394 }, 395 { 396 "Name": "Barrier autotest", 397 "Command": "barrier_autotest", 398 "Func": default_autotest, 399 "Report": None, 400 }, 401 { 402 "Name": "Bitmap test", 403 "Command": "bitmap_test", 404 "Func": default_autotest, 405 "Report": None, 406 }, 407 { 408 "Name": "Hash multiwriter autotest", 409 "Command": "hash_multiwriter_autotest", 410 "Func": default_autotest, 411 "Report": None, 412 }, 413 { 414 "Name": "Service autotest", 415 "Command": "service_autotest", 416 "Func": default_autotest, 417 "Report": None, 418 }, 419 { 420 "Name": "Timer racecond autotest", 421 "Command": "timer_racecond_autotest", 422 "Func": default_autotest, 423 "Report": None, 424 }, 425 { 426 "Name": "Member autotest", 427 "Command": "member_autotest", 428 "Func": default_autotest, 429 "Report": None, 430 }, 431 { 432 "Name": "Efd_autotest", 433 "Command": "efd_autotest", 434 "Func": default_autotest, 435 "Report": None, 436 }, 437 { 438 "Name": "Thash autotest", 439 "Command": "thash_autotest", 440 "Func": default_autotest, 441 "Report": None, 442 }, 443 { 444 "Name": "Hash function autotest", 445 "Command": "hash_functions_autotest", 446 "Func": default_autotest, 447 "Report": None, 448 }, 449 { 450 "Name": "Cryptodev sw mvsam autotest", 451 "Command": "cryptodev_sw_mvsam_autotest", 452 "Func": default_autotest, 453 "Report": None, 454 }, 455 { 456 "Name": "Cryptodev dpaa2 sec autotest", 457 "Command": "cryptodev_dpaa2_sec_autotest", 458 "Func": default_autotest, 459 "Report": None, 460 }, 461 { 462 "Name": "Cryptodev dpaa sec autotest", 463 "Command": "cryptodev_dpaa_sec_autotest", 464 "Func": default_autotest, 465 "Report": None, 466 }, 467 { 468 "Name": "Cryptodev qat autotest", 469 "Command": "cryptodev_qat_autotest", 470 "Func": default_autotest, 471 "Report": None, 472 }, 473 { 474 "Name": "Cryptodev aesni mb autotest", 475 "Command": "cryptodev_aesni_mb_autotest", 476 "Func": default_autotest, 477 "Report": None, 478 }, 479 { 480 "Name": "Cryptodev openssl autotest", 481 "Command": "cryptodev_openssl_autotest", 482 "Func": default_autotest, 483 "Report": None, 484 }, 485 { 486 "Name": "Cryptodev scheduler autotest", 487 "Command": "cryptodev_scheduler_autotest", 488 "Func": default_autotest, 489 "Report": None, 490 }, 491 { 492 "Name": "Cryptodev aesni gcm autotest", 493 "Command": "cryptodev_aesni_gcm_autotest", 494 "Func": default_autotest, 495 "Report": None, 496 }, 497 { 498 "Name": "Cryptodev null autotest", 499 "Command": "cryptodev_null_autotest", 500 "Func": default_autotest, 501 "Report": None, 502 }, 503 { 504 "Name": "Cryptodev sw snow3g autotest", 505 "Command": "cryptodev_sw_snow3g_autotest", 506 "Func": default_autotest, 507 "Report": None, 508 }, 509 { 510 "Name": "Cryptodev sw kasumi autotest", 511 "Command": "cryptodev_sw_kasumi_autotest", 512 "Func": default_autotest, 513 "Report": None, 514 }, 515 { 516 "Name": "Cryptodev_sw_zuc_autotest", 517 "Command": "cryptodev_sw_zuc_autotest", 518 "Func": default_autotest, 519 "Report": None, 520 }, 521 { 522 "Name": "Reciprocal division", 523 "Command": "reciprocal_division", 524 "Func": default_autotest, 525 "Report": None, 526 }, 527 { 528 "Name": "Red all", 529 "Command": "red_all", 530 "Func": default_autotest, 531 "Report": None, 532 }, 533 { 534 "Name": "Fbarray autotest", 535 "Command": "fbarray_autotest", 536 "Func": default_autotest, 537 "Report": None, 538 }, 539 { 540 "Name": "External memory autotest", 541 "Command": "external_mem_autotest", 542 "Func": default_autotest, 543 "Report": None, 544 }, 545 { 546 "Name": "Metrics autotest", 547 "Command": "metrics_autotest", 548 "Func": default_autotest, 549 "Report": None, 550 }, 551 { 552 "Name": "Bitratestats autotest", 553 "Command": "bitratestats_autotest", 554 "Func": default_autotest, 555 "Report": None, 556 }, 557 { 558 "Name": "Latencystats autotest", 559 "Command": "latencystats_autotest", 560 "Func": default_autotest, 561 "Report": None, 562 }, 563 { 564 "Name": "Pdump autotest", 565 "Command": "pdump_autotest", 566 "Func": default_autotest, 567 "Report": None, 568 }, 569 { 570 "Name": "IPsec_SAD", 571 "Command": "ipsec_sad_autotest", 572 "Func": default_autotest, 573 "Report": None, 574 }, 575 # 576 #Please always keep all dump tests at the end and together! 577 # 578 { 579 "Name": "Dump physmem", 580 "Command": "dump_physmem", 581 "Func": dump_autotest, 582 "Report": None, 583 }, 584 { 585 "Name": "Dump memzone", 586 "Command": "dump_memzone", 587 "Func": dump_autotest, 588 "Report": None, 589 }, 590 { 591 "Name": "Dump struct sizes", 592 "Command": "dump_struct_sizes", 593 "Func": dump_autotest, 594 "Report": None, 595 }, 596 { 597 "Name": "Dump mempool", 598 "Command": "dump_mempool", 599 "Func": dump_autotest, 600 "Report": None, 601 }, 602 { 603 "Name": "Dump malloc stats", 604 "Command": "dump_malloc_stats", 605 "Func": dump_autotest, 606 "Report": None, 607 }, 608 { 609 "Name": "Dump devargs", 610 "Command": "dump_devargs", 611 "Func": dump_autotest, 612 "Report": None, 613 }, 614 { 615 "Name": "Dump log types", 616 "Command": "dump_log_types", 617 "Func": dump_autotest, 618 "Report": None, 619 }, 620 { 621 "Name": "Dump_ring", 622 "Command": "dump_ring", 623 "Func": dump_autotest, 624 "Report": None, 625 }, 626] 627 628# tests that should not be run when any other tests are running 629non_parallel_test_list = [ 630 { 631 "Name": "Eventdev common autotest", 632 "Command": "eventdev_common_autotest", 633 "Func": default_autotest, 634 "Report": None, 635 }, 636 { 637 "Name": "Eventdev selftest sw", 638 "Command": "eventdev_selftest_sw", 639 "Func": default_autotest, 640 "Report": None, 641 }, 642 { 643 "Name": "KNI autotest", 644 "Command": "kni_autotest", 645 "Func": default_autotest, 646 "Report": None, 647 }, 648 { 649 "Name": "Mempool performance autotest", 650 "Command": "mempool_perf_autotest", 651 "Func": default_autotest, 652 "Report": None, 653 }, 654 { 655 "Name": "Memcpy performance autotest", 656 "Command": "memcpy_perf_autotest", 657 "Func": default_autotest, 658 "Report": None, 659 }, 660 { 661 "Name": "Hash performance autotest", 662 "Command": "hash_perf_autotest", 663 "Func": default_autotest, 664 "Report": None, 665 }, 666 { 667 "Name": "Hash read-write concurrency autotest", 668 "Command": "hash_readwrite_autotest", 669 "Func": default_autotest, 670 "Report": None, 671 }, 672 { 673 "Name": "Hash read-write lock-free concurrency autotest", 674 "Command": "hash_readwrite_lf_autotest", 675 "Func": default_autotest, 676 "Report": None, 677 }, 678 { 679 "Name": "Power autotest", 680 "Command": "power_autotest", 681 "Func": default_autotest, 682 "Report": None, 683 }, 684 { 685 "Name": "Power cpufreq autotest", 686 "Command": "power_cpufreq_autotest", 687 "Func": default_autotest, 688 "Report": None, 689 }, 690 { 691 "Name": "Power KVM VM autotest", 692 "Command": "power_kvm_vm_autotest", 693 "Func": default_autotest, 694 "Report": None, 695 }, 696 { 697 "Name": "Timer performance autotest", 698 "Command": "timer_perf_autotest", 699 "Func": default_autotest, 700 "Report": None, 701 }, 702 { 703 704 "Name": "Pmd perf autotest", 705 "Command": "pmd_perf_autotest", 706 "Func": default_autotest, 707 "Report": None, 708 }, 709 { 710 "Name": "Ring pmd perf autotest", 711 "Command": "ring_pmd_perf_autotest", 712 "Func": default_autotest, 713 "Report": None, 714 }, 715 { 716 "Name": "Distributor perf autotest", 717 "Command": "distributor_perf_autotest", 718 "Func": default_autotest, 719 "Report": None, 720 }, 721 { 722 "Name": "Red_perf", 723 "Command": "red_perf", 724 "Func": default_autotest, 725 "Report": None, 726 }, 727 { 728 "Name": "Lpm6 perf autotest", 729 "Command": "lpm6_perf_autotest", 730 "Func": default_autotest, 731 "Report": None, 732 }, 733 { 734 "Name": "Lpm perf autotest", 735 "Command": "lpm_perf_autotest", 736 "Func": default_autotest, 737 "Report": None, 738 }, 739 { 740 "Name": "FIB perf autotest", 741 "Command": "fib_perf_autotest", 742 "Func": default_autotest, 743 "Report": None, 744 }, 745 { 746 "Name": "FIB6 perf autotest", 747 "Command": "fib6_perf_autotest", 748 "Func": default_autotest, 749 "Report": None, 750 }, 751 { 752 "Name": "Efd perf autotest", 753 "Command": "efd_perf_autotest", 754 "Func": default_autotest, 755 "Report": None, 756 }, 757 { 758 "Name": "Member perf autotest", 759 "Command": "member_perf_autotest", 760 "Func": default_autotest, 761 "Report": None, 762 }, 763 { 764 "Name": "Reciprocal division perf", 765 "Command": "reciprocal_division_perf", 766 "Func": default_autotest, 767 "Report": None, 768 }, 769 { 770 "Name": "RCU QSBR autotest", 771 "Command": "rcu_qsbr_autotest", 772 "Func": default_autotest, 773 "Report": None, 774 }, 775 { 776 "Name": "RCU QSBR performance autotest", 777 "Command": "rcu_qsbr_perf_autotest", 778 "Func": default_autotest, 779 "Report": None, 780 }, 781 # 782 # Please always make sure that ring_perf is the last test! 783 # 784 { 785 "Name": "Ring performance autotest", 786 "Command": "ring_perf_autotest", 787 "Func": default_autotest, 788 "Report": None, 789 }, 790] 791