From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E1AB42C8 for ; Wed, 23 May 2018 13:41:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 May 2018 04:41:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,432,1520924400"; d="scan'208";a="41567893" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga007.fm.intel.com with ESMTP; 23 May 2018 04:41:42 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w4NBffnO006727; Wed, 23 May 2018 12:41:41 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w4NBffZG011364; Wed, 23 May 2018 12:41:41 +0100 Received: (from jmparthx@localhost) by wgcvswdev001.ir.intel.com with œ id w4NBffRa011360; Wed, 23 May 2018 12:41:41 +0100 From: Jananee Parthasarathy To: dev@dpdk.org, anatoly.burakov@intel.com Cc: reshma.pattan@intel.com, Jananee Parthasarathy Date: Wed, 23 May 2018 12:41:35 +0100 Message-Id: <1527075698-11308-2-git-send-email-jananeex.m.parthasarathy@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1527075698-11308-1-git-send-email-jananeex.m.parthasarathy@intel.com> References: <1526399929-24299-1-git-send-email-jananeex.m.parthasarathy@intel.com> <1527075698-11308-1-git-send-email-jananeex.m.parthasarathy@intel.com> Subject: [dpdk-dev] [PATCH v4 1/4] app/test: enhance autotest config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 11:41:45 -0000 Autotest config is enhanced with additional test cases being added to autotest_data.py Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov --- test/test/autotest_data.py | 471 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 462 insertions(+), 9 deletions(-) mode change 100644 => 100755 test/test/autotest_data.py diff --git a/test/test/autotest_data.py b/test/test/autotest_data.py old mode 100644 new mode 100755 index aacfe0a..2c6828d --- a/test/test/autotest_data.py +++ b/test/test/autotest_data.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2010-2014 Intel Corporation +# Copyright(c) 2010-2018 Intel Corporation # Test data for autotests @@ -70,6 +70,31 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Eventdev selftest octeontx", + "Command": "eventdev_selftest_octeontx", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Event ring autotest", + "Command": "event_ring_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Table autotest", + "Command": "table_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Flow classify autotest", + "Command": "flow_classify_autotest", + "Func": default_autotest, + "Report": None, + }, + ] }, { @@ -125,6 +150,50 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Dump struct sizes", + "Command": "dump_struct_sizes", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump mempool", + "Command": "dump_mempool", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump malloc stats", + "Command": "dump_malloc_stats", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump devargs", + "Command": "dump_devargs", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump log types", + "Command": "dump_log_types", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump_ring", + "Command": "dump_ring", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Quit", + "Command": "quit", + "Func": default_autotest, + "Report": None, + }, + + ], }, { @@ -168,6 +237,26 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Set rxtx mode", + "Command": "set_rxtx_mode", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Set rxtx anchor", + "Command": "set_rxtx_anchor", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Set rxtx sc", + "Command": "set_rxtx_sc", + "Func": default_autotest, + "Report": None, + }, + + ] }, { @@ -176,12 +265,6 @@ def per_sockets(num): "Tests": [ { - "Name": "PCI autotest", - "Command": "pci_autotest", - "Func": default_autotest, - "Report": None, - }, - { "Name": "Malloc autotest", "Command": "malloc_autotest", "Func": default_autotest, @@ -211,6 +294,37 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Event eth rx adapter autotest", + "Command": "event_eth_rx_adapter_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Rawdev autotest", + "Command": "rawdev_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Kvargs autotest", + "Command": "kvargs_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump physmem", + "Command": "dump_physmem", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Dump memzone", + "Command": "dump_memzone", + "Func": default_autotest, + "Report": None, + }, + ] }, { @@ -248,6 +362,31 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Devargs autotest", + "Command": "devargs_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Link bonding autotest", + "Command": "link_bonding_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Link bonding mode4 autotest", + "Command": "link_bonding_mode4_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Link bonding rssconf autotest", + "Command": "link_bonding_rssconf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] }, { @@ -285,6 +424,25 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Crc autotest", + "Command": "crc_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Distributor autotest", + "Command": "distributor_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Reorder autotest", + "Command": "reorder_autotest", + "Func": default_autotest, + "Report": None, + }, + ] }, { @@ -310,8 +468,184 @@ def per_sockets(num): "Func": default_autotest, "Report": None, }, + { + "Name": "Barrier autotest", + "Command": "barrier_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "User delay", + "Command": "user_delay_us", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Bitmap test", + "Command": "bitmap_test", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Hash scaling autotest", + "Command": "hash_scaling_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Hash multiwriter autotest", + "Command": "hash_multiwriter_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Service autotest", + "Command": "service_autotest", + "Func": default_autotest, + "Report": None, + }, + + + ] + }, + { + "Prefix": "group_8", + "Memory": "128", + "Tests": + [ + { + "Name": "Timer racecond autotest", + "Command": "timer_racecond_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Member autotest", + "Command": "member_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Efd_autotest", + "Command": "efd_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Thash autotest", + "Command": "thash_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Hash function autotest", + "Command": "hash_functions_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "group_9", + "Memory": "64", + "Tests": + [ + { + "Name": "Cryptodev sw mrvl autotest", + "Command": "cryptodev_sw_mrvl_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev dpaa2 sec autotest", + "Command": "cryptodev_dpaa2_sec_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev dpaa sec autotest", + "Command": "cryptodev_dpaa_sec_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev qat autotest", + "Command": "cryptodev_qat_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev aesni mb autotest", + "Command": "cryptodev_aesni_mb_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev openssl autotest", + "Command": "cryptodev_openssl_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev scheduler autotest", + "Command": "cryptodev_scheduler_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev aesni gcm autotest", + "Command": "cryptodev_aesni_gcm_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev null autotest", + "Command": "cryptodev_null_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev sw snow3g autotest", + "Command": "cryptodev_sw_snow3g_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev sw kasumi autotest", + "Command": "cryptodev_sw_kasumi_autotest", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Cryptodev_sw_zuc_autotest", + "Command": "cryptodev_sw_zuc_autotest", + "Func": default_autotest, + "Report": None, + }, + + ] }, + { + "Prefix": "group_10", + "Memory": "64", + "Tests": + [ + { + "Name": "Reciprocal division", + "Command": "reciprocal_division", + "Func": default_autotest, + "Report": None, + }, + { + "Name": "Red all", + "Command": "red_all", + "Func": default_autotest, + "Report": None, + }, + ] + }, + ] # tests that should not be run when any other tests are running @@ -336,8 +670,8 @@ def per_sockets(num): "Tests": [ { - "Name": "Eventdev sw autotest", - "Command": "eventdev_sw_autotest", + "Name": "Eventdev selftest sw", + "Command": "eventdev_selftest_sw", "Func": default_autotest, "Report": None, }, @@ -447,6 +781,125 @@ def per_sockets(num): }, ] }, + { + "Prefix": "reciprocal_division_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Reciprocal division perf", + "Command": "reciprocal_division_perf", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "member_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Member perf autotest", + "Command": "member_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "efd_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Efd perf autotest", + "Command": "efd_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "lpm_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Lpm perf autotest", + "Command": "lpm_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "lpm6_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Lpm6 perf autotest", + "Command": "lpm6_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "red_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Red_perf", + "Command": "red_perf", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "distributor_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Distributor perf autotest", + "Command": "distributor_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "ring_pmd_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Ring pmd perf autotest", + "Command": "ring_pmd_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + { + "Prefix": "pmd_perf", + "Memory": per_sockets(256), + "Tests": + [ + { + "Name": "Pmd perf autotest", + "Command": "pmd_perf_autotest", + "Func": default_autotest, + "Report": None, + }, + ] + }, + + # # Please always make sure that ring_perf is the last test! -- 1.7.12.2