From patchwork Tue May 23 21:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 100390 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp48278qge; Tue, 23 May 2017 14:01:27 -0700 (PDT) X-Received: by 10.237.44.129 with SMTP id g1mr31538184qtd.212.1495573287362; Tue, 23 May 2017 14:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495573287; cv=none; d=google.com; s=arc-20160816; b=jICCcFWhE1EMT64OEKpCRMwE+W/3DrQU4th8nHGVHVwgRrW1XH6KbkI9V9F4enpOnK CfUdQMaKliB+OdcWNKXrhJK3yaIqo8H/ctYzCLED4Z+fHxmWW0U72iWEePp4vw3tGbXc kGBR9VsWC/SoZffM+MEa/ix6EXERKU+VtgmZ+Ml7l608keZyFQEZKwEtrjq8JRtVEme9 CwWWGOVSqcI0invVKTsIyald7EAGqtSkRoRnwHfzRKU0ATtQJQRIY0wgiz7UIBFNii9M Ar7D7rjBp5Dh5qj2nvHpIvCflczz6cuN2NTjLDfBkJbfhNELakdJ0GXc+cjCjzjSEQsH 6U7Q== 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=euaqpXi+vudv0tpu2opDZi6ZhtloZQOfMgaZP64bWjc=; b=q8b/tmeRDdbxZZ0o23ICLU6GhPubihLYLXEzEFlB0EjA6ztgwLgVyLhnUKgze7donx 1PjphDcMDdAZ3qg5qvxfB7KVDkdJRSBB66O9Sk3lRZEA+wAlEwLD5rYiOxmzX6p7P021 kihmUjv4pLhGxlx7jZu8YJJJ3ATioGmD5kSLj7l+WrwdbwW6ZU8IFxRuNwiCcY3d93K0 C/WUwuzrl2uboDHuI60c/qKp86s9fc2Me4ufT7otkUNR1Gj8ueeiPeVMte+fHiPn58Y6 aT5NzWmm7jLYvgsOp8xfaqPEwmv5JDrqQIlzHCyv90XSu/Lfe+YCBIlKuoLNncFh3jM9 qvMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 98si23145538qkv.0.2017.05.23.14.01.26; Tue, 23 May 2017 14:01:27 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 D63D460CB2; Tue, 23 May 2017 21:01:26 +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,URIBL_BLOCKED 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 CABF860CA0; Tue, 23 May 2017 21:00:40 +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 AE37E60C8B; Tue, 23 May 2017 21:00:33 +0000 (UTC) Received: from forward5p.cmail.yandex.net (forward5p.cmail.yandex.net [77.88.31.20]) by lists.linaro.org (Postfix) with ESMTPS id 223A860C8B for ; Tue, 23 May 2017 21:00:16 +0000 (UTC) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [95.108.130.60]) by forward5p.cmail.yandex.net (Yandex) with ESMTP id 3B008206C6 for ; Wed, 24 May 2017 00:00:14 +0300 (MSK) Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2j.mail.yandex.net (Yandex) with ESMTP id 116D33EC0E6B for ; Wed, 24 May 2017 00:00:13 +0300 (MSK) Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id NR4fVnw9NK-0DTepmP7; Wed, 24 May 2017 00:00:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 24 May 2017 00:00:05 +0300 Message-Id: <1495573206-20223-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495573206-20223-1-git-send-email-odpbot@yandex.ru> References: <1495573206-20223-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 36 Subject: [lng-odp] [PATCH v1 1/2] travis: expand testing with varios configure options 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 Signed-off-by: Maxim Uvarov --- /** Email created from pull request 36 (muvarov:master_travis_checks) ** https://github.com/Linaro/odp/pull/36 ** Patch: https://github.com/Linaro/odp/pull/36.patch ** Base sha: 599ac6802352c9c56eca33a6004824783becaa6e ** Merge commit sha: 6cddc672435f8a765c1a03f39ba0149812b056b4 **/ .travis.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 65edfbb3..2a774d55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,6 +59,30 @@ matrix: packages: - gcc env: TEST="CHECKPATCH" + - compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - clang-3.8 + env: CONF="--disable-abi-compat" + - compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - clang-3.8 + env: CONF="--enable-schedule-sp" + - compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - clang-3.8 + env: CONF="--enable-schedule-iquery" before_install: - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages @@ -125,7 +149,7 @@ script: - make distcheck - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="$MY_CF" CXXFLAGS="$MY_CF" LDFLAGS="$MY_LDF" + - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="$MY_CF" CXXFLAGS="$MY_CF" LDFLAGS="$MY_LDF" $CONF - make -j 4 - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check - make install From patchwork Tue May 23 21:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 100389 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp48017qge; Tue, 23 May 2017 14:01:00 -0700 (PDT) X-Received: by 10.107.5.143 with SMTP id 137mr33532449iof.152.1495573260426; Tue, 23 May 2017 14:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495573260; cv=none; d=google.com; s=arc-20160816; b=yEzMGVg+WHJB0VgBk+lJCtfJzMyJ4YCEVsIjB8l5f7NhBDnoISyMjTAPDwyRxOjEL3 jW1LuG1JtmD2jxMSM30XY7mQ5xTkGh/fl8+kL/CMqOj39/AMcsuMepUUGnpzMabukgpt SOYelsIoRr+3bRsQu3lJjqW3Re5Kn8bLUls1kcFmfRebTCDy+wbmGmkWi+KGBELqbb2b 8ydROvbrpsCkz+zUKO9hf5gqy/2YaQOHX/q+f+EoPZXRUHN4I310+TOPrj3loYAtaCDy NkQbdfOxTku5K85fdyWWgSFSBiV2i7NLFIITaig2y1G0c/E/h3371mHmLV6/uEyhSmZO cIhw== 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=1QllmaGyGjrgrI5ZwHg2t4t0qbWoZuOXXX+TQc1qDAs=; b=ze5YYY+VbD06U2EwpAfRLXNuSu+/34M0wvDbjKyZMEy1UAe4DLy5/Xy43U5xX8MKK5 xjUR6HuLSbGxOoazC2GVhWLFxuWV8aihpG3PCywclini9vm6luPUg1gm/0tAAn6fjzo5 92eFXql+hOOhwrCNnY5UHplRVwD5Y6+M31CRM5LWPOREWAjnG1NvaPBUicYYMmi15tvR h8qP/Y17TUd4nBJfjdSRQ1tnzwKGlBsZ88JZbYdmmDD3SHA7mIjwiJ8FbDeBfZGXkU8E ntvN5/6nJ/E6oMt/DBofEYjNF21i/lbmbcV8ZeU9dL55HPIsgDj089NF+rIDFEHLedks K/uQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 66si23714929ion.148.2017.05.23.14.01.00; Tue, 23 May 2017 14:01:00 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 011166063B; Tue, 23 May 2017 21:00:59 +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,URIBL_BLOCKED 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 3C51160C88; Tue, 23 May 2017 21:00:37 +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 7E8D4609D8; Tue, 23 May 2017 21:00:33 +0000 (UTC) Received: from forward5o.cmail.yandex.net (forward5o.cmail.yandex.net [37.9.109.249]) by lists.linaro.org (Postfix) with ESMTPS id BDB40609D8 for ; Tue, 23 May 2017 21:00:17 +0000 (UTC) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [IPv6:2a02:6b8:0:801::ac]) by forward5o.cmail.yandex.net (Yandex) with ESMTP id 118F42149A for ; Wed, 24 May 2017 00:00:16 +0300 (MSK) Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2j.mail.yandex.net (Yandex) with ESMTP id A50403EC0F8E for ; Wed, 24 May 2017 00:00:15 +0300 (MSK) Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id NR4fVnw9NK-0ETuKPmo; Wed, 24 May 2017 00:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 24 May 2017 00:00:06 +0300 Message-Id: <1495573206-20223-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495573206-20223-1-git-send-email-odpbot@yandex.ru> References: <1495573206-20223-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 36 Subject: [lng-odp] [PATCH v1 2/2] travis: print failed test logs to screen 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 If some test failed try to find them and print log. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 36 (muvarov:master_travis_checks) ** https://github.com/Linaro/odp/pull/36 ** Patch: https://github.com/Linaro/odp/pull/36.patch ** Base sha: 599ac6802352c9c56eca33a6004824783becaa6e ** Merge commit sha: 6cddc672435f8a765c1a03f39ba0149812b056b4 **/ .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2a774d55..9d9f4563 100644 --- a/.travis.yml +++ b/.travis.yml @@ -170,6 +170,8 @@ script: after_success: - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy; fi +after_failure: + - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \; addons: coverity_scan: