Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/54827/?format=api
http://patches.dpdk.org/api/patches/54827/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1560580950-16754-14-git-send-email-david.marchand@redhat.com/", "project": { "id": 1, "url": "http://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": "<1560580950-16754-14-git-send-email-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1560580950-16754-14-git-send-email-david.marchand@redhat.com", "date": "2019-06-15T06:42:28", "name": "[v2,13/15] test: split into shorter subtests for CI", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4d5b4b33ae45476881deef320f77035bdbd74f0b", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1560580950-16754-14-git-send-email-david.marchand@redhat.com/mbox/", "series": [ { "id": 5023, "url": "http://patches.dpdk.org/api/series/5023/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5023", "date": "2019-06-15T06:42:16", "name": "[v2,01/15] test/bonding: add missing sources for link bonding RSS", "version": 2, "mbox": "http://patches.dpdk.org/series/5023/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/54827/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/54827/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 16B2E1D5FD;\n\tSat, 15 Jun 2019 08:43:39 +0200 (CEST)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 23E111D426\n\tfor <dev@dpdk.org>; Sat, 15 Jun 2019 08:43:35 +0200 (CEST)", "from smtp.corp.redhat.com\n\t(int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16])\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 9518C2F8BCF;\n\tSat, 15 Jun 2019 06:43:34 +0000 (UTC)", "from dmarchan.remote.csb (unknown [10.40.205.71])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id CC4095C29A;\n\tSat, 15 Jun 2019 06:43:32 +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": "Sat, 15 Jun 2019 08:42:28 +0200", "Message-Id": "<1560580950-16754-14-git-send-email-david.marchand@redhat.com>", "In-Reply-To": "<1560580950-16754-1-git-send-email-david.marchand@redhat.com>", "References": "<1559638792-8608-1-git-send-email-david.marchand@redhat.com>\n\t<1560580950-16754-1-git-send-email-david.marchand@redhat.com>", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.16", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.38]); Sat, 15 Jun 2019 06:43:34 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH v2 13/15] test: split into shorter subtests for CI", "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": "Based on Michael initial idea of separating the file-prefix subtest in\nthe eal flags test.\n\nLet's split the biggest tests into their subparts.\nIt is then easier to have them fit in the 10s timeout we have configured\nin Travis.\nWe also get a better idea of which part fails in the previously big tests\nwe had.\n\nThose new subtests are called from the meson testsuite.\nThe autotest tool is left untouched.\n\nNote: we still have an issue with test_hash_readwrite_lf.c, any help from\nthe original authors would be appreciated.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\nChangelog since v1:\n- new patch added,\n\n---\n app/test/meson.build | 18 ++++++++++++++++--\n app/test/test_eal_flags.c | 20 ++++++++++++++++++--\n app/test/test_rwlock.c | 6 ++++++\n 3 files changed, 40 insertions(+), 4 deletions(-)", "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex a9dddf8..f799c8e 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -159,7 +159,18 @@ fast_parallel_test_names = [\n 'cpuflags_autotest',\n 'cycles_autotest',\n 'debug_autotest',\n- 'eal_flags_autotest',\n+ 'eal_flags_c_opt_autotest',\n+ 'eal_flags_master_opt_autotest',\n+ 'eal_flags_n_opt_autotest',\n+ 'eal_flags_hpet_autotest',\n+ 'eal_flags_no_huge_autotest',\n+ 'eal_flags_w_opt_autotest',\n+ 'eal_flags_b_opt_autotest',\n+ 'eal_flags_vdev_opt_autotest',\n+ 'eal_flags_r_opt_autotest',\n+ 'eal_flags_mem_autotest',\n+ 'eal_flags_file_prefix_autotest',\n+ 'eal_flags_misc_autotest',\n 'eal_fs_autotest',\n 'errno_autotest',\n 'event_ring_autotest',\n@@ -184,7 +195,10 @@ fast_parallel_test_names = [\n 'red_autotest',\n 'ring_autotest',\n 'ring_pmd_autotest',\n- 'rwlock_autotest',\n+ 'rwlock_test1_autotest',\n+ 'rwlock_rda_autotest',\n+ 'rwlock_rds_wrm_autotest',\n+ 'rwlock_rde_wro_autotest',\n 'sched_autotest',\n 'spinlock_autotest',\n 'stack_autotest',\ndiff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex cfa8a61..9985ee9 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -342,10 +342,10 @@ enum hugepage_action {\n * Test that the app doesn't run with invalid vdev option.\n * Final test ensures it does run with valid options as sanity check\n */\n-#ifdef RTE_LIBRTE_PMD_RING\n static int\n test_invalid_vdev_flag(void)\n {\n+#ifdef RTE_LIBRTE_PMD_RING\n #ifdef RTE_EXEC_ENV_FREEBSD\n \t/* BSD target doesn't support prefixes at this point, and we also need to\n \t * run another primary process here */\n@@ -391,8 +391,10 @@ enum hugepage_action {\n \t\treturn -1;\n \t}\n \treturn 0;\n-}\n+#else\n+\treturn TEST_SKIPPED;\n #endif\n+}\n \n /*\n * Test that the app doesn't run with invalid -r option.\n@@ -1413,3 +1415,17 @@ enum hugepage_action {\n }\n \n REGISTER_TEST_COMMAND(eal_flags_autotest, test_eal_flags);\n+\n+/* subtests used in meson for CI */\n+REGISTER_TEST_COMMAND(eal_flags_c_opt_autotest, test_missing_c_flag);\n+REGISTER_TEST_COMMAND(eal_flags_master_opt_autotest, test_master_lcore_flag);\n+REGISTER_TEST_COMMAND(eal_flags_n_opt_autotest, test_invalid_n_flag);\n+REGISTER_TEST_COMMAND(eal_flags_hpet_autotest, test_no_hpet_flag);\n+REGISTER_TEST_COMMAND(eal_flags_no_huge_autotest, test_no_huge_flag);\n+REGISTER_TEST_COMMAND(eal_flags_w_opt_autotest, test_whitelist_flag);\n+REGISTER_TEST_COMMAND(eal_flags_b_opt_autotest, test_invalid_b_flag);\n+REGISTER_TEST_COMMAND(eal_flags_vdev_opt_autotest, test_invalid_vdev_flag);\n+REGISTER_TEST_COMMAND(eal_flags_r_opt_autotest, test_invalid_r_flag);\n+REGISTER_TEST_COMMAND(eal_flags_mem_autotest, test_memory_flags);\n+REGISTER_TEST_COMMAND(eal_flags_file_prefix_autotest, test_file_prefix);\n+REGISTER_TEST_COMMAND(eal_flags_misc_autotest, test_misc_flags);\ndiff --git a/app/test/test_rwlock.c b/app/test/test_rwlock.c\nindex c3d656a..40f9175 100644\n--- a/app/test/test_rwlock.c\n+++ b/app/test/test_rwlock.c\n@@ -547,3 +547,9 @@ struct try_rwlock_lcore {\n }\n \n REGISTER_TEST_COMMAND(rwlock_autotest, test_rwlock);\n+\n+/* subtests used in meson for CI */\n+REGISTER_TEST_COMMAND(rwlock_test1_autotest, rwlock_test1);\n+REGISTER_TEST_COMMAND(rwlock_rda_autotest, try_rwlock_test_rda);\n+REGISTER_TEST_COMMAND(rwlock_rds_wrm_autotest, try_rwlock_test_rds_wrm);\n+REGISTER_TEST_COMMAND(rwlock_rde_wro_autotest, try_rwlock_test_rde_wro);\n", "prefixes": [ "v2", "13/15" ] }{ "id": 54827, "url": "