2 job_name: {{ job_name }}
16 extra_kernel_args: cpuidle.off=1
17 extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
18 lava_test_sh_cmd: "/bin/bash"
20 {% if device_type == DeviceType.kvm %}
24 {% if device_type == DeviceType.x86 %}
30 jenkins_jobname: {{ job_name }}
31 {% if test_type == TestType.kvm_fuzzing_tests %}
32 nb_iterations: {{ kprobe_round_nb }}
45 url: {{ lttng_modules_url }}
48 url: {{ nfsrootfs_url }}
57 login_prompt: 'login:'
59 password_prompt: 'Password:'
62 - 'root@linaro-server:~#'
66 # Base setup of environment #
69 format: Lava-Test Test Definition 1.0
71 description: "Basic environment setup for x86 board"
78 - echo nameserver 172.18.0.12 > /etc/resolv.conf
81 {% if device_type == DeviceType.x86 %}
82 - mount /dev/sda1 /tmp
83 {% elif device_type == DeviceType.kvm %}
88 - locale-gen en_US.UTF-8
91 {% if test_type != TestType.kvm_fuzzing_tests %}
92 - pip3 install --upgrade pip
96 - ln -s {{ vlttng_path }} /root/lttngvenv
100 name: x86-env-setup-inline
101 path: inline/x86-env-setup.yaml
102 {% if test_type == TestType.baremetal_benchmarks %}
103 - repository: https://github.com/lttng/lttng-ci.git
105 path: lava/system-tests/failing-close.yml
108 JENKINS_BUILD_ID: {{ jenkins_build_id }}
109 - repository: https://github.com/lttng/lttng-ci.git
111 path: lava/system-tests/failing-ioctl.yml
114 JENKINS_BUILD_ID: {{ jenkins_build_id }}
115 - repository: https://github.com/lttng/lttng-ci.git
117 path: lava/system-tests/failing-open-efault.yml
118 name: failing-open-efault
120 JENKINS_BUILD_ID: {{ jenkins_build_id }}
121 - repository: https://github.com/lttng/lttng-ci.git
123 path: lava/system-tests/success-dup-close.yml
124 name: success-dup-close
126 JENKINS_BUILD_ID: {{ jenkins_build_id }}
127 - repository: https://github.com/lttng/lttng-ci.git
129 path: lava/system-tests/raw-syscall-getpid.yml
130 name: raw-syscall-getpid
132 JENKINS_BUILD_ID: {{ jenkins_build_id }}
133 - repository: https://github.com/lttng/lttng-ci.git
135 path: lava/system-tests/failing-open-enoent.yml
136 name: failing-open-enoent
138 JENKINS_BUILD_ID: {{ jenkins_build_id }}
139 - repository: https://github.com/lttng/lttng-ci.git
141 path: lava/system-tests/lttng-test-filter.yml
142 name: lttng-test-filter
144 JENKINS_BUILD_ID: {{ jenkins_build_id }}
145 {% elif test_type == TestType.baremetal_tests %}
146 - repository: https://github.com/lttng/lttng-ci.git
148 path: lava/system-tests/perf-tests.yml
151 JENKINS_BUILD_ID: {{ jenkins_build_id }}
152 {% elif test_type == TestType.kvm_tests %}
153 - repository: https://github.com/lttng/lttng-ci.git
155 path: lava/system-tests/kernel-tests.yml
158 JENKINS_BUILD_ID: {{ jenkins_build_id }}
159 - repository: https://github.com/lttng/lttng-ci.git
161 path: lava/system-tests/destructive-tests.yml
162 name: destructive-tests
164 JENKINS_BUILD_ID: {{ jenkins_build_id }}
165 {% elif test_type == TestType.kvm_fuzzing_tests %}
166 - repository: https://github.com/lttng/lttng-ci.git
168 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
169 name: kprobe-fuzzing-generate-data
171 RANDOM_SEED: {{ random_seed }}
172 {% for i in range(kprobe_round_nb) %}
173 - repository: https://github.com/lttng/lttng-ci.git
175 path: lava/system-tests/kprobe-fuzzing-tests.yml
176 name: kprobe-fuzzing-tests