From patchwork Thu Aug 2 16:00:04 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: 143355 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2338703ljj; Thu, 2 Aug 2018 09:02:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdypgXDFCHhPNkrGWt4nPIA297k7GRfkunyQIBqX/uSi9EH6lcArHdiHpuLQg2ULg+tx6Ud X-Received: by 2002:a37:1453:: with SMTP id e80-v6mr54184qkh.239.1533225741937; Thu, 02 Aug 2018 09:02:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533225741; cv=none; d=google.com; s=arc-20160816; b=AQVqPfOooJFcCCGibEbh0SUbZvo/LPqKyEUuqriGcrlez7TAKdGjsjBqKmaBkTD7eP xE0Cg19U14lrdxnqjONd7u9gl25Urj0mcE0UZQt93fI2wf+wJd6eC6sumvm2PXUquWHg XHxlFmktqQKX8NbxZPWkI+3ZZGQVeqSNJxWhtRy1pgz3w++RDxUjoRc6X6za7x37VyMH LNFV26sBFKb7d2GgNfR8KLRTldeyq/4LBtEHMTQiZyo9Wmmh0vg2gPLn0I0HnLmoW8iI svyk2xCXCDPD+ByAmbP+/dtJfB2UeA6A/fFoJdsEcQIZfoiN96MEsT3OO7n9oBY1dbk1 6ESg== 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=Mj8qFk153vnTfWs+e1tinM0Tia+TE71sVoPyrnLgYH0=; b=C9UQAktP4oQWv0zKj0pyU2mMi+u5CJN1adAMXnC+PKTOTt/XGwfuOaHFBrx8OrtVkp MRtnZ5UCj0poUM+J0Z3BvMzchT8jEp/Sto3gE8YuKyGQQe4WjVBFOstfPANznLjdHVHS ffr+Ky+WTFVm19xrYLlYKswNtgo/v2ZanIoFgEoix2N1JIoLkC9L1FQW2TkzZCqRes6I G515eDOQ0Po21g+3ftoIql5Hfyxvv6cFh8yyWZyH3+clDl4d7G9PNUxgzR0G3kBn65HN vQ66FcYjLurzL4CVy52+KaFXip8pCUIhe4IOf02JGwapnEHCk49c+JwdlPdY2EubTLWA /xzg== 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 65-v6si2245197qkq.393.2018.08.02.09.02.21; Thu, 02 Aug 2018 09:02:21 -0700 (PDT) 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 9E21168627; Thu, 2 Aug 2018 16:02: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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI 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 CB21C68609; Thu, 2 Aug 2018 16:01:14 +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 8BDA26860A; Thu, 2 Aug 2018 16:01:01 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id BC9016860A for ; Thu, 2 Aug 2018 16:00:24 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward105j.mail.yandex.net (Yandex) with ESMTP id DAFB91838FE for ; Thu, 2 Aug 2018 19:00:17 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id lkt7iMO5Iv-0HdmUFPp; Thu, 02 Aug 2018 19:00:17 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0G9icnI9; Thu, 02 Aug 2018 19:00:16 +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, 2 Aug 2018 16:00:04 +0000 Message-Id: <1533225614-20192-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 1/11] travis: add docker 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: Maxim Uvarov initial Travis docker runs Signed-off-by: Maxim Uvarov --- /** Email created from pull request 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ .travis.yml | 362 +++++++++------------------------------------ scripts/ci/build_dpdk.sh | 89 +++++++++++ scripts/ci/build_x86_64.sh | 45 ++++++ scripts/ci/coverage.sh | 35 +++++ scripts/ci/distcheck.sh | 25 ++++ 5 files changed, 261 insertions(+), 295 deletions(-) create mode 100755 scripts/ci/build_dpdk.sh create mode 100755 scripts/ci/build_x86_64.sh create mode 100755 scripts/ci/coverage.sh create mode 100755 scripts/ci/distcheck.sh diff --git a/.travis.yml b/.travis.yml index 26bbe1a32..0f0db2931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,12 @@ # pushing to github/coverity_scan will also launch a static analysis # See https://scan.coverity.com/travis_ci +# +# Travis uses Docker images which mainained here: +# https://github.com/Linaro/odp-docker-images +# CI scirpts are maintained under ./scripts/ci/ directory +# which passed into container during the test run. + language: c sudo: required dist: trusty @@ -49,6 +55,7 @@ env: # you need generated new one at https://codecov.io specific for your repo. - CODECOV_TOKEN=a733c34c-5f5c-4ff1-af4b-e9f5edb1ab5e - DPDK_VERS="17.11.3" + - DOCKER_NAMESPACE="lngodp" matrix: - CONF="" - CONF="--disable-abi-compat" @@ -63,278 +70,45 @@ env: compiler: - gcc - - clang-3.8 - -before_install: - - # Install cross toolchains, etc - # apt-get update may fail thanks to Ubuntu removing Packages/indices while not removing relevant parts of Release file - - if [ -n "$CROSS_ARCH" ] ; - then - BUILD_GNU_TYPE=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_BUILD_GNU_TYPE` ; - CROSS_GNU_TYPE=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_HOST_GNU_TYPE` ; - CROSS_MULTIARCH=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_HOST_MULTIARCH` ; - CROSS="--host="$CROSS_GNU_TYPE" --build="$BUILD_GNU_TYPE"" ; - sudo dpkg --add-architecture "$CROSS_ARCH" ; - PKGS="build-essential libc6-dev:$CROSS_ARCH libssl-dev:$CROSS_ARCH zlib1g-dev:$CROSS_ARCH libconfig-dev:$CROSS_ARCH libstdc++-4.8-dev:$CROSS_ARCH libpcap0.8-dev:$CROSS_ARCH" ; - if [ "$CROSS_ARCH" = "i386" ] ; - then - PKGS="$PKGS g++-multilib" ; - else - PKGS="$PKGS g++-$CROSS_GNU_TYPE" ; - sudo sed -e 's/^deb http/deb [arch=amd64] http/g' /etc/apt/sources.list -i ; - sudo -E apt-add-repository -y "deb [arch=$CROSS_ARCH] http://ports.ubuntu.com trusty main" ; - sudo -E apt-add-repository -y "deb [arch=$CROSS_ARCH] http://ports.ubuntu.com trusty-updates main" ; - fi ; - if [ "$CROSS_ARCH" != "armhf" ] ; - then - PKGS="$PKGS libnuma-dev:$CROSS_ARCH" ; - fi ; - sudo cat /etc/apt/sources.list ; - sudo -E apt-get -y update || true ; - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install $PKGS || exit 1 ; - export PKG_CONFIG_PATH=/usr/lib/${CROSS_MULTIARCH}/pkgconfig:/usr/${CROSS_MULTIARCH}/lib/pkgconfig ; - fi - - if [ "${CC#clang}" != "${CC}" ] ; - then - if [ -n "$CROSS_ARCH" ] ; - then - export CC="${CC} --target=$CROSS_GNU_TYPE" ; - if [ "$CROSS_ARCH" = "i386" ] ; - then - DPDK_CFLAGS="-m32" ; - else - DPDK_CROSS="$CROSS_GNU_TYPE-" ; - DPDK_CFLAGS="--target=$CROSS_GNU_TYPE" ; - fi - fi ; - export CXX="${CC/clang/clang++}"; - elif [ "$CROSS_ARCH" = "i386" ] ; - then - export CC="gcc -m32" ; - export CXX="g++ -m32" ; - DPDK_CFLAGS="-m32" ; - elif [ -n "$CROSS_ARCH" ] ; - then - export CC="$CROSS_GNU_TYPE"-gcc ; - export CXX="$CROSS_GNU_TYPE"-g++ ; - DPDK_CROSS="$CROSS_GNU_TYPE-" ; - fi - - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi - - ccache -s - # Install cunit for the validation tests because distro version is too old and fails C99 compile - - sudo apt-get remove libcunit1-dev libcunit1 - - export LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" - - | - if [ ! -f "$HOME/cunit-install/$CROSS_ARCH/lib/libcunit.a" ]; then - 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 - pushd CUnit* - libtoolize --force --copy - aclocal - autoheader - automake --add-missing --include-deps --copy - autoconf - ./configure --prefix=$HOME/cunit-install/$CROSS_ARCH --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test $CROSS || cat config.log - make -j $(nproc) - sudo make install - popd - fi - - export PKG_CONFIG_PATH="$HOME/cunit-install/$CROSS_ARCH/lib/pkgconfig:${PKG_CONFIG_PATH}" - - find $HOME/cunit-install - - # workaround for tap driver issues on recent Travis images - # Allow forwaring on virtual interfaces used for testing - - sudo iptables --policy FORWARD ACCEPT - + - clang install: - - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages - - sudo mkdir -p /mnt/huge - - sudo mount -t hugetlbfs nodev /mnt/huge - - - if [ -z "$CROSS_ARCH" ] ; - then - sudo apt-get -qq update ; - sudo apt-get install linux-headers-`uname -r` ; - fi - - gem install asciidoctor - - # DPDK pktio. Cache will be updated automatically to ${DPDK_VERS} - - | - case "$CROSS_ARCH" in - "arm64") - DPDK_TARGET="arm64-armv8a-linuxapp-" - ;; - "armhf") - DPDK_TARGET="arm-armv7a-linuxapp-" - ;; - "i386") - DPDK_TARGET="i686-native-linuxapp-" - ;; - "") - DPDK_TARGET="x86_64-native-linuxapp-" - DPDK_MACHINE=snb - ;; - esac - - | - if [ -n "$DPDK_TARGET" ] ; then - if [ "${CC#clang}" != "${CC}" ] ; then - DPDKCC=clang ; - else - DPDKCC=gcc ; - fi - if [ -n "$DPDK_SHARED" ] ; then - TARGET="${DPDK_TARGET}$DPDKCC"-shared - LIBDPDKEXT=so - export LD_LIBRARY_PATH="`pwd`/${TARGET}:$LD_LIBRARY_PATH" - echo $LD_LIBRARY_PATH - else - TARGET="${DPDK_TARGET}$DPDKCC" - LIBDPDKEXT=a - fi - DPDK_TARGET="${DPDK_TARGET}gcc" - CACHED_DPDK_VERS=`fgrep Version dpdk/pkg/dpdk.spec | cut -d " " -f 2` - if [ ! -d dpdk -o "${CACHED_DPDK_VERS}" != "${DPDK_VERS}" ]; then - rm -rf dpdk - mkdir dpdk - pushd dpdk - git init - git -c advice.detachedHead=false fetch -q --depth=1 http://dpdk.org/git/dpdk-stable v${DPDK_VERS} - git checkout -f FETCH_HEAD - popd - fi - if [ ! -f "dpdk/${TARGET}/usr/local/lib/libdpdk.$LIBDPDKEXT" ]; then - pushd dpdk - git log --oneline --decorate - # AArch64 && ARMv7 fixup - sed -i -e 's/40900/40800/g' lib/librte_eal/common/include/arch/arm/rte_vect.h - sed -i -e 's/!(/!(defined(__arm__) \&\& defined(__clang__) || /g' lib/librte_eal/common/include/arch/arm/rte_byteorder.h - sed -i -e 's/__GNUC__/defined(__arm__) \&\& defined(__clang__) || __GNUC__/' lib/librte_eal/common/include/generic/rte_byteorder.h - sed -i -e 's,\$(CC),\0 $(EXTRA_CFLAGS),g' lib/librte_acl/Makefile - make config T=${DPDK_TARGET} O=${TARGET} - pushd ${TARGET} - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config - # OCTEON TX driver includes ARM v8.1 instructions - sed -ri 's,(CONFIG_RTE_LIBRTE_OCTEONTX_PMD=).*,\1n,' .config - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=).*,\1n,' .config - sed -ri 's,(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=).*,\1n,' .config - if test -n "${DPDK_MACHINE}" ; then - sed -ri 's,(CONFIG_RTE_MACHINE=).*,\1"'${DPDK_MACHINE}'",' .config - fi - if test -n "${DPDK_SHARED}" ; then - sed -ri 's,(CONFIG_RTE_BUILD_SHARED_LIB=).*,\1y,' .config - fi - if test -n "$CROSS_ARCH" ; then - sed -ri -e 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1n,' .config - sed -ri -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config - fi - sed -ri -e 's,(CONFIG_RTE_TOOLCHAIN=).*,\1"'${DPDKCC}'",' .config - sed -ri -e '/CONFIG_RTE_TOOLCHAIN_.*/d' .config - echo CONFIG_RTE_TOOLCHAIN_${DPDKCC^^}=y >> .config - popd - make build O=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" CC="$CC" HOSTCC=gcc -j $(nproc) - make install O=${TARGET} DESTDIR=${TARGET} - rm -r ./doc ./${TARGET}/app ./${TARGET}/build - popd - fi - EXTRA_CONF="$EXTRA_CONF --with-dpdk-path=`pwd`/dpdk/${TARGET}/usr/local" - fi - -# Netmap pktio - - | - if [ -z "$CROSS_ARCH" ]; then - if [ ! -f "netmap/LINUX/netmap.ko" ]; then - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git - pushd netmap/LINUX - ./configure - make -j $(nproc) - popd - fi - sudo insmod ./netmap/LINUX/netmap.ko - EXTRA_CONF="$EXTRA_CONF --with-netmap-path=`pwd`/netmap" - fi - + - sudo apt-get install linux-headers-`uname -r` script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install - --enable-user-guides - --enable-debug=full - --enable-helper-linux - $CROSS $EXTRA_CONF $CONF - - make -j $(nproc) - - mkdir /dev/shm/odp - # Run all tests only for default configuration - - if [ -z "$CROSS_ARCH" ] ; then - if [ -n "$CONF" ] ; then - sudo ODP_CONFIG_FILE="`pwd`/config/odp-linux-generic.conf" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check ; - else - sudo ODP_SCHEDULER=basic LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check ; - sudo ODP_SCHEDULER=sp LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check ; - sudo ODP_SCHEDULER=iquery LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check ; - sudo ODP_SCHEDULER=scalable LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check ; - fi + - if [ "${CC#clang}" != "${CC}" ] ; then LD=ld CXX=clang++; fi + - if [ -n "${CROSS_ARCH}" ] ; then + docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" -e DPDK_SHARED="${DPDK_SHARED}" + maximuvarov/odp_ubuntu_14.04.5 /root/build_${CROSS_ARCH}.sh ; + else + docker run --privileged -i -t + -v `pwd`:/odp -v/lib/modules:/lib/modules -v/usr/src:/usr/src --shm-size 8g + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" -e DPDK_SHARED="${DPDK_SHARED}" + ${DOCKER_NAMESPACE}/travis-odp-lng-x86 /odp/scripts/ci/build_x86_64.sh $CONF ; fi - - make install - - - echo "Checking linking and run from install..." - - pushd $HOME - - echo "Dynamic link.." - - ${CC} ${CFLAGS} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_dynamic `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux` - - if [ -z "$CROSS_ARCH" ] ; then - LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst_dynamic ; - fi - - | - # it is not possible to do static linking if we only have shared DPDK library. Compiler complains about missing -ldpdk - if [ -z "$TARGET" -o -z "$DPDK_SHARED" ] ; then - echo "Static link.." - ${CC} ${CFLAGS} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_static `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux --static` -static || exit 1 - if [ -z "$CROSS_ARCH" ] ; then - ./odp_hello_inst_static; - fi - fi - - popd - - ccache -s - jobs: include: - stage: test env: TEST=coverage compiler: gcc script: - - sudo pip install coverage - - ./bootstrap - - ./configure --prefix=$HOME/odp-install - --enable-user-guides - --with-dpdk-path=`pwd`/dpdk/${TARGET}/usr/local - --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" - CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - --enable-debug=full - --enable-helper-linux - - CCACHE_DISABLE=1 make -j $(nproc) - - mkdir -p /dev/shm/odp - - sudo CCACHE_DISABLE=1 ODP_SCHEDULER=basic ODP_SHM_DIR=/dev/shm/odp LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make check - - sudo CCACHE_DISABLE=1 ODP_SCHEDULER=sp ODP_SHM_DIR=/dev/shm/odp LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make check - - sudo CCACHE_DISABLE=1 ODP_SCHEDULER=iquery ODP_SHM_DIR=/dev/shm/odp LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make check - - sudo CCACHE_DISABLE=1 ODP_SCHEDULER=scalable ODP_SHM_DIR=/dev/shm/odp LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make check - - bash <(curl -s https://codecov.io/bash) -X coveragepy + - docker run --privileged -i -t + -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src --shm-size 8g + -e CODECOV_TOKEN="${CODECOV_TOKEN}" + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" + ${DOCKER_NAMESPACE}/travis-odp-lng-x86 /odp/scripts/ci/coverage.sh - stage: test env: TEST=distcheck compiler: gcc script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install - --enable-user-guides - - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck - - stage: test - env: TEST=distcheck-non-abi - compiler: gcc - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install - --enable-user-guides - - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK__CONFIGURE_FLAGS=--disable-abi-compat + - docker run --privileged -i -t + -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src --shm-size 8g + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" + ${DOCKER_NAMESPACE}/travis-odp-lng-x86 /odp/scripts/ci/distcheck.sh - stage: "build only" env: TEST=doxygen compiler: gcc @@ -364,85 +138,83 @@ jobs: true fi - stage: "build only" - env: CONF="" - compiler: gcc - install: true - script: - - ./bootstrap - - ./configure --enable-helper-linux - - make -j $(nproc) - - stage: "build only" - env: CONF="" - compiler: clang-3.8 - install: true - script: - - ./bootstrap - - ./configure --enable-helper-linux - - make -j $(nproc) - - stage: "build only" - env: CROSS_ARCH="i386" - compiler: gcc - install: true - script: - - ./bootstrap - - ./configure --enable-helper-linux $CROSS - - make -j $(nproc) - - stage: "build only" - env: CROSS_ARCH="arm64" + env: Ubuntu14.04_arm64 compiler: gcc - install: true script: - - ./bootstrap - - ./configure --enable-helper-linux $CROSS - - make -j $(nproc) + - docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + maximuvarov/odp_ubuntu_14.04.5 /root/build_arm64.sh - stage: test compiler: gcc env: CROSS_ARCH="arm64" - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="arm64" - stage: test compiler: gcc env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" - stage: test compiler: gcc env: CROSS_ARCH="powerpc" - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="powerpc" - stage: test compiler: gcc env: CROSS_ARCH="i386" + script: + - docker run --privileged -i -t + -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" + maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="i386" + script: + - docker run --privileged -i -t + -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" + maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test compiler: gcc env: CROSS_ARCH="arm64" CONF="--disable-abi-compat" - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="arm64" CONF="--disable-abi-compat" - stage: test compiler: gcc env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" CONF="--disable-abi-compat" - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" CONF="--disable-abi-compat" - stage: test compiler: gcc env: CROSS_ARCH="powerpc" CONF="--disable-abi-compat" - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="powerpc" CONF="--disable-abi-compat" - stage: test compiler: gcc env: CROSS_ARCH="i386" CONF="--disable-abi-compat" + script: + - docker run --privileged -i -t + -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" + maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test - compiler: clang-3.8 + compiler: clang env: CROSS_ARCH="i386" CONF="--disable-abi-compat" + script: + - docker run --privileged -i -t + -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" + -e CONF="${CONF}" + maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test canfail: yes env: TEST=checkpatch diff --git a/scripts/ci/build_dpdk.sh b/scripts/ci/build_dpdk.sh new file mode 100755 index 000000000..9ceac4529 --- /dev/null +++ b/scripts/ci/build_dpdk.sh @@ -0,0 +1,89 @@ +#!/bin/bash -x + +set -e + +DPDK_VERS="17.11.2" +CROSS= + + +case "$CROSS_ARCH" in + "arm64") + DPDK_TARGET="arm64-armv8a-linuxapp-" + ;; + "armhf") + DPDK_TARGET="arm-armv7a-linuxapp-" + ;; + "i386") + DPDK_TARGET="i686-native-linuxapp-" + ;; + "") + DPDK_TARGET="x86_64-native-linuxapp-" + DPDK_MACHINE=snb + ;; +esac + + +if [ -n "$DPDK_TARGET" ] ; then + if [ "${CC#clang}" != "${CC}" ] ; then + DPDKCC=clang ; + else + DPDKCC=gcc ; + fi + if [ -n "$DPDK_SHARED" ] ; then + TARGET="${DPDK_TARGET}$DPDKCC"-shared + LIBDPDKEXT=so + export LD_LIBRARY_PATH="`pwd`/${TARGET}:$LD_LIBRARY_PATH" + echo $LD_LIBRARY_PATH + else + TARGET="${DPDK_TARGET}$DPDKCC" + LIBDPDKEXT=a + fi + DPDK_TARGET="${DPDK_TARGET}gcc" + CACHED_DPDK_VERS=`fgrep Version dpdk/pkg/dpdk.spec | cut -d " " -f 2` + if [ ! -d dpdk -o "${CACHED_DPDK_VERS}" != "${DPDK_VERS}" ]; then + rm -rf dpdk + mkdir dpdk + pushd dpdk + git init + git -c advice.detachedHead=false fetch -q --depth=1 http://dpdk.org/git/dpdk-stable v${DPDK_VERS} + git checkout -f FETCH_HEAD + popd + fi + if [ ! -f "dpdk/${TARGET}/usr/local/lib/libdpdk.$LIBDPDKEXT" ]; then + pushd dpdk + git log --oneline --decorate + # AArch64 && ARMv7 fixup + sed -i -e 's/40900/40800/g' lib/librte_eal/common/include/arch/arm/rte_vect.h + sed -i -e 's/!(/!(defined(__arm__) \&\& defined(__clang__) || /g' lib/librte_eal/common/include/arch/arm/rte_byteorder.h + sed -i -e 's/__GNUC__/defined(__arm__) \&\& defined(__clang__) || __GNUC__/' lib/librte_eal/common/include/generic/rte_byteorder.h + sed -i -e 's,\$(CC),\0 $(EXTRA_CFLAGS),g' lib/librte_acl/Makefile + make config T=${DPDK_TARGET} O=${TARGET} + pushd ${TARGET} + sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config + # OCTEON TX driver includes ARM v8.1 instructions + sed -ri 's,(CONFIG_RTE_LIBRTE_OCTEONTX_PMD=).*,\1n,' .config + sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=).*,\1n,' .config + sed -ri 's,(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=).*,\1n,' .config + if test -n "${DPDK_MACHINE}" ; then + sed -ri 's,(CONFIG_RTE_MACHINE=).*,\1"'${DPDK_MACHINE}'",' .config + fi + if test -n "${DPDK_SHARED}" ; then + sed -ri 's,(CONFIG_RTE_BUILD_SHARED_LIB=).*,\1y,' .config + fi + if test -n "$CROSS_ARCH" ; then + sed -ri -e 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1n,' .config + sed -ri -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config + fi + sed -ri -e 's,(CONFIG_RTE_TOOLCHAIN=).*,\1"'${DPDKCC}'",' .config + sed -ri -e '/CONFIG_RTE_TOOLCHAIN_.*/d' .config + echo CONFIG_RTE_TOOLCHAIN_${DPDKCC^^}=y >> .config + popd + make build O=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" CC="${CC}" HOSTCC="gcc" -j $(nproc) + make install O=${TARGET} DESTDIR=${TARGET} + pwd + rm -r ./doc ./${TARGET}/app ./${TARGET}/build + popd + fi +fi + +echo "`pwd`/dpdk/${TARGET}/usr/local" > /tmp/dpdk_install_dir diff --git a/scripts/ci/build_x86_64.sh b/scripts/ci/build_x86_64.sh new file mode 100755 index 000000000..1dc039e96 --- /dev/null +++ b/scripts/ci/build_x86_64.sh @@ -0,0 +1,45 @@ +#!/bin/bash +set -e + +# CC LD AR CXX has to be predifubed +# + +export PKG_CONFIG_PATH="$HOME/cunit-install/x86_64/lib/pkgconfig:${PKG_CONFIG_PATH}" + +CWD=$(dirname "$0") +TDIR=`mktemp -d -p ~` + +cd ${TDIR} +export CROSS_ARCH="" + +export TARGET="x86_64$DPDKCC" + +$CWD/build_dpdk.sh +DPDKPATH=`cat /tmp/dpdk_install_dir` + +echo 1000 | tee /proc/sys/vm/nr_hugepages +mkdir -p /mnt/huge +mount -t hugetlbfs nodev /mnt/huge + +git clone ${CWD}/../../ odp +cd ./odp +./bootstrap +./configure ${CONF} \ + --with-dpdk-path=${DPDKPATH} + +make clean +make -j 8 +# Tell some time sensative ODP test that they can be skipped due to not +# isolated environment. +export CI="true" +make check + +if [ $? -ne 0 ]; then + find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done +fi + +cd ~ +rm -rf ${TDIR} + +umount /mnt/huge + diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh new file mode 100755 index 000000000..4326cb7dd --- /dev/null +++ b/scripts/ci/coverage.sh @@ -0,0 +1,35 @@ +#!/bin/bash +set -e + +# CC LD AR CXX has to be predifubed +# + +export PKG_CONFIG_PATH="$HOME/cunit-install/x86_64/lib/pkgconfig:${PKG_CONFIG_PATH}" + +CWD=$(dirname "$0") +TDIR=`mktemp -d -p ~` + +cd ${TDIR} +export CROSS_ARCH="" +export TARGET="x86_64$DPDKCC" + +$CWD/build_dpdk.sh + +git clone ${CWD}/../../ odp +cd ./odp +./bootstrap +./configure \ + CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" \ + --enable-debug=full --enable-helper-linux +make clean +export CCACHE_DISABLE=1 +make -j $(nproc) + +ODP_SCHEDULER=basic make check +ODP_SCHEDULER=sp make check +ODP_SCHEDULER=iquery make check +ODP_SCHEDULER=scalable make check +bash <(curl -s https://codecov.io/bash) -X coveragepy + +cd ~ +rm -rf ${TDIR} diff --git a/scripts/ci/distcheck.sh b/scripts/ci/distcheck.sh new file mode 100755 index 000000000..22013473b --- /dev/null +++ b/scripts/ci/distcheck.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -e + +# CC LD AR CXX has to be predifubed +# + +export PKG_CONFIG_PATH="$HOME/cunit-install/x86_64/lib/pkgconfig:${PKG_CONFIG_PATH}" + +CWD=$(dirname "$0") +TDIR=`mktemp -d -p ~` + +cd ${TDIR} +git clone ${CWD}/../../ odp +cd ./odp +./bootstrap +./configure --enable-user-guides + +make clean +make distcheck + +make clean +make distcheck DISTCHECK__CONFIGURE_FLAGS=--disable-abi-compat + +cd ~ +rm -rf ${TDIR} From patchwork Thu Aug 2 16:00:05 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: 143356 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2342623ljj; Thu, 2 Aug 2018 09:05:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpewKueMK+C5a1o4Bk63GCBQc2IWCrVfwZ5EapqB2VX735yvzP5z4zHQdyBAjRJ6/gyqUgXW X-Received: by 2002:a0c:e5ce:: with SMTP id u14-v6mr134317qvm.6.1533225905391; Thu, 02 Aug 2018 09:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533225905; cv=none; d=google.com; s=arc-20160816; b=wU5vXd5LZ9bmzQ4JVoqHEwJ21rredyw78QT0zEcTRPu/D1micSp4rB/le/tp1V1X0y yAsV/EplDDoCxvDPxKuxvlJK/KV2ZnDMonbz1OFdQ9d7qT/kGDsK09monKUhLlpa+OKy C5itwCmGIR6rtIyGyT9yc5e+67Lz88973OJ9B1ypEP9ELv51vocsyY1c7/Pdx/KrpGjv KEbRk4fdezukgE86nod2hUDKR9Y4CX8/XUEJIwxfxDR7jSDwJssahivl3TQ4ieQzOrXU tD6wnT2p0/jAOVzJjs8bQCy7yfDcAzG3WgAqUnq56QyGRpZWPzAVuy8dy9YkGgtIjH2X IixA== 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=snGuYz6r+yx/Orv63HwtCHaxa8XevN/GchU080ELXxc=; b=Kvvl6GMZME+GhOy/rfhsHpsJcw9CIY7bPM/yTv/Y0iOnuysGfYNp3jDPZfzRDxJv+y +V9xMIKWTGi78nS8CDpYGSmPwd7tcdwMw8J6+niocFqPs/oyAPHep00pOKJC2e69Ptxk GrXVM6K6LvKC6avW4tPvC9EWd0XrxhvShYmflhEbdnwhCcBZnI5Lr/AYbs1LNTabpv92 C9PFoKO9WNwpg8LpQ43ZFfScUqEiStEyIP9n18tMj33nB/pMAGyTirENTl0E8uNmpX/4 UgKtGR/DPl8LMFfGedSH00Z6WOFS7UEC6FERjnda/Y2CSzkMikNQT4I4kpp5lY6txgEc pMjw== 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 j2-v6si466419qtp.300.2018.08.02.09.05.05; Thu, 02 Aug 2018 09:05:05 -0700 (PDT) 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 161B06860C; Thu, 2 Aug 2018 16:05:05 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 561F36860D; Thu, 2 Aug 2018 16:01: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 D18C76860D; Thu, 2 Aug 2018 16:01:36 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 4C8F36860D for ; Thu, 2 Aug 2018 16:00:26 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward106j.mail.yandex.net (Yandex) with ESMTP id D64421807D3D for ; Thu, 2 Aug 2018 19:00:24 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PKWOJhiPFI-0IR8ZNmw; Thu, 02 Aug 2018 19:00:18 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0H9e4GSV; Thu, 02 Aug 2018 19:00:18 +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, 2 Aug 2018 16:00:05 +0000 Message-Id: <1533225614-20192-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 2/11] travis: name space to lngodp 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f0db2931..a9ce7faa9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,7 +80,7 @@ script: docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" -e DPDK_SHARED="${DPDK_SHARED}" - maximuvarov/odp_ubuntu_14.04.5 /root/build_${CROSS_ARCH}.sh ; + lngodp/odp_ubuntu_14.04.5 /root/build_${CROSS_ARCH}.sh ; else docker run --privileged -i -t -v `pwd`:/odp -v/lib/modules:/lib/modules -v/usr/src:/usr/src --shm-size 8g @@ -142,7 +142,7 @@ jobs: compiler: gcc script: - docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src - maximuvarov/odp_ubuntu_14.04.5 /root/build_arm64.sh + lngodp/odp_ubuntu_14.04.5 /root/build_arm64.sh - stage: test compiler: gcc env: CROSS_ARCH="arm64" @@ -169,7 +169,7 @@ jobs: -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" - maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; + lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test compiler: clang env: CROSS_ARCH="i386" @@ -178,7 +178,7 @@ jobs: -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" - maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; + lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test compiler: gcc env: CROSS_ARCH="arm64" CONF="--disable-abi-compat" @@ -205,7 +205,7 @@ jobs: -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" - maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; + lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test compiler: clang env: CROSS_ARCH="i386" CONF="--disable-abi-compat" @@ -214,7 +214,7 @@ jobs: -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" - maximuvarov/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; + lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; - stage: test canfail: yes env: TEST=checkpatch From patchwork Thu Aug 2 16:00:06 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: 143358 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2343677ljj; Thu, 2 Aug 2018 09:05:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfG6LpYLuRbPiY2ykpjdCSk66naSPE8cAYQjoWH61GNv2Jz3XJs8bDWzceceb9tsTvU7x3j X-Received: by 2002:a0c:d647:: with SMTP id e7-v6mr99716qvj.238.1533225948567; Thu, 02 Aug 2018 09:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533225948; cv=none; d=google.com; s=arc-20160816; b=QzrHjHPK+W/fOrD62GRMTnh5/kAlqy+SyTWWkIAFvhEe+LuuYCtMgRNda7fXxPJLbY b+7SFVL+qNWy/T7S2j0hqtQWRbqphAoZ+aR6ObONBbvU57n0xNiSyl0B4s4vsCTWE2Gg 06EHb543GCxXds54gJUpJNDChnR6qzmC7p+eqxaZ7iAj5PKGyyKgPHvZig7gNuk7NB0F +gtdv3hJ135i9XZTGAkyms7C5iocGjPQyUl4Few1+eNWb9gXh1QR+BQ0vkVSjBF/RRKm PS7Kghm0DAYmQYVD+wqXUcL4h459D/ry2XEnJV4kMY1fMFO232w1oYN4/IyjCs/GTPaN ODew== 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=kOXGda0zho3jGlFOg1GtfwXroQWggjOJ/ga/iWwDHxU=; b=fzmWcRp3tBM3lr2xwV5a4ZRws8h+9ufpPDXDaELypVYjjh28LfimODjBJ3CDo2jzcp 4KtQ7jJt8abycixD0zGfMX/+qKc4dcMWGrf6dK7iA7XfGw5E29VWrcfyeZB6Zxusdf/j VPrjAD9vGS3+Y0VZOTQOlq5EZgBmGm9v8xc2zmQL2cUc7fRNotUrcgMnTUCH8UW93nb0 fxGOi5dIMlQqG9ajjJT3p9pQfLBhu7p7iqYz9PmaDKreY+eeT6GcMdoddVSBw94bUVnE Llr7stsVGZQMY2yxgjvxZ/r+tpuRM5rpgw3gVY1gKYL615F0iM7rM21bTcsx30tE42/c 7v1g== 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 r41-v6si732506qtc.194.2018.08.02.09.05.48; Thu, 02 Aug 2018 09:05:48 -0700 (PDT) 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 2E30268620; Thu, 2 Aug 2018 16:05:48 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 2BEB26860F; Thu, 2 Aug 2018 16:01:50 +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 B9E2E68610; Thu, 2 Aug 2018 16:01:45 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id CB37368610 for ; Thu, 2 Aug 2018 16:00:26 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward106j.mail.yandex.net (Yandex) with ESMTP id C2F6718024E8 for ; Thu, 2 Aug 2018 19:00:25 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id y2ThwXJFS0-0PpqonnW; Thu, 02 Aug 2018 19:00:25 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0O9eEtHu; Thu, 02 Aug 2018 19:00:25 +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, 2 Aug 2018 16:00:06 +0000 Message-Id: <1533225614-20192-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 3/11] travis: no need to set compiller 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a9ce7faa9..b620da3e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -139,7 +139,6 @@ jobs: fi - stage: "build only" env: Ubuntu14.04_arm64 - compiler: gcc script: - docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src lngodp/odp_ubuntu_14.04.5 /root/build_arm64.sh From patchwork Thu Aug 2 16: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: 143357 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2343573ljj; Thu, 2 Aug 2018 09:05:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd7yePTSrHWnYQwBVjuKh+3Z8NjPOfjJZd6by6dCa+LOUKWxmWsiuu8A6kfQnipjipiTdK4 X-Received: by 2002:a37:cf87:: with SMTP id v7-v6mr109037qkl.228.1533225943873; Thu, 02 Aug 2018 09:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533225943; cv=none; d=google.com; s=arc-20160816; b=O4B/2BVALxJZjC7kIR8AhI6EQ4TdLJ85oV4r9xRUzMnzEKgfOt5Wpxv4tvpyvoRj8h 49TmF4nq4IwS1qlZ25g3jk3KwhICSCTx/FQWEzGp66OMyqmwx8Rm1KpY/Sq9TZ80W6Tp YZytzi59J6oHtHy+tNWmgNadIirr3wsYqoldztpGFqSYF7MFFzmAMQZF6Q5j7XGcs9Ob uHBde6YwNZXTtouYCxeMLHf1MkiBxVYUOeHJnC9aaZSTyyr2GTb1gx7Zo/gA3krVu3/W +dSznXBaV215IrPkrTpw0Xz++ILzr5adruo7W/JDYuSsc/6mZRxQp/umOcQZgdb2D2HU 7l4A== 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=CFi3OFwLVzcUYesZ8LF1QrSxyVfcyfmKML0v091lbPY=; b=XpREsG+p9rjvx6KNm77q7JK6M3eJ34Lg5B4BqtG5tePIeb5eRu6UWZM7B4x4usf6rn bmKaiIUMDPLPM8RPKSU150vSbyw3RPXh6iabgUvmrN6RoL6+wlidWinrBdIKykI+vNnQ oNYjSvBbXGUPFU16fvbyLIRRmV76v38bVdp+JcBQ8xSzex8bAsiFMoIx63mYeZL6eufs TIGhUwvluM6mknCaEL19n42/ZKBQOwHa/3FRahf0+fvFhJvt+MZxoF3QTymux84j2bwZ J70tRJ0Gak8CXz/E82c5x8UV83GLAGM10yWpZsOsz++Cp48r20FnUjA+L/AlpU0Fm5wV KKEw== 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 t68-v6si1602480qkl.70.2018.08.02.09.05.43; Thu, 02 Aug 2018 09:05:43 -0700 (PDT) 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 75B7268620; Thu, 2 Aug 2018 16:05:43 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 A04BE68601; Thu, 2 Aug 2018 16:01:45 +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 0DF1268625; Thu, 2 Aug 2018 16:01:42 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id AF85068601 for ; Thu, 2 Aug 2018 16:00:27 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward100p.mail.yandex.net (Yandex) with ESMTP id A1FFF5102961 for ; Thu, 2 Aug 2018 19:00:26 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id FP67ugERBb-0QSO4jN1; Thu, 02 Aug 2018 19:00:26 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0P9GdDDe; Thu, 02 Aug 2018 19:00:25 +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, 2 Aug 2018 16:00:07 +0000 Message-Id: <1533225614-20192-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 4/11] ci: fix comment for time sensitive 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: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ scripts/ci/build_x86_64.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/build_x86_64.sh b/scripts/ci/build_x86_64.sh index 1dc039e96..4cd3ed00f 100755 --- a/scripts/ci/build_x86_64.sh +++ b/scripts/ci/build_x86_64.sh @@ -29,8 +29,8 @@ cd ./odp make clean make -j 8 -# Tell some time sensative ODP test that they can be skipped due to not -# isolated environment. +# Ignore possible failures there because these tests depends on measurements +# and systems might differ in performance. export CI="true" make check From patchwork Thu Aug 2 16: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: 143359 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2344585ljj; Thu, 2 Aug 2018 09:06:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfJTD4XYH+EXScu5J+gAus3XAdM5DfZvfs4Alptjv7GYJ4bnoaj2bVkkcsxLgQgUFpE03n8 X-Received: by 2002:a37:5f87:: with SMTP id t129-v6mr96215qkb.23.1533225990014; Thu, 02 Aug 2018 09:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533225990; cv=none; d=google.com; s=arc-20160816; b=HDHjd6c8TZ6YOfcZBSMr4MqQB0Ccii/kmN7ZiUWmruWT2U3uW9bnURNawplD4AU0io augmYvVcKr40k6/uT6ba+zM1GGuVl6eec5pWQHJcY3Z9I/6bvMa5dLdCqyA+FoTspYCZ n3zOx5knZedVHTmbLcz7GkBkI07gPA85i1oJMJxVWy7o89+miXIja3XoMe8kjZGqzCwD B9ny4DS27VFAQIpNDZF35Y7ZKI8mv+3vD1IsfqzBOXEDBVqci0GPmXedrNPOfHMHGxxZ pdcS3AEgc3hFpmHtHsopGGDyE1W8aJjHa3oj40DWEv+Tdxmui+zxLYPEpAvZmPDW1u+5 W8eA== 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=QnT0lLGXtAtRdQKK6yA2qj/sqWPgyVMKKgyRw73QjxE=; b=y5jS3z7nOHf+kJ0aAvCjrDWda1v3qqOtWHBzvDvMRjLEgqknSBMjULIQMz8CQlfyto Uisv9oMlWnLiVZPif9onP/IDfs8uS49x7X7avWRvNz/6U/zkUtCkEG/8efols/93+sdi Kvqaxsk8OaqRWJE3/tXwC6gjz7d2uQwlzz66sR1Dz/cE/4S5zgY7d1jfoJJhH+nanv1O rYurfovhiw0MKEIZ2Y/DIfYG17G3f6OVI/OD0yOegBgWrv+t5qJpK3aPBWZaSNnPhJso GXjQ5y0AvfeOaZjz5B03wBzz4zT3R7gCuWPP/f24MolTIRtVEb6BXbhy+5047xms50pd FbmA== 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 e64-v6si1200752qkb.255.2018.08.02.09.06.29; Thu, 02 Aug 2018 09:06:30 -0700 (PDT) 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 B248868620; Thu, 2 Aug 2018 16:06:29 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 965966862A; Thu, 2 Aug 2018 16:01: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 6751F68626; Thu, 2 Aug 2018 16:01:47 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id C9A7268613 for ; Thu, 2 Aug 2018 16:00:28 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 5CCC0186CA0 for ; Thu, 2 Aug 2018 19:00:27 +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 VUMnoBz0mq-0RESVmSo; Thu, 02 Aug 2018 19:00:27 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0Q9q6d3S; Thu, 02 Aug 2018 19:00:26 +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, 2 Aug 2018 16:00:08 +0000 Message-Id: <1533225614-20192-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 5/11] ci: do not do clean 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ scripts/ci/build_x86_64.sh | 1 - scripts/ci/coverage.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/ci/build_x86_64.sh b/scripts/ci/build_x86_64.sh index 4cd3ed00f..d49271d9e 100755 --- a/scripts/ci/build_x86_64.sh +++ b/scripts/ci/build_x86_64.sh @@ -27,7 +27,6 @@ cd ./odp ./configure ${CONF} \ --with-dpdk-path=${DPDKPATH} -make clean make -j 8 # Ignore possible failures there because these tests depends on measurements # and systems might differ in performance. diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index 4326cb7dd..0d812e82b 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -21,7 +21,6 @@ cd ./odp ./configure \ CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" \ --enable-debug=full --enable-helper-linux -make clean export CCACHE_DISABLE=1 make -j $(nproc) From patchwork Thu Aug 2 16: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: 143361 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2345834ljj; Thu, 2 Aug 2018 09:07:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfSFcgyYVEPSjfZ1Wnildq/49wNwZg06xYzc/PAf+mtLespVWyp85zTzQXyC1O+0uV/xXmG X-Received: by 2002:a0c:91b5:: with SMTP id n50-v6mr131498qvn.90.1533226055119; Thu, 02 Aug 2018 09:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533226055; cv=none; d=google.com; s=arc-20160816; b=G4OCk7bIxuM5PoHp/7+CpJ+Wo7K6CxE3h1TlYm0uO140RwGpc0EMbk21iqo8x0FoaG HR8rqyHUsrgHJ4jzn2GPkDO7+jKUPx4drB1I1OpEvr3f4JpJzZcfWaMJ4vZzps/qM3Es dY7IsiTRtY52bTBEssembPuEnWkI6P/gAw9hmxDllyWPjk7TWSMPggbOa0TikVZm+YNS +O+0f19JQ7fllN3eFUFaVzJJ+J1dtSAVkOx4ohcC8iCI1+q99VB6LiAXgsDbaRu9lVVA h0vCRzJe1ZgitNLcxuEqviIviEoEaewK2Bp/N7goHnIA+3AF+UVxl+pQlb8hcVzggDKS TTig== 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=ADARPve2iUY9kX4m78eSinnjJeK6cDXHfIDqcZKgUtI=; b=s8Vo0L/aGnO4qW/R/Zqq7DpURvw9eqytqhp5nsmTRdZyS0Vv4wTPCgpXxLovY3RliR 2EHfxyAU/VEkVdivLXa3Zrs7sxrUxirBDZ4/EKwmpUAvWepZOyJK3+d/NjwqgPARTi4X a0ZT2TUFkJi1FOTKfz4pUh6OfG/DVDsm45Q6+5+kmKt6YgaD77kX3FtQwBVCwWSuUWPL UDTK9MRRG7jM0M9DjyhuKgSI2MgPwG8LZymT2GeCXaRRZl4tqWFXxCJNcAdOmlZpDfhh 9ee0bNMvKzLRLqQuOxJCMax3jyzK9/SHkAoQe4azbZFgVIJ45UhQJyjFhs19KzTcypnj A6hQ== 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 s38-v6si1327129qtc.226.2018.08.02.09.07.34; Thu, 02 Aug 2018 09:07:35 -0700 (PDT) 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 C9F4268621; Thu, 2 Aug 2018 16:07: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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 4EFE568618; Thu, 2 Aug 2018 16:02:25 +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 B0DD768615; Thu, 2 Aug 2018 16:02:18 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id B587C68617 for ; Thu, 2 Aug 2018 16:00:29 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 38284588864E for ; Thu, 2 Aug 2018 19:00:28 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id FYIghDKsPX-0Sg05VFN; Thu, 02 Aug 2018 19:00:28 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0R942vQO; Thu, 02 Aug 2018 19:00:27 +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, 2 Aug 2018 16:00:09 +0000 Message-Id: <1533225614-20192-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 6/11] ci: use dpdk installed with apt-get 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ scripts/ci/build_dpdk.sh | 89 ---------------------------------------------- scripts/ci/build_x86_64.sh | 8 +---- scripts/ci/coverage.sh | 6 +--- 3 files changed, 2 insertions(+), 101 deletions(-) delete mode 100755 scripts/ci/build_dpdk.sh diff --git a/scripts/ci/build_dpdk.sh b/scripts/ci/build_dpdk.sh deleted file mode 100755 index 9ceac4529..000000000 --- a/scripts/ci/build_dpdk.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/bash -x - -set -e - -DPDK_VERS="17.11.2" -CROSS= - - -case "$CROSS_ARCH" in - "arm64") - DPDK_TARGET="arm64-armv8a-linuxapp-" - ;; - "armhf") - DPDK_TARGET="arm-armv7a-linuxapp-" - ;; - "i386") - DPDK_TARGET="i686-native-linuxapp-" - ;; - "") - DPDK_TARGET="x86_64-native-linuxapp-" - DPDK_MACHINE=snb - ;; -esac - - -if [ -n "$DPDK_TARGET" ] ; then - if [ "${CC#clang}" != "${CC}" ] ; then - DPDKCC=clang ; - else - DPDKCC=gcc ; - fi - if [ -n "$DPDK_SHARED" ] ; then - TARGET="${DPDK_TARGET}$DPDKCC"-shared - LIBDPDKEXT=so - export LD_LIBRARY_PATH="`pwd`/${TARGET}:$LD_LIBRARY_PATH" - echo $LD_LIBRARY_PATH - else - TARGET="${DPDK_TARGET}$DPDKCC" - LIBDPDKEXT=a - fi - DPDK_TARGET="${DPDK_TARGET}gcc" - CACHED_DPDK_VERS=`fgrep Version dpdk/pkg/dpdk.spec | cut -d " " -f 2` - if [ ! -d dpdk -o "${CACHED_DPDK_VERS}" != "${DPDK_VERS}" ]; then - rm -rf dpdk - mkdir dpdk - pushd dpdk - git init - git -c advice.detachedHead=false fetch -q --depth=1 http://dpdk.org/git/dpdk-stable v${DPDK_VERS} - git checkout -f FETCH_HEAD - popd - fi - if [ ! -f "dpdk/${TARGET}/usr/local/lib/libdpdk.$LIBDPDKEXT" ]; then - pushd dpdk - git log --oneline --decorate - # AArch64 && ARMv7 fixup - sed -i -e 's/40900/40800/g' lib/librte_eal/common/include/arch/arm/rte_vect.h - sed -i -e 's/!(/!(defined(__arm__) \&\& defined(__clang__) || /g' lib/librte_eal/common/include/arch/arm/rte_byteorder.h - sed -i -e 's/__GNUC__/defined(__arm__) \&\& defined(__clang__) || __GNUC__/' lib/librte_eal/common/include/generic/rte_byteorder.h - sed -i -e 's,\$(CC),\0 $(EXTRA_CFLAGS),g' lib/librte_acl/Makefile - make config T=${DPDK_TARGET} O=${TARGET} - pushd ${TARGET} - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config - # OCTEON TX driver includes ARM v8.1 instructions - sed -ri 's,(CONFIG_RTE_LIBRTE_OCTEONTX_PMD=).*,\1n,' .config - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=).*,\1n,' .config - sed -ri 's,(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=).*,\1n,' .config - if test -n "${DPDK_MACHINE}" ; then - sed -ri 's,(CONFIG_RTE_MACHINE=).*,\1"'${DPDK_MACHINE}'",' .config - fi - if test -n "${DPDK_SHARED}" ; then - sed -ri 's,(CONFIG_RTE_BUILD_SHARED_LIB=).*,\1y,' .config - fi - if test -n "$CROSS_ARCH" ; then - sed -ri -e 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1n,' .config - sed -ri -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config - fi - sed -ri -e 's,(CONFIG_RTE_TOOLCHAIN=).*,\1"'${DPDKCC}'",' .config - sed -ri -e '/CONFIG_RTE_TOOLCHAIN_.*/d' .config - echo CONFIG_RTE_TOOLCHAIN_${DPDKCC^^}=y >> .config - popd - make build O=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" CC="${CC}" HOSTCC="gcc" -j $(nproc) - make install O=${TARGET} DESTDIR=${TARGET} - pwd - rm -r ./doc ./${TARGET}/app ./${TARGET}/build - popd - fi -fi - -echo "`pwd`/dpdk/${TARGET}/usr/local" > /tmp/dpdk_install_dir diff --git a/scripts/ci/build_x86_64.sh b/scripts/ci/build_x86_64.sh index d49271d9e..1356dcdc9 100755 --- a/scripts/ci/build_x86_64.sh +++ b/scripts/ci/build_x86_64.sh @@ -10,12 +10,6 @@ CWD=$(dirname "$0") TDIR=`mktemp -d -p ~` cd ${TDIR} -export CROSS_ARCH="" - -export TARGET="x86_64$DPDKCC" - -$CWD/build_dpdk.sh -DPDKPATH=`cat /tmp/dpdk_install_dir` echo 1000 | tee /proc/sys/vm/nr_hugepages mkdir -p /mnt/huge @@ -25,7 +19,7 @@ git clone ${CWD}/../../ odp cd ./odp ./bootstrap ./configure ${CONF} \ - --with-dpdk-path=${DPDKPATH} + --enable-dpdk make -j 8 # Ignore possible failures there because these tests depends on measurements diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index 0d812e82b..279ab5dcf 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -10,17 +10,13 @@ CWD=$(dirname "$0") TDIR=`mktemp -d -p ~` cd ${TDIR} -export CROSS_ARCH="" -export TARGET="x86_64$DPDKCC" - -$CWD/build_dpdk.sh git clone ${CWD}/../../ odp cd ./odp ./bootstrap ./configure \ CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" \ - --enable-debug=full --enable-helper-linux + --enable-debug=full --enable-helper-linux --enable-dpdk export CCACHE_DISABLE=1 make -j $(nproc) From patchwork Thu Aug 2 16: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: 143360 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2345088ljj; Thu, 2 Aug 2018 09:06:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeisB5X3tV1iYxTqEBvyke4Ae0lai+nTr13D7MCzgI2fbljmg3IVMqvUsisZFZECNs60DMc X-Received: by 2002:ac8:367:: with SMTP id w39-v6mr109941qtg.334.1533226014354; Thu, 02 Aug 2018 09:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533226014; cv=none; d=google.com; s=arc-20160816; b=ndPmcZtPLAYT9UMQcf6cfthI1hguVqJoONgxtF/cxHdGDpokW6mR8/4owYASU+xvvT PZfv39tpftB2E99sLjU1E1YSKTEPFAQC/s/F6B5edGwmJdnxZu5F5wCvH33j96oa/iRp f/q0zJqywCFGDY414e93o339ABB+W89TZZ35u4ZGBll6K6C4Q6Gsej5QB4xAAT1Gmf7Z 7qd7aC+HDJZ4UQMopxAIdFeyqYLZE3TD/7ufQ9d/BSTHTPEKgKly8MdqtD3f1EapJfh+ EoZHjIJtcy9foXh9rmifj2yI2hAa5fAgBxIgSdh41DBBbIUzWe9FHkFFGNSjlgVdkGoh rFfg== 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=Zw05jpMivbXc5pcvgX2U4fUn/0AKO5ARdnCxZAMd5pY=; b=m20RqJlH5cebHhLnDoF5v9NIX2K1Hospuyy7NJn0kdzot26yUIpJoaLuFs7mIQqdy/ Tj3FPNmrTtu/fbwbBjnFjJN0XHGBC3nO1aEyyuySbPwM8Ob0RxomB5Wt/KW42FXLYrBs FYoSuhuGtNkaOPunBbziBD580lQlxOVRcNOHm5OFQ4/7LdqFN5b6zAqvSB2Mmb+FBNVE Bk8VL2u+GDkBpWiCOAiAs6VtX6eU81/yGH++Cn4NtcgBlzIQMH/sqndNlk3R6e4DXOut VOWvhMv5x5Ed3wH/x2ppXHFYYMWMTCJOsdMGjMFwjrdQfOFXck/hi3vMhY6xxdbEFgGM eV8w== 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 o37-v6si2175677qvh.216.2018.08.02.09.06.54; Thu, 02 Aug 2018 09:06:54 -0700 (PDT) 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 0C5046861F; Thu, 2 Aug 2018 16:06: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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 0AB4868614; Thu, 2 Aug 2018 16:02:21 +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 8974568615; Thu, 2 Aug 2018 16:02:13 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id 16D8368618 for ; Thu, 2 Aug 2018 16:00:30 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 0794958886DF for ; Thu, 2 Aug 2018 19:00:29 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hHItlXNzbO-0SfOw1IT; Thu, 02 Aug 2018 19:00:28 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0S9GAnE4; Thu, 02 Aug 2018 19:00:28 +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, 2 Aug 2018 16:00:10 +0000 Message-Id: <1533225614-20192-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 7/11] travis: disable static applications for internal dpdk 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b620da3e5..d0c0e63d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,7 +60,7 @@ env: - CONF="" - CONF="--disable-abi-compat" - CONF="--enable-deprecated" - - CONF="--enable-dpdk-zero-copy" + - CONF="--enable-dpdk-zero-copy --disable-static-applications" - CONF="--disable-static-applications" - CONF="--disable-host-optimization" - CONF="--disable-host-optimization --disable-abi-compat" From patchwork Thu Aug 2 16: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: 143362 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2347454ljj; Thu, 2 Aug 2018 09:08:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcWpVNGdmeugfe8N6yupQPGj/XNa99TcFSvOU+rzyk0f6a6+864+nLXUnMf7ERtI03+EJ70 X-Received: by 2002:a37:bb86:: with SMTP id l128-v6mr88963qkf.211.1533226137610; Thu, 02 Aug 2018 09:08:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533226137; cv=none; d=google.com; s=arc-20160816; b=hOyWZVPCUKOGwjNqhHXKU+oaoIrbEyC7s+fpLv3AzaJ+Xp2CVdIIRqvt022V9nzlN0 qKkCQGMos+9Ft98CBq+2K18d1duwE1PgcbfuYFokL9VUFWn/TQaauLCXYTGe1foOEIVJ nqZF2b2d1Bqlgocv1EBYBV1YpVLNLvk7vnNKFeSZ7Vmk7EyjmQG4amv7USNv2GOVEMte xqjtJ4MMr1EYXj+Kvap5WRi7ISXje0mQobxKVLjdhSe2b7l26FSgsxd66uymto60OszL Wlm8rXE5VyklfCrggqEqffUtNidxBp+KYZ7Fez1vPGPYoLRLYIeUZhLyyIJaLVy9Fd9K Lb+A== 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=+ACKfw1LN4d4YKEJ8QZx0cj3S59KshAZ5GdWHKZ+j+c=; b=jZ78oHMSRjr+JT5M/JlCCmP8Wwvveb8Lg7R6opWFa/74EC0QZC8WSWHvBjrY574GIz dINDoavdHJ/Xc0z3rhOdqOM9/Mdo4qJpwE/zV68Oy8N17UDdFWv+steibHYSW+oxqadS p0K9MHeAkSrmmFuCXTQD1AJRXX5wKJ3yzk5ca+YiXKVd3W5fuIalK4A+xSXvEJSvNhbh AWW5NBXXeOnkOxpoztsspiPFUSA0dbsK7NppwkeaYPkOWT3Mf1XonnYsUhsQbOQ655sn Pr3eE2IMVafBAPSAuxJhfdshJuFQzP/FjyJeMePDhJSeKvs3LjhLPfCnEluxqNklAiC0 rz8g== 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 a23-v6si894066qtp.143.2018.08.02.09.08.57; Thu, 02 Aug 2018 09:08:57 -0700 (PDT) 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 4ACBC6861B; Thu, 2 Aug 2018 16:08:57 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 CDFCE68611; Thu, 2 Aug 2018 16:03:26 +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 123D668631; Thu, 2 Aug 2018 16:03:22 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 28F0168619 for ; Thu, 2 Aug 2018 16:00:31 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward103p.mail.yandex.net (Yandex) with ESMTP id B480E218689D for ; Thu, 2 Aug 2018 19:00:29 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ssUAURDzBM-0TliJFK9; Thu, 02 Aug 2018 19:00:29 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0T9iBkbD; Thu, 02 Aug 2018 19:00:29 +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, 2 Aug 2018 16:00:11 +0000 Message-Id: <1533225614-20192-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 8/11] travis: option already passed with env, not need for arg 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d0c0e63d1..fd8a57715 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,7 +86,7 @@ script: -v `pwd`:/odp -v/lib/modules:/lib/modules -v/usr/src:/usr/src --shm-size 8g -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" -e DPDK_SHARED="${DPDK_SHARED}" - ${DOCKER_NAMESPACE}/travis-odp-lng-x86 /odp/scripts/ci/build_x86_64.sh $CONF ; + ${DOCKER_NAMESPACE}/travis-odp-lng-x86 /odp/scripts/ci/build_x86_64.sh ; fi jobs: include: From patchwork Thu Aug 2 16:00:12 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: 143363 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2347532ljj; Thu, 2 Aug 2018 09:09:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe3QeDEDMjse36duknRbOR8L0QGt+oRiYtBVJlT+1CWg8wn7BgrLzK0fzxTUd6RvRXDe3KB X-Received: by 2002:ac8:1631:: with SMTP id p46-v6mr153973qtj.72.1533226141779; Thu, 02 Aug 2018 09:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533226141; cv=none; d=google.com; s=arc-20160816; b=SUYOkbSR0F5/qyhbqNJD/byb+4fztbbYieVhXbC5hS/V7bRTA+Y/EkdwOz3lMtGVQr LDqwo7uiwFtvF9aAe01f1wBukz2YYB4ZxSSDSx7s7qppmbHaf9dyiAf79p7itVDCfIKP I2bxe8Sy4q48mz9An6l8TgoQBJhpQmzZXbG4xOvNQom97jP/BbdjYWcZn18PeRH6JMjg f1M/gQlS9fKX8q02pihyfijSzBG4a31DynpxHB4NgYU7wrKQRJfbxQa9S9LaLG1HJZTt MByz5f+kl9Z100LTxrlA7M+4qDeMsQBjx9SulYqgopz4ArP1QgZLewzCpJ15FbujY9Y4 JZTA== 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=sqauVAbWfp+WASLJ4My+9lk2XecwlUYf8ckPBdHY6Rc=; b=v/2vIWR6cGpIkKdq0pHwDK6nI+7ZJjN6A4Iu0OlmxljP3Wsq123KJ1ENYVkMxDCEpb RkB3ji6Gg0N32KgQ3hAWGB69a6d6TvkRVSJN1IsUc9Wvq18Fi3qlQ+KpRU1SXzxhCDc9 7KPv4+o2PpgIEcZBjDyzJkp1aRGgRTWB3LGLUcIbcyVtilu0FxXr3ZxwhQBvMP2gJZBz hot5lWoImrn6ZAXdcsB2oKEaiJLfUoMyYv5Hg1EKGfP+wa3hhBE6Colz5M9bXC4YA7Cz w1t+VI1+49bfQNELW5LL9pbCxwHjsVo34hoU2+0NRzVP/fLHZeETm8IqMT40bMncUaEW nRVg== 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 i7-v6si2079680qkb.178.2018.08.02.09.09.01; Thu, 02 Aug 2018 09:09:01 -0700 (PDT) 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 72CA26861B; Thu, 2 Aug 2018 16:09:01 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 238DB68630; Thu, 2 Aug 2018 16:03:29 +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 E673D68630; Thu, 2 Aug 2018 16:03:23 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 89B3D68608 for ; Thu, 2 Aug 2018 16:00:31 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 81586218689E for ; Thu, 2 Aug 2018 19:00:30 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id WrjHLOYB5t-0UBmk9Lb; Thu, 02 Aug 2018 19:00:30 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0T98varo; Thu, 02 Aug 2018 19:00:29 +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, 2 Aug 2018 16:00:12 +0000 Message-Id: <1533225614-20192-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 9/11] travis: unset linked for clang compilation 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 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fd8a57715..dd5f177a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,7 +75,7 @@ compiler: install: - sudo apt-get install linux-headers-`uname -r` script: - - if [ "${CC#clang}" != "${CC}" ] ; then LD=ld CXX=clang++; fi + - if [ "${CC#clang}" != "${CC}" ] ; then LD="" CXX=clang++; fi - if [ -n "${CROSS_ARCH}" ] ; then docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" From patchwork Thu Aug 2 16:00:13 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: 143365 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2349325ljj; Thu, 2 Aug 2018 09:10:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeOZSGoOG2h8FFYXzMhH0b7sguUgiRbS2Uxzt1czCr5rjQGLS8GA7muCLwqjmgWR/M7VLgr X-Received: by 2002:a0c:92e4:: with SMTP id c33-v6mr133215qvc.178.1533226230246; Thu, 02 Aug 2018 09:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533226230; cv=none; d=google.com; s=arc-20160816; b=WnNrh6Cdkf7KeY8iHlnxMqSyqyvB/JJ9nFDx5pGFUVYZAkJGsXDtHRtmPayjJTjpzl oRCUDsMDpsVv9AcB1/rg6DBy7ZxJw7b5jggC2gKqqJXrDWeQ2UF2iljfOCIkbJCd2MPr 6mBSbRN7QgbsHxsj3inlTkbwRBacdpP2omfbhs8MXZFgVGBpS95a5majfNlHH/3O077u tSSs0oTqKc8Iq6Vgv+zseyykwQPEWEnAqcA03OvM721yYQYmBda3EB9gw7FPFZZnDpb2 WCNGRoyoq8Lmd6CXbvBnVp2D7M6EaBgY2QrKRNiofKqoPImpNFtG4iE/P24HYFz3FMCH kuQQ== 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=aLY0fI9bJ647qKqzz9jYMTBw/BA1VlHqgtUu+ddD3x0=; b=VHRHthdyn6TiKqurHqWDNTkZCav1w2RkJNwcDgiwPNOykEFwmLsb0oo6jclfQwGZSX bJkNtsyn1ixfAGRKzZOPGMHNI8UKYvNOdxFjla0o6sX/ffJGm8mL8ia7qzVb9MUKfcIk pUUYJzdYigPqB3hkOTqk5JFIOpdxtwlfILOHwX0xzNKPnd6Wgic3wAWW8iqR3PvY1yOP +wb5qesKJN7bDm8y/Wqd+IV20scteEt/3GtC+RuUfLc3MKi44mbRvr7CxXNobFTRYFIK 5WhLiNyauQO4YzljMcb0wSPLvdr+Qvw1esEtX5h4ImcCZLfPwu3ED5PIEjr5K1nUydfw eAZA== 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 y17-v6si2308199qtj.52.2018.08.02.09.10.29; Thu, 02 Aug 2018 09:10:30 -0700 (PDT) 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 D966F68614; Thu, 2 Aug 2018 16:10:29 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 D6CF768639; Thu, 2 Aug 2018 16:03:41 +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 6EB3568638; Thu, 2 Aug 2018 16:03:31 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id DAE6868616 for ; Thu, 2 Aug 2018 16:00:32 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 5439843078E9 for ; Thu, 2 Aug 2018 19:00:31 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id cbjtKotIUX-0VSmS3So; Thu, 02 Aug 2018 19:00:31 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0U9K0O0l; Thu, 02 Aug 2018 19:00:30 +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, 2 Aug 2018 16:00:13 +0000 Message-Id: <1533225614-20192-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 10/11] ci: refine coverage 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: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ scripts/ci/coverage.sh | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index 279ab5dcf..2627d64ba 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -10,21 +10,47 @@ CWD=$(dirname "$0") TDIR=`mktemp -d -p ~` cd ${TDIR} +echo 1000 | tee /proc/sys/vm/nr_hugepages +mkdir -p /mnt/huge +mount -t hugetlbfs nodev /mnt/huge git clone ${CWD}/../../ odp cd ./odp ./bootstrap ./configure \ - CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" \ + CFLAGS="-O0 -coverage $CLFAGS" CXXFLAGS="-O0 -coverage $CXXFLAGS" LDFLAGS="--coverage $LDFLAGS" \ --enable-debug=full --enable-helper-linux --enable-dpdk export CCACHE_DISABLE=1 make -j $(nproc) +# ignore possible failures there because these tests depends on measurements +# and systems might differ in performance. +export ci="true" + ODP_SCHEDULER=basic make check +if [ $? -ne 0 ]; then + find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done +fi + ODP_SCHEDULER=sp make check +if [ $? -ne 0 ]; then + find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done +fi + ODP_SCHEDULER=iquery make check +if [ $? -ne 0 ]; then + find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done +fi + ODP_SCHEDULER=scalable make check +if [ $? -ne 0 ]; then + find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done +fi + + bash <(curl -s https://codecov.io/bash) -X coveragepy cd ~ rm -rf ${TDIR} + +umount /mnt/huge From patchwork Thu Aug 2 16:00:14 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: 143364 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2348070ljj; Thu, 2 Aug 2018 09:09:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcCGlTAffv4ze3DLZ5JUrJvXr9dv36Rki0mEbKk2AcD+r+/5zxn8lmhZVsqS3h9vO4LgEoV X-Received: by 2002:a37:338f:: with SMTP id z137-v6mr126401qkz.172.1533226166928; Thu, 02 Aug 2018 09:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533226166; cv=none; d=google.com; s=arc-20160816; b=wxUZWuoPgMnOzJqGqhVFBhB+4iF/dKaYU+Jd3zFJcAIUV58HWY8INzGc7gj1Cs3mzu 3KU5RwCw84oYe9h6TiKnJahmGXRE4Y43ETMqMziGtAE/HxaENim2PJfYXPnajMboMhaO wHEKLqFX2sPMiC41oS4rcuYNr+gDgL/ls3KR7ix9GeaG9yD0xWrLNWqNFE7Z/b6ayQWE diLlDorq//NC78ot4QBnK6nZHj0NqdMYLbBYpRb2XWABWDvPgOy1aSLwlQStipq7z3hu 7g1vzPTG9hb1Kuex5uCLr5VquOaqu0T/7uiX1EAChYBfdhPBz3L8po/DwvaFEGHuAChp Rvxw== 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=gZ+z8/P6mm6vG+GXf/n5H8UvoNdEztedNmNaGlpWjMM=; b=iAtYhSjJFyNRmExmTx0/wtHukj/KNT6Y5tJn9QLpIklOX5yZ07sPFj8T6jpdVMGuwN Gd8YOmauyrE/P0lita2+m1BSTfrTauwpWkl6E2JtFPGX+TBlx5YizLEDCZnstmtQo6rI /OxJxWogc1xQzjmXlXkwj6SuxYDVXyU5EdaSw0hvA9w5PQQicrmRSu6DuSnei+37AlUS eSVldlr2jPz9q+RFdhAGFjF97ZOj9GnBltJVMwdXFtX/Ru04Gbc1tc4vq0SMsJUaHGYx gI+yg6Zkj9IsFkG2LXhMk8LAitgftv1NoU8OQFFsm72eDOy5xnQEoRL7fQedykWOiddY 8MQw== 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 p6-v6si2235876qkf.309.2018.08.02.09.09.26; Thu, 02 Aug 2018 09:09:26 -0700 (PDT) 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 9E25D68611; Thu, 2 Aug 2018 16:09: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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 8B9FC68616; Thu, 2 Aug 2018 16:03:34 +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 31A6A68639; Thu, 2 Aug 2018 16:03:31 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 6D3AA6861C for ; Thu, 2 Aug 2018 16:00:33 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 1B4812D87C51 for ; Thu, 2 Aug 2018 19:00:32 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sG0UCsZENd-0VwevIvV; Thu, 02 Aug 2018 19:00:32 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Gj7hFMLav7-0V9eBs7D; Thu, 02 Aug 2018 19:00:31 +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, 2 Aug 2018 16:00:14 +0000 Message-Id: <1533225614-20192-12-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> References: <1533225614-20192-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v5 11/11] ci: do not run performance tests for coverage 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 peformance tests usually take a lot of time, code coverage has to be done with validation tests. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0 ** Merge commit sha: 1ca948a3fc61fc94775495bb529ab02560071b04 **/ scripts/ci/coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh index 2627d64ba..6d0d7c738 100755 --- a/scripts/ci/coverage.sh +++ b/scripts/ci/coverage.sh @@ -19,7 +19,7 @@ cd ./odp ./bootstrap ./configure \ CFLAGS="-O0 -coverage $CLFAGS" CXXFLAGS="-O0 -coverage $CXXFLAGS" LDFLAGS="--coverage $LDFLAGS" \ - --enable-debug=full --enable-helper-linux --enable-dpdk + --enable-debug=full --enable-helper-linux --enable-dpdk --disable-test-perf --disable-test-perf-proc export CCACHE_DISABLE=1 make -j $(nproc)