2 job_name: {{ job_name }}
8 {% if device_type == DeviceType.kvm %}
10 extra_kernel_args: cpuidle.off=1
11 extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
16 {% if device_type == DeviceType.x86 %}
22 jenkins_jobname: {{ job_name }}
23 {% if test_type == TestType.kvm_fuzzing_tests %}
24 nb_iterations: {{ kprobe_round_nb }}
37 url: {{ lttng_modules_url }}
40 url: {{ nfsrootfs_url }}
50 - 'root@linaro-server:~#'
54 # Base setup of environment #
57 format: Lava-Test Test Definition 1.0
59 description: "Basic environment setup for x86 board"
66 - cat /etc/resolv.conf
67 - echo nameserver 172.18.0.12 > /etc/resolv.conf
69 {% if device_type == DeviceType.x86 %}
70 - mount /dev/sda1 /tmp
71 {% elif device_type == DeviceType.kvm %}
76 - locale-gen en_US.UTF-8
79 - apt-get install -y {{ packages|join(" ") }}
80 {% if test_type != TestType.kvm_fuzzing_tests %}
81 - pip3 install --upgrade pip
85 - ln -s {{ vlttng_path }} /root/lttngvenv
89 name: x86-env-setup-inline
90 path: inline/x86-env-setup.yaml
91 {% if test_type == TestType.baremetal_benchmarks %}
92 - repository: https://github.com/lttng/lttng-ci.git
94 path: lava/system-tests/failing-close.yml
96 - repository: https://github.com/lttng/lttng-ci.git
98 path: lava/system-tests/failing-ioctl.yml
100 - repository: https://github.com/lttng/lttng-ci.git
102 path: lava/system-tests/failing-open-efault.yml
103 name: failing-open-efault
104 - repository: https://github.com/lttng/lttng-ci.git
106 path: lava/system-tests/success-dup-close.yml
107 name: success-dup-close
108 - repository: https://github.com/lttng/lttng-ci.git
110 path: lava/system-tests/raw-syscall-getpid.yml
111 name: raw-syscall-getpid
112 - repository: https://github.com/lttng/lttng-ci.git
114 path: lava/system-tests/failing-open-enoent.yml
115 name: failing-open-enoent
116 - repository: https://github.com/lttng/lttng-ci.git
118 path: lava/system-tests/lttng-test-filter.yml
119 name: lttng-test-filter
120 {% elif test_type == TestType.baremetal_tests %}
121 - repository: https://github.com/lttng/lttng-ci.git
123 path: lava/system-tests/perf-tests.yml
125 {% elif test_type == TestType.kvm_tests %}
126 - repository: https://github.com/lttng/lttng-ci.git
128 path: lava/system-tests/kernel-tests.yml
130 - repository: https://github.com/lttng/lttng-ci.git
132 path: lava/system-tests/destructive-tests.yml
133 name: destructive-tests
134 {% elif test_type == TestType.kvm_fuzzing_tests %}
135 - repository: https://github.com/lttng/lttng-ci.git
137 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
138 name: kprobe-fuzzing-generate-data
140 RANDOM_SEED: {{ random_seed }}
141 {% for i in range(kprobe_round_nb) %}
142 - repository: https://github.com/lttng/lttng-ci.git
144 path: lava/system-tests/kprobe-fuzzing-tests.yml
145 name: kprobe-fuzzing-tests