This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, api-next has been updated via 361f0fa4addf83ae9b30d5e705e1f86643a45bab (commit) via cb17e380f1231328cbaaf35635f6db9fb5b99bb8 (commit) via 244fce69b25af28cbe5c19b11bfc3da5aa8da95d (commit) via 974e4477a35742b8021e25692a458d16cd2087f1 (commit) from 4f97e500a097928e308a415c32a88465adc5f5cc (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 361f0fa4addf83ae9b30d5e705e1f86643a45bab Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Thu Jun 15 17:02:43 2017 +0300
travis: do not run performance test in parallel under coverage
Performance tests have some limits to detect if they pass or fail but under coverage execution is slow, running tests in parallel is also very slow. Without that patch scheduler test simetimes fails.
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org
diff --git a/.travis.yml b/.travis.yml index 64f4ff88..1bc82b3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,7 +130,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" PATH=${PATH//:./node_modules/.bin/} make check -j ${nproc} + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" PATH=${PATH//:./node_modules/.bin/} make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} ; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test env: TEST=distcheck
commit cb17e380f1231328cbaaf35635f6db9fb5b99bb8 Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Thu Jun 15 16:04:55 2017 +0300
travis: add sudo run make check
make check has to be under root to validate pktio like raw sockets. Also odp temporary files can overlap with previous root run and permission to overwrite that files is needed.
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org
diff --git a/.travis.yml b/.travis.yml index d1ca5a66..64f4ff88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,7 +130,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - - make check -j $(nproc) + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" PATH=${PATH//:./node_modules/.bin/} make check -j ${nproc} - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} ; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test env: TEST=distcheck @@ -138,7 +138,7 @@ jobs: script: - ./bootstrap - ./configure - - make distcheck + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make distcheck - stage: test env: TEST=doxygen compiler: gcc
commit 244fce69b25af28cbe5c19b11bfc3da5aa8da95d Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Wed Jun 14 23:45:31 2017 +0300
build: fix order of test execution
l2fwd perf test requires odp_generator from examples. Make sure that examples already build when make check is run. https://bugs.linaro.org/show_bug.cgi?id=2938
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org
diff --git a/Makefile.am b/Makefile.am index 2a9a658d..daa49788 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,10 +8,10 @@ AM_DISTCHECK_CONFIGURE_FLAGS = --enable-test-cpp \ #@with_platform@ works alone in subdir but not as part of a path??? SUBDIRS = @platform_with_platform@ \ helper \ - test \ helper/test \ doc \ - example + example . \ + test
@DX_RULES@
commit 974e4477a35742b8021e25692a458d16cd2087f1 Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Wed Jun 14 16:50:13 2017 +0300
test: l2fwd pass under coverage
env variable TEST=coverage is set, use it to not fail under gcov run which is really slow.
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org
diff --git a/test/common_plat/performance/odp_l2fwd_run.sh b/test/common_plat/performance/odp_l2fwd_run.sh index dd42ede9..6871e4b0 100755 --- a/test/common_plat/performance/odp_l2fwd_run.sh +++ b/test/common_plat/performance/odp_l2fwd_run.sh @@ -96,6 +96,9 @@ run_l2fwd() ret=1 elif [ $ret -eq 0 ]; then PASS_PPS=5000 + if [ "${TEST}" = "coverage" ]; then + PASS_PPS=10 + fi MAX_PPS=$(awk '/TEST RESULT/ {print $3}' $LOG) if [ "$MAX_PPS" -lt "$PASS_PPS" ]; then echo "FAIL: pps below threshold $MAX_PPS < $PASS_PPS"
-----------------------------------------------------------------------
Summary of changes: .travis.yml | 4 ++-- Makefile.am | 4 ++-- test/common_plat/performance/odp_l2fwd_run.sh | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-)
hooks/post-receive