get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115647,
    "url": "https://patches.dpdk.org/api/patches/115647/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220830074310.32508-1-dukaix.yuan@intel.com/",
    "project": {
        "id": 3,
        "url": "https://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": "<20220830074310.32508-1-dukaix.yuan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220830074310.32508-1-dukaix.yuan@intel.com",
    "date": "2022-08-30T07:43:10",
    "name": "[V1] tests/multiprocess modify the regular expression",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "d2c101a6d4c261a113d1b38a2779772624b8533c",
    "submitter": {
        "id": 2823,
        "url": "https://patches.dpdk.org/api/people/2823/?format=api",
        "name": "Yuan, DukaiX",
        "email": "dukaix.yuan@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220830074310.32508-1-dukaix.yuan@intel.com/mbox/",
    "series": [
        {
            "id": 24465,
            "url": "https://patches.dpdk.org/api/series/24465/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=24465",
            "date": "2022-08-30T07:43:10",
            "name": "[V1] tests/multiprocess modify the regular expression",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/24465/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/115647/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/115647/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 D1966A034C;\n\tTue, 30 Aug 2022 09:47:21 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C25A540F18;\n\tTue, 30 Aug 2022 09:47:20 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id AF91140F17\n for <dts@dpdk.org>; Tue, 30 Aug 2022 09:47:18 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Aug 2022 00:47:16 -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 30 Aug 2022 00:47:02 -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=1661845638; x=1693381638;\n h=from:to:cc:subject:date:message-id;\n bh=VpsRC6UBkd/AunhVwUiodzJiNxiq7PmMzbRgpTtQIwI=;\n b=dd7EKQheSPYfh5Yy5/zTPj+abTob75/6q7HM45gQvtlBBfSgABvqU+ap\n zKM7Ez1piBRo/NOsOfykkZRQwzVoV7F9z5dwQWOMj9R2qjprgMyuN/iWy\n OOaunkCLIcIjbnpVoC6zvZx1G7kUQy0dvA9wglcqgoevlG2CF5Sf6+CRW\n vz+sXcxim3CUDTn5xX6jQtlqGi0p2y/bqHGTSSScRKVvM/ObtbdzbYejD\n +sPcB7CeAcp0Acr1MmRIUv9bu7GkXQU31ZrrnxVjIpEzMaJD8AKDu77TG\n SImLw60gcDXRGvPh9bRza8eVHSLahST5RQv7GPDIWbiV+MzkntmKMIAc0 A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10454\"; a=\"292687344\"",
            "E=Sophos;i=\"5.93,274,1654585200\"; d=\"scan'208\";a=\"292687344\"",
            "E=Sophos;i=\"5.93,274,1654585200\"; d=\"scan'208\";a=\"607752834\""
        ],
        "From": "Dukai Yuan <dukaix.yuan@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Dukai Yuan <dukaix.yuan@intel.com>",
        "Subject": "[dts][PATCH V1] tests/multiprocess modify the regular expression",
        "Date": "Tue, 30 Aug 2022 15:43:10 +0800",
        "Message-Id": "<20220830074310.32508-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": "Modify re.search to re.findall to get all the list.\n\nSigned-off-by: Dukai Yuan <dukaix.yuan@intel.com>\n---\n tests/TestSuite_multiprocess.py | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py\nindex da382a41..9817c9c7 100644\n--- a/tests/TestSuite_multiprocess.py\n+++ b/tests/TestSuite_multiprocess.py\n@@ -175,6 +175,7 @@ class TestMultiprocess(TestCase):\n                 pktnum=pkt_num,\n                 dstmac=\"00:11:22:33:44:55\",\n             )\n+        time.sleep(3)\n         pkt.send_pkt(crb=self.tester, tx_port=self.tester_ifaces[0], count=1)\n \n     def specify_packet(self, que_num):\n@@ -1014,10 +1015,10 @@ 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+\", out, 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": [
        "V1"
    ]
}