From patchwork Fri Feb 2 05:00:07 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: 126607 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp297465ljc; Thu, 1 Feb 2018 21:01:21 -0800 (PST) X-Google-Smtp-Source: AH8x224wuwp2Ts6901WgSYZ+ATn2IQPxcKkNap9MdGV/q3JBGv8YmDO1rmuqaHnlurJCYVoPN9jh X-Received: by 10.200.7.74 with SMTP id k10mr65638483qth.333.1517547681616; Thu, 01 Feb 2018 21:01:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517547681; cv=none; d=google.com; s=arc-20160816; b=vcdNzH2Lc18aXzwtmsmA9+FZ9OZh8zBIAhh2kyd3uVQ2KhJiKFpVLWZR+olLIQLozc HU8TFY4gy62S/kFjSWSg6EIoI/vErH31n9aKbgkfxZ/e3hKygdtn2gV6WxWXDK0v3NPj sWofRt2SkDRq+6GTEtABilIG14EpCrV3RIZG8eZujJcCl/6GWj3F81vxqngRruiDOpv2 +qIFYL1ndnLpAakMgaEV4PxWcQDR13cSeV3a9CgP4NxrfmT1WxtReN8GAF+bWCJyVZ9R GOLtqXKr06hEmEp5CRC/zY2ZskPEAziLALND1+cFJS9mGmf4v3ryDjpWSqKdppqTtcQX gK5Q== 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=7fnQQluv15LAPG7jnSgD0oQgTMUkTWU4gbyLjYi+ptU=; b=KYFW5NFx0l4ZOb6N0/JIzuRtf7fhcWjpcjxY/7e8hfp+RcAKrNtEHjtoEshih+n6Uv z9+L47uQJdK5e3TnNV1jBVnHPEqASnKdsKd97OMJn8dqmov2xPkZrmhuUmNnO+5WwS6j X8IsxXAyef6bRFvkC6oUtSBn1jdVdMssok3uutHkJjsfCui4oD0CCBxHXNv0ztygwXWw lTRcnWNorNCO56AX67ojjai5S7zniKMMYEVccLD/T0Ll1wb1i/DjtpCr4ZrPeS3sogZq FL/1phYzJ0BJB5Xl7etzAXKX8iJxRBER9pRvTMoLQYUvz5CK3om7HLYtd2SrHMZ3E76b hQBA== 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 m5si1412528qtn.91.2018.02.01.21.01.21; Thu, 01 Feb 2018 21:01: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 4D2FA61761; Fri, 2 Feb 2018 05:01:21 +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 F290E61776; Fri, 2 Feb 2018 05:00:23 +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 4AAB660C95; Fri, 2 Feb 2018 05:00:17 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 40C48608AC for ; Fri, 2 Feb 2018 05:00:15 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward100p.mail.yandex.net (Yandex) with ESMTP id E08735103DF6 for ; Fri, 2 Feb 2018 08:00:12 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback7g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PSB1CeDbws-0CG4aZgU; Fri, 02 Feb 2018 08:00:12 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id aatf6F0TOI-0C1KcH6M; Fri, 02 Feb 2018 08:00:12 +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: Fri, 2 Feb 2018 08:00:07 +0300 Message-Id: <1517547610-12781-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> References: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v9 1/4] shippable: report test results even if ci step failed 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 According to the documentation post_ci is executed only if ci finished successfully. Move test result reporting to separate script and call it from on_success and on_failure steps. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 441 (lumag:shippable-ci) ** https://github.com/Linaro/odp/pull/441 ** Patch: https://github.com/Linaro/odp/pull/441.patch ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd ** Merge commit sha: 8292dcc3e703b4e5cff5c6dc6e68721d292b3768 **/ .shippable.yml | 10 +++------- scripts/shippable-post.sh | 9 +++++++++ 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100755 scripts/shippable-post.sh diff --git a/.shippable.yml b/.shippable.yml index 9bc2cb6f7..35292d983 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -40,14 +40,10 @@ build: - make - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check - post_ci: - - wget https://raw.githubusercontent.com/shawnliang/cunit-to-junit/master/cunit-to-junit.xsl - - | - for FILE in `find ./test ./platform/ -name "*.xml"`; do - bname=`basename $FILE`; - xsltproc --novalid cunit-to-junit.xsl $FILE > $SHIPPABLE_BUILD_DIR/shippable/testresults/${bname} - done + on_success: + - ./scripts/shippable-post.sh on_failure: + - ./scripts/shippable-post.sh - cat config.log - find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done diff --git a/scripts/shippable-post.sh b/scripts/shippable-post.sh new file mode 100755 index 000000000..ed5a44168 --- /dev/null +++ b/scripts/shippable-post.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +wget https://raw.githubusercontent.com/shawnliang/cunit-to-junit/master/cunit-to-junit.xsl + +for FILE in `find ./test ./platform/ -name "*.xml"`; do + bname="`basename $FILE`"; + xsltproc --novalid cunit-to-junit.xsl "$FILE" > \ + "$SHIPPABLE_BUILD_DIR/shippable/testresults/${bname}" +done From patchwork Fri Feb 2 05: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: 126606 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp297095ljc; Thu, 1 Feb 2018 21:00:52 -0800 (PST) X-Google-Smtp-Source: AH8x224D8L2v0O7LFgMlQnVIOe4ZvDjEZEPpE8PSFOkw/0GNI7SZN2YLcTuzKlVEcQJolmqbyM2O X-Received: by 10.200.34.194 with SMTP id g2mr59475424qta.302.1517547652621; Thu, 01 Feb 2018 21:00:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517547652; cv=none; d=google.com; s=arc-20160816; b=aLAEzNGtSlUtmdYHf4N6PzycmYZXXFo469gK9/voCp7FnITprNFvJqlnMf61DpOYWy LcKNZLfIdrO/b97GlhDtc2eB5B7aRCF79f+hX2hZcDj3OsmbA/FWtOqVtJT/k1Ig0pIK WsSljKwj0fLmJNaF5N7CAnEndj0reQ3p6sMSfB8Vb/Qa9YcoCqzm4mCdDkcC9c6rlqaA MpNNs1zh7CE3GYJGZxNA62d1kYh35UOHGJRU9VRefO+qvAcWxm6zBkhNxbBJi9RYxrQh zt3VQyH5bifbD/y5vUjX519jUiO/uwojI+1JAtiEnzv6SWH+CdXeWMnAbTbRJtUoIO2j F1xQ== 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=wWO5iMrZQviHylsnMovspkBZuUMOOu/R7yUJ66wd42k=; b=CibNBUSdWOBi9MhHFLXZg+qkz9rzEaGvIMW+QBcTrOaMLsncQ8QN1+KbV0XOO/G5cU CHu4mHNf9kVyMFpK53CncwNVHJ+o/+4HcrfM5MfVMCMkmT+8anWMGA9EeWOb7AaOVogr DvrxZ7z/bY8Q5Yjb3UrsQ4c2NnCcZ7W5uSjh8He3AuT0v1LKZ4x3lGMOoRMK74vWdsTb HIKwP5Ua7aycESq9pvnFIkanUW8sacxcovvjRkOLD8KKU9x6qH9JdIkgbsOi36RHIn9P 9BqxE1aat3pWSt2sfEoOJ0zTMrOGGV9pheRwOZ6WQGx+dKPjO8y4BGBadUkqKLmvDvq3 mfcQ== 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 z4si1282004qkl.441.2018.02.01.21.00.52; Thu, 01 Feb 2018 21:00:52 -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 46BC26179E; Fri, 2 Feb 2018 05:00:52 +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 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 8CF8361765; Fri, 2 Feb 2018 05:00:20 +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 B95B4616F6; Fri, 2 Feb 2018 05:00:16 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 5D9AA6093A for ; Fri, 2 Feb 2018 05:00:15 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 918042D834F9 for ; Fri, 2 Feb 2018 08:00:13 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id V5RM4W50qn-0DtCBoZE; Fri, 02 Feb 2018 08:00:13 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id aatf6F0TOI-0C1iHnJL; Fri, 02 Feb 2018 08:00:12 +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: Fri, 2 Feb 2018 08:00:08 +0300 Message-Id: <1517547610-12781-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> References: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v9 2/4] shippable: run all 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 Use `make check -k' to run testsuite, so that all tests have a chance to be executed, not stopping after first failure. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 441 (lumag:shippable-ci) ** https://github.com/Linaro/odp/pull/441 ** Patch: https://github.com/Linaro/odp/pull/441.patch ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd ** Merge commit sha: 8292dcc3e703b4e5cff5c6dc6e68721d292b3768 **/ .shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shippable.yml b/.shippable.yml index 35292d983..a9e008439 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -38,7 +38,7 @@ build: - ./bootstrap - ./configure --disable-test-perf - make - - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check + - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check -k on_success: - ./scripts/shippable-post.sh From patchwork Fri Feb 2 05:00:09 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: 126609 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp298270ljc; Thu, 1 Feb 2018 21:02:25 -0800 (PST) X-Google-Smtp-Source: AH8x225wuy8QgqQP9RO3pI6BYLnMZm5+suoKyAwf1y6zWU0WZdtQf33meU6YhPVWImN+TAmqoFws X-Received: by 10.237.54.132 with SMTP id f4mr58870620qtb.139.1517547745043; Thu, 01 Feb 2018 21:02:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517547745; cv=none; d=google.com; s=arc-20160816; b=QwL9WOnanKWPPVia72XgW51QlvYT1UWOKTARjriY/+bIpqSozEg9UMK/cCrM1neSaE IM2/9J6uuqzVslr74UN2c73uPfT7/QxdDYcPjhsJUeqkj0Rt8NZqmGkPNpEno+CjT54p 3T8+5tFTpNR78fjzaqjBgpt2YXDcvhRaEXoduJTaiujke9yKUNrmKAmWPMt+BnimEhua 9lwWJ6qxcC0S9wOrwXNW5Scsg1/kioKAdiEp3jh+1dLfKPUKnVteMM6+kUAmvD2bmylP c+0ucKZMq4McCrOt70aH1bIKdVHT71vnSdLOMeYKe0kKDzqw0idpGBukDoD9sfwl2PsQ I0jg== 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=/nLtxXXFjlVKWhxdKzI+XBfpJHvJsOaN6DXKXAlokYI=; b=Jy3pvQBhUkORZe2DKXIY60tCA2YXWBpTkSA6fQzttHDFX/jJDh1A9bGNa2ePXH+v6j VZMKnkEZmR6sLhpGsporl4OkmIu5eOecqwVAzbDGhUi3o1kndaRBjR2kyNrxNokpf6lO WCnyc+m0jyhBo0vZ7nYr5qBxlOmYOxhkRArD7W8GD0HwWLFHxOWstw2hRnEZqgKXGrkF r2xXKbrTZJZ3ovG+2VcFArtsH2hCSHV0tNCUDK5LIQEFDkNKaXn+GRAm1aCeRDnWKcut lIOdzez1jUbW9H3IfUrsjgwYOF/1c02A94L4PpCwTnW87hMdLtNzmvPJpgBlGw6oa+su Z6NA== 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 u127si1251907qkh.464.2018.02.01.21.02.24; Thu, 01 Feb 2018 21:02:25 -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 B5EC56177F; Fri, 2 Feb 2018 05:02:24 +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 CA2276177C; Fri, 2 Feb 2018 05:00:52 +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 1A712617A3; Fri, 2 Feb 2018 05:00:50 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 2E21D6175A for ; Fri, 2 Feb 2018 05:00:20 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 210106A81254 for ; Fri, 2 Feb 2018 08:00:14 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KtCOS9GENs-0E6m8gCF; Fri, 02 Feb 2018 08:00:14 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id aatf6F0TOI-0D1iiuM9; Fri, 02 Feb 2018 08:00:13 +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: Fri, 2 Feb 2018 08:00:09 +0300 Message-Id: <1517547610-12781-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> References: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v9 3/4] shippable: set CXX for clang case 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 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 441 (lumag:shippable-ci) ** https://github.com/Linaro/odp/pull/441 ** Patch: https://github.com/Linaro/odp/pull/441.patch ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd ** Merge commit sha: 8292dcc3e703b4e5cff5c6dc6e68721d292b3768 **/ .shippable.yml | 1 + scripts/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index a9e008439..d17319e70 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -36,6 +36,7 @@ build: - sudo mount -t hugetlbfs nodev /mnt/huge - mkdir -p /dev/shm/odp - ./bootstrap + - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi - ./configure --disable-test-perf - make - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check -k diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 7e117971d..3e1d54dbd 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -25,3 +25,4 @@ RUN sudo apt-get update && sudo apt-get install -yy \ RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang +RUN sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++ From patchwork Fri Feb 2 05:00:10 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: 126608 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp297924ljc; Thu, 1 Feb 2018 21:01:56 -0800 (PST) X-Google-Smtp-Source: AH8x226otw44w6CpFXVlwqJXF0XU8OkuQ9T4LJRry14KKk3ciFTkWZ6SQjd0V93goAuNiNSmfLrR X-Received: by 10.55.112.132 with SMTP id l126mr30681950qkc.63.1517547716683; Thu, 01 Feb 2018 21:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517547716; cv=none; d=google.com; s=arc-20160816; b=LmdgMitxTOQXSd63rNB1q3ZjYhtxv/sLJb85GjhwN4yxiUD4t+FM5Ziwjw86C5mUXV M9sBdoDx1CMw1E80iy/V5CmmET3c8S1BGqltFJ/tb/OtL3eZb8m9krfDQgq7uRu9Te5W 2HNIlLNsrYJwUg8VdIlokuCbQsa+MORPp88+I2XtsrNuEiqvlnOcm9ZUGAUYqv0fWL8l uSb+lQ0IUSn4o968coRzCX0oXSOzTR1oEB9PX+0V0Sn2NUqtvR27jI6iqlbD+4dhHmdB ORHoTd/D0Ob7b7pIvq78hLqh6ye13AQRYczSb3C13JBUHSv48FK1NW+RXDFwW7f/ARz6 hqow== 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=g42RULO/PAcjqHPw1ariDdwDab0W9rP2w+VN9MOvPGE=; b=V8jtxpii53Zs5mVlGmo8ZV4sEFZnGvWwKH+B732BJ8lKcCJzxPbuo8CG3sbauJgXOQ Y4by2t/AVv02oGC6qnnA78UVS/kw2mW6R9sJ9bpKSvmLOmYqXBXB7sg1C9q+oARCz8W8 cDHUqSb5Ji3L14j06FZrIsMPS38Wp5lnPn7+vfqiKplGkCir7dqE8FNKWu9QcVsI89x6 fqsSU51LoOBWdLghcI+VGjp+rHMCbeyqw7Q6LlBpeki6qRDZkMN0QylADCSOy+NnmPEe w37QeP9y0M1TbgyAfOQiPRjEcWGKXEfeJLG2L+2BaAWRVsBA83Y0Ji7/skgiPYLxZ5lB H28g== 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 g4si582826qkg.211.2018.02.01.21.01.56; Thu, 01 Feb 2018 21:01:56 -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 5271A6175A; Fri, 2 Feb 2018 05:01:56 +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 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 497E76178C; Fri, 2 Feb 2018 05:00:27 +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 823A56093A; Fri, 2 Feb 2018 05:00:18 +0000 (UTC) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) by lists.linaro.org (Postfix) with ESMTPS id 3E06060949 for ; Fri, 2 Feb 2018 05:00:16 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward102j.mail.yandex.net (Yandex) with ESMTP id BC4765605B4C for ; Fri, 2 Feb 2018 08:00:14 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HkfF0pyeW7-0Eumxlrl; Fri, 02 Feb 2018 08:00:14 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id aatf6F0TOI-0E1it4P4; Fri, 02 Feb 2018 08:00:14 +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: Fri, 2 Feb 2018 08:00:10 +0300 Message-Id: <1517547610-12781-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> References: <1517547610-12781-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v9 4/4] shippable: generate code coverage reports 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 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 441 (lumag:shippable-ci) ** https://github.com/Linaro/odp/pull/441 ** Patch: https://github.com/Linaro/odp/pull/441.patch ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd ** Merge commit sha: 8292dcc3e703b4e5cff5c6dc6e68721d292b3768 **/ .shippable.yml | 2 +- scripts/Dockerfile | 1 + scripts/shippable-post.sh | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.shippable.yml b/.shippable.yml index d17319e70..c46baf3ef 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -37,7 +37,7 @@ build: - mkdir -p /dev/shm/odp - ./bootstrap - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi - - ./configure --disable-test-perf + - ./configure --disable-test-perf CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" LDFLAGS="--coverage" - make - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check -k diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 3e1d54dbd..dc4411aa1 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -10,6 +10,7 @@ RUN sudo apt-get update && sudo apt-get install -yy \ ccache \ clang-3.8 \ gcc-4.8 \ + gcovr \ graphviz \ kmod \ libconfig-dev \ diff --git a/scripts/shippable-post.sh b/scripts/shippable-post.sh index ed5a44168..9eae06262 100755 --- a/scripts/shippable-post.sh +++ b/scripts/shippable-post.sh @@ -7,3 +7,6 @@ for FILE in `find ./test ./platform/ -name "*.xml"`; do xsltproc --novalid cunit-to-junit.xsl "$FILE" > \ "$SHIPPABLE_BUILD_DIR/shippable/testresults/${bname}" done + +mkdir -p shippable/codecoverage +gcovr -r . --xml-pretty --exclude 'test/|.*/test/|example/' -o shippable/codecoverage/coverage.xml