From patchwork Wed Jun 14 14:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 105517 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp307291qgd; Wed, 14 Jun 2017 07:01:07 -0700 (PDT) X-Received: by 10.31.195.196 with SMTP id t187mr115323vkf.151.1497448867874; Wed, 14 Jun 2017 07:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497448867; cv=none; d=google.com; s=arc-20160816; b=Ih+UsRC3Kx8n53H5aWnisgA1VgzrMpis2a1Hq5zm82kYqs+8eq4LpVa/+puUj+qQGw PKHRWwIGBYSL7P796rwPnYdat8sboE1uOONeRbPStqWgMYpBC/79xZimS7m9eOpfWJ/v kYkTQI+WPbdg0kJphBcFGLafkf+uPOP+ExivTy/5KQJxA8iQUp2Ye9O1PaP5jzJHCk+v 12KohehAZsoLwthEj0KKW0zxVhxw8Hv4APDqml8u3BWpOMiZAkel9eOmeWbksIp1Kfgb Q/tfjLFKtxLHMo/iDTtaIHcp1dzUvqf3YnV5U01KEptY0LKvF18BfgIzH+qpSPw69oDN HJxg== 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 :arc-authentication-results; bh=E9ZnsgBwsofa6ugtFIG0juVYo/AVNkO92XPGA2kx6Fg=; b=xeTx0wI7CN1iSgtLYVQwA2Uz8MLxFdYckftpvj4fgC4sWklzJaRe2C+DGJZzBrebC6 wf543kwRu5EjXTd1hBRECK/IVvaT2bcbbLxjNluPjjru6EOjQP8T/1DuM+JmA5CY1RzH Ft4dx26f2mwytCgm78uz8f0WQQ7PXknANq39EUXsVPqfOKihHCsMDwLyBkXaAFd/UbXG Gncm7m4VPGgiUUNDOXEKGBz+/+NYyKVqCmA1A5nSdq1WRQHCelPWMqRAQxKEjT3be+8S ZpSzi91hkLpeBGSfp79lYZJJzuQd3TVT709mlyhopB4bvXiHtJpx22CwtzdVQk/vS5pj N43g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i12si45145uaa.187.2017.06.14.07.01.07; Wed, 14 Jun 2017 07:01:07 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 5AD5660C0B; Wed, 14 Jun 2017 14:01:07 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED 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 CF0C66095A; Wed, 14 Jun 2017 14: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 4A72C60962; Wed, 14 Jun 2017 14:00:18 +0000 (UTC) Received: from forward2h.cmail.yandex.net (forward2h.cmail.yandex.net [87.250.230.17]) by lists.linaro.org (Postfix) with ESMTPS id 7D1F4607DB for ; Wed, 14 Jun 2017 14:00:12 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::26]) by forward2h.cmail.yandex.net (Yandex) with ESMTP id 2EC232105E for ; Wed, 14 Jun 2017 17:00:11 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id 1C6605081192 for ; Wed, 14 Jun 2017 17:00:09 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vEJAb7F2pl-08mmmsWX; Wed, 14 Jun 2017 17:00:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Jun 2017 17:00:05 +0300 Message-Id: <1497448806-6482-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497448806-6482-1-git-send-email-odpbot@yandex.ru> References: <1497448806-6482-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v2 1/2] travis: add sudo for missing tests 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: Maxim Uvarov Add sudo to make tests run which require root. Also do not run tests in parallel for coverage case. It's already very slow and performance tests eat all cpu time. So the is situation where tests can not fit in any reasonable limit frames. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 49 (muvarov:api-next_travis_fixes) ** https://github.com/Linaro/odp/pull/49 ** Patch: https://github.com/Linaro/odp/pull/49.patch ** Base sha: 4f97e500a097928e308a415c32a88465adc5f5cc ** Merge commit sha: 3380e6fad8d778fc892b47ce2b0cbaafb29fa219 **/ .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d1ca5a66..df25d658 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,7 +130,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - - make check -j $(nproc) + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test env: TEST=distcheck @@ -138,7 +138,7 @@ jobs: script: - ./bootstrap - ./configure - - make distcheck + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make distcheck - stage: test env: TEST=doxygen compiler: gcc From patchwork Wed Jun 14 14:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 105518 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp307868qgd; Wed, 14 Jun 2017 07:01:54 -0700 (PDT) X-Received: by 10.55.71.205 with SMTP id u196mr248600qka.7.1497448914617; Wed, 14 Jun 2017 07:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497448914; cv=none; d=google.com; s=arc-20160816; b=t0KdTX451jzaDfMiGHi6KDxq7ZOyqkNlxGI7pbBf9GYirnTeaZRvXnmdxZAYufolma UhqjCoph2GOQw5N6KKSzpZpXhQtS/6QVi2TZ3yvXZ4FhRRtidlU4YbeLMluphjwwS0mz rnqFpx07h1Mktsh2apSe/Ga7dDIID8MhYIKKZ7IwzUHaC9Ut7VGf5sYaNo3LlHsyQiIV 9e0I4cDXIch7/pfSw8VH+X3okEN0ovUc/Yq6f8/hUFlvTvIaLZF+jGfKNhmUVQ+VXo8H KYlhbZkz3gfA8K1vYjP+bpTeo4j8d/bEJhlglv6+WLhSanoo2z2crRz/DUX3TgmJqrmN vwRQ== 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 :arc-authentication-results; bh=vv6dLnAe5jraANnevnyA+oSJjgGyUTFDCutsa2YRdmg=; b=X/o+V7SMSq5F18rI34OutazF+iSqJtrFZJGuLvaYHNqf/dyI4b2ojquo03uIGHbaMS rUPd0dJ8f6A5FfsuphcDdvI4BbZ87TOe4xDxdppgxW11aAIBxsZ5wsORzTA2vNm3ZdQ8 axtTn5VXRcqPJf6J1Q9fzQ5NPhxfbmV+PhJvXciC3Jfm/SYmTDCCCRpTaUZByDZV5bm0 cBUZe5nmX0BZln829s+O+IE0KkaBz4pTPRZXRLH7/zqis99Txw5VbMAIrGlKenuSxwt1 ol6X1lo+JtWFneS2ulrqT+jNbUixpR97hOMjJG1ct7mDw8P2nDb/fSELfCHAUbF39joB kSpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z51si77262qta.307.2017.06.14.07.01.54; Wed, 14 Jun 2017 07:01:54 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 57EEA60962; Wed, 14 Jun 2017 14:01:54 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED 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 C569B60C0C; Wed, 14 Jun 2017 14:01:00 +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 6072960C10; Wed, 14 Jun 2017 14:00:57 +0000 (UTC) Received: from forward1p.cmail.yandex.net (forward1p.cmail.yandex.net [77.88.31.16]) by lists.linaro.org (Postfix) with ESMTPS id 70EAE6013B for ; Wed, 14 Jun 2017 14:00:21 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward1p.cmail.yandex.net (Yandex) with ESMTP id 361712126D for ; Wed, 14 Jun 2017 17:00:19 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id C2C5C5080D92 for ; Wed, 14 Jun 2017 17:00:10 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vEJAb7F2pl-0AmGuSHs; Wed, 14 Jun 2017 17:00:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Jun 2017 17:00:06 +0300 Message-Id: <1497448806-6482-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497448806-6482-1-git-send-email-odpbot@yandex.ru> References: <1497448806-6482-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v2 2/2] test: l2fwd pass under coverage 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: Maxim Uvarov env variable TEST=coverage is set, use it to not fail under gcov run which is really slow. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 49 (muvarov:api-next_travis_fixes) ** https://github.com/Linaro/odp/pull/49 ** Patch: https://github.com/Linaro/odp/pull/49.patch ** Base sha: 4f97e500a097928e308a415c32a88465adc5f5cc ** Merge commit sha: 3380e6fad8d778fc892b47ce2b0cbaafb29fa219 **/ test/common_plat/performance/odp_l2fwd_run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/common_plat/performance/odp_l2fwd_run.sh b/test/common_plat/performance/odp_l2fwd_run.sh index dd42ede9..2c03fbcc 100755 --- a/test/common_plat/performance/odp_l2fwd_run.sh +++ b/test/common_plat/performance/odp_l2fwd_run.sh @@ -96,6 +96,9 @@ run_l2fwd() ret=1 elif [ $ret -eq 0 ]; then PASS_PPS=5000 + if [ ${TEST} = "coverage" ] + PASS_PPS=10 + fi MAX_PPS=$(awk '/TEST RESULT/ {print $3}' $LOG) if [ "$MAX_PPS" -lt "$PASS_PPS" ]; then echo "FAIL: pps below threshold $MAX_PPS < $PASS_PPS"