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
86 - locale-gen en_US.UTF-8
89 {% if test_type != TestType.kvm_fuzzing_tests %}
90 - pip3 install --upgrade pip
94 - ln -s {{ vlttng_path }} /root/lttngvenv
98 name: x86-env-setup-inline
99 path: inline/x86-env-setup.yaml
100 {% if test_type == TestType.baremetal_benchmarks %}
101 - repository: https://github.com/lttng/lttng-ci.git
103 path: lava/system-tests/failing-close.yml
106 JENKINS_BUILD_ID: {{ jenkins_build_id }}
107 - repository: https://github.com/lttng/lttng-ci.git
109 path: lava/system-tests/failing-ioctl.yml
112 JENKINS_BUILD_ID: {{ jenkins_build_id }}
113 - repository: https://github.com/lttng/lttng-ci.git
115 path: lava/system-tests/failing-open-efault.yml
116 name: failing-open-efault
118 JENKINS_BUILD_ID: {{ jenkins_build_id }}
119 - repository: https://github.com/lttng/lttng-ci.git
121 path: lava/system-tests/success-dup-close.yml
122 name: success-dup-close
124 JENKINS_BUILD_ID: {{ jenkins_build_id }}
125 - repository: https://github.com/lttng/lttng-ci.git
127 path: lava/system-tests/raw-syscall-getpid.yml
128 name: raw-syscall-getpid
130 JENKINS_BUILD_ID: {{ jenkins_build_id }}
131 - repository: https://github.com/lttng/lttng-ci.git
133 path: lava/system-tests/failing-open-enoent.yml
134 name: failing-open-enoent
136 JENKINS_BUILD_ID: {{ jenkins_build_id }}
137 - repository: https://github.com/lttng/lttng-ci.git
139 path: lava/system-tests/lttng-test-filter.yml
140 name: lttng-test-filter
142 JENKINS_BUILD_ID: {{ jenkins_build_id }}
143 {% elif test_type == TestType.baremetal_tests %}
144 - repository: https://github.com/lttng/lttng-ci.git
146 path: lava/system-tests/perf-tests.yml
149 JENKINS_BUILD_ID: {{ jenkins_build_id }}
150 {% elif test_type == TestType.kvm_tests %}
151 - repository: https://github.com/lttng/lttng-ci.git
153 path: lava/system-tests/kernel-tests.yml
156 JENKINS_BUILD_ID: {{ jenkins_build_id }}
157 - repository: https://github.com/lttng/lttng-ci.git
159 path: lava/system-tests/destructive-tests.yml
160 name: destructive-tests
162 JENKINS_BUILD_ID: {{ jenkins_build_id }}
163 {% elif test_type == TestType.kvm_fuzzing_tests %}
164 - repository: https://github.com/lttng/lttng-ci.git
166 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
167 name: kprobe-fuzzing-generate-data
169 RANDOM_SEED: {{ random_seed }}
170 {% for i in range(kprobe_round_nb) %}
171 - repository: https://github.com/lttng/lttng-ci.git
173 path: lava/system-tests/kprobe-fuzzing-tests.yml
174 name: kprobe-fuzzing-tests