From: Francis Deslauriers Date: Mon, 28 Aug 2017 20:18:20 +0000 (-0400) Subject: jjb: lava: clone benchmark repo to /tmp that is mounted on a local drive X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=85f188d51caf2273e5a2a981701ab91339bda3e8;p=lttng-ci.git jjb: lava: clone benchmark repo to /tmp that is mounted on a local drive Signed-off-by: Francis Deslauriers --- diff --git a/lava/baremetal-tests/failing-close.yml b/lava/baremetal-tests/failing-close.yml index b9f22ce..9094128 100644 --- a/lava/baremetal-tests/failing-close.yml +++ b/lava/baremetal-tests/failing-close.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,13 +24,13 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh failing-close sys_close" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_close.csv - cd - - tar czf coredump.tar.gz coredump diff --git a/lava/baremetal-tests/failing-ioctl.yml b/lava/baremetal-tests/failing-ioctl.yml index 76c8027..0002cbe 100644 --- a/lava/baremetal-tests/failing-ioctl.yml +++ b/lava/baremetal-tests/failing-ioctl.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,13 +24,13 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh failing-ioctl sys_ioctl" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_ioctl.csv - cd - - tar czf coredump.tar.gz coredump diff --git a/lava/baremetal-tests/failing-open-efault.yml b/lava/baremetal-tests/failing-open-efault.yml index 77d531a..8dc3c51 100644 --- a/lava/baremetal-tests/failing-open-efault.yml +++ b/lava/baremetal-tests/failing-open-efault.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,13 +24,13 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh failing-open-efault sys_open" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_open_efault.csv - cd - - tar czf coredump.tar.gz coredump diff --git a/lava/baremetal-tests/failing-open-enoent.yml b/lava/baremetal-tests/failing-open-enoent.yml index 5ad6dbe..adcf861 100644 --- a/lava/baremetal-tests/failing-open-enoent.yml +++ b/lava/baremetal-tests/failing-open-enoent.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,13 +24,13 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh failing-open-enoent sys_open" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_open_enoent.csv - cd - - tar czf coredump.tar.gz coredump diff --git a/lava/baremetal-tests/lttng-test-filter.yml b/lava/baremetal-tests/lttng-test-filter.yml index 8775279..5327fff 100644 --- a/lava/baremetal-tests/lttng-test-filter.yml +++ b/lava/baremetal-tests/lttng-test-filter.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,14 +24,14 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - modprobe lttng-test - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh lttng-test-filter lttng_test_filter_event" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_lttng_test_filter.csv - cd - - tar czf coredump.tar.gz coredump diff --git a/lava/baremetal-tests/raw-syscall-getpid.yml b/lava/baremetal-tests/raw-syscall-getpid.yml index bb2f2fe..6d6e96d 100644 --- a/lava/baremetal-tests/raw-syscall-getpid.yml +++ b/lava/baremetal-tests/raw-syscall-getpid.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,13 +24,13 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh raw-syscall-getpid sys_getpid" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_raw_syscall_getpid.csv - cd - - tar czf coredump.tar.gz coredump diff --git a/lava/baremetal-tests/success-dup-close.yml b/lava/baremetal-tests/success-dup-close.yml index 7e8cc9b..fe83da0 100644 --- a/lava/baremetal-tests/success-dup-close.yml +++ b/lava/baremetal-tests/success-dup-close.yml @@ -11,7 +11,7 @@ install: - python3-numpy git-repos: - url: https://github.com/frdeso/syscall-bench-it.git - destination: benchmarks + destination: /tmp/benchmarks branch: master - url: https://github.com/lttng/lttng-ci destination: ci @@ -24,13 +24,13 @@ install: run: steps: - source /root/lttngvenv/activate - - cd benchmarks + - cd /tmp/benchmarks - lava-test-case build-benchmarks --shell "make" - lava-test-case run-benchmarks --shell "./run.sh success-dup-close sys_close,sys_dup" - lava-test-case-attach run-benchmarks "./results.csv" - cd - - cd ci - - python3 ./scripts/lttng-baremetal-tests/parse-results.py ../benchmarks/results.csv + - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv - mv ./processed_results.csv ../processed_results_dup_close.csv - cd - - tar czf coredump.tar.gz coredump