From 3ee362e6bbebac062a0360a8b2c09b7a5b214859 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Tue, 30 Apr 2019 19:28:40 -0400 Subject: [PATCH] Fix: set ulimit when running test Signed-off-by: Jonathan Rajotte --- lava/system-tests/destructive-tests.yml | 2 +- lava/system-tests/failing-close.yml | 2 +- lava/system-tests/failing-ioctl.yml | 2 +- lava/system-tests/failing-open-efault.yml | 2 +- lava/system-tests/failing-open-enoent.yml | 2 +- lava/system-tests/lttng-test-filter.yml | 2 +- lava/system-tests/perf-tests.yml | 2 +- lava/system-tests/raw-syscall-getpid.yml | 2 +- lava/system-tests/success-dup-close.yml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lava/system-tests/destructive-tests.yml b/lava/system-tests/destructive-tests.yml index 542f0d3..571cc6e 100644 --- a/lava/system-tests/destructive-tests.yml +++ b/lava/system-tests/destructive-tests.yml @@ -12,13 +12,13 @@ install: steps: - export TMPDIR="/tmp" - systemctl stop systemd-timesyncd.service - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - pushd /root/lttngvenv/src/lttng-tools - lava-test-case build-test-suite --shell "make" diff --git a/lava/system-tests/failing-close.yml b/lava/system-tests/failing-close.yml index 6270669..1804c35 100644 --- a/lava/system-tests/failing-close.yml +++ b/lava/system-tests/failing-close.yml @@ -16,11 +16,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR diff --git a/lava/system-tests/failing-ioctl.yml b/lava/system-tests/failing-ioctl.yml index 695999d..1866de8 100644 --- a/lava/system-tests/failing-ioctl.yml +++ b/lava/system-tests/failing-ioctl.yml @@ -16,11 +16,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR diff --git a/lava/system-tests/failing-open-efault.yml b/lava/system-tests/failing-open-efault.yml index 2235dc7..59ee5ac 100644 --- a/lava/system-tests/failing-open-efault.yml +++ b/lava/system-tests/failing-open-efault.yml @@ -16,11 +16,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR diff --git a/lava/system-tests/failing-open-enoent.yml b/lava/system-tests/failing-open-enoent.yml index 5eee241..5124301 100644 --- a/lava/system-tests/failing-open-enoent.yml +++ b/lava/system-tests/failing-open-enoent.yml @@ -16,11 +16,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR diff --git a/lava/system-tests/lttng-test-filter.yml b/lava/system-tests/lttng-test-filter.yml index b952a2b..e2cd965 100644 --- a/lava/system-tests/lttng-test-filter.yml +++ b/lava/system-tests/lttng-test-filter.yml @@ -16,11 +16,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR diff --git a/lava/system-tests/perf-tests.yml b/lava/system-tests/perf-tests.yml index c1efc3a..7e29d90 100644 --- a/lava/system-tests/perf-tests.yml +++ b/lava/system-tests/perf-tests.yml @@ -14,11 +14,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - pushd /root/lttngvenv/src/lttng-tools - lava-test-case build-test-suite --shell "make" diff --git a/lava/system-tests/raw-syscall-getpid.yml b/lava/system-tests/raw-syscall-getpid.yml index 2342aa0..df52a1c 100644 --- a/lava/system-tests/raw-syscall-getpid.yml +++ b/lava/system-tests/raw-syscall-getpid.yml @@ -15,11 +15,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR diff --git a/lava/system-tests/success-dup-close.yml b/lava/system-tests/success-dup-close.yml index 08ae82f..3aa63e4 100644 --- a/lava/system-tests/success-dup-close.yml +++ b/lava/system-tests/success-dup-close.yml @@ -16,11 +16,11 @@ install: branch: master steps: - export TMPDIR="/tmp" - - ulimit -c unlimited - mkdir -p coredump - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern run: steps: + - ulimit -c unlimited - source /root/lttngvenv/activate - export BENCHMARK_DIR=$(mktemp --directory)/bm - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR -- 2.34.1