[lng-odp] odp docker ci howto
Hello Matias, I've update here Travis paragraph for Docker usage: https://github.com/Linaro/odp/wiki Best regards, Maxim.
[lng-odp] [PATCH v2 1/1] travis: add ubuntu 18.04 compilation test
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 689 (muvarov:devel/master_u18) ** https://github.com/Linaro/odp/pull/689 ** Patch: https://github.com/Linaro/odp/pull/689.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: 64aa8cd6f9bc74e2a75b9e9893c8ea8fb9d3e8d3 **/ .travis.yml | 9 + 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 26431ff19..5bd09a2a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -187,6 +187,15 @@ jobs: - docker run -i -t -v `pwd`:/odp -e CC="${CC}" ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/build_${ARCH}.sh +- stage: test + env: ARCH=x86_64 CC=clang UBUNTU_VERS="18.04" + install: + - true + script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi + - docker run -i -t -v `pwd`:/odp + -e CC="${CC}" + ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_${UBUNTU_VERS} /odp/scripts/ci/build_${ARCH}.sh - stage: test canfail: yes env: TEST=checkpatch
[lng-odp] [PATCH v2 0/1] travis: add ubuntu 18.04 compilation test
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 689 (muvarov:devel/master_u18) ** https://github.com/Linaro/odp/pull/689 ** Patch: https://github.com/Linaro/odp/pull/689.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: 64aa8cd6f9bc74e2a75b9e9893c8ea8fb9d3e8d3 **/ /github checkpatch.pl ERROR: trailing whitespace #26: FILE: .travis.yml:190: +- stage: test $ total: 1 errors, 0 warnings, 0 checks, 15 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 v1 0/1] abi: align ODP_CPUMASK_SIZE with kernel cpu_set_t
Depends on kernel compile configuration size of cpu set may differ. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3983 Reported-by: Robert Perper rper...@litespeedtech.com Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 690 (muvarov:devel/master_cpuset) ** https://github.com/Linaro/odp/pull/690 ** Patch: https://github.com/Linaro/odp/pull/690.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: d30146a4266af9e67d0d0de3be9e2b8345d97430 **/ /github checkpatch.pl total: 0 errors, 0 warnings, 0 checks, 10 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. /checkpatch.pl
[lng-odp] [Linaro/odp] ef122c: travis: set CI for distcheck
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: ef122c4484ee63f64f0a1b5cab74b018b19e6361 https://github.com/Linaro/odp/commit/ef122c4484ee63f64f0a1b5cab74b018b19e6361 Author: Maxim Uvarov Date: 2018-09-03 (Mon, 03 Sep 2018) Changed paths: M scripts/ci/distcheck.sh Log Message: --- travis: set CI for distcheck on distcheck TM test is called but it can fail under Travis. Signed-off-by: Maxim Uvarov Reviewed-by: Dmitry Eremin-Solenikov Commit: 0a5d67beda902557056d5b5146d8cbe86e5001b0 https://github.com/Linaro/odp/commit/0a5d67beda902557056d5b5146d8cbe86e5001b0 Author: Maxim Uvarov Date: 2018-09-03 (Mon, 03 Sep 2018) Changed paths: M scripts/ci/coverage.sh Log Message: --- travis: let after_failure task print logs current print logs are not executed due to set -e, let after_failure task print logs if return code is not zero. Signed-off-by: Maxim Uvarov Reviewed-by: Dmitry Eremin-Solenikov Compare: https://github.com/Linaro/odp/compare/97fc51b1e5b3...0a5d67beda90 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
[lng-odp] [PATCH v1 1/1] travis: add ubuntu 18.04 compilation test
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 689 (muvarov:devel/master_u18) ** https://github.com/Linaro/odp/pull/689 ** Patch: https://github.com/Linaro/odp/pull/689.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 8c12f66e8db6b96c872b6edc65f0dc9f8de34e6a **/ .travis.yml | 9 + 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 26431ff19..7e486700c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -169,6 +169,15 @@ jobs: - docker run -i -t -v `pwd`:/odp -e CC="${CC}" ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/build_${ARCH}.sh +- stage: "build only" + env: ARCH=x86_64 CC=clang UBUNTU_VERS="18.04" + install: + - true + script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi + - docker run -i -t -v `pwd`:/odp + -e CC="${CC}" + ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_${UBUNTU_VERS} /odp/scripts/ci/build_${ARCH}.sh - stage: "build only" env: ARCH=arm64 install:
[lng-odp] [PATCH v1 0/1] travis: add ubuntu 18.04 compilation test
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 689 (muvarov:devel/master_u18) ** https://github.com/Linaro/odp/pull/689 ** Patch: https://github.com/Linaro/odp/pull/689.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 8c12f66e8db6b96c872b6edc65f0dc9f8de34e6a **/ /github checkpatch.pl total: 0 errors, 0 warnings, 0 checks, 15 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. /checkpatch.pl
[lng-odp] [Bug 3942] SCTP checksumming missing from outbound IPsec processing
https://bugs.linaro.org/show_bug.cgi?id=3942 Maxim Uvarov changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED CC||maxim.uva...@linaro.org --- Comment #3 from Maxim Uvarov --- Commits are in will be fixed in v1.20.0 when released. commit 1c36bf726387b291d73bee1448cf163527cf5fb0 Author: Dmitry Eremin-Solenikov Date: Thu Aug 16 12:04:49 2018 +0300 validation: pktio: add SCTP checksum tests Add tests validating SCTP checksumming on pkt out and checksum verification on pkt in. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov commit fb2159c2bfa65e9777e120fd7e364561861ede29 Author: Dmitry Eremin-Solenikov Date: Thu Aug 16 11:48:02 2018 +0300 linux-gen: ipsec: insert checksum into SCTP packets if required Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov commit d1a1ed78d5d1255a68399a47ab42f7cccd9efe8f Author: Dmitry Eremin-Solenikov Date: Thu Aug 16 11:46:15 2018 +0300 linux-gen: pktio: loop: handle SCTP checksums Add code to emulate hardware SCTP checksumming support over loop device (as it is done for IPv4/TCP/UDP). Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov commit cd7c7b287229375bb6cf848def60d6ac866c4445 Author: Dmitry Eremin-Solenikov Date: Thu Aug 16 11:45:19 2018 +0300 linux-gen: packet: support SCTP packet insertion Add support for insertion of checksum into SCTP packets. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov commit 4c797e8478dfffd914b8af4e4299a8ab03e0f59c Author: Dmitry Eremin-Solenikov Date: Thu Aug 16 11:42:30 2018 +0300 linux-gen: packet: parse SCTP packets and verify checksum Verify SCTP packet checksums. Use CRC32-c as requied by RFC3309 instead of original Adler-32. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov commit 7926eb572b3e945fd4443a32a06939136929aab8 Author: Dmitry Eremin-Solenikov Date: Thu Aug 16 11:40:10 2018 +0300 linux-gen: add SCTP protocol header Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov -- You are receiving this mail because: You are on the CC list for the bug.
[lng-odp] [Bug 3989] New: odp_system_info_init() issues
https://bugs.linaro.org/show_bug.cgi?id=3989 Bug ID: 3989 Summary: odp_system_info_init() issues Product: OpenDataPlane - linux- generic reference Version: master Hardware: Other OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: --- Component: General ODP Assignee: maxim.uva...@linaro.org Reporter: dmitry.ereminsoleni...@linaro.org CC: lng-odp@lists.linaro.org Target Milestone: --- 1) provide proper sysinfo fallback for the cases when /proc/cpuinfo can not be read 2) if /proc/cpuinfo can not be read, the function will exit without calling systemcpu() and system_hp(), thus leaving parts of sysinfo uninitialized. -- You are receiving this mail because: You are on the CC list for the bug.
[lng-odp] [Bug 3942] SCTP checksumming missing from outbound IPsec processing
https://bugs.linaro.org/show_bug.cgi?id=3942 --- Comment #2 from Dmitry Eremin-Solenikov --- Maxim, it looks like this issue can be closed now. -- You are receiving this mail because: You are on the CC list for the bug.
[lng-odp] [PATCH v2 3/3] test: sched_perf: total events per second
From: Petri Savolainen Added result for events per second over all workers. Signed-off-by: Petri Savolainen --- /** Email created from pull request 687 (psavol:master-test-sched-perf-options) ** https://github.com/Linaro/odp/pull/687 ** Patch: https://github.com/Linaro/odp/pull/687.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 742c63f02e193181bd9172aeb63cf6d3d1de2e40 **/ test/performance/odp_sched_perf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c index d80f77494..bbd76c86c 100644 --- a/test/performance/odp_sched_perf.c +++ b/test/performance/odp_sched_perf.c @@ -564,6 +564,9 @@ static void print_stat(test_global_t *global) (1000.0 * rounds_ave) / nsec_ave); printf(" events per sec: %.3f M\n\n", (1000.0 * events_ave) / nsec_ave); + + printf("TOTAL events per sec: %.3f M\n\n", + (1000.0 * events_sum) / nsec_ave); } int main(int argc, char **argv)
[lng-odp] [PATCH v2 1/3] test: sched_perf: total number of queues option
From: Petri Savolainen Change -q option to be the total number of queues with events. There's no need to limit the number of queues to a multiple of worker thread count. Also, add an option for number of dummy (empty) queues. This enables testing scheduler performance when all created queues are not used. Signed-off-by: Petri Savolainen --- /** Email created from pull request 687 (psavol:master-test-sched-perf-options) ** https://github.com/Linaro/odp/pull/687 ** Patch: https://github.com/Linaro/odp/pull/687.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 742c63f02e193181bd9172aeb63cf6d3d1de2e40 **/ test/performance/odp_sched_perf.c | 42 +++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c index ac2b9005b..d5fceede9 100644 --- a/test/performance/odp_sched_perf.c +++ b/test/performance/odp_sched_perf.c @@ -14,12 +14,12 @@ #include #include -#define MAX_QUEUES_PER_CPU 1024 -#define MAX_QUEUES (ODP_THREAD_COUNT_MAX * MAX_QUEUES_PER_CPU) +#define MAX_QUEUES (256 * 1024) typedef struct test_options_t { uint32_t num_cpu; uint32_t num_queue; + uint32_t num_dummy; uint32_t num_event; uint32_t num_round; uint32_t max_burst; @@ -60,10 +60,11 @@ static void print_usage(void) "Usage: odp_sched_perf [options]\n" "\n" " -c, --num_cpu Number of CPUs (worker threads). 0: all available CPUs. Default: 1.\n" - " -q, --num_queueNumber of queues per CPU. Default: 1.\n" - " -e, --num_eventNumber of events per queue\n" + " -q, --num_queueNumber of queues. Default: 1.\n" + " -d, --num_dummyNumber of empty queues. Default: 0.\n" + " -e, --num_eventNumber of events per queue. Default: 100.\n" " -r, --num_roundNumber of rounds\n" - " -b, --burstMaximum number of events per operation\n" + " -b, --burstMaximum number of events per operation. Default: 100.\n" " -t, --type Queue type. 0: parallel, 1: atomic, 2: ordered. Default: 0.\n" " -h, --help This help\n" "\n"); @@ -78,6 +79,7 @@ static int parse_options(int argc, char *argv[], test_options_t *test_options) static const struct option longopts[] = { {"num_cpu", required_argument, NULL, 'c'}, {"num_queue", required_argument, NULL, 'q'}, + {"num_dummy", required_argument, NULL, 'd'}, {"num_event", required_argument, NULL, 'e'}, {"num_round", required_argument, NULL, 'r'}, {"burst", required_argument, NULL, 'b'}, @@ -86,10 +88,11 @@ static int parse_options(int argc, char *argv[], test_options_t *test_options) {NULL, 0, NULL, 0} }; - static const char *shortopts = "+c:q:e:r:b:t:h"; + static const char *shortopts = "+c:q:d:e:r:b:t:h"; test_options->num_cpu= 1; test_options->num_queue = 1; + test_options->num_dummy = 0; test_options->num_event = 100; test_options->num_round = 10; test_options->max_burst = 100; @@ -108,6 +111,9 @@ static int parse_options(int argc, char *argv[], test_options_t *test_options) case 'q': test_options->num_queue = atoi(optarg); break; + case 'd': + test_options->num_dummy = atoi(optarg); + break; case 'e': test_options->num_event = atoi(optarg); break; @@ -129,15 +135,15 @@ static int parse_options(int argc, char *argv[], test_options_t *test_options) } } - if (test_options->num_queue > MAX_QUEUES_PER_CPU) { - printf("Error: Too many queues per worker. Max supported %i\n.", - MAX_QUEUES_PER_CPU); + if ((test_options->num_queue + test_options->num_dummy) > MAX_QUEUES) { + printf("Error: Too many queues. Max supported %i\n.", + MAX_QUEUES); ret = -1; } - test_options->tot_queue = test_options->num_queue * - test_options->num_cpu; - test_options->tot_event = test_options->tot_queue * + test_options->tot_queue = test_options->num_queue + + test_options->num_dummy; + test_options->tot_event = test_options->num_queue * test_options->num_event; return ret; @@ -182,6 +188,7 @@ static int create_pool(test_global_t *global) test_options_t *test_options = >test_options;
[lng-odp] [PATCH v2 0/3] Add options to sched_perf test application
Add options for better control of queue usage in the test. github /** Email created from pull request 687 (psavol:master-test-sched-perf-options) ** https://github.com/Linaro/odp/pull/687 ** Patch: https://github.com/Linaro/odp/pull/687.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 742c63f02e193181bd9172aeb63cf6d3d1de2e40 **/ /github checkpatch.pl total: 0 errors, 0 warnings, 0 checks, 115 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. total: 0 errors, 0 warnings, 0 checks, 153 lines checked to_send-p-001.patch has no obvious style problems and is ready for submission. total: 0 errors, 0 warnings, 0 checks, 9 lines checked to_send-p-002.patch has no obvious style problems and is ready for submission. /checkpatch.pl
[lng-odp] [Bug 3987] New: scheduler_test_wait_time failure on ix86/amd64
https://bugs.linaro.org/show_bug.cgi?id=3987 Bug ID: 3987 Summary: scheduler_test_wait_time failure on ix86/amd64 Product: OpenDataPlane - linux- generic reference Version: master Hardware: Other OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: --- Component: Scheduler Assignee: yi...@linaro.org Reporter: dmitry.ereminsoleni...@linaro.org CC: lng-odp@lists.linaro.org Target Milestone: --- I'm observing occasional test failures on x86 (both i386 and amd64): Test: scheduler_test_wait_time ...FAILED 1. scheduler.c:189 - odp_time_cmp(diff, upper_limit) <= 0 -- You are receiving this mail because: You are on the CC list for the bug.
[lng-odp] [Bug 3986] New: Generic failure on PPC64el
https://bugs.linaro.org/show_bug.cgi?id=3986 Bug ID: 3986 Summary: Generic failure on PPC64el Product: OpenDataPlane - linux- generic reference Version: master Hardware: Other OS: Linux Status: UNCONFIRMED Severity: major Priority: --- Component: General ODP Assignee: maxim.uva...@linaro.org Reporter: dmitry.ereminsoleni...@linaro.org CC: lng-odp@lists.linaro.org Target Milestone: --- All tests fail on PPC64el with the following error: FAIL: time/time_main odp_system_info.c:314:systemcpu():Cache line sizes definitions don't match. odp_system_info.c:364:odp_system_info_init():systemcpu failed odp_init.c:256:odp_init_global():ODP system_info init failed. error: odp_init_global() failed. FAIL time/time_main (exit status: 255) -- You are receiving this mail because: You are on the CC list for the bug.