get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2003668,
    "url": "http://patchwork.ozlabs.org/api/patches/2003668/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20241029101608.2991596-8-i.maximets@ovn.org/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20241029101608.2991596-8-i.maximets@ovn.org>",
    "list_archive_url": null,
    "date": "2024-10-29T10:15:05",
    "name": "[ovs-dev,7/9] system-tests: Verbose cleanup of ports and namespaces.",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "44850a57df3d5e59e7b261f899e2e62d94c48af6",
    "submitter": {
        "id": 76798,
        "url": "http://patchwork.ozlabs.org/api/people/76798/?format=api",
        "name": "Ilya Maximets",
        "email": "i.maximets@ovn.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20241029101608.2991596-8-i.maximets@ovn.org/mbox/",
    "series": [
        {
            "id": 430270,
            "url": "http://patchwork.ozlabs.org/api/series/430270/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=430270",
            "date": "2024-10-29T10:14:58",
            "name": "ipsec: Resiliency to Libreswan failures.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/430270/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2003668/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2003668/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ovs-dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp1.osuosl.org;\n dmarc=none (p=none dis=none) header.from=ovn.org"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4Xd5lS4mtNz1xwn\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 29 Oct 2024 21:16:52 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 1A40860F13;\n\tTue, 29 Oct 2024 10:16:51 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id KTB37-L_nSnr; Tue, 29 Oct 2024 10:16:48 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id 4AAF960A8F;\n\tTue, 29 Oct 2024 10:16:48 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id CEDEDC08A6;\n\tTue, 29 Oct 2024 10:16:47 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 20CA7C08A9\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 10:16:46 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id CA3A0811B0\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 10:16:32 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id BgCABTnpDyRL for <ovs-dev@openvswitch.org>;\n Tue, 29 Oct 2024 10:16:31 +0000 (UTC)",
            "from mail-wm1-f67.google.com (mail-wm1-f67.google.com\n [209.85.128.67])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 36BC8811BB\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 10:16:31 +0000 (UTC)",
            "by mail-wm1-f67.google.com with SMTP id\n 5b1f17b1804b1-4315baa51d8so52290425e9.0\n for <ovs-dev@openvswitch.org>; Tue, 29 Oct 2024 03:16:30 -0700 (PDT)",
            "from im-t490s.redhat.com (ip-86-49-44-151.bb.vodafone.cz.\n [86.49.44.151]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-431b4594ec3sm20279685e9.1.2024.10.29.03.16.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 29 Oct 2024 03:16:28 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.9.56;\n helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4AAF960A8F",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 36BC8811BB"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.67;\n helo=mail-wm1-f67.google.com; envelope-from=i.maximets.ovn@gmail.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 36BC8811BB",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1730196989; x=1730801789;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=OZebmDeZp5nc1MQzZgRIPjTSpmq5vUKcToSoeiDMkOY=;\n b=J1vi62+G0ZFGl7dYvnpHSWMXATgyH8Sqt6E9nbb85Mef6UFujhSDnR1ukBZTiJXu8r\n dGqgot5b63+WmhyOBNCe0z9j+yDuGah0r7l1iITJD57RL+NFymIcj9JqG6IHa/kr/4td\n US2Hj3RmkQCAoxG8xsB+8dfWfUUbcNTn0QGuCODkawA1KrE8xf5yNwxwU4sl+CMT6stt\n 5a6bcxx82/8DhK8j95DnrTuA0vSyIGV8wzgrVEWTvuvVTwfGgXc2wQnFDYKGH4+yTkhQ\n MMHELh27FqEuy9ECAv4/bghVliWRSVWjN+jjedmJYZ9O5jzyS/FJ1jJuhOOfqSAnXfhj\n 1z9g==",
        "X-Gm-Message-State": "AOJu0YyLmA/RvKHVbexLq8cyWD7Qy0wD45kBUzx/wHEx69eN9BkPXzQp\n T/gctlqzDmqdQQSzOEDlc38ayJj5t/WqQu+sSNWtDx2BhrHdtsqoQiGIGJOk",
        "X-Google-Smtp-Source": "\n AGHT+IGQIiuTjyIxMeWIPzeWGMx0cHCuMTdJBdIOnBqgQT/qesJ/OwI8DfOhqVne1WI1LkmJ2VNhgA==",
        "X-Received": "by 2002:a05:600c:548b:b0:42c:b5f1:44ff with SMTP id\n 5b1f17b1804b1-4319ad0ca37mr94086255e9.24.1730196988999;\n Tue, 29 Oct 2024 03:16:28 -0700 (PDT)",
        "From": "Ilya Maximets <i.maximets@ovn.org>",
        "To": "ovs-dev@openvswitch.org",
        "Date": "Tue, 29 Oct 2024 11:15:05 +0100",
        "Message-ID": "<20241029101608.2991596-8-i.maximets@ovn.org>",
        "X-Mailer": "git-send-email 2.46.0",
        "In-Reply-To": "<20241029101608.2991596-1-i.maximets@ovn.org>",
        "References": "<20241029101608.2991596-1-i.maximets@ovn.org>",
        "MIME-Version": "1.0",
        "Subject": "[ovs-dev] [PATCH 7/9] system-tests: Verbose cleanup of ports and\n namespaces.",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "Cc": "Ilya Maximets <i.maximets@ovn.org>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "Removal of ports and network namespaces can take a significant amount\nof time, and it is not clear if the test is stuck or actually doing\nsomething during that time.  Add some logging to cleanup commands\nto see what is going on.\n\nSigned-off-by: Ilya Maximets <i.maximets@ovn.org>\n---\n tests/system-common-macros.at | 7 ++-----\n 1 file changed, 2 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at\nindex e9be021f3..ff86d15cd 100644\n--- a/tests/system-common-macros.at\n+++ b/tests/system-common-macros.at\n@@ -2,10 +2,7 @@\n #\n # Delete namespaces from the running OS\n m4_define([DEL_NAMESPACES],\n-   [m4_foreach([ns], [$@],\n-               [ip netns del ns\n-])\n-   ]\n+   [m4_foreach([ns], [$@], [echo removing namespace ns; ip netns del ns])]\n )\n \n # ADD_NAMESPACES(ns [, ns ... ])\n@@ -72,7 +69,7 @@ m4_define([ADD_INT],\n #\n m4_define([ADD_VETH],\n     [ AT_CHECK([ip link add $1 type veth peer name ovs-$1 || return 77])\n-      on_exit 'ip link del ovs-$1'\n+      on_exit 'echo removing interface ovs-$1; ip link del ovs-$1'\n       CONFIGURE_VETH_OFFLOADS([$1])\n       AT_CHECK([ip link set $1 netns $2])\n       AT_CHECK([ip link set dev ovs-$1 up])\n",
    "prefixes": [
        "ovs-dev",
        "7/9"
    ]
}