From patchwork Wed Sep 5 11:00:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145988 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4782154ljw; Wed, 5 Sep 2018 04:00:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYTi2iPJ5/wyOA62IfrsBIgAsijv3IsXDSDtRh14g1ZGSwGJrH4sh73YNh9CNnEPpX1j8iP X-Received: by 2002:a37:bfc2:: with SMTP id p185-v6mr31910173qkf.169.1536145249113; Wed, 05 Sep 2018 04:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536145249; cv=none; d=google.com; s=arc-20160816; b=sU6rlhqSabGFL4OxU/fqxVk1dND5bGfwO9/vwBFKwE0ofDNNx90joae6NY4VVDsn1C Xkiyq3q+b34FpkWaQgrXLVMp1y4QJw+jRxEfYKlAJFwPbhi3TGOambEghhqumwMha7HH 3q4HZ9+Ny6QfZ8HrqvSJMCKqhMR0Uwngv3/9Yj8QaFpPQsrIZykNt5b4A7hVO+eBHft+ myYlHDb8oCayRpCoru/deqdsEHfvCFo3ZirTIg+FP9TUBhKZ4sYjVvFVdzPP/tqXhmQg H42Kh81WDjxyXK0JfXJw/n9IVnvRqVRzzQxm1AE6+b1JSyjgemUT3snu7ta3jcVR2nzd 0pdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to; bh=CZ15q46XPZWW7r/HwQ/DWEgpfcXc3QVKf84QZIej13Y=; b=h7LoQK4SS9RmyTfBZN+izEhIpCgR1eUcGHYOWK2w7nSIwKc9byd6dNHBo8sXI6QERD RvJ7Z1gLmwKKz3txQ+d2WXue2+DhLy5Gjz1O34PuRQv2rKQQzYpEBr9biPrLsRtxAqsL aRmqyOQShDl4DP/fROccsTAVqGYFrrxu41qBbnvN6BfCHSe5+l2cwuw12802jrg7vKvX 7Fzisa8uLvC5zCFQF7STm3ej9OeZskFJ/Co/HhW6BRMRcv1EHaOjX/++CXpBZOWz8vYt x4ivaCt4mMEgXZPhqRf7kx7r/Ta9GDpOaZdeLd98ILQn5cG2QjmfPFCXDkyKYhWqZooV OgFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id s87-v6si1230424qkl.224.2018.09.05.04.00.48; Wed, 05 Sep 2018 04:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id C9C0E6864C; Wed, 5 Sep 2018 11:00:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 93E6760CFC; Wed, 5 Sep 2018 11:00:16 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C0E9961BF2; Wed, 5 Sep 2018 11:00:12 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 7C0BA60CFC for ; Wed, 5 Sep 2018 11:00:10 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 788DF2187433 for ; Wed, 5 Sep 2018 14:00:09 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 39gAAXGY6w-09mmXkwL; Wed, 05 Sep 2018 14:00:09 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5T90TlmWMq-0840UxoV; Wed, 05 Sep 2018 14:00:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 5 Sep 2018 11:00:02 +0000 Message-Id: <1536145206-9205-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> References: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 694 Subject: [lng-odp] [PATCH v2 1/5] validation: time: fix c&p error X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 694 (lumag:timer) ** https://github.com/Linaro/odp/pull/694 ** Patch: https://github.com/Linaro/odp/pull/694.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: dc2fc3943e99a8bb113f9e34a27d9bf1b521ed5b **/ test/validation/api/time/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/api/time/time.c b/test/validation/api/time/time.c index e24012285..27ddc97fd 100644 --- a/test/validation/api/time/time.c +++ b/test/validation/api/time/time.c @@ -413,7 +413,7 @@ static void time_test_wait_ns(void) if (odp_time_cmp(diff, upper_limit) > 0) { fprintf(stderr, "Exceed upper limit: " "diff is %" PRIu64 ", upper_limit %" PRIu64 "\n", - odp_time_to_ns(diff), odp_time_to_ns(lower_limit)); + odp_time_to_ns(diff), odp_time_to_ns(upper_limit)); CU_FAIL("Exceed upper limit\n"); } } From patchwork Wed Sep 5 11:00:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145991 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4783721ljw; Wed, 5 Sep 2018 04:02:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWxxqp2MijgGStOtE8NHCvaIcolycH47GLikVGlMlM8i5c8f/DqYfcvvwhAH2pMjNzeskJ X-Received: by 2002:ac8:30eb:: with SMTP id w40-v6mr32598909qta.176.1536145320976; Wed, 05 Sep 2018 04:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536145320; cv=none; d=google.com; s=arc-20160816; b=qovuKat5bTQ7eZiR6OkPyOlRgOB3eMWqNyQk2TfzGTCbnOy3oXvmdDH0IWNmJddbVf 4uOmu8AenTuaipgCUCzYzFG0IA38rk8X9YP1kYCViLe6NNauPk0UrpbgAL8MQguNzLLD emsoui6O1mISywn1CyEBkQVFyT38WGgwtvM340NpZdAFgoFQ1nIYzZsaYKxkFINOJcJG V7GmY6uv7z118m1bimW2IXx5kfCN88INezL/6s4EH6X2VWyJlj0jyXrBVb+UY4AoESP6 cTek/pPxqR5MI5gAri0AGOOGziUQKEl+ynrkoX4mghkULqHSz9Sb2l4HMw2WIung4oGq QACQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to; bh=0DVr3HZDd+pBac6TiD3LR2E9mzY7UOjdJUwdbSsOOUc=; b=h5q4aPESra4WBtR6BdUXVZftdX+5d/MyjLnLFBZPQfwiYbJWt9d+ahzD8FH2sYnmoa MO2UYIQHvvOReXt3JiB5MPpfq5ApPBWgo6/pu9E0TUG9r4Txv349j7Og0r7SxIjQAAsN /dSncv8AF2CWxPTkp7UzVCIx5VvZbRLNb42P/9ALCm3lP7r46W3kBckWUOivXgUNnkkG G9EGPUMDODoWgzDkJis60T6BhRqjS7thNa4EsilazmAZX42EL0ovzPF9ESUyaTvJBHsR xkOIXDpK73PmGmLZL4wWBqHfJnEZRQnwWSQdwW3xYI3pT0Mw92IhtZDb+hP0735Qwj82 Bj1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r22-v6si1232416qtk.15.2018.09.05.04.02.00; Wed, 05 Sep 2018 04:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 8C23268616; Wed, 5 Sep 2018 11:02:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7AA2668600; Wed, 5 Sep 2018 11:00:29 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1BF6F60CF7; Wed, 5 Sep 2018 11:00:19 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id CBA6160CF7 for ; Wed, 5 Sep 2018 11:00:12 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 58E603D836B9 for ; Wed, 5 Sep 2018 14:00:10 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id rQptfMH1Rk-0AN4DK6F; Wed, 05 Sep 2018 14:00:10 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5T90TlmWMq-094CxXDf; Wed, 05 Sep 2018 14:00:09 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 5 Sep 2018 11:00:03 +0000 Message-Id: <1536145206-9205-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> References: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 694 Subject: [lng-odp] [PATCH v2 2/5] validation: scheduler: print debug diagnostics on test_wait failure X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 694 (lumag:timer) ** https://github.com/Linaro/odp/pull/694 ** Patch: https://github.com/Linaro/odp/pull/694.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: dc2fc3943e99a8bb113f9e34a27d9bf1b521ed5b **/ test/validation/api/scheduler/scheduler.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/test/validation/api/scheduler/scheduler.c b/test/validation/api/scheduler/scheduler.c index 2e44d3248..069220393 100644 --- a/test/validation/api/scheduler/scheduler.c +++ b/test/validation/api/scheduler/scheduler.c @@ -185,8 +185,19 @@ static void scheduler_test_wait_time(void) upper_limit = odp_time_local_from_ns(5 * ODP_TIME_SEC_IN_NS + ODP_WAIT_TOLERANCE); - CU_ASSERT(odp_time_cmp(diff, lower_limit) >= 0); - CU_ASSERT(odp_time_cmp(diff, upper_limit) <= 0); + if (odp_time_cmp(diff, lower_limit) <= 0) { + fprintf(stderr, "Exceed lower limit: " + "diff is %" PRIu64 ", lower_limit %" PRIu64 "\n", + odp_time_to_ns(diff), odp_time_to_ns(lower_limit)); + CU_FAIL("Exceed lower limit\n"); + } + + if (odp_time_cmp(diff, upper_limit) >= 0) { + fprintf(stderr, "Exceed upper limit: " + "diff is %" PRIu64 ", upper_limit %" PRIu64 "\n", + odp_time_to_ns(diff), odp_time_to_ns(upper_limit)); + CU_FAIL("Exceed upper limit\n"); + } CU_ASSERT_FATAL(odp_queue_destroy(queue) == 0); } From patchwork Wed Sep 5 11:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145989 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4782895ljw; Wed, 5 Sep 2018 04:01:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYU0z0PF7eMyA3VpucuUAXP6EJY285/OupQ2L9u3Hh4+M7rADR5sRhOs7FAG/iWKqWgfVoy X-Received: by 2002:aed:3282:: with SMTP id z2-v6mr33422517qtd.112.1536145283469; Wed, 05 Sep 2018 04:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536145283; cv=none; d=google.com; s=arc-20160816; b=fkZjA+7GkNn9zJTdD5/EXvTXHtIMh121+EOCX8KLJLqVsmK3/ywyxEDeNOgaEFzR7S pJV+BwASk6V0uHrMoESTJBajLakKOpMet95/PxygrUYV3mUSN8dIRhOJwW+Qu2tFKELo WRs0N1wRlA8AsaNGM8tRzP8GkvFQ0Tnob+hfECjzZrcJbSpaPHj+6+3lDKOlliYYt5mF CSHBAK/3YzErOhq/ShF4R73xXbnkeWYl5TorUJTRflOJF+hKO9MyJ1GUIEigVVOgHB4A 0xsxJVln9RfGPov6buuZb6kDSBiyKXxR//UG2p8obLISJrOXkp99mBWd1hptsCzHKQT3 RFGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to; bh=9Bd9UvB6K4HcS4kXoeBdRX/ipi/4MJtBX2WPucz94V4=; b=n0GA4MqGfbEBX1RiDnpDmdWRtejjrUj/iqYwFbmxjYCxntuNWavvT8XbS42jYRtes4 Wz+l2E/WnM0/Q+d8SNhMv1Uuuq5k3Pzkp1maZE5zZ1vv5KkE/fDeuVTb2y1NhDAtdvx8 Dqvcal3weTSVe79haGFkrAphHR5Z3/gCseq5XYuZ3ifO4dwKteyTCkSrGKgvSrXz4EHF esq+ns+V+7YoyMepLz2gRgCxExDLz9cOIHJUwvF/j+Ql+LOti/ibcGTEbj3fsl0oDWnV 2FmQUyTfqRIpqCWPigOKVOIoI6qHLR9BHzk2Tn7B22DChzL4p6EpF2aRO+1dNnrckoYD r9BQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r1-v6si355063qkf.172.2018.09.05.04.01.23; Wed, 05 Sep 2018 04:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 28A4568651; Wed, 5 Sep 2018 11:01:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id EF3AE62013; Wed, 5 Sep 2018 11:00:23 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A3C9960CFC; Wed, 5 Sep 2018 11:00:15 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id E00F460CFC for ; Wed, 5 Sep 2018 11:00:12 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 34E3A1346C2A for ; Wed, 5 Sep 2018 14:00:11 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iah8XyMJzf-0BRCXGrI; Wed, 05 Sep 2018 14:00:11 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5T90TlmWMq-0A4Ccj0P; Wed, 05 Sep 2018 14:00:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 5 Sep 2018 11:00:04 +0000 Message-Id: <1536145206-9205-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> References: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 694 Subject: [lng-odp] [PATCH v2 3/5] validation: time: be more tolerant wrt delays X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 694 (lumag:timer) ** https://github.com/Linaro/odp/pull/694 ** Patch: https://github.com/Linaro/odp/pull/694.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: dc2fc3943e99a8bb113f9e34a27d9bf1b521ed5b **/ test/validation/api/time/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/api/time/time.c b/test/validation/api/time/time.c index 27ddc97fd..38c0906ba 100644 --- a/test/validation/api/time/time.c +++ b/test/validation/api/time/time.c @@ -14,7 +14,7 @@ #define BUSY_LOOP_CNT_LONG 6000000000 /* used for t > 4 sec */ #define MIN_TIME_RATE 32000 #define MAX_TIME_RATE 15000000000 -#define DELAY_TOLERANCE 20000000 /* deviation for delay */ +#define DELAY_TOLERANCE 40000000 /* deviation for delay */ #define WAIT_SECONDS 3 static uint64_t local_res; From patchwork Wed Sep 5 11:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145990 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4783493ljw; Wed, 5 Sep 2018 04:01:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaFm0ChZi75fdPaNd4dhDDC6kB9hbKZ401ioR+LCpX6/gF9Wc/y+6tE56omYl7ImPrrSGSM X-Received: by 2002:a37:4c85:: with SMTP id z127-v6mr32487425qka.302.1536145309347; Wed, 05 Sep 2018 04:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536145309; cv=none; d=google.com; s=arc-20160816; b=pdxiz0mykDJT1rYcNHUjW8llXMTlFJLol1QdS60R+sel3jI3oBM0g349+Qme4qcCW4 i7Tf9EGlciTMIGlom413Dhc6jCF9D+V455NVUcDZms0qSRCl0F7hE1aFuULGnDnacxKi RnmMbpEka2AEGSa2Q3dWrkIo+2t6MDdqzvK0VI0/Hvfre5YSnH5q2qUttA/du6F85FQ0 p/ch6GEk96knKQgdr9kVi7DBYjtM4KlGBAB/JMYfeVcUijdqp7PK6PDHEGsTszzg2i9K lzQ+RIYE8YRGhiB9D8V7e3YNhxZH0fbelLsVXPlswChiC685WBzrahsfuueZ4tKmx0PU 7NtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to; bh=KX4C3LZcevgFXN1PxkIlIjHSUQQbza9jnoSjfatBJbQ=; b=Ccw32LSaZMdC1lnmpZJ+ZxUrcPcnJ+LpIkngbYMkHlhd0NN8JsWlekpGzJE66tz5fn qG1Ip1DCdqxBCdB0YNF+RbQ52duCmLgLasFVN3WPglAT/wJw6YbxdCZg7ZT4beUkv+Pp RvjGaUQ/at/duvRhyicJ8QmfVAVUrmubW/VJygDYl6He2y3jZwfWmpg4AL6gQ1DDde13 kttSl2QIKFUfR6gnJgsBDsUj0zfRwE3y7RCNvLVmRmGeB2AjQQU65v8nNiiir1eyxQP/ vzVsjhN6n4UyvRsovo/kEGnhLEdSRJHDgkTd3tI7+6W5Q5vG0PF4PlJIa09IQBzKLxcB qs5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id d24-v6si1238227qkh.150.2018.09.05.04.01.49; Wed, 05 Sep 2018 04:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id F1EEC6863C; Wed, 5 Sep 2018 11:01:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3C844685D9; Wed, 5 Sep 2018 11:00:26 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0048F60CFC; Wed, 5 Sep 2018 11:00:15 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 8BA2D61BF2 for ; Wed, 5 Sep 2018 11:00:13 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward105j.mail.yandex.net (Yandex) with ESMTP id D979D1856A3 for ; Wed, 5 Sep 2018 14:00:11 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 06Mn7o0g3X-0BqW3Xup; Wed, 05 Sep 2018 14:00:11 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5T90TlmWMq-0B40i0ae; Wed, 05 Sep 2018 14:00:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 5 Sep 2018 11:00:05 +0000 Message-Id: <1536145206-9205-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> References: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 694 Subject: [lng-odp] [PATCH v2 4/5] validation: timer: be more tolerant wrt delays X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 694 (lumag:timer) ** https://github.com/Linaro/odp/pull/694 ** Patch: https://github.com/Linaro/odp/pull/694.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: dc2fc3943e99a8bb113f9e34a27d9bf1b521ed5b **/ test/validation/api/timer/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/validation/api/timer/timer.c b/test/validation/api/timer/timer.c index e0f068823..b1b760dce 100644 --- a/test/validation/api/timer/timer.c +++ b/test/validation/api/timer/timer.c @@ -334,8 +334,8 @@ static void timer_test_queue_type(odp_queue_type_t queue_type) tim = odp_timeout_timer(tmo); tick = odp_timeout_tick(tmo); - CU_ASSERT(diff_period > (period_ns - (4 * res_ns))); - CU_ASSERT(diff_period < (period_ns + (4 * res_ns))); + CU_ASSERT(diff_period > (period_ns - (5 * res_ns))); + CU_ASSERT(diff_period < (period_ns + (5 * res_ns))); LOG_DBG("timeout tick %" PRIu64 ", " "timeout period %" PRIu64 "\n", From patchwork Wed Sep 5 11:00:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145992 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4785222ljw; Wed, 5 Sep 2018 04:03:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaJ26yByZcNh8nhuQmvb5tvQnAI+x80ncvHBx8NrRR6/VHCCtUWQZghw3zahg2KAHWl8Ula X-Received: by 2002:a0c:aa81:: with SMTP id f1-v6mr32799790qvb.80.1536145391962; Wed, 05 Sep 2018 04:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536145391; cv=none; d=google.com; s=arc-20160816; b=Av3bL0wOuyordmLCNik7MWTGequHhmnw0xCmq321K8pcuuj5zl46GG2ChP1vl/8u46 qpQAa/PmGy86n6h6xCG2UVaW0FC9SUkOc0GBzDLGOw4kfeiGbkpTfIaj9kNwAy3zxvUq R4gxyE+m2crhnTMTI0yUVSYVa2Vah5aLFYnAjFPNMujHNzHNXVXFAAda6sjiaYR9owtf 8iyt2y8Nk4GFesrVdAknBAuNrM4U62hORQg9vy4fj8l3qK+T0UiLjyq1PwBJCqtfzXgD abUUwdCniD6Q5hNkJsd2c/2oGfPcwO7QYTzPtMtVhYEy33axaLDjGrFS/IGc02XAIk9L 8wuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to; bh=E1LCuXzXE3WluLF0s7Ur2cEoGKDFeZILYbswLhe92g4=; b=XFNcR9wvO97eexCO5rFYGTKU8LZeaAmd7BvhMiMLippcFmJM0wvINYHqhHresj42SJ KGPTDev2vYY1J3Eoj41RYWwmXD4YqMRHdDnVdLSXSB3bnhy2TjIbSGsoe02U+E0c1BFa Vzzdl9HxFuc8WI0vk1LDUWyOLXLt1vWCmPCJb/HyugKp0rL8J63dJNQvlfNY4RL2ymkh cdtLi98GsU7EnuG+cmQomy/fT+ZxwJnBRZc9eLCh1lh0wIg68LucwnmFX459QNBakJsg SEjAZsNkEzzI2Jxkn1aP0ZghfE9BxN17Xf2RsYgcOfvaj52Ggxrv37y4297zufHbDvXE Gewg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id j14-v6si1122681qvo.152.2018.09.05.04.03.11; Wed, 05 Sep 2018 04:03:11 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 75BCC68623; Wed, 5 Sep 2018 11:03:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id DE29560958; Wed, 5 Sep 2018 11:00:47 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 4D84B60958; Wed, 5 Sep 2018 11:00:45 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 1EBFE60958 for ; Wed, 5 Sep 2018 11:00:16 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 879F45A06E48 for ; Wed, 5 Sep 2018 14:00:12 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KdgR9HomuY-0CUKLD44; Wed, 05 Sep 2018 14:00:12 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5T90TlmWMq-0B4mf2Gl; Wed, 05 Sep 2018 14:00:12 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 5 Sep 2018 11:00:06 +0000 Message-Id: <1536145206-9205-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> References: <1536145206-9205-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 694 Subject: [lng-odp] [PATCH v2 5/5] validation: scheduler: increase wait tolerance timeout to 150 msec X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 694 (lumag:timer) ** https://github.com/Linaro/odp/pull/694 ** Patch: https://github.com/Linaro/odp/pull/694.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: dc2fc3943e99a8bb113f9e34a27d9bf1b521ed5b **/ test/validation/api/scheduler/scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/api/scheduler/scheduler.c b/test/validation/api/scheduler/scheduler.c index 069220393..0e7e6c578 100644 --- a/test/validation/api/scheduler/scheduler.c +++ b/test/validation/api/scheduler/scheduler.c @@ -47,7 +47,7 @@ #define CHAOS_PTR_TO_NDX(p) ((uint64_t)(uint32_t)(uintptr_t)p) #define CHAOS_NDX_TO_PTR(n) ((void *)(uintptr_t)n) -#define ODP_WAIT_TOLERANCE (60 * ODP_TIME_MSEC_IN_NS) +#define ODP_WAIT_TOLERANCE (150 * ODP_TIME_MSEC_IN_NS) /* Test global variables */ typedef struct {