get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109102,
    "url": "http://patchwork.dpdk.org/api/patches/109102/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220402085454.743-1-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": "<20220402085454.743-1-junx.dong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220402085454.743-1-junx.dong@intel.com",
    "date": "2022-04-02T08:54:54",
    "name": "[V1] framework/dts: Regist generate ASan report action to atexit",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e8ef3dc802cc8cec4fb3733e325dc62e19afd467",
    "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/20220402085454.743-1-junx.dong@intel.com/mbox/",
    "series": [
        {
            "id": 22329,
            "url": "http://patchwork.dpdk.org/api/series/22329/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=22329",
            "date": "2022-04-02T08:54:54",
            "name": "[V1] framework/dts: Regist generate ASan report action to atexit",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22329/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/109102/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/109102/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 C8106A0501;\n\tSat,  2 Apr 2022 10:55:05 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9E6444067E;\n\tSat,  2 Apr 2022 10:55:05 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id AF71840143\n for <dts@dpdk.org>; Sat,  2 Apr 2022 10:55:03 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Apr 2022 01:55:02 -0700",
            "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 02 Apr 2022 01:55:01 -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=1648889703; x=1680425703;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=qWiYMK8Hf1Kq2o5OERhazjKRHvRAm1PvLAECPxCs9pU=;\n b=kLr0re9IhvpTUb9WcK56QQFVOq7blUCCOb35284rCbyoKMG0ga9SQHZM\n jK66c2eGlqLwYsSjQYBqrLSBocj7/iN9+/12eh4Fyn0wgqWtukpw/NjkA\n fTx3qzb1F+UipXstsMDqtQqsLQXQpZltGJQtj8Mv2nHHpAZlT9yGVAc9Z\n lB0FNebK+yLpRqNccWjHpZqyzp0limIHpNM9R9mjW7Z9OB1BtDdHcAaz8\n ai28cZkrO7zeVszx6OY2HtyC13Qcazt9icMHAibsmcLZpRM0oiD/g+sN1\n 8foQmy+LeW5dhQ830gw2sKI/RIHI0Z2hVDeh1wjzBoiSHYSP+fvZY+ngl A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10304\"; a=\"285226432\"",
            "E=Sophos;i=\"5.90,229,1643702400\"; d=\"scan'208\";a=\"285226432\"",
            "E=Sophos;i=\"5.90,229,1643702400\"; d=\"scan'208\";a=\"640772808\""
        ],
        "From": "Jun Dong <junx.dong@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "lijuan.tu@intel.com,\n\tqingx.sun@intel.com,\n\tjunx.dong@intel.com",
        "Subject": "[dts] [PATCH V1] framework/dts: Regist generate ASan report action to\n atexit",
        "Date": "Sat,  2 Apr 2022 16:54:54 +0800",
        "Message-Id": "<20220402085454.743-1-junx.dong@intel.com>",
        "X-Mailer": "git-send-email 2.33.1.windows.1",
        "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": "Sometime, the framework does not generate ASan reports when exiting abnormally, \nbecause the operation of generating reports is at the end of the main flow of \nthe framework, and there are no guarantee measures in case of abnormality. So\nregister the generate operation with the atexit module.\n\nSigned-off-by: Jun Dong <junx.dong@intel.com>\n---\n framework/dts.py | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/framework/dts.py b/framework/dts.py\nindex 1ffb1c23..dbb5a1ed 100644\n--- a/framework/dts.py\n+++ b/framework/dts.py\n@@ -559,6 +559,8 @@ def run_all(\n \n     # prepare ASan test\n     ASanTestProcess.test_prepare(asan, output_dir)\n+    # register generate ASan report action\n+    atexit.register(ASanTestProcess.test_process)\n \n     if not os.path.exists(output_dir):\n         os.mkdir(output_dir)\n@@ -676,9 +678,6 @@ def run_all(\n \n     save_all_results()\n \n-    # process ASan test report\n-    ASanTestProcess.test_process()\n-\n \n def show_speedup_options_messages(read_cache, skip_setup):\n     if read_cache:\n",
    "prefixes": [
        "V1"
    ]
}