From patchwork Wed Feb 14 18: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: 128371 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp875154ljc; Wed, 14 Feb 2018 10:00:26 -0800 (PST) X-Google-Smtp-Source: AH8x2277u3SZDdTFK53wca6DJtsSyBGy2GROBrV7Xx1QKHwlXM9FZsFhc0rZy0nqXk/Wx7xW/FAO X-Received: by 10.55.245.9 with SMTP id l9mr9029741qkk.301.1518631226727; Wed, 14 Feb 2018 10:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518631226; cv=none; d=google.com; s=arc-20160816; b=QSADojDNviZFmiiZZKQn4o9M1sd/fZZMtq864lZ/HnL48DhmIq7rc+4cWa+qYRnmMk nmNNiH2esY3E7mfqmQKvkJeKGYp9jn05mXBS4GwzWBncfJepQUwAtgMwXSpCfU8MNUg8 cAjEzd9ztSpu2p/mVQo3uHvcjjXx8LwvW4upFbYsfMGN6IzwLj2oPsIVsyUawiabOmkf Y6vqWHkcIILx7HchPrXlY8GCjzLNvON9G9BDq7zj9dSSY9dZwVV8VA0er2kAqMFgs2f2 Q8UwY2Y7FwbbYzB9dXfxpRtkWgIn0rdY2cr+0ZnmlNzkGLgCL9NmVTRadozLtM2v/Q0w SD4g== 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=p9M1rypkIT3gtgXrOsQsuZe8juH8UqehEkb5Kb4z3us=; b=MQz1gDePbeEvqgBgygM2bMW7cVVOqbRxummJZlfLxuFlvT4E1JP7B1oURcTMcO+iDq fYPFD9IAAF6ZAE9A/LvhMoJisswbVgCik70/D1PImH/b3QMPoZdV2iWeHG4sfK+cG/MJ ZYcqB/TExu25qFLXAkUR15CPslhWgJAXch08fupRUHj5dW+qsI8XellczeXl823tgjyn oYZJBbJVw78WInXVbSRbsBSR0KKoZACn40WNkfnw5d57gGfUEYHnSmSFrnu4Q42YunvM F0TPwNUnzkF0fB3+houKhfIj4zy+w0UV8FgOsM9SOobm5p8De1hIn/HbuhstPBV3dbQR LXNA== 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 h52si570472qtk.318.2018.02.14.10.00.26; Wed, 14 Feb 2018 10:00:26 -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 E096B61745; Wed, 14 Feb 2018 18:00:25 +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_H2 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 58FC0617DC; Wed, 14 Feb 2018 18:00:18 +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 A1DC361784; Wed, 14 Feb 2018 18:00:14 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 4533D61784 for ; Wed, 14 Feb 2018 18:00:12 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 7AD14184E70 for ; Wed, 14 Feb 2018 21:00:10 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id vqSpfCsAZW-0AYeXatM; Wed, 14 Feb 2018 21:00:10 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id K048O0T2x2-09eCiX1R; Wed, 14 Feb 2018 21: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: Wed, 14 Feb 2018 21:00:08 +0300 Message-Id: <1518631208-21165-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518631208-21165-1-git-send-email-odpbot@yandex.ru> References: <1518631208-21165-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 480 Subject: [lng-odp] [PATCH v1 1/1] validation: tm: auto skip test on Shippable in addition to Travis 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 Apply the same workaround as we have on Travis: retun 77 to mark the test as skipped if we detect failure while running on top of CI. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 480 (lumag:shippable-tm) ** https://github.com/Linaro/odp/pull/480 ** Patch: https://github.com/Linaro/odp/pull/480.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: cd707e23c12159e50f41ac7b372a0c70af905d13 **/ test/validation/api/traffic_mngr/traffic_mngr.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/validation/api/traffic_mngr/traffic_mngr.sh b/test/validation/api/traffic_mngr/traffic_mngr.sh index c4e2d2976..c88aa805c 100755 --- a/test/validation/api/traffic_mngr/traffic_mngr.sh +++ b/test/validation/api/traffic_mngr/traffic_mngr.sh @@ -31,9 +31,7 @@ TEST_SKIPPED=77 traffic_mngr_main${EXEEXT} ret=$? -SIGSEGV=139 - -if [ "${TRAVIS}" = "true" ] && [ $ret -ne 0 ] && [ $ret -ne ${SIGSEGV} ]; then +if [ "${CI}" = "true" ] && [ $ret -eq 255 ]; then echo "SKIP: skip due to not isolated environment" exit ${TEST_SKIPPED} fi