From patchwork Thu Aug 30 14: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: 145539 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp34800ljw; Thu, 30 Aug 2018 07:01:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZawQc7fKowilmYKYCfM+6W9qJXaj8AflEvmwXaVq5deUsrIfwP3NXPy5azXV4zE1mM37sF X-Received: by 2002:a37:4802:: with SMTP id v2-v6mr11206749qka.212.1535637715047; Thu, 30 Aug 2018 07:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535637715; cv=none; d=google.com; s=arc-20160816; b=Lu9AEqRSapuOmqj7QfY9AtiCum+woxx84TMhRbjkOI/VFWlYDwxi9dX1AXM4iasIX+ vO4uLSb0xO/B1L3gxZ5680AfUinBPsPgkqvqpiSp5G2+ORlwOILGRn1KaBCyKCewAzTg uN4HtORBXvlHu6UatyS+EsWo5FQZBIGRwwU7MxAvMhWggkgvtRYibanEqrcp4IoRR1em tLiLCgWSZ94B58388dCJVoXtTryZZZzHciayOJF2KoNf1aazuo/omIhFQkpFsDaW2MnO mGoAwzov+XGmZjK4rCyHu8taBxCH1IxfRQEapdlzPfZVw228pxf6ysazLOR4MZhRTmSJ XBGQ== 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=yh3MapoyM4/nnPCiVqBMLn8gsl94Dtmeb4o4e31u7t4=; b=lkhUoZboWrho6VjJoY2V3amWmY0XlSXjqdwCuz+Hn09B+rrymw6Ipp8+nyPhMImfw8 f/gfE+Edmsuq8u3ASrVgSOLHI19iVZB35IdvQTT/XbwVAcNEXyij6QZQvkoqksVizzeM yeaCqaFlgYMY23ZO7UCXgmWFSY4g9Nes7z7miqou7e53CJv92vUDXay23PiZtjI1H7ss +MzuQhLZvjLyCphJj2qiblnUgkgJjqCaHzSvcjmfmOP3MzDVrvS1JbgC97B0Sup3WtW8 voR2RSVwWxVlvICC+N4tBWKGNRJXIcZ4OUNG7E5u/w0f6C/ZIQfgnjt9y4Ig+Bk0555F ZC5w== 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 b127-v6si6524278qkg.170.2018.08.30.07.01.54; Thu, 30 Aug 2018 07:01:55 -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 A7B54616F4; Thu, 30 Aug 2018 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=-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 2877960916; Thu, 30 Aug 2018 14:00:39 +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 204D7616F4; Thu, 30 Aug 2018 14:00:17 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 19F5D60F48 for ; Thu, 30 Aug 2018 14:00:12 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward103j.mail.yandex.net (Yandex) with ESMTP id 80E2134C6387 for ; Thu, 30 Aug 2018 17:00:10 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id W68rp31not-0AaSsTLt; Thu, 30 Aug 2018 17:00:10 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id U0yfFV2dC9-09ea2XDT; Thu, 30 Aug 2018 17: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: Thu, 30 Aug 2018 14:00:06 +0000 Message-Id: <1535637606-854-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535637606-854-1-git-send-email-odpbot@yandex.ru> References: <1535637606-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 688 Subject: [lng-odp] [PATCH v1 2/2] travis: let after_failure task print logs 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 current print logs are not executed due to set -e, let after_failure task print logs if return code is not zero. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 688 (muvarov:devel/master_travis) ** https://github.com/Linaro/odp/pull/688 ** Patch: https://github.com/Linaro/odp/pull/688.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 49a6fd7f7a454239a65b37aefb94d5188e9744d1 **/ scripts/ci/coverage.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index 2f285e95c..18e2e9806 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -22,25 +22,9 @@ mount -t hugetlbfs nodev /mnt/huge export CI="true" ODP_SCHEDULER=basic make check -if [ $? -ne 0 ]; then - find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done -fi - ODP_SCHEDULER=sp make check -if [ $? -ne 0 ]; then - find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done -fi - ODP_SCHEDULER=iquery make check -if [ $? -ne 0 ]; then - find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done -fi - ODP_SCHEDULER=scalable make check -if [ $? -ne 0 ]; then - find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done -fi - bash <(curl -s https://codecov.io/bash) -X coveragepy