Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/117716/?format=api
http://patches.dpdk.org/api/patches/117716/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20221009061748.16640-1-dukaix.yuan@intel.com/", "project": { "id": 3, "url": "http://patches.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": "<20221009061748.16640-1-dukaix.yuan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20221009061748.16640-1-dukaix.yuan@intel.com", "date": "2022-10-09T06:17:48", "name": "[V2] tests/multiprocess modify the regular expression", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0a3f1284b51d26c31eaa6a5729046d1f776f2e3a", "submitter": { "id": 2823, "url": "http://patches.dpdk.org/api/people/2823/?format=api", "name": "Yuan, DukaiX", "email": "dukaix.yuan@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20221009061748.16640-1-dukaix.yuan@intel.com/mbox/", "series": [ { "id": 25055, "url": "http://patches.dpdk.org/api/series/25055/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=25055", "date": "2022-10-09T06:17:48", "name": "[V2] tests/multiprocess modify the regular expression", "version": 2, "mbox": "http://patches.dpdk.org/series/25055/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/117716/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/117716/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 10B53A0542;\n\tSun, 9 Oct 2022 08:22:14 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0C49E400D5;\n\tSun, 9 Oct 2022 08:22:14 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 3EE4140042\n for <dts@dpdk.org>; Sun, 9 Oct 2022 08:22:12 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Oct 2022 23:22:11 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.15])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Oct 2022 23:22:10 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1665296532; x=1696832532;\n h=from:to:cc:subject:date:message-id;\n bh=ZDrNpnmInAU1e/1FRJ4pbZiN++0BUNcSJuG/r7JMYsQ=;\n b=EElA/W2tDrtBsbJp5Rtvca4IHCQt0ctf9RnQy32pznLB1GxMUW0EKV57\n TtScwbMx7qaHoGnLOW7HXXuYAhBm44vmmvu1d/GHFZhIF2VxuVE0WHNem\n 7rPUkDS5SnUH/3jhadXANGmbN/gMkurg9dieWew+mjb4bPTq1QWsE9wDf\n 29Hz/RLn8bPnNFuH38cQTzixVJNUE+sV6HmwESVSeO2N89zrHlvNvulcp\n KFTOrdCzgnRKTwT8Gwr+ypVbStJRMP5bf8Aww5e8A4jB09GhcN/h4IaCb\n 2CPx12aCoAT1CJQ6Zvv0D0wlPUlu8v79wJmySdM53jRPk/xNPpZLj4+un g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10494\"; a=\"368160088\"", "E=Sophos;i=\"5.95,170,1661842800\"; d=\"scan'208\";a=\"368160088\"", "E=McAfee;i=\"6500,9779,10494\"; a=\"620702959\"", "E=Sophos;i=\"5.95,170,1661842800\"; d=\"scan'208\";a=\"620702959\"" ], "From": "Dukai Yuan <dukaix.yuan@intel.com>", "To": "dts@dpdk.org", "Cc": "Dukai Yuan <dukaix.yuan@intel.com>", "Subject": "[dts][PATCH V2] tests/multiprocess modify the regular expression", "Date": "Sun, 9 Oct 2022 14:17:48 +0800", "Message-Id": "<20221009061748.16640-1-dukaix.yuan@intel.com>", "X-Mailer": "git-send-email 2.17.1", "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": "On some NIC(I40E_10G-10G_BASE_T_X722/I40E_10G-SFP_X722/I40E_40G-QSFP_A),\nthe old regular expression cannot match the expected result,\t\nmodify the regular expression.\n\nSigned-off-by: Dukai Yuan <dukaix.yuan@intel.com>\n---\n tests/TestSuite_multiprocess.py | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)", "diff": "diff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py\nindex da382a41..4fdc8c27 100644\n--- a/tests/TestSuite_multiprocess.py\n+++ b/tests/TestSuite_multiprocess.py\n@@ -1014,10 +1014,12 @@ class TestMultiprocess(TestCase):\n self.logger.err(\"Error occured:{}\".format(traceback.format_exc(e)))\n finally:\n session_obj.close()\n- res = re.search(\n- r\"Port \\d+\\s+-\\s+rx:\\s+(?P<rx>\\d+)\\s+tx:.*PORTS\", out, re.DOTALL\n+ res = re.findall(\n+ r\"Port \\d+\\s+-\\s+rx:\\s+\\d+.*?Client\\s+[1]\\s+-.*?tx_drop:\\s+\\d+\",\n+ out,\n+ re.DOTALL,\n )\n- rx_num = re.findall(r\"Client\\s+\\d\\s+-\\s+rx:\\s+(\\d+)\", res.group(0))\n+ rx_num = re.findall(r\"Client\\s+\\d\\s+-\\s+rx:\\s+(\\d+)\", res[-1])\n for i in range(proc_num):\n self.verify(\n int(rx_num[i]) > 0,\n", "prefixes": [ "V2" ] }{ "id": 117716, "url": "