get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/117714/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 117714,
    "url": "http://patches.dpdk.org/api/patches/117714/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20221009050418.15804-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": "<20221009050418.15804-1-dukaix.yuan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221009050418.15804-1-dukaix.yuan@intel.com",
    "date": "2022-10-09T05:04:18",
    "name": "[V3] tests/multiprocess modify the regular expression",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/20221009050418.15804-1-dukaix.yuan@intel.com/mbox/",
    "series": [
        {
            "id": 25053,
            "url": "http://patches.dpdk.org/api/series/25053/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=25053",
            "date": "2022-10-09T05:04:18",
            "name": "[V3] tests/multiprocess modify the regular expression",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/25053/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/117714/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/117714/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 944A9A0542;\n\tSun,  9 Oct 2022 07:08:51 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6D026400D5;\n\tSun,  9 Oct 2022 07:08:51 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 9A89940042\n for <dts@dpdk.org>; Sun,  9 Oct 2022 07:08:50 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Oct 2022 22:08:49 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.15])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Oct 2022 22:08:48 -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=1665292130; x=1696828130;\n h=from:to:cc:subject:date:message-id;\n bh=+Y/V/fpqMyzcg+fF/Pe/isqyPPvf/ZZNpjza4PqC/nM=;\n b=GRDUvUSLKbFKByyUJ3zu9iAOhqh1VptOYf6I4OhvZaKzrQzRG/OOlnzR\n u4/4ueZ8BLPR+IU5wzkCd8WgIjnQP6dJ9sDpsM6kFyCOYcv+lFHdcM9O9\n +pJ8BlpJkHUoaGuvl3KThCEuUdzAeTRssMb2LaxtKwrvI+BPkdbz8x44z\n c4YsOb2LBCLhYJmZcrgxQ20JWlVVfCH7BBc9FWmSYjAjf+pUNMk8HxO5s\n kAJCNQwpdhYz1Ut8L/+tP4huUrD99V2PVCjLiCShLhAWBEk0s5sGm8DnS\n 9MaA8vJMETV67SnMMvZDTu2ze8fpGum8nLyGPQphHUiClNVv1wW7CoCtZ g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10494\"; a=\"284399032\"",
            "E=Sophos;i=\"5.95,170,1661842800\"; d=\"scan'208\";a=\"284399032\"",
            "E=McAfee;i=\"6500,9779,10494\"; a=\"627914485\"",
            "E=Sophos;i=\"5.95,170,1661842800\"; d=\"scan'208\";a=\"627914485\""
        ],
        "From": "Dukai Yuan <dukaix.yuan@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Dukai Yuan <dukaix.yuan@intel.com>",
        "Subject": "[dts][PATCH V3] tests/multiprocess modify the regular expression",
        "Date": "Sun,  9 Oct 2022 13:04:18 +0800",
        "Message-Id": "<20221009050418.15804-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), the old regular expression cannot match the expected result, modify 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": [
        "V3"
    ]
}