From: Jonathan Rajotte Date: Tue, 14 May 2019 20:20:56 +0000 (-0400) Subject: Lava: install step is deprecated in lava 2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=339eab117a9e6c998d9e017073e8339b6b5ef883;p=lttng-ci.git Lava: install step is deprecated in lava 2 Signed-off-by: Jonathan Rajotte --- diff --git a/lava/system-tests/destructive-tests.yml b/lava/system-tests/destructive-tests.yml index 571cc6e..e43b0f2 100644 --- a/lava/system-tests/destructive-tests.yml +++ b/lava/system-tests/destructive-tests.yml @@ -2,22 +2,16 @@ metadata: format: Lava-Test Test Definition 1.0 name: lttng-destructive-tests description: "Run root destructive test suite" -install: - deps: - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +params: + JENKINS_BUILD_ID: "invalid_jenkins_build_id" +run: steps: + - apt install -y curl + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - systemctl stop systemd-timesyncd.service - 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 diff --git a/lava/system-tests/failing-close.yml b/lava/system-tests/failing-close.yml index 1804c35..8690d19 100644 --- a/lava/system-tests/failing-close.yml +++ b/lava/system-tests/failing-close.yml @@ -4,22 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of failing close" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy curl + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/failing-ioctl.yml b/lava/system-tests/failing-ioctl.yml index 1866de8..bd2eeeb 100644 --- a/lava/system-tests/failing-ioctl.yml +++ b/lava/system-tests/failing-ioctl.yml @@ -4,22 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of failing ioctl" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/failing-open-efault.yml b/lava/system-tests/failing-open-efault.yml index 59ee5ac..d2bab82 100644 --- a/lava/system-tests/failing-open-efault.yml +++ b/lava/system-tests/failing-open-efault.yml @@ -4,22 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of failing open-efault" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/failing-open-enoent.yml b/lava/system-tests/failing-open-enoent.yml index 5124301..9ae9f53 100644 --- a/lava/system-tests/failing-open-enoent.yml +++ b/lava/system-tests/failing-open-enoent.yml @@ -4,22 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of failing open-enoent" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/kernel-tests.yml b/lava/system-tests/kernel-tests.yml index e4e2054..a155e16 100644 --- a/lava/system-tests/kernel-tests.yml +++ b/lava/system-tests/kernel-tests.yml @@ -4,20 +4,13 @@ metadata: description: "Run kernel test suite" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y curl + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/kprobe-fuzzing-generate-data.yml b/lava/system-tests/kprobe-fuzzing-generate-data.yml index 75972a8..72d16b7 100644 --- a/lava/system-tests/kprobe-fuzzing-generate-data.yml +++ b/lava/system-tests/kprobe-fuzzing-generate-data.yml @@ -2,15 +2,11 @@ metadata: format: Lava-Test Test Definition 1.0 name: lttng-fuzzing-kprobe-generate-data description: "Run kprobe fuzzing data generation" -install: - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master params: RANDOM_SEED: 12345 run: steps: + - git clone https://github.com/lttng/lttng-ci ci - cd ci/ - lava-test-case generate-fuzzing-data --shell "python3 ./scripts/system-tests/run-kprobe-generate-instr-points.py $RANDOM_SEED" - sync diff --git a/lava/system-tests/kprobe-fuzzing-tests.yml b/lava/system-tests/kprobe-fuzzing-tests.yml index cafca9d..9f076b9 100644 --- a/lava/system-tests/kprobe-fuzzing-tests.yml +++ b/lava/system-tests/kprobe-fuzzing-tests.yml @@ -2,13 +2,9 @@ metadata: format: Lava-Test Test Definition 1.0 name: lttng-fuzzing-kprobe-test description: "Run kprobe fuzzing test suite" -install: - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master params: ROUND_NB: 0 run: steps: + - git clone https://github.com/lttng/lttng-ci ci - lava-test-case run-fuzzing --shell "python3 ./ci/scripts/system-tests/run-kprobe-fuzzing.py /root/instr_points.txt.gz $ROUND_NB" diff --git a/lava/system-tests/lttng-test-filter.yml b/lava/system-tests/lttng-test-filter.yml index e2cd965..5a25815 100644 --- a/lava/system-tests/lttng-test-filter.yml +++ b/lava/system-tests/lttng-test-filter.yml @@ -4,22 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of the lttng-test-filter" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy curl + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/perf-tests.yml b/lava/system-tests/perf-tests.yml index 7e29d90..6306be3 100644 --- a/lava/system-tests/perf-tests.yml +++ b/lava/system-tests/perf-tests.yml @@ -4,20 +4,13 @@ metadata: description: "Run perf regression test suite" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" -install: - deps: - - libpfm4-dev - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y libpfm4-dev curl + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/raw-syscall-getpid.yml b/lava/system-tests/raw-syscall-getpid.yml index df52a1c..5c8623b 100644 --- a/lava/system-tests/raw-syscall-getpid.yml +++ b/lava/system-tests/raw-syscall-getpid.yml @@ -4,21 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of the raw syscall getpid" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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 diff --git a/lava/system-tests/success-dup-close.yml b/lava/system-tests/success-dup-close.yml index 3aa63e4..a92d9be 100644 --- a/lava/system-tests/success-dup-close.yml +++ b/lava/system-tests/success-dup-close.yml @@ -4,22 +4,13 @@ metadata: description: "Perform syscall tracing benchmark of successful dup and close" params: JENKINS_BUILD_ID: "invalid_jenkins_build_id" - -install: - deps: - - python3-pandas - - python3-numpy - - curl - git-repos: - - url: https://github.com/lttng/lttng-ci - destination: ci - branch: master +run: steps: + - apt install -y python3-pandas python3-numpy curl + - git clone https://github.com/lttng/lttng-ci ci - export TMPDIR="/tmp" - 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