From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D2F33A04A9; Wed, 2 Mar 2022 19:56:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D1114068B; Wed, 2 Mar 2022 19:56:24 +0100 (CET) Received: from mail-pl1-f225.google.com (mail-pl1-f225.google.com [209.85.214.225]) by mails.dpdk.org (Postfix) with ESMTP id 9CD7040141 for ; Wed, 2 Mar 2022 19:56:22 +0100 (CET) Received: by mail-pl1-f225.google.com with SMTP id n15so2373592plf.4 for ; Wed, 02 Mar 2022 10:56:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DN2U2lkW1Cv8h0RCFYhObKGfqROCzhgIQCwVtINTQQM=; b=M5u8v3eKrSSEAPOUUuTbEjHUAfhnGUNYP59wWyeOmMBx242DQpSlExITpRK3C3jXWD EBSIDwFY2cbl7VSDbcwZTuOcBrqLlVDiaUC2IvLrvJf9D4fykYKLS/GK5aVP1yMlE/gb 2eWQv9DDazZmtNhGK1kaS74F676Ms+ojpwgTw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DN2U2lkW1Cv8h0RCFYhObKGfqROCzhgIQCwVtINTQQM=; b=WcYCbjIm/jZdbYEt5Y0cjmkbFvrh3Hmxt3uB0UL7mCt05W6YmEvj1XhJjavjqy2ARw crRHpix1ihkm6aGkPnnw/5Qq7N1/FXlU/7DWCmcavjcDsQi1D6ajaU05OzlaP4jkV8KU 4j3PpAbwYpgNT8gtzREk151+fFDpj0pBBe1sqEaUFLAWM7gvh6180iEguS0SEMlpil5E tPcp9+WmsR6+mQWMLTZS8wPSIxQ73yZAsIofQfLSgiVMGFDpGlxTx1qfL+OPNspO5/aV OnzcHr3dwuHYp/xL8VLRcIU7JUXhRL2h4lY15oiuwhKzRV7ALMb/dDLWHXkMde9aynYl UeMA== X-Gm-Message-State: AOAM531y5PIASdvXG6nc/B2668gDqGI1mYc8XOrQPcAbqzvZnxI8XKXQ l9VQH1XGxws0Lw1lcpqZR7rtmTGobn3PO4bZiLx/u7N45E/byQCqqXNw0i9aC7NUZGj2MwjY03M DzPWvcPFg7khuG48PcQec48BoTzqz7AHvdX6X/oeTkxWHx4opEs9G4DhWb8LXbcHpMETjN8odbu a6DqNwDuQXNzsYuQ== X-Google-Smtp-Source: ABdhPJyR3rf7DjrIlXVBwieo8p6GP7LmQzGWqA96zSomb/RARjkREqaA7MCXS0Qi3wXivFcn1zUEOXKivGtz X-Received: by 2002:a17:90b:1648:b0:1bd:28ac:859d with SMTP id il8-20020a17090b164800b001bd28ac859dmr1227486pjb.59.1646247381659; Wed, 02 Mar 2022 10:56:21 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id n9-20020a170902f60900b0014cb60afda8sm703996plg.56.2022.03.02.10.56.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Mar 2022 10:56:21 -0800 (PST) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1257::105d]) by postal.iol.unh.edu (Postfix) with ESMTP id E57D7605246B; Wed, 2 Mar 2022 13:56:20 -0500 (EST) From: ohilyard@iol.unh.edu To: dts@dpdk.org Cc: Owen Hilyard Subject: [PATCH] tests: Remove abi stable test suite Date: Wed, 2 Mar 2022 13:56:02 -0500 Message-Id: <20220302185601.39336-1-ohilyard@iol.unh.edu> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org From: Owen Hilyard This test suite is unused and better handled by tools inside of DPDK. Signed-off-by: Owen Hilyard --- tests/TestSuite_ABI_stable.py | 122 ---------------------------------- 1 file changed, 122 deletions(-) delete mode 100644 tests/TestSuite_ABI_stable.py diff --git a/tests/TestSuite_ABI_stable.py b/tests/TestSuite_ABI_stable.py deleted file mode 100644 index 9c5a206d..00000000 --- a/tests/TestSuite_ABI_stable.py +++ /dev/null @@ -1,122 +0,0 @@ -# BSD LICENSE -# -# Copyright (c) <2019-2020>, Intel Corporation -# All rights reserved. - -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# * Neither the name of Intel Corporation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -# OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ===================== -# DPDK ABI Stable Tests -# ===================== -# -# Description -# =========== -# -# This test suite includes both functional and performance test cases to -# ensure that DPDK point releases (xx.02, xx.05, xx.08) are not only binary -# compatible, but are also functionally and reasonably performance -# compatibly with the previous vxx.11 release. - - -""" -DPDK Test suite. - -Test support of ABI . - -""" -import time - -import framework.utils as utils -from framework.pmd_output import PmdOutput -from framework.settings import ( - HOST_SHARED_LIB_PATH, - HOST_SHARED_LIB_SETTING, - load_global_setting, -) -from framework.test_case import TestCase - - -class TestABIStable(TestCase): - - def set_up_all(self): - """ - Run at the start of each test suite. - """ - self.pmdout = PmdOutput(self.dut) - self.dut_ports = self.dut.get_ports(self.nic) - self.port_mask = utils.create_mask([self.dut_ports[0]]) - use_shared_lib = load_global_setting(HOST_SHARED_LIB_SETTING) - self.verify(use_shared_lib != 'ture', "The case only support ABI mode") - - def set_up(self): - """ - Run before each test case. - """ - pass - - def test_negative(self): - net_device = self.dut.ports_info[0]['port'] - nic_drive = net_device.get_nic_driver() - shared_lib_path = load_global_setting(HOST_SHARED_LIB_PATH) - self.verify(nic_drive != "ixgbe", "The case only support ixgbe drive") - - cmd = 'rm -rf {}'.format(shared_lib_path) - self.dut.send_expect(cmd, "#") - cmd = 'cp -a /root/shared_lib_negative {}'.format(shared_lib_path) - self.dut.send_expect(cmd, "#") - self.pmdout.start_testpmd("Default", "--portmask={} ".format(self.port_mask)) - time.sleep(1) - self.dut.send_expect("set fwd txonly", "testpmd>") - self.dut.send_expect("start", "testpmd>") - time.sleep(1) - try: - self.dut.send_expect("quit", "#") - except Exception as e: - if 'TIMEOUT' in str(e): - self.logger.info(str(e)) - else: - self.verify(False, "No timeout") - self.dut.kill_all() - return - - self.verify(False, "negative test failed") - self.dut.kill_all() - - def tear_down(self): - """ - Run after each test case. - """ - pass - - def tear_down_all(self): - """ - Run after each test suite. - """ - self.dut.kill_all() -- 2.30.2