From patchwork Fri May 26 08:00:04 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: 100561 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp136601qge; Fri, 26 May 2017 01:01:28 -0700 (PDT) X-Received: by 10.107.36.9 with SMTP id k9mr595737iok.130.1495785688148; Fri, 26 May 2017 01:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495785688; cv=none; d=google.com; s=arc-20160816; b=R7ROZoTpGD+naYibibsLlIL0gSE+6df30kHqrYGYgZNJcuxqSGPDXTr0tbPaApdAp8 TkvRV267whrCQd5DJIMPzvpdCxG6BehJzAG4mdJRQCFsN1o4SAG9i7BWzi4sqe+cZuWg 69QE3J1N1a2RXbXIn8uvn33wrLReRsq4NcdLiAY8Z1WFyL2Qj7z2bPwBTDiXCLDSVaEL 7nGH9ay+tfyJFMfz6wDXbrpjburk0JfLiSqYz5BIr0O8QLclv4B/pK+bqb0AZ7WC94hW D9aJkKhaFGVnb/HoyG2c4aZjoF++Z8+NBlhjRtNmqN4oeIgu3ZyuGEOx0+cruJB+Xexs fQgg== 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=Yriu+lAssxQhgrL0HQAo69SRyeuqVGISSEXTDt/cjns=; b=I5mWRvlgWL7HvHcj6yd6BzqhfJrCsKRBDkwnJWpV0DjFV2sdOo39qIH/5aI3s7Kwrb /bLpxoKCF4h1qbe1HjRytkpUA6TbJNaDeZ97BnAGlAinc1BvMrh7wFW8wNqYUPK5TMep EAho7OASnq07yVnO2R4Kt7dnf0TUGr7a54j9EvEbKgNsCP9icNu57olsPdV+KUeJqN5U mKy50aI7SisAKWpEqQYx+uqSmV80YvMsZalhWcU5mnhXScwKHHeEKcgJivFmQOhk2OKo P38prCg5z44wowGWiwPBIYXcM+2cYMTnomb4CyXMLXR4wgVEXwNIVhM28sqH2jZIA76V RZAg== 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 i67si1261535itb.19.2017.05.26.01.01.27; Fri, 26 May 2017 01:01:28 -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 8946060F44; Fri, 26 May 2017 08:01:27 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 6FA6760E93; Fri, 26 May 2017 08:00:44 +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 C614C61C9C; Fri, 26 May 2017 08:00:34 +0000 (UTC) Received: from forward3o.cmail.yandex.net (forward3o.cmail.yandex.net [37.9.109.247]) by lists.linaro.org (Postfix) with ESMTPS id D604C6200F for ; Fri, 26 May 2017 08:00:16 +0000 (UTC) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward3o.cmail.yandex.net (Yandex) with ESMTP id 249C720EFC for ; Fri, 26 May 2017 11:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 0103B1A8004C for ; Fri, 26 May 2017 11:00:12 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bjbK4Yae6d-0BriVVcD; Fri, 26 May 2017 11:00:11 +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: Fri, 26 May 2017 11:00:04 +0300 Message-Id: <1495785606-5618-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495785606-5618-1-git-send-email-odpbot@yandex.ru> References: <1495785606-5618-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 42 Subject: [lng-odp] [PATCH v2 1/3] travis: split build into separate stages 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 Introduce separate parallel builds for checkpatch, doxygen, distcheck and plain checks. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 42 (lumag:stages) ** https://github.com/Linaro/odp/pull/42 ** Patch: https://github.com/Linaro/odp/pull/42.patch ** Base sha: 472d34cc0fd2b5f96277b1799583ab6c45375d40 ** Merge commit sha: 9564c836815be5e212ffd10fab0a88da9307c445 **/ .travis.yml | 136 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 71 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65edfbb3..2ae788eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,65 +33,50 @@ env: # you need generated new one at https://codecov.io specific for your repo. - CODECOV_TOKEN=8e1c0fd8-62ff-411e-a79f-5839f6662c11 -matrix: - include: - - compiler: gcc - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc - env: MY_CF="-O0 -coverage" MY_LDF="--coverage" DOCOV=1 - - compiler: clang - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 - packages: - - clang-3.8 - - compiler: gcc - addons: +addons: apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc - env: TEST="CHECKPATCH" + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-precise-3.8 + packages: + - gcc + - clang-3.8 + - automake autoconf libtool libssl-dev graphviz mscgen doxygen + - libpcap-dev +# coverity_scan: +# project: +# name: "$TRAVIS_REPO_SLUG" +# notification_email: xxxx +# build_command_prepend: "./bootstrap && ./configure --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example" +# build_command: "make" +# branch_pattern: coverity_scan + +compiler: + - gcc + - clang-3.8 -before_install: +install: - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages - sudo mkdir -p /mnt/huge - sudo mount -t hugetlbfs nodev /mnt/huge - - if [ "$TEST" = "CHECKPATCH" ]; then - echo ${TRAVIS_COMMIT_RANGE}; - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`; - if [ -z "${ODP_PATCHES}" ]; then env; exit 1; fi; - ./scripts/ci-checkpatches.sh ${ODP_PATCHES}; - exit $?; - fi - - sudo apt-get -qq update - - sudo apt-get install automake autoconf libtool libssl-dev graphviz mscgen doxygen - - sudo apt-get install libpcap-dev linux-headers-`uname -r` + - sudo apt-get install linux-headers-`uname -r` - sudo pip install coverage - gem install asciidoctor - PATH=${PATH//:\.\/node_modules\/\.bin/} - - if [ "$CC" = "clang" ]; then export CXX="clang++-3.8" CC="clang-3.8" LD="clang-3.8"; fi # Install cunit for the validation tests because distro version is too old and fails C99 compile - sudo apt-get remove libcunit1-dev libcunit1 - export CUNIT_VERSION=2.1-3 - curl -sSOL https://github.com/Linaro/libcunit/releases/download/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 - tar -jxf *.bz2 - - cd CUnit* + - pushd CUnit* - ./bootstrap - ./configure --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test - make - sudo make install - - cd .. + - popd - export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" # DPDK pktio @@ -103,55 +88,64 @@ before_install: - pushd ${TARGET} - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config - popd - - make install T=${TARGET} EXTRA_CFLAGS="-fPIC" > /dev/null + - make install T=${TARGET} EXTRA_CFLAGS="-fPIC" - popd # Netmap pktio - - sudo apt-get source linux-image-$(uname -r) > /dev/null - - KSRC="$PWD/`find . -name kernel-parameters.txt | cut -d / -f 2 `" - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git - pushd netmap/LINUX - - ./configure --kernel-sources=$KSRC - - make > /dev/null + - ./configure + - make - sudo insmod ./netmap.ko - popd script: - ./bootstrap - - ./configure -# doxygen does not trap on warnings, check for them here. - - make doxygen-doc |tee doxygen.log - - fgrep -rvq warning ./doxygen.log - - 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" - - make -j 4 + - ./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 + - make -j $(nproc) - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check - make install - echo "Checking linking and run from install..." - pushd $HOME - echo "Dynamic link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread -lcrypto -lpcap $MY_CF $MY_LDF -ldl + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread -lcrypto -lpcap -ldl - LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst - echo "Static link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread -lcrypto -lpcap $MY_CF $MY_LDF -ldl -static + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread -lcrypto -lpcap -ldl -static - ./odp_hello_inst - - popd - - sudo rm -rf dpdk - - sudo rm -rf netmap - - sudo rm -rf $KSRC - -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 - -addons: - coverity_scan: - project: - name: "$TRAVIS_REPO_SLUG" - notification_email: xxxx - build_command_prepend: "./bootstrap && ./configure --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example" - build_command: "make" - branch_pattern: coverity_scan +jobs: + include: + - stage: test + env: TEST=coverage + compiler: gcc + script: + - ./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="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" + - make check -j $(nproc) + - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy + - stage: test + env: TEST=distcheck + compiler: gcc + script: + - ./bootstrap + - ./configure + - make distcheck + - stage: test + env: TEST=doxygen + compiler: gcc + script: + # doxygen does not trap on warnings, check for them here. + - ./bootstrap + - ./configure + - make doxygen-doc |tee doxygen.log + - fgrep -rvq warning ./doxygen.log + - stage: test + env: TEST=checkpatch + compiler: gcc + script: + - echo ${TRAVIS_COMMIT_RANGE}; + - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`; + - if [ -z "${ODP_PATCHES}" ]; then env; exit 1; fi; + - ./scripts/ci-checkpatches.sh ${ODP_PATCHES}; From patchwork Fri May 26 08: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: 100562 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp136949qge; Fri, 26 May 2017 01:02:22 -0700 (PDT) X-Received: by 10.200.1.142 with SMTP id x14mr831603qtf.26.1495785742375; Fri, 26 May 2017 01:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495785742; cv=none; d=google.com; s=arc-20160816; b=gcxAhf5FKByiO+U6VJQlmwPX7Pmf75wJZG1SEY+fUGGW9w6qhvPEK/azHDlbpNtpM0 Z5VG8FfJM0bYPFDXdw7QU/Wf0eIIdSdN7wB+GPym//HgObWP0kiSo3yWbAsZ21CfA+F+ zFdksZj+cdoHqtRcLTA2b31L5ASWrSrNYQeulQjam5PD+HMzaxYJFEsLJjOUjTmph+Qn Dc0xVTkFQOUkgd2UxIuE41tEpkJqv1BzK3RQDD6PvM+RlRRLVwG7mCJ76ghEOfm3TWvp fNGTt0rxPEyXY7/mwJju59Qaw7uPycA2Fu2gmO0zLlZSr6z5R+zC017f/4PJWVw/yfQm X+7g== 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=QdaLfbB4IWeNTLwhx1/S73FIupp6DvZ+4kE0URitrXw=; b=Elu7o+OqOfPbIpnSEseRXR2T3oJeL069GWHrxpELfvLhvCNwB6D4C5SByNlt8WSO2V vKefniqtLrRrCPxmfACYWiyv5xJeWVdf59bu4CRngPPp7+s8CBvKBoTnmWBrI21lO77b 1WdeBI/Tdg2971Z31aA1fO0T1JvqnsgwxWghoNRodpMg38WU6Tgb1qGH7lmmiaaybUz5 /Qg0NRMiJOv9tZubSphnFV0201i/jbsUgniVS8FH1UfqiiXiGALphBvupNPDqhgZl1LF XqOivMmagsX4mfXtmg0wRj8Wvtx1tcZl6YFqTTyBy85iXqKlv4XR1lIUqKxXXOdoZmgC Do/w== 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 p43si51795qte.133.2017.05.26.01.02.22; Fri, 26 May 2017 01:02:22 -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 12A4261FD5; Fri, 26 May 2017 08:02:22 +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 D7F9160F57; Fri, 26 May 2017 08:00:47 +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 2B68561FD5; Fri, 26 May 2017 08:00:41 +0000 (UTC) Received: from forward3h.cmail.yandex.net (forward3h.cmail.yandex.net [87.250.230.18]) by lists.linaro.org (Postfix) with ESMTPS id 825F362B68 for ; Fri, 26 May 2017 08:00:17 +0000 (UTC) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward3h.cmail.yandex.net (Yandex) with ESMTP id CB0AD20DBE for ; Fri, 26 May 2017 11:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id BB7FC1A800CF for ; Fri, 26 May 2017 11:00:13 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bjbK4Yae6d-0Dr8InLM; Fri, 26 May 2017 11: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: Fri, 26 May 2017 11:00:05 +0300 Message-Id: <1495785606-5618-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495785606-5618-1-git-send-email-odpbot@yandex.ru> References: <1495785606-5618-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 42 Subject: [lng-odp] [PATCH v2 2/3] 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 [DES: check all compiler vs options combinations] Signed-off-by: Maxim Uvarov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 42 (lumag:stages) ** https://github.com/Linaro/odp/pull/42 ** Patch: https://github.com/Linaro/odp/pull/42.patch ** Base sha: 472d34cc0fd2b5f96277b1799583ab6c45375d40 ** Merge commit sha: 9564c836815be5e212ffd10fab0a88da9307c445 **/ .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2ae788eb..af47ed17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,12 @@ compiler: - gcc - clang-3.8 +env: + - CONF="" + - CONF="--disable-abi-compat" + - CONF="--enable-schedule-sp" + - CONF="--enable-schedule-iquery" + install: - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages - sudo mkdir -p /mnt/huge @@ -101,7 +107,7 @@ install: script: - ./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 + - ./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 $CONF - make -j $(nproc) - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check - make install From patchwork Fri May 26 08: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: 100563 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp137166qge; Fri, 26 May 2017 01:03:03 -0700 (PDT) X-Received: by 10.200.55.103 with SMTP id p36mr710352qtb.64.1495785783353; Fri, 26 May 2017 01:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495785783; cv=none; d=google.com; s=arc-20160816; b=RBM//DWgycC1z+oMoqDwK+Uq4fKcYLrxKuLtWBWdzthqFu3bwJfLV7jGbbLzKas5Ml 2aQbzYDSc1J9GsTHt+14oqqTe2E6H3vMbPHyVGhSiaE16h9nvIflgS7o4TkgI+2GTxFJ SfINU0ZFM8y0vF7wi5Eetv6L9OXznUgoN+1KO4LacRHbk1Zs9+MYJ1yAuXiqjAiXtIXT r5W8t0FivZhFf5o/v7FkQykMLUbXRF3UTPmgybYxjymwOE2u/ztK/bOBd5jKtmZoufij X/aAvWGkuC8u3vEnCu4Ck8dtQsaEspomVvrz5phCg3ZAUM+Ab8SDbUfvwtD+7OOUV0BA RCsA== 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=jII51nL8z4F/m8GnEuoilYVk50GQBcUkoGoOrw0ev/w=; b=rPh9Ojpvi5EBgm02F97VlDmsGs/hqSAH+yC3tF7lf+1rmeXBYAciMUrXxE9AQfmbDm 12LV1gbFz61aU0My5GyP7HQcAZ9pkdC9+SHPYjzaQYDo42TsxW5z+LjThnpxRf982S9P ug3d/8c1C0jPNjmMYTpsjvf16YLNZxluLFd0601VxQhzjKc47FyswpuSaaR+P6CDKfyv jFSMLAY1D/U9xdmR4vgflzhxzD5K48B0G3woWluTt08LkXhV4VTvOEd+9LNaEIElTLyG uj9mlfSiwuSSO09irBN+FJRBKXldL0lxTB7O2LeQE0VAEgTKwPxQKIdSVBeGbyxrqRI0 GyXg== 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 15si30329qki.295.2017.05.26.01.03.03; Fri, 26 May 2017 01:03:03 -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 0516F6081B; Fri, 26 May 2017 08:03:03 +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 2B76562B68; Fri, 26 May 2017 08: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 E318C61FD5; Fri, 26 May 2017 08:00:42 +0000 (UTC) Received: from forward4m.cmail.yandex.net (forward4m.cmail.yandex.net [5.255.216.22]) by lists.linaro.org (Postfix) with ESMTPS id C4AB062CCA for ; Fri, 26 May 2017 08:00:18 +0000 (UTC) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward4m.cmail.yandex.net (Yandex) with ESMTP id 53347210C0 for ; Fri, 26 May 2017 11:00:17 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 104D71A80071 for ; Fri, 26 May 2017 11:00:15 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bjbK4Yae6d-0EruQ9JG; Fri, 26 May 2017 11:00:15 +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: Fri, 26 May 2017 11:00:06 +0300 Message-Id: <1495785606-5618-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495785606-5618-1-git-send-email-odpbot@yandex.ru> References: <1495785606-5618-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 42 Subject: [lng-odp] [PATCH v2 3/3] 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 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 42 (lumag:stages) ** https://github.com/Linaro/odp/pull/42 ** Patch: https://github.com/Linaro/odp/pull/42.patch ** Base sha: 472d34cc0fd2b5f96277b1799583ab6c45375d40 ** Merge commit sha: 9564c836815be5e212ffd10fab0a88da9307c445 **/ .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index af47ed17..a7ad2a74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -155,3 +155,6 @@ jobs: - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`; - if [ -z "${ODP_PATCHES}" ]; then env; exit 1; fi; - ./scripts/ci-checkpatches.sh ${ODP_PATCHES}; + +after_failure: + - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \;