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"
79 - systemctl start systemd-timesyncd
80 - echo nameserver 172.18.0.12 > /etc/resolv.conf
83 {% if device_type == DeviceType.x86 %}
84 - mount /dev/sda1 /tmp
85 {% elif device_type == DeviceType.kvm %}
90 - locale-gen en_US.UTF-8
93 {% if test_type != TestType.kvm_fuzzing_tests %}
94 - pip3 install --upgrade pip
98 - ln -s {{ vlttng_path }} /root/lttngvenv
102 name: x86-env-setup-inline
103 path: inline/x86-env-setup.yaml
104 {% if test_type == TestType.baremetal_benchmarks %}
105 - repository: https://github.com/lttng/lttng-ci.git
107 path: lava/system-tests/failing-close.yml
110 JENKINS_BUILD_ID: {{ jenkins_build_id }}
111 - repository: https://github.com/lttng/lttng-ci.git
113 path: lava/system-tests/failing-ioctl.yml
116 JENKINS_BUILD_ID: {{ jenkins_build_id }}
117 - repository: https://github.com/lttng/lttng-ci.git
119 path: lava/system-tests/failing-open-efault.yml
120 name: failing-open-efault
122 JENKINS_BUILD_ID: {{ jenkins_build_id }}
123 - repository: https://github.com/lttng/lttng-ci.git
125 path: lava/system-tests/success-dup-close.yml
126 name: success-dup-close
128 JENKINS_BUILD_ID: {{ jenkins_build_id }}
129 - repository: https://github.com/lttng/lttng-ci.git
131 path: lava/system-tests/raw-syscall-getpid.yml
132 name: raw-syscall-getpid
134 JENKINS_BUILD_ID: {{ jenkins_build_id }}
135 - repository: https://github.com/lttng/lttng-ci.git
137 path: lava/system-tests/failing-open-enoent.yml
138 name: failing-open-enoent
140 JENKINS_BUILD_ID: {{ jenkins_build_id }}
141 - repository: https://github.com/lttng/lttng-ci.git
143 path: lava/system-tests/lttng-test-filter.yml
144 name: lttng-test-filter
146 JENKINS_BUILD_ID: {{ jenkins_build_id }}
147 {% elif test_type == TestType.baremetal_tests %}
148 - repository: https://github.com/lttng/lttng-ci.git
150 path: lava/system-tests/perf-tests.yml
153 JENKINS_BUILD_ID: {{ jenkins_build_id }}
154 {% elif test_type == TestType.kvm_tests %}
155 - repository: https://github.com/lttng/lttng-ci.git
157 path: lava/system-tests/kernel-tests.yml
160 JENKINS_BUILD_ID: {{ jenkins_build_id }}
161 - repository: https://github.com/lttng/lttng-ci.git
163 path: lava/system-tests/destructive-tests.yml
164 name: destructive-tests
166 JENKINS_BUILD_ID: {{ jenkins_build_id }}
167 {% elif test_type == TestType.kvm_fuzzing_tests %}
168 - repository: https://github.com/lttng/lttng-ci.git
170 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
171 name: kprobe-fuzzing-generate-data
173 RANDOM_SEED: {{ random_seed }}
174 {% for i in range(kprobe_round_nb) %}
175 - repository: https://github.com/lttng/lttng-ci.git
177 path: lava/system-tests/kprobe-fuzzing-tests.yml
178 name: kprobe-fuzzing-tests