2 job_name: {{ job_name }}
16 extra_kernel_args: cpuidle.off=1
17 extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
19 {% if device_type == DeviceType.kvm %}
23 {% if device_type == DeviceType.x86 %}
29 jenkins_jobname: {{ job_name }}
30 {% if test_type == TestType.kvm_fuzzing_tests %}
31 nb_iterations: {{ kprobe_round_nb }}
44 url: {{ lttng_modules_url }}
47 url: {{ nfsrootfs_url }}
56 login_prompt: 'login:'
58 password_prompt: 'Password:'
61 - 'root@linaro-server:~#'
65 # Base setup of environment #
68 format: Lava-Test Test Definition 1.0
70 description: "Basic environment setup for x86 board"
78 - systemctl start systemd-timesyncd
79 - echo nameserver 172.18.0.12 > /etc/resolv.conf
82 {% if device_type == DeviceType.x86 %}
83 - mount /dev/sda1 /tmp
84 {% elif device_type == DeviceType.kvm %}
89 - locale-gen en_US.UTF-8
92 {% if test_type != TestType.kvm_fuzzing_tests %}
93 - pip3 install --upgrade pip
97 - ln -s {{ vlttng_path }} /root/lttngvenv
101 name: x86-env-setup-inline
102 path: inline/x86-env-setup.yaml
103 {% if test_type == TestType.baremetal_benchmarks %}
104 - repository: https://github.com/lttng/lttng-ci.git
106 path: lava/system-tests/failing-close.yml
109 JENKINS_BUILD_ID: {{ jenkins_build_id }}
110 - repository: https://github.com/lttng/lttng-ci.git
112 path: lava/system-tests/failing-ioctl.yml
115 JENKINS_BUILD_ID: {{ jenkins_build_id }}
116 - repository: https://github.com/lttng/lttng-ci.git
118 path: lava/system-tests/failing-open-efault.yml
119 name: failing-open-efault
121 JENKINS_BUILD_ID: {{ jenkins_build_id }}
122 - repository: https://github.com/lttng/lttng-ci.git
124 path: lava/system-tests/success-dup-close.yml
125 name: success-dup-close
127 JENKINS_BUILD_ID: {{ jenkins_build_id }}
128 - repository: https://github.com/lttng/lttng-ci.git
130 path: lava/system-tests/raw-syscall-getpid.yml
131 name: raw-syscall-getpid
133 JENKINS_BUILD_ID: {{ jenkins_build_id }}
134 - repository: https://github.com/lttng/lttng-ci.git
136 path: lava/system-tests/failing-open-enoent.yml
137 name: failing-open-enoent
139 JENKINS_BUILD_ID: {{ jenkins_build_id }}
140 - repository: https://github.com/lttng/lttng-ci.git
142 path: lava/system-tests/lttng-test-filter.yml
143 name: lttng-test-filter
145 JENKINS_BUILD_ID: {{ jenkins_build_id }}
146 {% elif test_type == TestType.baremetal_tests %}
147 - repository: https://github.com/lttng/lttng-ci.git
149 path: lava/system-tests/perf-tests.yml
152 JENKINS_BUILD_ID: {{ jenkins_build_id }}
153 {% elif test_type == TestType.kvm_tests %}
154 - repository: https://github.com/lttng/lttng-ci.git
156 path: lava/system-tests/kernel-tests.yml
159 JENKINS_BUILD_ID: {{ jenkins_build_id }}
160 - repository: https://github.com/lttng/lttng-ci.git
162 path: lava/system-tests/destructive-tests.yml
163 name: destructive-tests
165 JENKINS_BUILD_ID: {{ jenkins_build_id }}
166 {% elif test_type == TestType.kvm_fuzzing_tests %}
167 - repository: https://github.com/lttng/lttng-ci.git
169 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
170 name: kprobe-fuzzing-generate-data
172 RANDOM_SEED: {{ random_seed }}
173 {% for i in range(kprobe_round_nb) %}
174 - repository: https://github.com/lttng/lttng-ci.git
176 path: lava/system-tests/kprobe-fuzzing-tests.yml
177 name: kprobe-fuzzing-tests{{ i }}