From patchwork Tue Jun 13 19: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: 105412 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp556182qgd; Tue, 13 Jun 2017 12:00:44 -0700 (PDT) X-Received: by 10.233.220.129 with SMTP id q123mr1936127qkf.240.1497380444340; Tue, 13 Jun 2017 12:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497380444; cv=none; d=google.com; s=arc-20160816; b=zjt1J8lIk9RvQoYOBVD7x9xHWeEPPH74ogW7/n94G3gnU7eIlVQTyyi7LXe/oUenXQ thAOCNDXR66z7S9vtYr4CQrzJre4eRFnOq+upLbRFOQ9QnMwFANXhAh3nQAJf/KWZXe6 bwciVToOyZg/kghlOZBlZq1LgqzRyYZUQqVlvkivBD8fCi08NbH3AK0TJ2RWGUabeIx2 QRRYr/o5gpXKUsoulGXMa0HJDbo7ZOCgfkg8aZTDSp8MfEr2a8OeXtZi95oWqZqBw19T +of4Za0tlvAeo//MksTh1wENSxb1IQqVJ1zzfHERVw10yhRcRfXX50fIUGPlUMcH9n7p uPlw== 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=UY3k0nHcHjRQswv3ZVkdtpxCiY7iQ4A21bw1L0sf8Oc=; b=b8VQm1yM8jAmtMXum4LFSWkNRzc4xhJGjw3GCWF0IQ0mZBFc2geplkTk8zjlKvNPfJ g3aceOzXYSJ6zq3wbPflNBRLl+/b1r+M2zo9yPnIlEGozR72UL5huhQpvumIWng9ZLwt zIoePIK2sNuP1neaFbzeVvXGxreMy85gO9olqpRCYWohpiOe7QolsCUEdf9hCFhJuipr yYLWmyBGuX/zltQVIgyD4cgPH4ETS3pcojjY1y6r0G7orrqYd2J19W7qtvhPi496KRd3 tcdO4b8a3UeaJctCuMGsbAyqYFiQAi72RUvD1KpsXmOhewXHqse26oYJ9yUEJdt8GHor EG1A== 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 t190si842326qkf.49.2017.06.13.12.00.44; Tue, 13 Jun 2017 12:00:44 -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 F1B9F60A03; Tue, 13 Jun 2017 19:00:43 +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 06AA4607CD; Tue, 13 Jun 2017 19:00:19 +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 76014609E3; Tue, 13 Jun 2017 19:00:13 +0000 (UTC) Received: from forward4p.cmail.yandex.net (forward4p.cmail.yandex.net [77.88.31.19]) by lists.linaro.org (Postfix) with ESMTPS id 3585460732 for ; Tue, 13 Jun 2017 19:00:12 +0000 (UTC) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:6]) by forward4p.cmail.yandex.net (Yandex) with ESMTP id 2D92320D6A for ; Tue, 13 Jun 2017 22:00:09 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id 0CF961780BBE for ; Tue, 13 Jun 2017 22:00:08 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id m9Y45wPEbE-084eJq1n; Tue, 13 Jun 2017 22: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: Tue, 13 Jun 2017 22:00:06 +0300 Message-Id: <1497380406-6262-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497380406-6262-1-git-send-email-odpbot@yandex.ru> References: <1497380406-6262-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v1 1/1] 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: 431473dcede3c2c5449e29c398181112fae208bf **/ .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