From patchwork Wed Feb 28 16:00:08 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: 130009 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp1704862edc; Wed, 28 Feb 2018 08:04:21 -0800 (PST) X-Google-Smtp-Source: AG47ELtVMxrIOL9beuJsT0Ai4DhhjY085QTB3hxvpGUAMVouUAWJhdJPDgAbFS3JYPrtD1KiW7w8 X-Received: by 10.55.71.201 with SMTP id u192mr28296298qka.357.1519833861628; Wed, 28 Feb 2018 08:04:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519833861; cv=none; d=google.com; s=arc-20160816; b=PRXuuEz2aUZQgSlwuiobtTkNSnQ3tNaf8WBH9rCXA8zIAk/ak2vwF5k3sN5WVEF95T dPBfy35egswRLNG5a4qa/2mm6d9mvIOh6WO6Mf7VnW63lk7y06Bx2uPbjfiSGZ/hEY0U wlNudH/IdCl533glaefDuxYLxZCVnKIWt3cAWXVmLvVIOtPgAfWIPVKMWNTCejjaAp0v EtNLSTfLy0yV/bYJG6g6qOtKo0AvTrQn0KCyCcJotDLtblYOip1v0Qq/GDimHzdqgPvK jrxa61o7TAksefb6iV7PKEOJBE8P9sRY1ngsjpyUREWhwmqRGlnNe7T/7+26V86LB/Ey EpyA== 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=VydbNleJa2+PwqpU5oIUUryE6nAu2ZH1zuxjNkLGomM=; b=RUuWHj2uW5wlHggpgoFDYcsy390oqS19ZNmN84MggApTCEHmI7F+Ea3g2F+OUbjt/k JjfN4rEve3Zr07SifnJyIac9mVrTAAqrY9ud3a/59EffDr0HNtkqsPJlb7PzgTEUTnyn O8aby7igdXz5aTqNy/xveZtA8giwTSFM7hlg6xlSOaKw0Atm1vuAURK6GD18m65Ub4Xb cjPUy2d0PDAp3u021XRXlGcN76QSic+sT9p7k3FG3OfBvlS0T9AG+c4WuSXbKf1Tqow/ Lj02DJl/cA3AGzDEW0AaEdvAz4eigDGiioe2/XBfUTtQPOK7+6n2d0EuAT5sFIajOUJu wLTw== 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 o34si2037303qte.18.2018.02.28.08.04.20; Wed, 28 Feb 2018 08:04:21 -0800 (PST) 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 B35A3616FC; Wed, 28 Feb 2018 16:04:20 +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 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 A13266171F; Wed, 28 Feb 2018 16:03:21 +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 28378607A9; Wed, 28 Feb 2018 16:01:11 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id B631B6064C for ; Wed, 28 Feb 2018 16:01:04 +0000 (UTC) Received: from mxback13g.mail.yandex.net (mxback13g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:92]) by forward103j.mail.yandex.net (Yandex) with ESMTP id A6FA934C36A0 for ; Wed, 28 Feb 2018 19:00:57 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback13g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZTBpAkDv8a-0vWm1GxI; Wed, 28 Feb 2018 19:00:57 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id WhkLhha0yg-0FqCognZ; Wed, 28 Feb 2018 19:00:15 +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, 28 Feb 2018 19:00:08 +0300 Message-Id: <1519833608-31223-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519833608-31223-1-git-send-email-odpbot@yandex.ru> References: <1519833608-31223-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 503 Subject: [lng-odp] [PATCH v1 1/1] shippable: pass CI=true to 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: Dmitry Eremin-Solenikov sudo will strip most variables from host environment, including precious CI=true setting, which we use to skip some obscure test results (like traffic mngr) if tests are running in non-isolated environment. So enforce CI=true when calling tests. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 503 (lumag:shippable-tm-fix) ** https://github.com/Linaro/odp/pull/503 ** Patch: https://github.com/Linaro/odp/pull/503.patch ** Base sha: 84d072b5c7327437cae7a13333dd35ab9777ce14 ** Merge commit sha: 53dcf66f15c10d85ad7e77a300270e410138d835 **/ .shippable.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.shippable.yml b/.shippable.yml index c01e3608e..9828ed527 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -41,13 +41,13 @@ build: - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi - ./configure $CONF - make -j $(nproc) - - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check + - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check - ./scripts/shippable-post.sh basic - - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check + - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check - ./scripts/shippable-post.sh sp - - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check + - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check - ./scripts/shippable-post.sh iquery - - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check + - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check - ./scripts/shippable-post.sh scalable on_failure: