get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54344,
    "url": "https://patches.dpdk.org/api/patches/54344/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1559638792-8608-14-git-send-email-david.marchand@redhat.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1559638792-8608-14-git-send-email-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1559638792-8608-14-git-send-email-david.marchand@redhat.com",
    "date": "2019-06-04T08:59:51",
    "name": "[13/14] test: do not start tests in parallel",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7875812e212b6047bde53b9a76d49f4dcbc61877",
    "submitter": {
        "id": 1173,
        "url": "https://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1559638792-8608-14-git-send-email-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 4883,
            "url": "https://patches.dpdk.org/api/series/4883/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4883",
            "date": "2019-06-04T08:59:38",
            "name": "Unit tests fixes for CI",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/4883/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/54344/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/54344/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2D76D1BC28;\n\tTue,  4 Jun 2019 11:01:09 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 189101BBD7\n\tfor <dev@dpdk.org>; Tue,  4 Jun 2019 11:01:07 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 882702E97C8;\n\tTue,  4 Jun 2019 09:01:01 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-116-185.ams2.redhat.com\n\t[10.36.116.185])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id ABDC95D9CD;\n\tTue,  4 Jun 2019 09:00:59 +0000 (UTC)"
        ],
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\taconole@redhat.com,\n\tmsantana@redhat.com",
        "Date": "Tue,  4 Jun 2019 10:59:51 +0200",
        "Message-Id": "<1559638792-8608-14-git-send-email-david.marchand@redhat.com>",
        "In-Reply-To": "<1559638792-8608-1-git-send-email-david.marchand@redhat.com>",
        "References": "<1559638792-8608-1-git-send-email-david.marchand@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.14",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.29]); Tue, 04 Jun 2019 09:01:01 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH 13/14] test: do not start tests in parallel",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Running the tests in parallel has two drawbacks:\n- the tests are racing on the hugepages allocations,\n- the tests are sharing the cores to run their checks which results in\n  undeterministic execution time,\n\nThis results in random failures.\nFor better reproducibility in CI, start them all in a serialised way.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n app/test/meson.build | 25 +++++--------------------\n 1 file changed, 5 insertions(+), 20 deletions(-)",
    "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 212cd1b..f0797c9 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -144,8 +144,7 @@ test_deps = ['acl',\n \t'timer'\n ]\n \n-# All test cases in fast_parallel_test_names list are parallel\n-fast_parallel_test_names = [\n+fast_test_names = [\n         'acl_autotest',\n         'alarm_autotest',\n         'atomic_autotest',\n@@ -192,10 +191,6 @@ fast_parallel_test_names = [\n         'timer_autotest',\n         'user_delay_us',\n         'version_autotest',\n-]\n-\n-# All test cases in fast_non_parallel_test_names list are non-parallel\n-fast_non_parallel_test_names = [\n         'bitratestats_autotest',\n         'crc_autotest',\n         'delay_us_sleep_autotest',\n@@ -219,7 +214,6 @@ fast_non_parallel_test_names = [\n         'thash_autotest',\n ]\n \n-# All test cases in perf_test_names list are non-parallel\n perf_test_names = [\n         'ring_perf_autotest',\n         'mempool_perf_autotest',\n@@ -247,7 +241,6 @@ perf_test_names = [\n         'stack_lf_perf_autotest',\n ]\n \n-# All test cases in driver_test_names list are non-parallel\n driver_test_names = [\n         'cryptodev_aesni_mb_autotest',\n         'cryptodev_aesni_gcm_autotest',\n@@ -269,7 +262,6 @@ driver_test_names = [\n         'link_bonding_rssconf_autotest',\n ]\n \n-# All test cases in dump_test_names list are non-parallel\n dump_test_names = [\n         'dump_struct_sizes',\n         'dump_mempool',\n@@ -318,7 +310,7 @@ if dpdk_conf.has('RTE_LIBRTE_COMPRESSDEV')\n \t\ttest_dep_objs += compress_test_dep\n \t\ttest_sources += 'test_compressdev.c'\n \t\ttest_deps += 'compressdev'\n-\t\tfast_non_parallel_test_names += 'compressdev_autotest'\n+\t\tfast_test_names += 'compressdev_autotest'\n \tendif\n endif\n \n@@ -367,30 +359,23 @@ if get_option('tests')\n \tnum_cores_arg = '-l ' + num_cores\n \n \ttest_args = [num_cores_arg]\n-\tforeach arg : fast_parallel_test_names\n+\tforeach arg : fast_test_names\n \t\tif host_machine.system() == 'linux'\n \t\t\ttest(arg, dpdk_test,\n \t\t\t\t  env : ['DPDK_TEST=' + arg],\n \t\t\t\t  args : test_args +\n \t\t\t\t\t ['--file-prefix=@0@'.format(arg)],\n \t\t\ttimeout : timeout_seconds_fast,\n+\t\t\tis_parallel : false,\n \t\t\tsuite : 'fast-tests')\n \t\telse\n \t\t\ttest(arg, dpdk_test,\n \t\t\t\tenv : ['DPDK_TEST=' + arg],\n \t\t\t\targs : test_args,\n \t\t\ttimeout : timeout_seconds_fast,\n-\t\t\tsuite : 'fast-tests')\n-\t\tendif\n-\tendforeach\n-\n-\tforeach arg : fast_non_parallel_test_names\n-\t\ttest(arg, dpdk_test,\n-\t\t\tenv : ['DPDK_TEST=' + arg],\n-\t\t\targs : test_args,\n-\t\t\ttimeout : timeout_seconds_fast,\n \t\t\tis_parallel : false,\n \t\t\tsuite : 'fast-tests')\n+\t\tendif\n \tendforeach\n \n \tforeach arg : perf_test_names\n",
    "prefixes": [
        "13/14"
    ]
}