Merged,
Maxim.
On 10/28/16 19:24, Mike Holmes wrote:
On 28 October 2016 at 10:16, Maxim Uvarov <maxim.uva...@linaro.org
<mailto:maxim.uva...@linaro.org>> wrote:
Mike,
all crypto tests failed for me. On laptop I have "Version:
1.0.1f-1ubuntu2.19" which is about the same as Travis uses.
Do you see the same errors?
Yes, the travis is working perfectly and has found an issue already :)
My run just now
https://travis-ci.org/mike-holmes-linaro/odp/builds/171432977
I expect it to fail often becasue without the capability structs
being implemented and used properly our tests expect too much of the
HW when run in the cloud, but this is something else it appears
Our Jenkins nightly from yesterday sees no issue
https://ci.linaro.org/view/odp-ci/job/odp-api-check/ARCH=x86-64,label=docker-jessie-amd64,pktio=none/882/console
*19:50:10* PASS: ../../test/common_plat/validation/api/cpumask/cpumask_main
Get:2 http://us-central1.gce.archive.ubuntu.com/ubuntu/
<http://us-central1.gce.archive.ubuntu.com/ubuntu/>
precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5.38 [1,581 kB]
Get:3 http://us-central1.gce.archive.ubuntu.com/ubuntu/
<http://us-central1.gce.archive.ubuntu.com/ubuntu/>
precise-updates/main libssl1.0.0 amd64 1.0.1-4ubuntu5.38 [1,055 kB]
Test: crypto_test_dec_alg_aes128_gcm ...FAILED
1.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
2.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
3.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
4.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
Test: crypto_test_dec_alg_aes128_gcm_ovr_iv ...FAILED
1.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
2.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
3.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
4.
../../../../../../test/common_plat/validation/api/crypto/odp_crypto_test_inp.c:181
- !memcmp(data_addr, ciphertext, ciphertext_len)
Test: crypto_test_dec_alg_aes128_gcm ...FAILED Test:
crypto_test_dec_alg_aes128_gcm_ovr_iv ...FAILED
Maxim.
On 10/21/16 21:40, Mike Holmes wrote:
allows pushes to a github clone of ODP to automatically
trigger CI builds
Signed-off-by: Mike Holmes <mike.hol...@linaro.org
<mailto:mike.hol...@linaro.org>>
---
.travis.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..0d1add3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,35 @@
+# Copyright (c) 2016, Linaro Limited
+# All rights reserved.
+# SPDX-License-Identifier: BSD-3-Clause
+
+
+
+language: c
+compiler: clang
+sudo: required
+
+before_install:
+ - sudo apt-get -qq update
+ - sudo apt-get install automake autoconf libtool
libssl-dev graphviz mscgen doxygen
+ - gem install asciidoctor
+
+# Install cunit for the validation tests because distro
version is too old and fails C99 compile
+ - export CUNIT_VERSION=2.1-3
+ - curl -sSOL
http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2
<http://sourceforge.net/projects/cunit/files/CUnit/$%7BCUNIT_VERSION%7D/CUnit-$%7BCUNIT_VERSION%7D.tar.bz2>
+ - tar -jxf *.bz2
+ - cd CUnit*
+ - ./bootstrap
+ - ./configure --enable-debug --enable-automated
--enable-basic --enable-console --enable-examples --enable-test
+ - make
+ - sudo make install
+ - cd ..
+ - export
LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
+
+install:
+ - ./bootstrap
+
+script:
+ - ./configure --enable-test-cpp --enable-test-vald
--enable-test-helper --enable-test-perf --enable-user-guides
--enable-test-perf-proc --enable-test-example
+ - make check
+ - make doxygen-doc
+ - make distcheck
--
Mike Holmes
Program Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/>***│ *Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"