From patchwork Thu Aug 16 17:59:59 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: 144441 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2377448ljj; Thu, 16 Aug 2018 11:03:40 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwCO98X4ybhguuuvamwxzBMDw9gZfBPv8geH14XiGW9soP3eyor3JflUZVHC4dH1Pv9cp3h X-Received: by 2002:a37:27ca:: with SMTP id n193-v6mr2376111qkn.444.1534442620008; Thu, 16 Aug 2018 11:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442620; cv=none; d=google.com; s=arc-20160816; b=NoOiuc6DdB3cEWT/bsy55e98tQglZ1ZmQiJ3TfbmA7HJlgs+1+mmbnKMvdZMFzK8jK 3B1M+4QHbBevsD1RMkmZplb+W+AVrFV7ACPo2KuwRQuAhQSiDga919H2zxTZInXuoF1M SiFKHcsxH2dm/9VM6P10NDIOVotS7eTBUXk6hX0nEI8lmD6vGji0E1oh/cO9nYl1o9xc HPT3nXJtAx/q9l7g48l8e8JJkGBiJrIjllpL8jP8F9wJwjKj5MmADWkdLuhlCTtLa4xj r6m/lTOkqVzEgw1rHxGKYM0LW19eMZTZITJn+tRjchpDg3AcpgJGwaorBCrZP6/2RKVJ C0rA== 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=S6wS7zNYtWEkyxO3XhNy5tsmXPJsov1rilYtlu/Dito=; b=e2U8TpW0bsniQ0qkT5ibnfJoUpYdcNEdClU26iG1IOX/mJW/xq5vHiEVtSQJYCIQwX ETVNPCC0b18DBlFigPeZ0UTFDtAxAXtPzFoVeicVN/0a+KbwZVv9eBx3f2J5hn/e0Cmy 4x1Lrox0VQuqFPbVVUtkd70R7C9u26kGzKMOAfMHbra840P35mpssRZoGMFdgFpBGVex DtWY0uFhiLHSdeRXQNnTQHoRpA7AG+gWOmttnouLq6RYYwaZxWbAoh/H0ql86Ly94cjq H/c2/Oi5GzRjXzGtJke+3q+kkRFTtFKmE3/WZDR91F5wq029xxExSqTE5Gm2M8ZJ9dZD lRxw== 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 r1-v6si15689007qkf.172.2018.08.16.11.03.39; Thu, 16 Aug 2018 11:03:39 -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 803BF68615; Thu, 16 Aug 2018 18:03:39 +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 E367F68681; Thu, 16 Aug 2018 18:00:46 +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 90F9368610; Thu, 16 Aug 2018 18:00:25 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 749B060F59 for ; Thu, 16 Aug 2018 18:00:16 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 8FC5F218100D for ; Thu, 16 Aug 2018 21:00:14 +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 cJA8O5rgOF-0EOutk7u; Thu, 16 Aug 2018 21:00:14 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0DfWJ5In; Thu, 16 Aug 2018 21:00:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 16 Aug 2018 17:59:59 +0000 Message-Id: <1534442411-9502-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 1/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .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 16 18:00:00 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: 144436 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2374277ljj; Thu, 16 Aug 2018 11:01:13 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwybs1KwwVDZC00D2SGadOEXyBM1uyYyidqzAGUzqgACquJbYQ9El51m1grb06/66zEZFOQ X-Received: by 2002:ac8:4504:: with SMTP id q4-v6mr31805392qtn.1.1534442473576; Thu, 16 Aug 2018 11:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442473; cv=none; d=google.com; s=arc-20160816; b=cyGDgyt/xR/1K37e+JBC/ZhnHVjVUg0HbwU3mqWd9CMrqzb1FGR28A6DHzYqujQ6r5 RACsqoMpaqTGns72OHgYXUu+zMfrvpVSgF4L/waon2ji81yTvA6YiLkgmGME7puEyuuM ECjH0GMz8CXpHr6XkxZylVA0oHgl6QH9UK7l6Z4tAsqmuJr40Q1A+tvPs2QuEb6yGL7H BPRV/jHUCKHNM+9l6Wp9TflB4P6Ari2qwemnP+l9mx/P3YxNLfyDR8OKy7ramPZqGWNE kZenEvktYMG6jmNLReIjaYQr27JG84gDE1QFFgZFZIB92upCrBamcd4ro5qzaMwTUqkO RJgQ== 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=EHpxBT7rWM5jV66j0ROiyDNPQQZaRBOoeT+06WZof3w=; b=qhiB47z5MSE9zx86hQNMOB7ToQG+fQsBh2esmNVraRc8hYiJ/vbeR95DNNsFc94AoH r8z3MGUc04taOfRfNofFlWtHigxwFhGPgkigkqAgGft6snu9F4bxfBO6oE20ctVtG35F S7bIPmZ98peZrqlDGhg6n+dAEZDW7M69OBDCFPNobaIr24CLyQ5yvqVR3aMGasECq5CG JsECQ6s3o1AiX1hevwfgEpPovJljUzndzt0zDQf/HBihNGSHUPFtVn+22IDEuWaYJRZ5 qBxBZAFWz7mIHKd0MwK/Q21Aus1jLB3cLqji3OSKtv0GKZq90yRolBXM8mM8oW8+PfYA Qtig== 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 p140-v6si2467788qke.123.2018.08.16.11.01.13; Thu, 16 Aug 2018 11:01:13 -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 48326686C4; Thu, 16 Aug 2018 18:01:13 +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 2FBB760F59; Thu, 16 Aug 2018 18:00: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 8CFEB685FC; Thu, 16 Aug 2018 18:00:18 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id C041E685E1 for ; Thu, 16 Aug 2018 18:00:16 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 92E5B3D84E5B for ; Thu, 16 Aug 2018 21:00:15 +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 HwMkNinzgv-0FhGFk1g; Thu, 16 Aug 2018 21:00:15 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0Ef8O2Y5; Thu, 16 Aug 2018 21:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 16 Aug 2018 18:00:00 +0000 Message-Id: <1534442411-9502-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 2/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .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 16 18:00:01 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: 144438 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2375755ljj; Thu, 16 Aug 2018 11:02:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxxNkXd6FvaiEkMSt1jjCtwRp5kIP/iqGzI+ti2sn87Aj0Ahf/uFfdZR61nJbsiX7XeCvWV X-Received: by 2002:ac8:4504:: with SMTP id q4-v6mr31810896qtn.1.1534442537177; Thu, 16 Aug 2018 11:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442537; cv=none; d=google.com; s=arc-20160816; b=zP3bsfaumKjnNG2/EzB+nLKbGxW8vZaETN8gdXH9sjkPvmrCPWowubr/aTU1XV2f1/ fMUK5qSz3kRTlt0u4Oxo8KCPdWGkZrWE3S9nU2y5CuH84mV6j7mRCkRn8TubCni0uOUF TsAmlcEb3AxifxTMsNs17gDLQ9fYqLNTMAq+fHPBna75oJ1ow6qeUcnM0nrXD8IwJBIo tZX8UdhicbeZFRtw6xwJwkJMlhiZzEfqEB95W2VG0b/eFV4Hey8gAZ5Fe3R10ceYU0jY oWyEjPArFEuz4NucahXhHZT6Hf3GO8WNjGGkXMT3EacVdwsmwXzpDO04G6ucbBmkvf7A 2orw== 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=HYHCWBztyK8lYgfuSDxz9BobpMFS/tQhaH/C4iBNWII=; b=TgWHsJ8q283uun6arcRGwT66m9xmIqv1hx6x47W3CUhjmafj1vhdruPIuJcbVY5OFm rGaVOd8TWPb6/pJ/83+Q0up804y0sBO9kERjvrYSW1KCBL0AGQZAyTkID/6YV7s/Y5J8 Mupo+uCwmtk/ju/HZjJQLVIzd7kpXjLvO1Av00yM9/IVpKa/3esrUWdz6B4IRSs1Ith1 S+xSd6a7rYiD5FXzrgJQYcPgPqLipGIjKsFGVDfDwo3PnxsC0/9fJKsptNKRfeG6gPHB 8QcCCeos8yPnI4IDjLAC+uM1BvpNzOaGfJ8RyIdivKBf6rLldMQrNsntO+s4JTHWWz9F c9bw== 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 k7-v6si12398618qtb.401.2018.08.16.11.02.16; Thu, 16 Aug 2018 11:02:17 -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 DC155686C7; Thu, 16 Aug 2018 18:02:16 +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 E18D360ADE; Thu, 16 Aug 2018 18:00:32 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2E4DD68610; Thu, 16 Aug 2018 18:00:22 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id D65E260ADE for ; Thu, 16 Aug 2018 18:00:17 +0000 (UTC) Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 3E36A186305 for ; Thu, 16 Aug 2018 21:00:16 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TOTBAYgtvX-0GFiQBvv; Thu, 16 Aug 2018 21:00:16 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0Ff44wRR; Thu, 16 Aug 2018 21:00:15 +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, 16 Aug 2018 18:00:01 +0000 Message-Id: <1534442411-9502-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 3/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .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 16 18:00:02 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: 144439 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2376621ljj; Thu, 16 Aug 2018 11:02:57 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxQj8LOC+nHaHjC4w5/jKJzB8vxptSpgYu7eVjlE475PBLEojShUq8TA9WLHU+od8raqFbY X-Received: by 2002:ac8:2485:: with SMTP id s5-v6mr30887803qts.107.1534442577057; Thu, 16 Aug 2018 11:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442577; cv=none; d=google.com; s=arc-20160816; b=bsQG/hIj50yDLjmZ4+6Ji2kt4XghvCOS+27UcVHtaWhL1NiE4UeNZofN0YPDF6+J8u wi7mZz4n5Z13NxHpixfIF+1kh8oLQ7iKPsNwvS5yDxd+5wVYZYwiHJkoEx+MN3TF953d /sjKYVygU31TP/eWUf1PhkJWEdyM7S+jsSsBaeiTUCd2nw9OD6WF3rfXb1CS0mG8X1VE YBBzYB69IKQITRSLxy7w7WMX/5s5/bd/T0DNGKaps3vqtHWsuquPoTS+o2VrL74MNPbG Ws3QdPWrfYVq9v60WfdinJAoh9OCLXq8M1dIS6d4XOiYqB+1rdgpGv4pfJqWLcxWzuKO DRWw== 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=HKBBKXRjDy53pF6cIGYYh51IIqpIcNQxBW7uTagJvKc=; b=0n6FEZroWuCHB16Xo7epN07uxrC667X+qlunevrt5oVA7V7eRf7e4Paq0UEgy8j6Dp /CNWwSYqaU+zB8+K0MIB/+Moy45nCwGN0u7dcixuoqYC9SIjRBBJKZ0mOyw/tsYWiH/w 37im9KAIhruFkZ6M/Vrf+F2PycENa14V8c2p15/JB0OfpXiQlNNKGVFOY3gKL4SU+gG+ 7KCkbpljcxj6SzzaKyHXgZJUrE4yAs+noPmM6h8dI6F0OsCbIm5w4hi2ovQeDetW8JOv 2bLD7nsoLFU13IPV3yQA8WEVGnsLjrvU2T5hXCTtR+73Fe7QsgGXW8DJ6RaZ8tNxsVNp aVZg== 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 b3-v6si2827123qvm.158.2018.08.16.11.02.56; Thu, 16 Aug 2018 11:02:56 -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 A3B94686D1; Thu, 16 Aug 2018 18:02:56 +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 429F368626; Thu, 16 Aug 2018 18:00:35 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 458CE685E1; Thu, 16 Aug 2018 18:00:23 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 50CA9685E8 for ; Thu, 16 Aug 2018 18:00:19 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward106p.mail.yandex.net (Yandex) with ESMTP id EBBD92D811BC for ; Thu, 16 Aug 2018 21:00:16 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id SK7W0uFPSQ-0GoOOuLg; Thu, 16 Aug 2018 21:00:16 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0GfSO5uc; Thu, 16 Aug 2018 21: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, 16 Aug 2018 18:00:02 +0000 Message-Id: <1534442411-9502-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 4/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ 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 16 18:00:03 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: 144437 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2375018ljj; Thu, 16 Aug 2018 11:01:46 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzOkt/qEfqbuLobLAlxw4P/i5Kgxsj6EOnBvPl4KQ825B+Y+VNCWsUNHGPPlpYo2P1XFIT2 X-Received: by 2002:a0c:9448:: with SMTP id i8-v6mr27767730qvi.231.1534442506224; Thu, 16 Aug 2018 11:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442506; cv=none; d=google.com; s=arc-20160816; b=tgm7z4qE8+xgs07mV8EmQM2ZZhxScvbn0r7PzDbuEq9M6jp9HcfsiCfQTMWflqKzTT 4i7ZxVGhp96brsD9BrMeS+NyMRtb1YZHnTcE48/lMt7p86a89rorYYf+MWjau9zUksCM 6qmmU3ZK+shJd1Ga/qm0WhC54IwoxJYi1lyUwObynQUQxoXUVZSbJ0lmHnwVMeuqQCxL sU4/AcpHv1SFdx1Hc3A7tM19OiVQf9+tcIlVXC3KrmHDKn8agImgj2pqPnddYAZzLkMo UofBikfitRjSSBwq1zPF7uQQ7DjilxZydbCNe6A5aVOuEakXvgFbU9cR9KzipTNpgYKq 2txQ== 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=Zyv7PWCFCFIXYDA3qL3eEuMQ8ufoVVFGZK//81ydMRE=; b=y5Pjiu6akhBkSaoXnQU+JrEFXNW2ZgtKSFlmmwannXHwNeCH1cFeWZUgWx9QUSCY6K HEQaSDMpIeIBnJ18aTyZvLRXz2ybJF90sw2IkW3Hn2kZrm/P3H6HaYx5lq/FG7GiAhpK D4vOpsKtiDfkPoeBLu7hWt/f0RmBAbbXEaYbWF+gQCeCky7psmyF1ey9TcrXfGRwSM/j 2LE8Qz1HdeWbS6q8Z4dQV1BJnIwgCF3E4ZdDI+bUIZYX32WEwaM+tyW3nb3+yQ7O8T/8 8UDp3fpkiPp0osRlBoIXQQ08QVZiuSGhuU0b/PYPk+qN1cGMXGsflSI+kNuHm6txgz1I 8IMg== 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 o7-v6si447776qtb.200.2018.08.16.11.01.45; Thu, 16 Aug 2018 11:01:46 -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 B92EB685FC; Thu, 16 Aug 2018 18:01:45 +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 9272D68615; Thu, 16 Aug 2018 18:00:30 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 57897685E1; Thu, 16 Aug 2018 18:00:21 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id ABB30685E1 for ; Thu, 16 Aug 2018 18:00:18 +0000 (UTC) Received: from mxback6j.mail.yandex.net (mxback6j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10f]) by forward105j.mail.yandex.net (Yandex) with ESMTP id AAF621863A4 for ; Thu, 16 Aug 2018 21:00:17 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback6j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id lG5b218VzZ-0HvmZ2HD; Thu, 16 Aug 2018 21:00:17 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0Hf4ukiX; Thu, 16 Aug 2018 21:00:17 +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, 16 Aug 2018 18:00:03 +0000 Message-Id: <1534442411-9502-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 5/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ 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 16 18: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: 144442 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2378189ljj; Thu, 16 Aug 2018 11:04:19 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzSVKZDYnilCY2vLFfQFzZjJwiNBQAVHDtMRAT63CHM7rwBXpUi9K3kk6cY9O+e/bzEwPvu X-Received: by 2002:a0c:f804:: with SMTP id r4-v6mr27852184qvn.156.1534442659719; Thu, 16 Aug 2018 11:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442659; cv=none; d=google.com; s=arc-20160816; b=swRR95BBN04s7iYZjhG5NldN73cD3PdxZaeWf4RCDFa8TKHM4oB7YD3nO8MWtw7Exx ohzW3UJ7LaNCPWjrPw4jns8O8F9bKVuvfF+gVPBtiGsHJ7wMoN5wrproBQo3SHTIqyqZ Ble5G9CSzVFOkmf7k2waaQLcMzaNycL+YS8U4wQK1bdfNZeYX3O7biMDMx0vdXckzEbN D5wfh0CnTpLFGS6OsoEyqvYVBrZTJBHzhOQ3uIgQybFuXrytlNhVkR7exfJV5RF/j/mP VTswYZJdFhec018nQlFXYttTVeVawBoT0ReX8u99t5E/pBtROEDX4FRDbcbTuuTHxmHr MlUA== 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=HX3dSXdilPJ3DLrMxmWsUvlMEXidywa2bO9rUqOkAko=; b=jpRw00ys0b9qMkIo71E/FDfJGMI5GqwRK+HRBVeGS+pCbxuYI88Q1CPZTEKzQHBgbb ex7P9Lv29p55jNA9Bd8Ig2ivZOnM49+qb8rCm9RmUBwf1XRsjTRGp9F7QsK581QQs3fz p+0pUHDKhTdQj+FslCBDG2y/9W1JOYYHh1kiIbj8UyKxPzggsvyRkstGsF0NApkjRFvD oLnv69gF6yNJuYEfs3tIt9s75sMm1UjrMpCbEglnZl+YU4/BnWOXynVgVOnBlzKnBczX f8n8gKhZv4WhZhcqziij4/azialMcYnauNCmiE74VobEoqSsyTsup904NaGDkWXp2+Lw Ma2Q== 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 46-v6si104404qtv.342.2018.08.16.11.04.19; Thu, 16 Aug 2018 11:04:19 -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 6A4F96863F; Thu, 16 Aug 2018 18:04:19 +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 3A1F868620; Thu, 16 Aug 2018 18:00:53 +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 C21EC685E8; Thu, 16 Aug 2018 18:00:25 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 7A089685FC for ; Thu, 16 Aug 2018 18:00:20 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward103j.mail.yandex.net (Yandex) with ESMTP id 0ACEC34C3D68 for ; Thu, 16 Aug 2018 21:00:19 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wA7oGnuoLE-0I4GmAWr; Thu, 16 Aug 2018 21:00:19 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0HfqoMfF; Thu, 16 Aug 2018 21:00:17 +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, 16 Aug 2018 18:00:04 +0000 Message-Id: <1534442411-9502-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 6/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ 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 16 18: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: 144440 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2376770ljj; Thu, 16 Aug 2018 11:03:04 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzT4GzrB/8V13iXw0IBxsW51M4GRGXKpmLnoInAla58YMGUok+0VePNSXLIDrkF2EDy1pgi X-Received: by 2002:a37:9505:: with SMTP id x5-v6mr28979265qkd.287.1534442584739; Thu, 16 Aug 2018 11:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442584; cv=none; d=google.com; s=arc-20160816; b=we/uvPdb4Q8Qh1uPCoFrl+zWkIDloEhiOScrWvUlOiVkAmCNmq37aOyQvnf+U0IHCf rSkjmHbg4xx11lf0Z6Z75VBBWNEaX0w+K4F/LBGNDbhul/edNykH3wKHnwO57ahjHlM3 jkgVqDTQ9eIKOJ5Ha7Whi643EtspGVa8Y+2Hw/NV+scVs2HPxONqR8XdAZ5SH0wMoHol ff6lF3vk0K0tqk/hsvr8BNsoQk8VlD0ugo3WvU01xhyauCkDEhi+ypKKTLHwXvjiqRwj rp35+Am56VlOtdIv/Evn9LKgnBd1oa6ON26GrZbciYRLbi0atF/gbEyyuAZecpn++KLc FSyg== 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=SYt636jtkEpdM4Do9ksNvABflJ4JCE2bapaxb/ymG90=; b=uUbGvAm6ei9zp8SbX2eZZgYTGAZeemtiP9jMT1UD+MgjnVb1aku+972CT1lOz3InCO GnAB77sP+nO55+x35cQiOgWyl1hjO1SX0m/MJSHe/ZwDrpplHnG1/nnAtw2xtVPugECZ A3fSjbAvC8FO2e2co4JnOv5dYvFtSmscudNUdCBJEzbe7jSgXUFqjPHLVF9zZBfz2wNA 70VgoUf/i/OBuXNtTeB2FIUYs9qAAf3Y5+WFwgwSxYWAzTPxOp5ap4nSmToHj4bjNAw2 BwHGfq34LKnU//7mNawiZQv/793dSQI/0IPmJ6cAxXNkQcc7LSPUOUxjJLDu4jec0Q4Q qO/Q== 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 e188-v6si7196292qkf.131.2018.08.16.11.03.04; Thu, 16 Aug 2018 11:03:04 -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 52981686CF; Thu, 16 Aug 2018 18:03:04 +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 8E82B68633; Thu, 16 Aug 2018 18:00:36 +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 9D9B4685E8; Thu, 16 Aug 2018 18:00:23 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id 237F7685FF for ; Thu, 16 Aug 2018 18:00:21 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward106o.mail.yandex.net (Yandex) with ESMTP id B9EFB785ED1 for ; Thu, 16 Aug 2018 21:00:19 +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 RebSPPvior-0J4S9SeU; Thu, 16 Aug 2018 21:00:19 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0Jf84ZNt; Thu, 16 Aug 2018 21:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 16 Aug 2018 18:00:05 +0000 Message-Id: <1534442411-9502-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 7/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .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 16 18: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: 144443 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2381272ljj; Thu, 16 Aug 2018 11:07:19 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxzCh6vfmUQkRf/nJBk84mEuMImUh9LH/Fr0QuklMAI7yGNAWMTc/8GuKaQqABhJS+nfrmm X-Received: by 2002:ac8:25c4:: with SMTP id f4-v6mr31782216qtf.300.1534442839188; Thu, 16 Aug 2018 11:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442839; cv=none; d=google.com; s=arc-20160816; b=bGYaFPatVcl7ipgpgSs0yyawQTZMKRugjwjW2k1S/zUTwGoaPj8AcRw/yS6hkkVkvE igsStccE4/QsfNGsHlpboCtoGm4lQMFYhlZpaVYaA9Hv7Xh4Ixl/V2GdbBFz3AcV0lyf Fyhqk5qtJDMpGcXrDhm391EAqBzGncZHLzn8U1OK8jQjYdVteFK01Ne3aFg9sCd+HAY2 vW4h+rrP3Z4Ue9eqU5u8Is9LGXginKxHF/2E7S5nsgvN3A0aUsF7KTqbvilh5O66cwm0 4G7K784tTrtqkK8NrE5LfJ8GTTE2GD4hIP2il0Y6+7aaQIKGHJr1z4xMc52Vlg9OiGWG capw== 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=TlB5x2udP+3q4TYqYPY/Wu1Ml2T8wJg7qfQc0ByhAII=; b=HAgnUCJ6ZKRtjI/JjlJArY+HJ6ib4D2eFuFa/9mUDOfIWmBei/piAHiZP09d6zjoCs D+8Pkkjh9P0Aisl3nNn2iXTKsgrD6ON77Q7HYDo62Wiq8HlKaLpLXMPGBRkPvx3b9Bgh s8n7xzNDlCmsdkJ9f7Wvr/PKfVRMWlgoaEE6D5xn3JPKk/6FD45BgSEz0boIjW8FwNRj 2Uic1TO5/fwwmsLUXa5+oxhr0REqTfvSerAMqnopGLYBGWb3u/RgVZsIz/AbKz9tp5lD cdfVOQrLm77ybptU9VwnUsE/t1HksHjokBPF+ex9LwZu/nHtTLKkP1kuksSWV55kT8ww Y2dQ== 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 e75-v6si5648701qkh.359.2018.08.16.11.07.18; Thu, 16 Aug 2018 11:07:19 -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 D3DAB68620; Thu, 16 Aug 2018 18:07:18 +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 DB43E685E8; Thu, 16 Aug 2018 18:01: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 13ACB685FF; Thu, 16 Aug 2018 18:01:43 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id F304568610 for ; Thu, 16 Aug 2018 18:00:27 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 884172A20290 for ; Thu, 16 Aug 2018 21:00:26 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id haUZSPpjJi-0KNuBEc1; Thu, 16 Aug 2018 21:00:20 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0JfSAPkO; Thu, 16 Aug 2018 21:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 16 Aug 2018 18:00:06 +0000 Message-Id: <1534442411-9502-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 8/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .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 16 18: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: 144444 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2381386ljj; Thu, 16 Aug 2018 11:07:24 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyH8YQ5/pwWX3RyJ1AxSN09ESeIV/IMgzNZuRyLURRVmXAFwvNM6hqq7pPDMZiIFAqK3iLI X-Received: by 2002:a37:9185:: with SMTP id t127-v6mr29139090qkd.182.1534442844277; Thu, 16 Aug 2018 11:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442844; cv=none; d=google.com; s=arc-20160816; b=Dlty3zo9aTHBsjpDoS+FckMGhRomkVvkI6u9cDC+c1RajWrw0c6d2TXFwpJe8IQakj Ew026P2/Ehd0/q45DftsoD46zwkwtDC+BgU/GwqthXf1E1KqF4HUyar4QCt7l2NCa5VU 7sLAjx+2fdeXElK5uWpkkgk4EYt5er44LJbKg/tV2mQx28yqqSvmExrC00a8rabVPU+D AhTwA1Jf1My+mnctK/N/gTpVMADeDoZXQS6WW/NfP5LYVPaU410hhdQoYqnshlljdzsG ifXZEsaHwQhmlHAYGYcJ/IlKznnAP+u4u8CiWmwvp0CHz6GaNNg1DSxmTVkXAschZIqA ohqg== 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=1zyMA8bquydz/ezqK+M+IdBWvxFoMVTvuOwUz77Kw4w=; b=L2iSCV+V0P13TpKwCnHTbhKSAmcjN4PN5kugkkUrInNcqDt5e8v5Qd4hfJb6E5JedR M7jRJlm/5XJZ2SoaeRcOPfqxOD0OiujR/JwsQqOutckkVgueeiaYkyvGPhlGImnhzINC G3LzQFFMZCAsYukDaklC9+iOH1vmFSb87F2Jk6wExfYSUaTCqTtlT9a6fpEZtKOD7eym cENxHFSLmM3PiuzWGDrcLQhSw2+m042eZ74okEo9GFAb4LXV/wkHuck/YIESvb0BBScE 9v8GIeN83HLoq6e+l1UjgqUyVz0ksvsbMwcm9QRHkAML4O1FKyyalICMw6wg2UkPrffL ha9g== 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 u10-v6si2903846qte.197.2018.08.16.11.07.24; Thu, 16 Aug 2018 11:07:24 -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 03F8168620; Thu, 16 Aug 2018 18:07:24 +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 50EE468621; Thu, 16 Aug 2018 18:02:18 +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 579BA6863B; Thu, 16 Aug 2018 18:02:11 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 68890686B2 for ; Thu, 16 Aug 2018 18:00:51 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 4F527218100E for ; Thu, 16 Aug 2018 21:00:50 +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 oqQPKr86nI-0RX8NFVL; Thu, 16 Aug 2018 21:00:27 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0Qf48PCQ; Thu, 16 Aug 2018 21: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, 16 Aug 2018 18:00:07 +0000 Message-Id: <1534442411-9502-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 9/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .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 16 18: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: 144446 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2382643ljj; Thu, 16 Aug 2018 11:08:42 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzNIQLEuNyG7kyinNGw42KUNA7wQ2PLkxBOu/3VroueebJ0CLUHxqmHyKnSnEd00qbyANhZ X-Received: by 2002:a0c:f883:: with SMTP id u3-v6mr27843003qvn.28.1534442922228; Thu, 16 Aug 2018 11:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442922; cv=none; d=google.com; s=arc-20160816; b=GgGU4ZgrBPUZvwJYBydvUAeSP/CphyJzV2OLwLUBBrHEs70kzKuNimC3IJYcUM9/ab ska7ku+B/6nhKD/7sYSXSsAUP1+K0RNL5mvQ+BeeFqwQ7WM9HnK2FaBolkZIcXp2spkp 9WXJ0T/PHsTQmYBZ4nnf9QE0ChDdud3td3YmFsJEiSLjr2sN/zw/FTTZI9CVhzN9dAMo ujKEK0GKNWDtl8Yx3Ajhd4aAKEZiH8G+QkVfI9IjcOoyfLmngU27cc2NKmvA9UJWTd/w 4C2bVZJgKnfBEtyTU49k7eht3Rje4b8js3Pn6HB1mzUeA6jr1tC0Krhid+/z5BNIIoeI RiZg== 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=YPgczfCaweUUU5uWYTAOCXglVZYZA1S3nQQ+r9yfDg4=; b=jo2YZkbAG+b5O+2Uo8ojYAip+6Xw7dF31E5U66aVz1Yb0BPIi1mHe/Ks2gXt4IhFmS 9mkJO9VQQgNuoL7/Ipjm53XfHG+a746d0DIQp0CeRMCvPlhVTLVHpSZ2kNwT75AiU1Kz OZjujMtW0tbvIdjN4EMNuIjS2cv1QvIBsF5Xjz7MBzGN51ewPAWI6BkNqynMuvZLYBH9 DzUQIdtI8cUPvG7mZEhz3VzqQhFqF1vb+7UbzoaQzEm91PMxjENVNrMetdGGTFCpgnyd xwmtfUdEW6DiaXicCFqQByoNN/ZZj3HOxLp4iDP76gnYArnhuLQXd+euzPVP00SOjRXI pZQA== 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 n10-v6si1116078qtp.100.2018.08.16.11.08.41; Thu, 16 Aug 2018 11:08:42 -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 CFC56685FF; Thu, 16 Aug 2018 18:08:41 +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 7D72168625; Thu, 16 Aug 2018 18:02: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 8FB51686BA; Thu, 16 Aug 2018 18:02:26 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 9B24C686A8 for ; Thu, 16 Aug 2018 18:00:58 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 0E761134648F for ; Thu, 16 Aug 2018 21:00:57 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YV1lcXytdk-0oEWfWJ8; Thu, 16 Aug 2018 21:00:50 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0ofWFb2x; Thu, 16 Aug 2018 21:00:50 +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, 16 Aug 2018 18:00:08 +0000 Message-Id: <1534442411-9502-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 10/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ 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 16 18: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: 144445 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2382492ljj; Thu, 16 Aug 2018 11:08:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzWauafyuFw5r92//eu8wwbIdVinWpao0JLAl/CGmDdmx2CjtsK8/ymRHsrUnWzoXhHRewE X-Received: by 2002:a37:4352:: with SMTP id q79-v6mr28788103qka.440.1534442914752; Thu, 16 Aug 2018 11:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442914; cv=none; d=google.com; s=arc-20160816; b=jyFAFSdWtus7hDZG/M5mT0E+naXHdxkIwClmuxYZmw1Te1L2sPEtfM3MiZWt7SNOG5 jSEi3vJzkOf3k3oZnDuIHyOj0CSCdTt6872TQ8aXMnhq4GHyjkbH1okQusI3dSL6W8xR gNAhFvIjq9aEZ1/C3Wk6NFLGUwr1nAuyy0YFUrY8Q8wgt0P89vz/W7M8rtYuoHSIdsqD 5CHqa9mKDtABM0h8O1aDu7olBmDJGe94EBa5gPlzwO6CPBeFuPK4zseOwxEeM8cctRXm ilKvB/oucE01dZcnoCl2r36HrA1E+w4sULf3PTOe6rXQZ1w6bGj3zcJalB2lWLNMcah5 K3xA== 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=4DquK3z3/RuJ9dX/IbyOM1OV7ZVk/UCEidLjGOxX+NU=; b=bPnuKUgmVtuBW1AOYhgkPY3KEb5owdROBTKbix4DcTskzxJZWRmjpnviGdIxq6BfQx GcHeySh6NUoCoC9TARu2nTDryuqRx5twrgwEIhZdOQGNdC7SDtSZxXdr+4khwibRfv13 6Z4u4j8pwTvG/zMmaMu7rsyT5Uiakpajlzv+nWFDgxo04Sr0/8SGAVdPcKXw8SP8LXUZ 1B4R3L4v3KVZH8P3lfVFqyjl1O5oBawc+4jen5Rlop9rhW/XCev1euOKM9Blfc1c2acF Wi5SaHasylV9CubuzCuRu3NtczomMeK9KOLvNHGzUFnkY78+sDrf3hLjsKxaDom+7lFt iwRw== 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 h3-v6si51786qvo.88.2018.08.16.11.08.34; Thu, 16 Aug 2018 11:08:34 -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 77A9D68620; Thu, 16 Aug 2018 18:08: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 CEC1A60ADE; Thu, 16 Aug 2018 18:02:23 +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 087F868625; Thu, 16 Aug 2018 18:02:20 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id B2448686BA for ; Thu, 16 Aug 2018 18:00:58 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward103p.mail.yandex.net (Yandex) with ESMTP id AAAAE2180D85 for ; Thu, 16 Aug 2018 21:00:57 +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 6GDDk8TPcJ-0vhGMo6W; Thu, 16 Aug 2018 21:00:57 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0vfeD4Gb; Thu, 16 Aug 2018 21:00:57 +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, 16 Aug 2018 18:00:09 +0000 Message-Id: <1534442411-9502-12-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 11/13] 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ 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) From patchwork Thu Aug 16 18: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: 144447 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2383072ljj; Thu, 16 Aug 2018 11:09:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwEoxR3H91D+LtSruGBZzw6cNZfZU34mty6qXey4sBKYL6BQqUIuDjXZLNrBe0g0R2dNhsK X-Received: by 2002:a0c:e651:: with SMTP id c17-v6mr27867914qvn.170.1534442947695; Thu, 16 Aug 2018 11:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442947; cv=none; d=google.com; s=arc-20160816; b=Qu9JvRGcIzbnBCOnGBFt1NvN23e+n48G+1Inc/ibfwun+AZePJAAZWkhn6QJG0Ba4z JMVlncOidFGwrs2TJ60gvKOJouJhmAgsIcfIqMZyW+j8oeVxAdGT/7i+PEgh+bO5aI2v upTO3u9oIifdCtHsiJdC3air3Ht+sOA6nt35gMa179P2/SwV4CPN/AEaBr9wv7HMHahQ 2Qevszjp1ah5AIdOAKmjiatpMQemXRK7Tz9k4IQzwNwUuXZ5oIsLQAgqO+v0DXIpbXwY MX79rqhWdefqcLFxvF23/+FWlN7fcBYiiptRHSfT3Mtz5s3wNgopL7iqBZyv8GBDeqTL yi3Q== 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=2ZYhJBgV2i3VIcf6fiJkIdToXpyYJnVfLm9dBrKiyfw=; b=Awvro4CBD5OFbMhnP9RDUCsfjvWART1vFDKl/XAY2vJ1DY/bYI34dJgv5aMLKL12TY fSRNSfo7yTYcl5jL3nvaCE9o69RFTtRFGtGJNuh9Pfs5f2ZVHHz8BtHFO6LbD0pwS7sb TFkw+PxkL9jgW0W3DkQ7xUwiJDXhgTOgnY6OYvNQxLBXWlLfJ3OGTXsGE8UheE9svDBS 8sPzGTus9DewAwgHSBEtcFovSKq0L+fJMn9y4N0aSUOLbXbcIlq5l0rqTf1jV0C0gjOu /0nFJv553ePPGrUnqDojGtbX78/pjVGdlyqErk2nxN0O7JPXPer2Gf+J37BBOKEsenhV JR3A== 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 h4-v6si2859946qva.66.2018.08.16.11.09.07; Thu, 16 Aug 2018 11:09:07 -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 525FE68620; Thu, 16 Aug 2018 18:09:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-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 F3B906863B; Thu, 16 Aug 2018 18:02:48 +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 E1A63686BF; Thu, 16 Aug 2018 18:02:45 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 6DAD5686BD for ; Thu, 16 Aug 2018 18:00:59 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 43A402180FA8 for ; Thu, 16 Aug 2018 21:00:58 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id r2HvcIZhyv-0wv8lx60; Thu, 16 Aug 2018 21:00:58 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0vfSHsK8; Thu, 16 Aug 2018 21:00:57 +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, 16 Aug 2018 18:00:10 +0000 Message-Id: <1534442411-9502-13-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 12/13] travis: compile netmap 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd5f177a5..b2882524d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,8 +82,18 @@ script: -e CONF="${CONF}" -e DPDK_SHARED="${DPDK_SHARED}" lngodp/odp_ubuntu_14.04.5 /root/build_${CROSS_ARCH}.sh ; else + echo "compilling netmap"; + CDIR=`pwd` ; + 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; + sudo insmod ./netmap/LINUX/netmap.ko; + CONF="$CONF --with-netmap-path=/odp/netmap"; + echo "Running test" ; docker run --privileged -i -t - -v `pwd`:/odp -v/lib/modules:/lib/modules -v/usr/src:/usr/src --shm-size 8g + -v `pwd`:/odp --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 ; From patchwork Thu Aug 16 18: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: 144448 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2383819ljj; Thu, 16 Aug 2018 11:09:54 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwUoYvFPpBKcz2hpesiuRH+vzj6oCAqlSZCh3kuNyFRRGFJ13iJaom3aCQc77RVNzpLnnpo X-Received: by 2002:a37:1701:: with SMTP id i1-v6mr29174100qkh.201.1534442994010; Thu, 16 Aug 2018 11:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534442994; cv=none; d=google.com; s=arc-20160816; b=WYAgu3W+USIUiSgRVYBIdDGfDPHXrFERq8dKjxR9THIvKzw2iE+JVEs15E0D87ALL+ vCpGtybm5oz/r+BneAgwhZ4fueWWTN95k/qOMvffLS4iSCTeHRv8vizytx4iUWAWYLzA jH4zstHqbBIv8eZzVl8IAYcTZ7iSvdy/pb5fqFEEFXgLwydJrGhHvHK6IQ+UEj86d1MN 5pSpNOFJDS+1cwQSJZPc39oiIVPRo3ndxfEIU/yNqmY/ILI5i1T1sRQCb99ns5CdmZPy 6gtDqD8JJmVGLxplhTsWomtA5P6Y9mekZb+mQp56xQm+QuF1f5ISmz1ZJQuzsRJmI2oX 5sZQ== 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=+hGQ/asC6FVSW0UWV+7QwPrmd9CKCwGn8LpzM2gdPd8=; b=x7fpxphLIVcqA37JVw4kKHW+epZwiMMJ5SwtQVXvN+OkEGztN9MGb1eCEvy+ASmUA3 iwIKfYr+e08TjNqabWP4m0iNdD/BepfCaimz3h5nOa9rwDw1RsfhUuzgw965RFnUPbhp WPKMh6YzIiJq1gRbhI9QJ+0bieun0KWyTvOcJlnyR7e+xuW7PnUgADTGEHJY9usjxiP5 1OQLTNhk9V8wZNtD8Sww0SHpk81QPCY6NGj6WI2zc9t1zgqZ5l2im8iWbVdhzZb2bwrz pXaJ9rhtyoS5sc3bBcY0CuBXfgrfuv3nwnI/5ASGacqi9VUjCtKpJ2c3IcwQ5zHFS2yK SkIA== 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 p137-v6si48964qke.135.2018.08.16.11.09.53; Thu, 16 Aug 2018 11:09:53 -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 AE10768615; Thu, 16 Aug 2018 18:09:53 +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 4646968627; Thu, 16 Aug 2018 18:02:53 +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 019DB686BF; Thu, 16 Aug 2018 18:02:46 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 5389568679 for ; Thu, 16 Aug 2018 18:01:00 +0000 (UTC) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward104p.mail.yandex.net (Yandex) with ESMTP id F2BE11884FD for ; Thu, 16 Aug 2018 21:00:58 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback5g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id amLNSXqIpd-0wdikLlK; Thu, 16 Aug 2018 21:00:58 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 161oJSJY57-0wfWJCAt; Thu, 16 Aug 2018 21:00:58 +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, 16 Aug 2018 18:00:11 +0000 Message-Id: <1534442411-9502-14-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> References: <1534442411-9502-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 647 Subject: [lng-odp] [PATCH v6 13/13] travis: remove passing modules and includes from host 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: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9 **/ .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2882524d..2b40889c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,7 +77,7 @@ install: script: - 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 + docker run -i -t -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" -e DPDK_SHARED="${DPDK_SHARED}" lngodp/odp_ubuntu_14.04.5 /root/build_${CROSS_ARCH}.sh ; @@ -105,7 +105,7 @@ jobs: compiler: gcc script: - docker run --privileged -i -t - -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src --shm-size 8g + -v `pwd`:/odp --shm-size 8g -e CODECOV_TOKEN="${CODECOV_TOKEN}" -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" @@ -115,7 +115,7 @@ jobs: compiler: gcc script: - docker run --privileged -i -t - -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src --shm-size 8g + -v `pwd`:/odp --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 @@ -150,7 +150,7 @@ jobs: - stage: "build only" env: Ubuntu14.04_arm64 script: - - docker run -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + - docker run -i -t -v `pwd`:/odp lngodp/odp_ubuntu_14.04.5 /root/build_arm64.sh - stage: test compiler: gcc @@ -175,7 +175,7 @@ jobs: env: CROSS_ARCH="i386" script: - docker run --privileged -i -t - -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; @@ -184,7 +184,7 @@ jobs: env: CROSS_ARCH="i386" script: - docker run --privileged -i -t - -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src + -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; @@ -211,7 +211,7 @@ jobs: 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 + -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ; @@ -220,7 +220,7 @@ jobs: 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 + -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" -e CONF="${CONF}" lngodp/odp_ubuntu_14.04.5_i386 /root/build_${CROSS_ARCH}.sh ;