From patchwork Fri Feb 2 03:00:15 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: 126601 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp233800ljc; Thu, 1 Feb 2018 19:03:54 -0800 (PST) X-Google-Smtp-Source: AH8x2244pRkyp4KVUnhQTHKVVYlfP0fNSAt1Sij4I3lF+o37vA/82T99uqLp7zIXB7QGuMt+cWav X-Received: by 10.55.77.80 with SMTP id a77mr54549743qkb.239.1517540634661; Thu, 01 Feb 2018 19:03:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517540634; cv=none; d=google.com; s=arc-20160816; b=GxRYnGrxk3MAgU8B/lewaCs9gmK+riv/znnFn0eQ/RPijN1l69UqyjFpFmH06O7UIH LuACrH95ZmOrJ6u6xZumjbbOZvEiiJsBd7RRLpQKGfiLF/DhHzEiOcsWtDu/hkosOngZ zizaVGSKWy78ziDAaptDjHgep2uY1seV9chzqpS5CihBL8HuG1npkS2Ns38MvwSwSccG jdsC5jM03fdfipy/bfDvuM6OUWlYeAHNJNWklYPhHTQMqz28kLD4IP6vtQTr614UJRpa 9oNwVDe9aQD0almSz9OPWMG0pxs/FRCqelMIkW+qwNo0whcV3rw2DpmNoLevYo7xmjMP 6JZw== 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=2cZVxyU3TapjdSe4+5tZreuRKQl3uqtpCLv0A/TogMU=; b=Vq5Vr6qbEQOGQh0qEF/2jdrUPVcdMZsjC2yz4ctdOY6ilkoBt+Sizsa9oGHBXcCc/y LiJxCIDatWMuo0vdlQP5oNClkUbEWNetSWpcD6gVdimGAK6CBNDfvhDbjxDLO8tXBhDo CLvSisVEHKPCQzlKr6Pq/DsztY1SIAlNe4vCLlpEigYPnH+ykk5D3F98nNojc6KAN7I/ fXFG4Slqic0cRg7DtEHjZeaZeuTjMdx2VEg+1za+dsPVr6e/54NCiMH2yw0Zf8Zttzbk vg69razwtThdhbHWpQoAtxwRCUXRRSzi0suw4Wx81++P2Cgg61VhGvsbjhgQN4zQQR94 9IQg== 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 g64si1093581qtd.449.2018.02.01.19.03.54; Thu, 01 Feb 2018 19:03:54 -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 4D4BD61751; Fri, 2 Feb 2018 03:03: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=-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 4E1D46175C; Fri, 2 Feb 2018 03:01:30 +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 382996174A; Fri, 2 Feb 2018 03:01:10 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id E03606150C for ; Fri, 2 Feb 2018 03:00:21 +0000 (UTC) Received: from mxback8o.mail.yandex.net (mxback8o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::22]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 2C1635A058B8 for ; Fri, 2 Feb 2018 06:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback8o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TudsAMwTxx-0K5ulSu9; Fri, 02 Feb 2018 06:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FgBxQsjFBb-0JjepPxc; Fri, 02 Feb 2018 06:00:19 +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 06:00:15 +0300 Message-Id: <1517540418-7976-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> References: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v8 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: fbf152e21e86dbe76314d60c9287bce9450d3f28 **/ .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 03:00:16 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: 126602 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp234168ljc; Thu, 1 Feb 2018 19:04:32 -0800 (PST) X-Google-Smtp-Source: AH8x227nQEUS+HyuBvhOt5NRNPtUaZ1xr+dHP3lJBoxPfRlMpibW4CsJyOnY1yN6KCzEZ3bf7D5Y X-Received: by 10.55.99.10 with SMTP id x10mr54505228qkb.307.1517540672340; Thu, 01 Feb 2018 19:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517540672; cv=none; d=google.com; s=arc-20160816; b=ECPOTEh+/7ABQiAkeYm9ODbMIHYHuUXA8CDZLad18QnnVjQHefthJl0ObnEHd6MEyM VcpF3vIDPqU4UhAc6Ggj8bFC084Y2LiTpL3CKnGfBLsOWfVc9+lPD27EaTa7MUmmZiot N/7EC/Ki0vzwTFYEQ4ZkFbmRvbWw37yL9RLbuZKPdmN8fwMAFdsNkDbhir6v+wpcxZs2 bYrJKnXlF9jPeFTBEuA1eYxtfoRgcCUoLJZezW2B/sN9ho62qrc7kzRJgHqEcv2SxnR0 +Rrh/6VS2051fHo23Ftop68EGLP/bDcTCHagbWEDgGpG9PMo7/Ml+v66X4vhYXR/9YPk eekA== 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=hnXkbsK5+7VkexrnLnERZcMlsRXVc0nJI2PdWgUL6ms=; b=PX+E+5ZscD2NMunbCDMy8dQC5DV+3Sv9ElrI4jONXrNsh53SHzm8MJsa54+Yix6iD+ PLXzFQJfcdRuN7fPOeiZhwnUV9GJYYlg4sc6PtEQfXd5Ym3PPwFQEOAUsWOvHJa8HLVo ELoTj6ILSY9Rrkf5WPXNwonP3XOy9O1yM0QIETzBXlTaN8ZWohkmCsu5aIqOYdUC1A1I utUNjKtmU9EgpvEyFsy3fJK5o6a2EQ+4N9P/LSgk0FXa60dlZGLV10rQa6FP1XO8Dvmj IIgI+os9aU5QtU4Ns4CJ0qrCNocJkzKrrIqPW/VAVhKzo2byIQG8HtqnY/o1JwYBRipn 8iQA== 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 e186si1092648qkf.365.2018.02.01.19.04.32; Thu, 01 Feb 2018 19:04:32 -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 01DCE61763; Fri, 2 Feb 2018 03:04:31 +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 95F1261769; Fri, 2 Feb 2018 03:01:32 +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 0E4D56173F; Fri, 2 Feb 2018 03:01:12 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 88C9A6174B for ; Fri, 2 Feb 2018 03:00:22 +0000 (UTC) Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward105j.mail.yandex.net (Yandex) with ESMTP id DC571184DA2 for ; Fri, 2 Feb 2018 06:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CYdTIBVVhQ-0KSWxxFe; Fri, 02 Feb 2018 06:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FgBxQsjFBb-0Kjqt2wA; Fri, 02 Feb 2018 06:00:20 +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 06:00:16 +0300 Message-Id: <1517540418-7976-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> References: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v8 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: fbf152e21e86dbe76314d60c9287bce9450d3f28 **/ .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 03:00:17 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: 126603 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp234534ljc; Thu, 1 Feb 2018 19:05:08 -0800 (PST) X-Google-Smtp-Source: AH8x226jpkt+HoHdskn30dtck7EpS6q2OpZSW39u4MxZaynzQGD0ECpkB9AbeCcjKrWplGAbjpu9 X-Received: by 10.55.121.130 with SMTP id u124mr57667096qkc.329.1517540708100; Thu, 01 Feb 2018 19:05:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517540708; cv=none; d=google.com; s=arc-20160816; b=L+/XMy/8/I3Qh4L4BG7Ivqg6zGNRkhKNjfNzMTYMBUezp2fHZcCbkeNJV+LCIyCp8c /Uz2Iip3roSyAi7oM3Zhu0S23thykhPqAxhR4t3bJgsTnbuOZ9vZqBvxRb/k2n49ehbP qBGlGBZE64IZj2TBOBe4dnbxPYp77xW6g2uffQyeR+1SZItEh5jr6waDx7QqTqEY6ovp WTWAnMYszKt19mmFohkdsJVdPc6tjH7O34AoYAHOE9nnUmv89ZHEYRI6nF1qgOXmuNOq FHr6nrduEknqBzzYqvVsNlvno725kecvgpeFIqtqUIp/3qwJr9ZIRvm64dzQ+PVBdo/u Xauw== 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=DfGwwnCdvpNS5r2rLpCgZT7nX0L2dYONBAPFpDDqWTk=; b=xNpTUn+s88+c+b/hT1iZqmRwbPaVJaIpxk8o8TbXFdmDKa/nSA9WB6Pxkmg5DIeBft w5K2ImP1me3IomOa2Z9fQ0Czm6nwt6oXgZooELnU1XBfn20+njMac8vu7pioFaSmYZN3 jwtGFtaARftxO+V8v6WN4PER1HN5TDt3mUvAkq+ZuLIvu2SEZ5leuHsAjCl+SCXjuiFK ZzbzTe3xpu03oz7due63ofOQa0c3dSdei/gA7gqA0AqUAh+qvxvKIpFnLY2uhdj8ALQW T2M5ZvEcop1FnDVXPVgWuL3sHtOHRtvFxUuJPRtyEDbECYRc3qOE6ph5TAX9z+++FhK4 xhmw== 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 u44si1157088qtu.453.2018.02.01.19.05.07; Thu, 01 Feb 2018 19:05:08 -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 CA94D60750; Fri, 2 Feb 2018 03:05:07 +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 DAD4661776; Fri, 2 Feb 2018 03:01:35 +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 DC3E161741; Fri, 2 Feb 2018 03:01:12 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id A776B61751 for ; Fri, 2 Feb 2018 03:00:22 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 63E5E4442F33 for ; Fri, 2 Feb 2018 06:00:21 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id are1CUl3Ej-0LtmXYhp; Fri, 02 Feb 2018 06:00:21 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FgBxQsjFBb-0KjGlpAU; Fri, 02 Feb 2018 06:00:20 +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 06:00:17 +0300 Message-Id: <1517540418-7976-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> References: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v8 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: fbf152e21e86dbe76314d60c9287bce9450d3f28 **/ .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 03:00:18 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: 126604 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp234644ljc; Thu, 1 Feb 2018 19:05:21 -0800 (PST) X-Google-Smtp-Source: AH8x225V+nu9dipx0BmqqlaWZNOyvpKZnFsk++YZMoDb9Zi9HPDdVkn6xaoC+sbrvK0aQD0JDjWm X-Received: by 10.55.197.19 with SMTP id p19mr13987779qki.210.1517540720959; Thu, 01 Feb 2018 19:05:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517540720; cv=none; d=google.com; s=arc-20160816; b=GvlcD+hW0SFPxdKGsdk0w0R0uw/AQ4+qGASavlT2mPpYo2UyyDqsZpi/HV6gRtQ1N+ dMKvGZVuI1Oi8oJT60MwYzs3fHMdCEi2x+Mp76x0M60ilNz6iSqeNM3JYXgr+8VaFjIu 718prm+uz+UGEIxHASNAw2fllBQoR9hHyLZ5wh8uPNQi6BNBYAUYq8aZ7rrnkiLuWE8b AZkH2hNWsMcLgEc9mcaeR2iFg6SKAwChok134N5c1kkSx9XOxMbjJFkosujAh3bvB5Ip FA9ErZGsdO1zMcPhtYlFc99EY8wLVRxdnEgxTiDDljIpNCPW2K0218amHFnO6cwiTw4Z b80w== 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=cBeARsV+YiomnAA1J6Q0Xxu2CQ/tSCJM/ubF6PuWU1U=; b=snAN+XBn/sS5nKdeaWdw+YHaKL1KIG6gLjdopPUiegyEaV8GnNXzHHl6LZgkNNukAN E6lFicM1e+v7QKbPHad4U03CwQIhLeDA3dMi43hG/N9a45vdoBPfEQ36WtaS9jHT574L mdZUDskDvaSJS+LFyrBvXvGwJno86wXrXhEf18YDmmRZXF/8/MwqhMRHYW1iGqxDIT3T NGdnhNMECFpOMLYWRh6A/unJ9gDUKKepZcd+aMoLWxG/xbPR81VbIQgu2Ck+ZvIh+GeG YQRw56OiyRvY1VDyfsab6l+zsQ4vlbrqPjMJYZ7N5I5g5p0O5b4AmQmKiBOH3iwpYX9p xKvg== 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 d17si1080359qtl.236.2018.02.01.19.05.20; Thu, 01 Feb 2018 19:05:20 -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 9B23561769; Fri, 2 Feb 2018 03:05: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, 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 2FCE76177B; Fri, 2 Feb 2018 03:01: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 A7D4C61741; Fri, 2 Feb 2018 03:01:13 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 30F6561753 for ; Fri, 2 Feb 2018 03:00:23 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward105j.mail.yandex.net (Yandex) with ESMTP id F1851185640 for ; Fri, 2 Feb 2018 06:00:21 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback7g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8SpMOKVBQF-0LGWnKNc; Fri, 02 Feb 2018 06:00:21 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FgBxQsjFBb-0Ljqlsws; Fri, 02 Feb 2018 06:00:21 +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 06:00:18 +0300 Message-Id: <1517540418-7976-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> References: <1517540418-7976-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v8 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: fbf152e21e86dbe76314d60c9287bce9450d3f28 **/ .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..81527a0fc 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 --exclue 'test/|.*/test/|example/' -o shippable/codecoverage/coverage.xml