Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/108676/?format=api
http://patchwork.dpdk.org/api/patches/108676/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220311020022.6678-6-junx.dong@intel.com/", "project": { "id": 3, "url": "http://patchwork.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20220311020022.6678-6-junx.dong@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220311020022.6678-6-junx.dong@intel.com", "date": "2022-03-11T02:00:21", "name": "[V1,5/5] tests/TestSuite_stats_checks: fix pylama errors", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "e4fbe5e944c438a7c4d4df0195206ebf030c5700", "submitter": { "id": 2237, "url": "http://patchwork.dpdk.org/api/people/2237/?format=api", "name": "Jun Dong", "email": "junx.dong@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/20220311020022.6678-6-junx.dong@intel.com/mbox/", "series": [ { "id": 22113, "url": "http://patchwork.dpdk.org/api/series/22113/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=22113", "date": "2022-03-11T02:00:16", "name": "fix pylama errors", "version": 1, "mbox": "http://patchwork.dpdk.org/series/22113/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/108676/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/108676/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 92888A0093;\n\tFri, 11 Mar 2022 03:01:00 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8843B4113E;\n\tFri, 11 Mar 2022 03:01:00 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 3896E4113E\n for <dts@dpdk.org>; Fri, 11 Mar 2022 03:00:57 +0100 (CET)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Mar 2022 18:00:40 -0800", "from shwdenpg197.ccr.corp.intel.com ([10.253.109.70])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Mar 2022 18:00:38 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1646964057; x=1678500057;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=jjAcTMlU+ho9uZoVT/epsZxeBCvApo2hh26bFrWRhkA=;\n b=YA+LwuzffOEap2t84Uj2mCLKhHgRkwpKClmTuKvlb0AGA/fmt68qWMtc\n 0BOXxMTeuxybzEqNrLND8UztUq7aUQVI4LFbOMxEsB8TAYWYJtW9ZL5xg\n gD0A8QLOqA4csk5QT3jLpNDh9j88tpg4ChtOgaLQhvypGAsbWY29uEg6e\n KbqD7Imtq4Jtv1b2T5DyO5YVefRMRYOFJST7X2+wgu4X1vUlAXdhIxWqY\n u1kYLzFrjbARDgF1KTIzzRDC+E9zk/g/sUGASY8iMAxv6M60ZI2V93qtW\n jJZBVi/kkop5h6JxFWtBBLnE0+EXYhmGHqgPWy+ovUBZ8fRlMoiPNRS5N A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10282\"; a=\"255421933\"", "E=Sophos;i=\"5.90,172,1643702400\"; d=\"scan'208\";a=\"255421933\"", "E=Sophos;i=\"5.90,172,1643702400\"; d=\"scan'208\";a=\"633256560\"" ], "From": "Jun Dong <junx.dong@intel.com>", "To": "dts@dpdk.org,\n\tohilyard@iol.unh.edu", "Cc": "lijuan.tu@intel.com,\n\tqingx.sun@intel.com,\n\tjunx.dong@intel.com", "Subject": "[dts] [V1 5/5] tests/TestSuite_stats_checks: fix pylama errors", "Date": "Fri, 11 Mar 2022 10:00:21 +0800", "Message-Id": "<20220311020022.6678-6-junx.dong@intel.com>", "X-Mailer": "git-send-email 2.33.1.windows.1", "In-Reply-To": "<20220311020022.6678-1-junx.dong@intel.com>", "References": "<20220311020022.6678-1-junx.dong@intel.com>", "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 <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "Pylama found the following errors:\ntests/TestSuite_stats_checks.py:265: [E] E0102 method already defined line 65 [pylint]\ntests/TestSuite_stats_checks.py:271: [E] E0102 method already defined line 71 [pylint]\n\nSigned-off-by: Jun Dong <junx.dong@intel.com>\n---\n tests/TestSuite_stats_checks.py | 22 ----------------------\n 1 file changed, 22 deletions(-)", "diff": "diff --git a/tests/TestSuite_stats_checks.py b/tests/TestSuite_stats_checks.py\nindex ab120010..e72a67ab 100644\n--- a/tests/TestSuite_stats_checks.py\n+++ b/tests/TestSuite_stats_checks.py\n@@ -48,7 +48,6 @@ from framework.test_case import TestCase\n \n ETHER_HEADER_LEN = 18\n IP_HEADER_LEN = 20\n-ETHER_STANDARD_MTU = 1518\n RANDOM_IP_POOL = ['192.168.10.222/0']\n prefix_list = ['rx_good_packets', 'tx_good_packets', 'rx_good_bytes', 'tx_good_bytes']\n \n@@ -62,21 +61,6 @@ class TestStatsChecks(TestCase):\n # of TestCase. This was done because the current test system doesn't support\n # inheritance.\n #\n- def tear_down(self):\n- \"\"\"\n- Run after each test case.\n- \"\"\"\n- self.dut.kill_all()\n-\n- def tear_down_all(self):\n- \"\"\"\n- When the case of this test suite finished, the environment should\n- clear up.\n- \"\"\"\n- self.tester.send_expect(f\"ifconfig {self.tester.get_interface(self.tester.get_local_port(self.rx_port))} \" +\n- f\"mtu {ETHER_STANDARD_MTU}\", \"# \")\n- super().tear_down_all()\n-\n def exec(self, command: str) -> str:\n \"\"\"\n An abstraction to remove repeated code throughout the subclasses of this class\n@@ -275,12 +259,6 @@ class TestStatsChecks(TestCase):\n \"\"\"\n self.dut.kill_all()\n \n- #\n- #\n- #\n- # Test cases.\n- #\n-\n def test_stats_checks(self):\n self.pmdout.start_testpmd(\"Default\")\n self.exec(\"port start all\")\n", "prefixes": [ "V1", "5/5" ] }{ "id": 108676, "url": "