branch: master
steps:
- export TMPDIR="/tmp"
- - export BENCHMARK_DIR=$(mktemp --directory)
- ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
run:
steps:
- source /root/lttngvenv/activate
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
- git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"
branch: master
steps:
- export TMPDIR="/tmp"
- - export BENCHMARK_DIR=$(mktemp --directory)
- ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
run:
steps:
- source /root/lttngvenv/activate
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
- git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"
branch: master
steps:
- export TMPDIR="/tmp"
- - export BENCHMARK_DIR=$(mktemp --directory)
- ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
run:
steps:
- source /root/lttngvenv/activate
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
- git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"
branch: master
steps:
- export TMPDIR="/tmp"
- - export BENCHMARK_DIR=$(mktemp --directory)
- ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
run:
steps:
- source /root/lttngvenv/activate
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
- git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"
- tar czf coredump.tar.gz coredump
- lava-test-case-attach run-benchmarks coredump.tar.gz
- lava-test-case-attach run-benchmarks "./processed_results_open_enoent.csv"
-
- python3-pandas
- python3-numpy
git-repos:
- - url: https://github.com/frdeso/syscall-bench-it.git
- destination: /tmp/benchmarks
- branch: master
- url: https://github.com/lttng/lttng-ci
destination: ci
branch: master
run:
steps:
- source /root/lttngvenv/activate
- - cd /tmp/benchmarks
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
+ - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
+ - cd $BENCHMARK_DIR
- 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 /tmp/benchmarks/results.csv
+ - python3 ./scripts/lttng-baremetal-tests/parse-results.py $BENCHMARK_DIR/results.csv
- mv ./processed_results.csv ../processed_results_lttng_test_filter.csv
- cd -
- tar czf coredump.tar.gz coredump
branch: master
steps:
- export TMPDIR="/tmp"
- - export BENCHMARK_DIR=$(mktemp --directory)
- ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
run:
steps:
- source /root/lttngvenv/activate
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
- git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"
branch: master
steps:
- export TMPDIR="/tmp"
- - export BENCHMARK_DIR=$(mktemp --directory)
- ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
run:
steps:
- source /root/lttngvenv/activate
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
- git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
- cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"