Lava: install step is deprecated in lava 2
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 14 May 2019 20:20:56 +0000 (16:20 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 14 May 2019 21:33:50 +0000 (17:33 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
12 files changed:
lava/system-tests/destructive-tests.yml
lava/system-tests/failing-close.yml
lava/system-tests/failing-ioctl.yml
lava/system-tests/failing-open-efault.yml
lava/system-tests/failing-open-enoent.yml
lava/system-tests/kernel-tests.yml
lava/system-tests/kprobe-fuzzing-generate-data.yml
lava/system-tests/kprobe-fuzzing-tests.yml
lava/system-tests/lttng-test-filter.yml
lava/system-tests/perf-tests.yml
lava/system-tests/raw-syscall-getpid.yml
lava/system-tests/success-dup-close.yml

index 571cc6e8e3d2680e1cb1d599f3490677ab117143..e43b0f2d70a407483acd76fd1c287371c255e1ee 100644 (file)
@@ -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
index 1804c3575874bc7794bbbee8f902d5c13df7ac0a..8690d192004a8e2cac0a9e62eddf27534c7f1670 100644 (file)
@@ -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
index 1866de80acca5a8f9e9d1601a9ce4f4267764df1..bd2eeeb3f5b9b72ebf99148d24f1ce9fa77c8f5e 100644 (file)
@@ -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
index 59ee5ac066d10b9badf3fcf25a096731d25dccdb..d2bab82016f922040843c26ae45de8651f61efc6 100644 (file)
@@ -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
index 5124301decf1507f791833704182f972bf8ee251..9ae9f530a86a0cfdaa1932e1f5efc282815187f8 100644 (file)
@@ -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
index e4e2054d45c972cf58725212c2e0af3c332c9baa..a155e1668b90904e8a8e898f42db2d9846ed05ca 100644 (file)
@@ -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
index 75972a80c66779bc7d83113036638ff037f7b9ae..72d16b76f74a1f13b5d609aed86c44569610a8f8 100644 (file)
@@ -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
index cafca9dfdc3bcee383f44964462a07162038249f..9f076b95dc543c144aaab669f35b6f03284fd3e0 100644 (file)
@@ -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"
index e2cd965bb6af227174145b239beddf9678a18442..5a258157b7649d1532192b729944cfb926f1c3f6 100644 (file)
@@ -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
index 7e29d90ca476c52b4e7426009ccaa86037692519..6306be3ce4650d9f3baf9cb2104410addca0bd4c 100644 (file)
@@ -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
index df52a1c4290aa4fa26592495a8493971450b56e7..5c8623b07e7243a336dc6d1d3d9b4b1bb82e0ce9 100644 (file)
@@ -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
index 3aa63e425b7c3fde0c1924620734373ff3ed65fb..a92d9beb017dc0725580d1baa93078d3fed8d7f0 100644 (file)
@@ -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
This page took 0.029417 seconds and 4 git commands to generate.