Cover Detail
Show a cover letter.
GET /api/covers/97021/?format=api
http://patchwork.dpdk.org/api/covers/97021/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/1629267476-901-1-git-send-email-jizh@linux.microsoft.com/", "project": { "id": 1, "url": "http://patchwork.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": "<1629267476-901-1-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1629267476-901-1-git-send-email-jizh@linux.microsoft.com", "date": "2021-08-18T06:17:43", "name": "[v1,00/13] app/test: enable subset of tests on Windows", "submitter": { "id": 1934, "url": "http://patchwork.dpdk.org/api/people/1934/?format=api", "name": "Jie Zhou", "email": "jizh@linux.microsoft.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/1629267476-901-1-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 18321, "url": "http://patchwork.dpdk.org/api/series/18321/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18321", "date": "2021-08-18T06:17:45", "name": "app/test: enable subset of tests on Windows", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18321/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/97021/comments/", "headers": { "Return-Path": "<dev-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 4502CA0C46;\n\tWed, 18 Aug 2021 08:18:16 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A6ABF411BD;\n\tWed, 18 Aug 2021 08:18:06 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 8E3D140042\n for <dev@dpdk.org>; Wed, 18 Aug 2021 08:18:02 +0200 (CEST)", "from\n linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net\n (linux.microsoft.com [13.77.154.182])\n by linux.microsoft.com (Postfix) with ESMTPSA id B23BF20C320A;\n Tue, 17 Aug 2021 23:18:01 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com B23BF20C320A", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1629267481;\n bh=KtPMVbagPR5JnNq6QoFwstUdXqYxYBW/UgYCz/ti8+4=;\n h=From:To:Cc:Subject:Date:From;\n b=GYceoEtPz6nTHxBpsAhySx3oxks25yo+bu9AbpVr2Uxb2ra8V0jngtCBf7XE4kd6E\n FnxbRDCcN5Rddv27sN5pW191/50rebGKzwrjva9xttl9JruFmSbkjEOivfti6wgLwg\n UkyVvu1g5N0gl1E8toKZT5vjYcFkk7IrQITTYNmI=", "From": "Jie Zhou <jizh@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "dmitry.kozliuk@gmail.com, roretzla@microsoft.com,\n navasile@linux.microsoft.com, dmitrym@microsoft.com,\n pallavi.kadam@intel.com, talshn@nvidia.com, thomas@monjalon.net,\n aconole@redhat.com", "Date": "Tue, 17 Aug 2021 23:17:43 -0700", "Message-Id": "<1629267476-901-1-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dpdk-dev] [PATCH v1 00/13] app/test: enable subset of tests on\n Windows", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patchset is to enable a subset of unit tests on Windows. It mainly includes:\n- Enable building libraries on Windows that some tests depend on\n- Replace POSIX specific codes\n- Fix some lib and tests per failures investigation\n- Replace .sh scripts with .py scripts for meson.build\n- Enable build and run subset of unit tests on Windows\n\nFuture work:\n- Continue investigate known failure to enable more tests\n- Work with CI/CD lab to onboard unit tests on Windows to capture regression\n\nFollowing are the unit tests on Windows baseline state:\n(lab setup: a system with XL710, NetUIO and Virt2Phy installed, huge-page enabled)\nc:\\DPDKUpstream\\dpdk\\amd64\\chk>meson test\nninja: Entering directory `c:\\DPDKUpstream\\dpdk\\amd64\\chk'\nninja: no work to do.\n 1/60 DPDK:fast-tests / alarm_autotest OK 1.62s\n 2/60 DPDK:fast-tests / bitops_autotest OK 1.58s\n 3/60 DPDK:fast-tests / byteorder_autotest OK 1.58s\n 4/60 DPDK:fast-tests / cmdline_autotest OK 1.58s\n 5/60 DPDK:fast-tests / common_autotest OK 3.77s\n 6/60 DPDK:fast-tests / cpuflags_autotest OK 1.58s\n 7/60 DPDK:fast-tests / errno_autotest OK 1.59s\n 8/60 DPDK:fast-tests / ethdev_link_status OK 1.58s\n 9/60 DPDK:fast-tests / hash_autotest OK 2.26s\n10/60 DPDK:fast-tests / interrupt_autotest SKIP 1.59s exit status 77\n11/60 DPDK:fast-tests / logs_autotest OK 1.58s\n12/60 DPDK:fast-tests / lpm_autotest OK 3.78s\n13/60 DPDK:fast-tests / mcslock_autotest OK 7.37s\n14/60 DPDK:fast-tests / memory_autotest OK 1.62s\n15/60 DPDK:fast-tests / mempool_autotest OK 2.23s\n16/60 DPDK:fast-tests / memzone_autotest OK 1.62s\n17/60 DPDK:fast-tests / meter_autotest OK 1.58s\n18/60 DPDK:fast-tests / per_lcore_autotest OK 1.69s\n19/60 DPDK:fast-tests / prefetch_autotest OK 1.58s\n20/60 DPDK:fast-tests / rcu_qsbr_autotest OK 1.93s\n21/60 DPDK:fast-tests / rib_autotest OK 6.97s\n22/60 DPDK:fast-tests / rib6_autotest OK 6.98s\n23/60 DPDK:fast-tests / ring_autotest OK 1.64s\n24/60 DPDK:fast-tests / rwlock_test1_autotest OK 3.68s\n25/60 DPDK:fast-tests / rwlock_rda_autotest OK 6.58s\n26/60 DPDK:fast-tests / rwlock_rds_wrm_autotest OK 6.65s\n27/60 DPDK:fast-tests / rwlock_rde_wro_autotest OK 6.59s\n28/60 DPDK:fast-tests / spinlock_autotest OK 1.82s\n29/60 DPDK:fast-tests / stack_autotest OK 3.56s\n30/60 DPDK:fast-tests / stack_lf_autotest OK 5.84s\n31/60 DPDK:fast-tests / string_autotest OK 1.59s\n32/60 DPDK:fast-tests / tailq_autotest OK 1.58s\n33/60 DPDK:fast-tests / ticketlock_autotest OK 1.84s\n34/60 DPDK:fast-tests / user_delay_us OK 1.58s\n35/60 DPDK:fast-tests / version_autotest OK 1.59s\n36/60 DPDK:fast-tests / crc_autotest OK 1.58s\n37/60 DPDK:fast-tests / fbarray_autotest OK 1.58s\n38/60 DPDK:fast-tests / hash_readwrite_func_autotest OK 4.01s\n39/60 DPDK:fast-tests / kvargs_autotest OK 1.58s\n40/60 DPDK:fast-tests / metrics_autotest OK 1.58s\n41/60 DPDK:fast-tests / reorder_autotest OK 1.62s\n42/60 DPDK:fast-tests / service_autotest OK 5.20s\n43/60 DPDK:fast-tests / thash_autotest OK 1.58s\n44/60 DPDK:perf-tests / atomic_autotest OK 35.04s\n45/60 DPDK:perf-tests / memcpy_autotest OK 11.36s\n46/60 DPDK:perf-tests / ring_perf_autotest OK 29.48s\n47/60 DPDK:perf-tests / timer_autotest OK 13.02s\n48/60 DPDK:perf-tests / timer_perf_autotest OK 13.81s\n49/60 DPDK:perf-tests / rib_slow_autotest OK 135.43s\n50/60 DPDK:perf-tests / barrier_autotest OK 66.77s\n51/60 DPDK:perf-tests / hash_multiwriter_autotest OK 8.16s\n52/60 DPDK:perf-tests / timer_racecond_autotest OK 5.62s\n53/60 DPDK:perf-tests / hash_functions_autotest OK 37.22s\n54/60 DPDK:perf-tests / pmd_perf_autotest OK 27.82s\n55/60 DPDK:perf-tests / stack_perf_autotest OK 42.71s\n56/60 DPDK:perf-tests / stack_lf_perf_autotest OK 94.26s\n57/60 DPDK:perf-tests / rand_perf_autotest OK 13.78s\n58/60 DPDK:perf-tests / hash_readwrite_perf_autotest OK 50.86s\n59/60 DPDK:perf-tests / hash_readwrite_lf_perf_autotest OK 145.72s\n60/60 DPDK:perf-tests / trace_perf_autotest OK 2.29s\n\n\nOk: 59\nExpected Fail: 0\nFail: 0\nUnexpected Pass: 0\nSkipped: 1\nTimeout: 0\n\nFull log written to c:\\DPDKUpstream\\dpdk\\amd64\\chk\\meson-logs\\testlog.txt\n\n\nJie Zhou (13):\n lib: build libraries that some tests depend on\n driver/mempool: build mempool stack on Windows\n eal/windows: return ENOTSUP for not supported API\n app/test: remove unnecessary headers\n app/test: replace POSIX specific code\n app/test: exclude ENOTSUP as failure\n app/test: skip interrupt tests on Windows\n app/test: temporarily \"skip\" one cmdline test case\n app/test: skip two logs_autotest cases on Windows\n app/test: differentiate a strerror on different OS\n app/test: remove two alarm_autotest cases\n app/test: replace .sh scripts with .py scripts\n app/test: enable subset of unit tests on Windows\n\n app/test/commands.c | 2 -\n app/test/get-coremask.sh | 13 -\n app/test/get_coremask.py | 8 +\n app/test/has-hugepage.sh | 11 -\n app/test/has_hugepage.py | 41 ++\n app/test/meson.build | 866 ++++++++++++++++++------------\n app/test/packet_burst_generator.c | 1 +\n app/test/process.h | 4 +-\n app/test/test.c | 5 +-\n app/test/test_alarm.c | 4 +\n app/test/test_byteorder.c | 2 +-\n app/test/test_cmdline.c | 2 +\n app/test/test_cmdline_lib.c | 5 +-\n app/test/test_crc.c | 1 -\n app/test/test_errno.c | 12 +-\n app/test/test_interrupts.c | 10 +\n app/test/test_logs.c | 6 +-\n app/test/test_memory.c | 5 +-\n app/test/test_mp_secondary.c | 2 +\n app/test/test_pmd_perf.c | 6 +-\n app/test/test_ring_stress.c | 3 +-\n app/test/test_ring_stress_impl.h | 2 +-\n app/test/test_telemetry_data.c | 2 +\n drivers/mempool/stack/meson.build | 5 -\n lib/eal/common/eal_common_errno.c | 4 +\n lib/eal/windows/eal_memalloc.c | 6 +-\n lib/meson.build | 6 +\n 27 files changed, 641 insertions(+), 393 deletions(-)\n delete mode 100755 app/test/get-coremask.sh\n create mode 100644 app/test/get_coremask.py\n delete mode 100755 app/test/has-hugepage.sh\n create mode 100644 app/test/has_hugepage.py" }{ "id": 97021, "url": "