[lng-odp] api-next merge with ODP 2.0
Hi Maxim, The test cases validation/api/pktio_run.sh and validation/api/pktio_run_tap.sh are failing on Travis for the following configurations: [image: Inline images 1] I am not able to reproduce these issues on my local machine. How do I debug these? Is there any more log information that I can get from Travis? The merge is available at: https://github.com/nagarahalli/odp/tree/2.0-api-next-merge-11Oct2017. Thank you, Honnappa
[lng-odp] [PATCH v1 1/1] add sample shippable.yml and Dockerfile for Aarch64 builds
From: Tom Trahan--- /** Email created from pull request 231 (ttrahan:master) ** https://github.com/Linaro/odp/pull/231 ** Patch: https://github.com/Linaro/odp/pull/231.patch ** Base sha: ae4f1d82ed704992c1d8284c23795b9e076b33b9 ** Merge commit sha: 596e5cb5ac6cbfbb9031ce5eb7e84ef051483314 **/ Dockerfile| 23 + shippable.yml | 81 +++ 2 files changed, 104 insertions(+) create mode 100644 Dockerfile create mode 100644 shippable.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0..0a511b09d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM drydockaarch64/u16:v5.10.1 + +RUN if $(sudo update-alternatives --list gcc); \ + then sudo update-alternatives --remove-all gcc; \ +fi + +RUN sudo apt-get update && sudo apt-get install -yy \ + gcc-4.8 \ + clang-3.8 \ + automake \ + autoconf \ + ccache \ + graphviz \ + kmod \ + libpcap-dev \ + libssl-dev \ + libtool \ + linux-headers-`uname -r` \ + mscgen \ + ruby-dev + +RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 +RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang diff --git a/shippable.yml b/shippable.yml new file mode 100644 index 0..048803752 --- /dev/null +++ b/shippable.yml @@ -0,0 +1,81 @@ + +language: c + +compiler: + - gcc + - clang + +env: + matrix: +- CONF="" +# - CONF="--disable-abi-compat" +# - CONF="--enable-schedule-sp" +# - CONF="--enable-schedule-iquery" +# - CONF="--enable-dpdk-zero-copy" +- CROSS_ARCH="arm64" +# - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" +# - CROSS_ARCH="powerpc" +# - CROSS_ARCH="i386" + global: +# COVERITY_SCAN_TOKEN +# ** specific to your project ** +# Note: +# You should have a github account and travis linked travis account. +# The secure key to be filled below is the 685 character long encrypted +# token you can find as follow from your coverity dashboard +# (at https://scan.coverity.com/dashboard): +# Click on the github project (/odp) +# Click on "submit build" +# Click on "Configure Travis CI" +# Look at the COVERITY_SCAN_TOKEN in the env: global: section +# of the configuration example. +# copy the secure: below +# +- secure: "" +# +# By default Linaro CODECOV_TOKEN token is used. It's ok to use it to see +# for individual commit validation. But you you want to track tests history +# you need generated new one at https://codecov.io specific for your repo. +- CODECOV_TOKEN=8e1c0fd8-62ff-411e-a79f-5839f6662c11 + +build: + pre_ci: +# use Dockerfile to install additional CI dependencies +- docker build -t=odp/dev . + + # use image built in 'pre_ci' for CI job + pre_ci_boot: +image_name: odp/dev +image_tag: latest +pull: false +options: + + ci: +- echo 1000 | sudo tee /proc/sys/vm/nr_hugepages +- sudo mkdir -p /mnt/huge +- sudo mount -t hugetlbfs nodev /mnt/huge +- mkdir -p /dev/shm/odp +- 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 --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test || cat config.log + make + sudo make install + popd +- ./bootstrap +- export PKG_CONFIG_PATH="$HOME/cunit-install/lib/pkgconfig:${PKG_CONFIG_PATH}" +- export LD_LIBRARY_PATH="$HOME/cunit-install/lib:$LD_LIBRARY_PATH" +- ./configure --disable-test-perf +- make +- sudo LD_LIBRARY_PATH="$HOME/cunit-install/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check + + post_ci: +- cat config.log +- find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \;
[lng-odp] [PATCH v1 0/1] add sample shippable.yml and Dockerfile for Aarch64 builds
Adds shippable.yml config file for testing ODP builds on Aarch64 hardware using Shippable. This CI config also uses a Dockerfile to install additional dependencies on top of the standard Shippable Aarch64 image. github /** Email created from pull request 231 (ttrahan:master) ** https://github.com/Linaro/odp/pull/231 ** Patch: https://github.com/Linaro/odp/pull/231.patch ** Base sha: ae4f1d82ed704992c1d8284c23795b9e076b33b9 ** Merge commit sha: 596e5cb5ac6cbfbb9031ce5eb7e84ef051483314 **/ /github checkpatch.pl WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #15: shippable.yml | 81 +++ ERROR: trailing whitespace #47: FILE: Dockerfile:22: +RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 $ ERROR: trailing whitespace #100: FILE: shippable.yml:46: + # use image built in 'pre_ci' for CI job $ ERROR: trailing whitespace #105: FILE: shippable.yml:51: +options: $ ERROR: Missing Signed-off-by: line(s) total: 4 errors, 1 warnings, 0 checks, 104 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or scripts/cleanfile to_send-p-000.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. /checkpatch.pl
[lng-odp] [PATCH API-NEXT v1 1/1] api: ipsec: return maximum antireplay window size via capability
From: Dmitry Eremin-SolenikovSigned-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 230 (lumag:ipsec-rws-cap) ** https://github.com/Linaro/odp/pull/230 ** Patch: https://github.com/Linaro/odp/pull/230.patch ** Base sha: afeda4d14bb6f449cb269680cdbd56b26726eedf ** Merge commit sha: bb52bccf08a68ec2e1c3988539a0295d79ebd5bd **/ include/odp/api/spec/ipsec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 3bd80b266..ddcdf75bb 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t { * be used for many SAs. */ uint32_t max_queues; + /** Maximum anti-replay window size. */ + uint32_t max_antireplay_ws; + /** Supported cipher algorithms */ odp_crypto_cipher_algos_t ciphers;
[lng-odp] [PATCH API-NEXT v1 0/1] api: ipsec: return maximum antireplay window size via capability
Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from pull request 230 (lumag:ipsec-rws-cap) ** https://github.com/Linaro/odp/pull/230 ** Patch: https://github.com/Linaro/odp/pull/230.patch ** Base sha: afeda4d14bb6f449cb269680cdbd56b26726eedf ** Merge commit sha: bb52bccf08a68ec2e1c3988539a0295d79ebd5bd **/ /github checkpatch.pl total: 0 errors, 0 warnings, 0 checks, 9 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. /checkpatch.pl