From patchwork Wed Jan 31 21: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: 126412 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1090329ljc; Wed, 31 Jan 2018 13:00:26 -0800 (PST) X-Google-Smtp-Source: AH8x227Q4qoHUUALai0uwUQh7G6G6H8kiK9TjnwglnWTFXpilPt6t9ksy3IDbkpW+JTD0bp5qfa+ X-Received: by 10.237.61.175 with SMTP id i44mr55775804qtf.89.1517432426405; Wed, 31 Jan 2018 13:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517432426; cv=none; d=google.com; s=arc-20160816; b=O0JbXcH5j9wnbvUarfyWOcckLo0Jhxr3NH7A6Wf0zbrsz5rc2qGBlyzkaWzuSZcT/A kH+veJ0neruk96tUOvjWMliLuoFkNPXddafKFgcYc35OA1+gANED3pdid1U1gv+2LsVu ZdM9u4W0yeSh2QHWqAurVHnI8EJ/YWbRTAdRkbwgAdzR3q/pwmgen4Te3JD7pvooHEKh Z6ZUowlW1WG83qLO/aO2OQIVhPlWYg2DWASi2397/Hz0pG2EeStqsUE1Zd+HjWlI16vM xIg+U3d6VaVRoNsjg0Dxx998xEpuOLRIZdDzMlC56HifOJNUC7ATEt5mpWPJH4msKEM4 2qyw== 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=9EMqO/csPEn4W37yqhWJ6ne0doWuLgbmOG4bjx8Vp0s=; b=PsJTgY29+jmCeddVjv5ZmcEuTeoQ+ZBivGL85sl6xXA8XWo/P7PYCh4olx/I5+vXrJ ZteyfzJkPzRQRwPkweSvbWk/2gTv4MKeC1C2eh09XZaDTFmdgXXoY/0Ro96IsB5UIJtS v2fDqFS4MNrd86XZ12AK4Z4XAuOJJ6u5dcGRKPMNpQz/BCYQnglhQlBRGrRsygl8Zjo9 dE68Q2KU+2kDjNc/f86ELPl2lznC7TL+4o6ZLFL7nbIJ5MbvqC7UkxX+AkeCaDRMk5rT BUszM6UI2HZjw3HqohMI+WXKqxbt5GeuL7aOeMDz5DWmQDs8/N3a9rripKyhFtqO09Re QPrA== 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 f64si8039750qkb.73.2018.01.31.13.00.25; Wed, 31 Jan 2018 13: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 C453B617B4; Wed, 31 Jan 2018 21: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_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 2E6D661510; Wed, 31 Jan 2018 21: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 74546617B2; Wed, 31 Jan 2018 21:00:17 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id 5E65D61510 for ; Wed, 31 Jan 2018 21:00:15 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward106o.mail.yandex.net (Yandex) with ESMTP id A9777786361 for ; Thu, 1 Feb 2018 00:00:13 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bYHQBtgVS5-0Dk0TUtt; Thu, 01 Feb 2018 00:00:13 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id u4hb6yg7Vj-0DEek2Hi; Thu, 01 Feb 2018 00: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: Thu, 1 Feb 2018 00:00:08 +0300 Message-Id: <1517432411-10995-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> References: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v7 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: d9c58cbd5f1f1b9ef4c36b96ec24cd0f139dc28d **/ .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 Wed Jan 31 21: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: 126413 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1091213ljc; Wed, 31 Jan 2018 13:01:07 -0800 (PST) X-Google-Smtp-Source: AH8x2265wdWeggZt2KbTBbAGGrJa3FvwVWx0Hv37pcpNwOj0xohY8c8/eQX0e3vmV+xianBBxl8B X-Received: by 10.55.74.142 with SMTP id x136mr48336685qka.223.1517432467788; Wed, 31 Jan 2018 13:01:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517432467; cv=none; d=google.com; s=arc-20160816; b=ozvz69AaJdvm3aJaJr9lFSW3vtg2ToIfD7t8xMPhhhGxom5TH2kMFugdyIf0ZpNj2L BniMV7dUU/+oAK2Z4ujrSOyrRI8dKYwd0cOcr7pBSJAobtBV+oXHw1K9PWPJsT43jmjp 8JLNoe8MIkvNzijovlUH1VHsNayTA8ERBjqjoEdBKnOEALaCLWdTzEMZ+suz993Q9XEt xfOrGuA0LvKodaisfJ7DLDGZ0B2mf2/TUeA6qypV79Tj5VTUP60vD+E6yZqX+vBLmS08 iMjNOg6EDWWvTwnkyAe3QFLCX/F6ql0hlwHR9HJOaCDLsp43D+off6+weTx8FxUxLG2c h97g== 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=cjHk58jIGBa12ZkJGAGgRj6QKjxiX3aJVTZmEdXCnU0=; b=Lck24DWYJDYKq/IXb8ivDOw38F0DQVD21uvLDuyw+KZu7r0IAXO97veriKR/7LPOgV f2OqllUgFA9SiEPKJSUHgYWTgr4o3fyU7wdTYHnnGqR6KbQoLcSULLKrdv9DilChL1Aj 8zsSAZeWNJCM/79KiYSimQ40dhLpkxO0aUoVNF7I1HA3cLC6XXOfWaWF8y7SlzG0nmHz q5z0xCEQpnE7HACLRpl2T0lAjJCBO2ZrJBhk1Rhke7Af7KYl+3XNiAIjnw+cpGZyVOXS c6wA2Dy6Rm79vsTdMQb7/zDgOZTPxtpywKLJDUTC8c1sMAUUWztbGWsbyh4cKctC56I1 n1pw== 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 l50si3135987qtl.481.2018.01.31.13.01.07; Wed, 31 Jan 2018 13:01:07 -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 7BE52617AF; Wed, 31 Jan 2018 21:01: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 8BC5B617AC; Wed, 31 Jan 2018 21:00:22 +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 DD80A617A8; Wed, 31 Jan 2018 21:00:17 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id CACAC607B5 for ; Wed, 31 Jan 2018 21:00:15 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 298064444FC5 for ; Thu, 1 Feb 2018 00:00:14 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XDSuU8iDVH-0Eq0PrvR; Thu, 01 Feb 2018 00:00:14 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id u4hb6yg7Vj-0DEKcMMi; Thu, 01 Feb 2018 00: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: Thu, 1 Feb 2018 00:00:09 +0300 Message-Id: <1517432411-10995-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> References: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v7 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: d9c58cbd5f1f1b9ef4c36b96ec24cd0f139dc28d **/ .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 Wed Jan 31 21: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: 126415 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1092210ljc; Wed, 31 Jan 2018 13:01:51 -0800 (PST) X-Google-Smtp-Source: AH8x227jNGuR343pizmAMzCKEnWeAf1/LUw1Vw6P8xR0HTOX7uJM1Bs6ysLMIwuMSculORPsNf61 X-Received: by 10.13.211.130 with SMTP id v124mr24135378ywd.476.1517432511753; Wed, 31 Jan 2018 13:01:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517432511; cv=none; d=google.com; s=arc-20160816; b=J6TPN1+uSOOxqrPMn9BV6uXkgfm3nS1vG0pSimhm3j4JRAOj9Nn5psJvr8NAwjNWQH cS1d9tDbdkXj1N0ApA1rvQTJhAHJfSqkMlgi152yfici7wkmeMqs4Livq5YDcuk+PXOw 3N1/DeWqLzQMowJS5q/J/uVpNjSYAXQLeSqH5+NaHY0/Cs/Yjyedqn45aLuvdI/Ur1XH DM6738Qj0zbyP/PCLsUhUtAwUyOs4hCVlN/JI57JHKKAD/j2Q3ugsUB9EgCtmIYO/2Gl VunjVRl3zvUob7J3qif0MTJY6MYiCwOx/RW/kN5yO75jbTa5muaT8m0Z/aVj2TKEVDfK IpEA== 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=uge93mKJ0Pbp0jA2NqV8R8RboE/ZcCcUWTIka384/oI=; b=MvEnRkaNcl5Dbv6E/1D8G3peaif/IP3+vFPpkerciInPLpbklj5fV3cbxRbBjfBd32 xdP2gE5sIwOk1kLUUCA7CtM4J3VlunZET2m6F1bcOJNSSzlJPTTiu94Kg3clyACxcy2x Ln0T8dlXnd1HXGhDCFfp/sBlN/rJeURKwMfgwsHgHf7MWgT7RZw5kyvGdX82B/9HEUel nQv9eeegy26TDfpVKKduve5ECfL+xlyNcEjRHqBJTy+uPqX8gW7gDKEjzGY428b+BWVp LN4SBF2EyLOm7wdvwFRgnrcISSUr+rxdHfNds4gm54dtw6wKGfagIXu6/tfvieqphK1m /Jrg== 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 v74si1078466qkl.404.2018.01.31.13.01.49; Wed, 31 Jan 2018 13:01:51 -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 DDF02617BE; Wed, 31 Jan 2018 21:01:49 +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 67E33617B7; Wed, 31 Jan 2018 21:00:28 +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 B2742617B2; Wed, 31 Jan 2018 21:00:22 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 7BCC7617AA for ; Wed, 31 Jan 2018 21:00:16 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward100o.mail.yandex.net (Yandex) with ESMTP id CBA192A25421 for ; Thu, 1 Feb 2018 00:00:14 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5NQy1zgs0O-0E28orQW; Thu, 01 Feb 2018 00:00:14 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id u4hb6yg7Vj-0EEWwU1o; Thu, 01 Feb 2018 00: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: Thu, 1 Feb 2018 00:00:10 +0300 Message-Id: <1517432411-10995-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> References: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v7 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: d9c58cbd5f1f1b9ef4c36b96ec24cd0f139dc28d **/ .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 Wed Jan 31 21:00:11 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: 126414 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1091911ljc; Wed, 31 Jan 2018 13:01:37 -0800 (PST) X-Google-Smtp-Source: AH8x225VfEjmeAC4ohiAqr6wN4GPuNxGNjgBf6qYKyPkLnhB2iltC2WZrh75isfNQe0MP/gM8E5o X-Received: by 10.55.105.129 with SMTP id e123mr51433063qkc.192.1517432497704; Wed, 31 Jan 2018 13:01:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517432494; cv=none; d=google.com; s=arc-20160816; b=Xc+FG35jFUUB/30o25CoElY+eqJqCsO1C9QWnLUR1GRp3lhdl4P7Ccmh2S1Kkxs7+W mJcDn4C3FNkMAxl2y6SK8+PZFVDd6wt738lX7ssFevMgzhe6Rn9UOp/07DWiZIIrgllR K48vWTpspaXsw4UaMbMtQH2RoTNMLM4xhMfaEjbikDzzA5cL+0zZQohrJi1LiqnxfKoK vJV+DQW8XYbPrOiGm+nuke11NI8FpismGsUrVuplyUzt8ZM8U8vkiJ8Q6h54t6mNmy+S Q/pURdQyPY9McvlB7zHYN8U/RuAOv8VbvfZb7LhDKYTj2q1jlj1QNPdSWSJ1VeURzy8y Cp1A== 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=JWVZwob6w96Ge1e24ycafsINvjmZMwYjFQvzp9bOI6M=; b=0uZdbcLYSntSgdZxCenF9fJTNsBTeoeF1pO9vzZp/S7Wjo65GZb8JKXP4bvio5QLqC 0sj9oCqfbdfQ5D5Iy6jPGDaKqsYpwo5SxuDAPncAT6QVkeZrPQsaVywd/riBIknv35PK tLH8cLEDro9y8DTiq1NGZlxqdLFnNwmkoMMHkKs3q6n+6ZJrCEe1Xt5QFntULYynSkVq +ulcWFJUWVMROqStbJWk2Fh4YxTL+kO+Gafcg0eruDpnqfc6o0kNvfochrgGYBNFcZxy 1Oum5va0mMNxakLXzorK/+fTi+KQwizaG/Dr+a+l35I5VHtweFa/qN6oraZfYUVdNz5I 5Cag== 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 u31si615199qta.298.2018.01.31.13.01.34; Wed, 31 Jan 2018 13:01:34 -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 0FDBC617A8; Wed, 31 Jan 2018 21:01:34 +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 1EF88617AA; Wed, 31 Jan 2018 21:00:24 +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 41A0A61510; Wed, 31 Jan 2018 21:00:19 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id BEFCE617B1 for ; Wed, 31 Jan 2018 21:00:16 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 4D9784304DF4 for ; Thu, 1 Feb 2018 00:00:15 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gspUfTdVzv-0FDCMqnL; Thu, 01 Feb 2018 00:00:15 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id u4hb6yg7Vj-0EE4NF3t; Thu, 01 Feb 2018 00: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: Thu, 1 Feb 2018 00:00:11 +0300 Message-Id: <1517432411-10995-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> References: <1517432411-10995-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v7 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: d9c58cbd5f1f1b9ef4c36b96ec24cd0f139dc28d **/ .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..0d2e08874 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-dir=example --exclude-dir=test -o shippable/codecoverage/coverage.xml