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